diff --git a/.agent-store-config.yaml b/.agent-store-config.yaml index d5d24ee57f9d537f834de0ec2e2636ebfcd62dc7..789a5d200bafad8882197f662e51c467d01a2ce6 100644 --- a/.agent-store-config.yaml +++ b/.agent-store-config.yaml @@ -1,6 +1,6 @@ role: name: SoftwareCompany - module: metagpt.roles.software_company + module: software_company skills: - name: WritePRD - name: WriteDesign diff --git a/.agent-store-config.yaml.example b/.agent-store-config.yaml.example deleted file mode 100644 index d12cc6999ee0a0665fae8a9f25a1e44443a3f1b7..0000000000000000000000000000000000000000 --- a/.agent-store-config.yaml.example +++ /dev/null @@ -1,9 +0,0 @@ -role: - name: Teacher # Referenced the `Teacher` in `metagpt/roles/teacher.py`. - module: metagpt.roles.teacher # Referenced `metagpt/roles/teacher.py`. - skills: # Refer to the skill `name` of the published skill in `.well-known/skills.yaml`. - - name: text_to_speech - description: Text-to-speech - - name: text_to_image - description: Create a drawing based on the text. - diff --git a/.dockerignore b/.dockerignore index 2968dd34dcdc908cb1353345faa78b10192b378a..37746048a2ff3d45e0f143bb886a6d6752c3ed6c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,3 +5,5 @@ workspace dist data geckodriver.log +logs +storage diff --git a/.gitignore b/.gitignore index 1a9741e913631b2f5130c0def373fd9895f068b4..073e0cc0031f2dea8a91051a215204df691202f0 100644 --- a/.gitignore +++ b/.gitignore @@ -169,3 +169,5 @@ output.wav output tmp.png +storage/* +logs \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ce39b8eca96a3c5eadc337d2de5254cf31586e7d..7274bec78885487a0ec4b2698b4745b7a9553d52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,20 +12,20 @@ RUN apt update &&\ ENV CHROME_BIN="/usr/bin/chromium" \ PUPPETEER_CONFIG="/app/metagpt/config/puppeteer-config.json"\ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" + RUN npm install -g @mermaid-js/mermaid-cli &&\ npm cache clean --force +WORKDIR /app + # Install Python dependencies and install MetaGPT COPY requirements.txt requirements.txt -RUN pip install --no-cache-dir -r requirements.txt - -COPY . /app/metagpt -WORKDIR /app/metagpt -RUN chmod -R 777 /app/metagpt/logs/ &&\ - mkdir workspace &&\ - chmod -R 777 /app/metagpt/workspace/ &&\ - python -m pip install -e. +RUN pip install --no-cache-dir -r requirements.txt && \ + mkdir -p /app/logs && chmod 777 /app/logs && \ + mkdir -p /app/workspace && chmod 777 /app/workspace && \ + mkdir -p /app/storage && chmod 777 /app/storage +COPY . . -CMD ["python", "metagpt/web/app.py"] +CMD ["python", "app.py"] diff --git a/README.md b/README.md index f604416555cda44fc5ac2edc56c80012bfa9c2cb..4c20a5ff28ef037efa788c1b666e1b7aeb51df58 100644 --- a/README.md +++ b/README.md @@ -8,253 +8,4 @@ app_file: app.py pinned: false --- -# MetaGPT: The Multi-Agent Framework - -
- --Assign different roles to GPTs to form a collaborative software entity for complex tasks. -
- - - - - -1. MetaGPT takes a **one line requirement** as input and outputs **user stories / competitive analysis / requirements / data structures / APIs / documents, etc.** -2. Internally, MetaGPT includes **product managers / architects / project managers / engineers.** It provides the entire process of a **software company along with carefully orchestrated SOPs.** - 1. `Code = SOP(Team)` is the core philosophy. We materialize SOP and apply it to teams composed of LLMs. - -![A software company consists of LLM-based roles](docs/resources/software_company_cd.jpeg) - -Software Company Multi-Role Schematic (Gradually Implementing)
- -## Examples (fully generated by GPT-4) - -For example, if you type `python startup.py "Design a RecSys like Toutiao"`, you would get many outputs, one of them is data & api design - -![Jinri Toutiao Recsys Data & API Design](docs/resources/workspace/content_rec_sys/resources/data_api_design.png) - -It costs approximately **$0.2** (in GPT-4 API fees) to generate one example with analysis and design, and around **$2.0** for a full project. - -## Installation - -### Installation Video Guide - -- [Matthew Berman: How To Install MetaGPT - Build A Startup With One Prompt!!](https://youtu.be/uT75J_KG_aY) - -### Traditional Installation - -```bash -# Step 1: Ensure that NPM is installed on your system. Then install mermaid-js. -npm --version -sudo npm install -g @mermaid-js/mermaid-cli - -# Step 2: Ensure that Python 3.9+ is installed on your system. You can check this by using: -python --version - -# Step 3: Clone the repository to your local machine, and install it. -git clone https://github.com/geekan/metagpt -cd metagpt -python setup.py install -``` - -**Note:** - -- If already have Chrome, Chromium, or MS Edge installed, you can skip downloading Chromium by setting the environment variable - `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` to `true`. - -- Some people are [having issues](https://github.com/mermaidjs/mermaid.cli/issues/15) installing this tool globally. Installing it locally is an alternative solution, - - ```bash - npm install @mermaid-js/mermaid-cli - ``` - -- don't forget to the configuration for mmdc in config.yml - - ```yml - PUPPETEER_CONFIG: "./config/puppeteer-config.json" - MMDC: "./node_modules/.bin/mmdc" - ``` - -- if `python setup.py install` fails with error `[Errno 13] Permission denied: '/usr/local/lib/python3.11/dist-packages/test-easy-install-13129.write-test'`, try instead running `python setup.py install --user` - -### Installation by Docker - -```bash -# Step 1: Download metagpt official image and prepare config.yaml -docker pull metagpt/metagpt:v0.3.1 -mkdir -p /opt/metagpt/{config,workspace} -docker run --rm metagpt/metagpt:v0.3.1 cat /app/metagpt/config/config.yaml > /opt/metagpt/config/key.yaml -vim /opt/metagpt/config/key.yaml # Change the config - -# Step 2: Run metagpt demo with container -docker run --rm \ - --privileged \ - -v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3.1 \ - python startup.py "Write a cli snake game" - -# You can also start a container and execute commands in it -docker run --name metagpt -d \ - --privileged \ - -v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3.1 - -docker exec -it metagpt /bin/bash -$ python startup.py "Write a cli snake game" -``` - -The command `docker run ...` do the following things: - -- Run in privileged mode to have permission to run the browser -- Map host directory `/opt/metagpt/config` to container directory `/app/metagpt/config` -- Map host directory `/opt/metagpt/workspace` to container directory `/app/metagpt/workspace` -- Execute the demo command `python startup.py "Write a cli snake game"` - -### Build image by yourself - -```bash -# You can also build metagpt image by yourself. -git clone https://github.com/geekan/MetaGPT.git -cd MetaGPT && docker build -t metagpt:custom . -``` - -## Configuration - -- Configure your `OPENAI_API_KEY` in any of `config/key.yaml / config/config.yaml / env` -- Priority order: `config/key.yaml > config/config.yaml > env` - -```bash -# Copy the configuration file and make the necessary modifications. -cp config/config.yaml config/key.yaml -``` - -| Variable Name | config/key.yaml | env | -| ------------------------------------------ | ----------------------------------------- | ----------------------------------------------- | -| OPENAI_API_KEY # Replace with your own key | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." | -| OPENAI_API_BASE # Optional | OPENAI_API_BASE: "https://-使 GPTs 组成软件公司,协作处理更复杂的任务 -
- - - -1. MetaGPT输入**一句话的老板需求**,输出**用户故事 / 竞品分析 / 需求 / 数据结构 / APIs / 文件等** -2. MetaGPT内部包括**产品经理 / 架构师 / 项目经理 / 工程师**,它提供了一个**软件公司**的全过程与精心调配的SOP - 1. `Code = SOP(Team)` 是核心哲学。我们将SOP具象化,并且用于LLM构成的团队 - -![一个完全由大语言模型角色构成的软件公司](resources/software_company_cd.jpeg) - -软件公司多角色示意图(正在逐步实现)
- -## 示例(均由 GPT-4 生成) - -例如,键入`python startup.py "写个类似今日头条的推荐系统"`并回车,你会获得一系列输出,其一是数据结构与API设计 - -![今日头条 Recsys 数据 & API 设计](resources/workspace/content_rec_sys/resources/data_api_design.png) - -这需要大约**0.2美元**(GPT-4 API的费用)来生成一个带有分析和设计的示例,大约2.0美元用于一个完整的项目 - -## 安装 - -### 传统安装 - -```bash -# 第 1 步:确保您的系统上安装了 NPM。并使用npm安装mermaid-js -npm --version -sudo npm install -g @mermaid-js/mermaid-cli - -# 第 2 步:确保您的系统上安装了 Python 3.9+。您可以使用以下命令进行检查: -python --version - -# 第 3 步:克隆仓库到您的本地机器,并进行安装。 -git clone https://github.com/geekan/metagpt -cd metagpt -python setup.py install -``` - -### Docker安装 - -```bash -# 步骤1: 下载metagpt官方镜像并准备好config.yaml -docker pull metagpt/metagpt:v0.3 -mkdir -p /opt/metagpt/{config,workspace} -docker run --rm metagpt/metagpt:v0.3 cat /app/metagpt/config/config.yaml > /opt/metagpt/config/config.yaml -vim /opt/metagpt/config/config.yaml # 修改config - -# 步骤2: 使用容器运行metagpt演示 -docker run --rm \ - --privileged \ - -v /opt/metagpt/config:/app/metagpt/config \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3 \ - python startup.py "Write a cli snake game" - -# 您也可以启动一个容器并在其中执行命令 -docker run --name metagpt -d \ - --privileged \ - -v /opt/metagpt/config:/app/metagpt/config \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3 - -docker exec -it metagpt /bin/bash -$ python startup.py "Write a cli snake game" -``` - -`docker run ...`做了以下事情: - -- 以特权模式运行,有权限运行浏览器 -- 将主机目录 `/opt/metagpt/config` 映射到容器目录`/app/metagpt/config` -- 将主机目录 `/opt/metagpt/workspace` 映射到容器目录 `/app/metagpt/workspace` -- 执行演示命令 `python startup.py "Write a cli snake game"` - -### 自己构建镜像 - -```bash -# 您也可以自己构建metagpt镜像 -git clone https://github.com/geekan/MetaGPT.git -cd MetaGPT && docker build -t metagpt:v0.3 . -``` - -## 配置 - -- 在 `config/key.yaml / config/config.yaml / env` 中配置您的 `OPENAI_API_KEY` -- 优先级顺序:`config/key.yaml > config/config.yaml > env` - -```bash -# 复制配置文件并进行必要的修改 -cp config/config.yaml config/key.yaml -``` - -| 变量名 | config/key.yaml | env | -|--------------------------------------------|-------------------------------------------|--------------------------------| -| OPENAI_API_KEY # 用您自己的密钥替换 | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." | -| OPENAI_API_BASE # 可选 | OPENAI_API_BASE: "https://-GPT にさまざまな役割を割り当てることで、複雑なタスクのための共同ソフトウェアエンティティを形成します。 -
- - - -1. MetaGPT は、**1 行の要件** を入力とし、**ユーザーストーリー / 競合分析 / 要件 / データ構造 / API / 文書など** を出力します。 -2. MetaGPT には、**プロダクト マネージャー、アーキテクト、プロジェクト マネージャー、エンジニア** が含まれています。MetaGPT は、**ソフトウェア会社のプロセス全体を、慎重に調整された SOP とともに提供します。** - 1. `Code = SOP(Team)` が基本理念です。私たちは SOP を具体化し、LLM で構成されるチームに適用します。 - -![ソフトウェア会社は LLM ベースの役割で構成されている](resources/software_company_cd.jpeg) - -ソフトウェア会社のマルチロール図式(順次導入)
- -## 例(GPT-4 で完全生成) - -例えば、`python startup.py "Toutiao のような RecSys をデザインする"`と入力すると、多くの出力が得られます - -![Jinri Toutiao Recsys データと API デザイン](resources/workspace/content_rec_sys/resources/data_api_design.png) - -解析と設計を含む 1 つの例を生成するのに、**$0.2** (GPT-4 の api のコスト)程度、完全なプロジェクトには **$2.0** 程度が必要です。 - -## インストール - -### 伝統的なインストール - -```bash -# ステップ 1: NPM がシステムにインストールされていることを確認してください。次に mermaid-js をインストールします。 -npm --version -sudo npm install -g @mermaid-js/mermaid-cli - -# ステップ 2: Python 3.9+ がシステムにインストールされていることを確認してください。これを確認するには: -python --version - -# ステップ 3: リポジトリをローカルマシンにクローンし、インストールする。 -git clone https://github.com/geekan/metagpt -cd metagpt -python setup.py install -``` - -**注:** - -- すでに Chrome、Chromium、MS Edge がインストールされている場合は、環境変数 `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` を `true` に設定することで、 -Chromium のダウンロードをスキップすることができます。 - -- このツールをグローバルにインストールする[問題を抱えている](https://github.com/mermaidjs/mermaid.cli/issues/15)人もいます。ローカルにインストールするのが代替の解決策です、 - - ```bash - npm install @mermaid-js/mermaid-cli - ``` - -- config.yml に mmdc のコンフィギュレーションを記述するのを忘れないこと - - ```yml - PUPPETEER_CONFIG: "./config/puppeteer-config.json" - MMDC: "./node_modules/.bin/mmdc" - ``` - -### Docker によるインストール - -```bash -# ステップ 1: metagpt 公式イメージをダウンロードし、config.yaml を準備する -docker pull metagpt/metagpt:v0.3.1 -mkdir -p /opt/metagpt/{config,workspace} -docker run --rm metagpt/metagpt:v0.3.1 cat /app/metagpt/config/config.yaml > /opt/metagpt/config/key.yaml -vim /opt/metagpt/config/key.yaml # 設定を変更する - -# ステップ 2: コンテナで metagpt デモを実行する -docker run --rm \ - --privileged \ - -v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3.1 \ - python startup.py "Write a cli snake game" - -# コンテナを起動し、その中でコマンドを実行することもできます -docker run --name metagpt -d \ - --privileged \ - -v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \ - -v /opt/metagpt/workspace:/app/metagpt/workspace \ - metagpt/metagpt:v0.3.1 - -docker exec -it metagpt /bin/bash -$ python startup.py "Write a cli snake game" -``` - -コマンド `docker run ...` は以下のことを行います: - -- 特権モードで実行し、ブラウザの実行権限を得る -- ホストディレクトリ `/opt/metagpt/config` をコンテナディレクトリ `/app/metagpt/config` にマップする -- ホストディレクトリ `/opt/metagpt/workspace` をコンテナディレクトリ `/app/metagpt/workspace` にマップする -- デモコマンド `python startup.py "Write a cli snake game"` を実行する - -### 自分でイメージをビルドする - -```bash -# また、自分で metagpt イメージを構築することもできます。 -git clone https://github.com/geekan/MetaGPT.git -cd MetaGPT && docker build -t metagpt:custom . -``` - -## 設定 - -- `OPENAI_API_KEY` を `config/key.yaml / config/config.yaml / env` のいずれかで設定します。 -- 優先順位は: `config/key.yaml > config/config.yaml > env` の順です。 - -```bash -# 設定ファイルをコピーし、必要な修正を加える。 -cp config/config.yaml config/key.yaml -``` - -| 変数名 | config/key.yaml | env | -| ------------------------------------------ | ----------------------------------------- | ----------------------------------------------- | -| OPENAI_API_KEY # 自分のキーに置き換える | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." | -| OPENAI_API_BASE # オプション | OPENAI_API_BASE: "https://.*)(```.*?)',
- r'(.*?```python.*?\s+)?(?P.*)',
- ):
- match = re.search(pattern, text, re.DOTALL)
- if not match:
- continue
- code = match.group("code")
- if not code:
- continue
- with contextlib.suppress(Exception):
- ast.parse(code)
- return code
- raise ValueError("Invalid python code")
-
- @classmethod
- def parse_data(cls, data):
- block_dict = cls.parse_blocks(data)
- parsed_data = {}
- for block, content in block_dict.items():
- # 尝试去除code标记
- try:
- content = cls.parse_code(text=content)
- except Exception:
- pass
-
- # 尝试解析list
- try:
- content = cls.parse_file_list(text=content)
- except Exception:
- pass
- parsed_data[block] = content
- return parsed_data
-
- @classmethod
- def parse_data_with_mapping(cls, data, mapping):
- block_dict = cls.parse_blocks(data)
- parsed_data = {}
- for block, content in block_dict.items():
- # 尝试去除code标记
- try:
- content = cls.parse_code(text=content)
- except Exception:
- pass
- typing_define = mapping.get(block, None)
- if isinstance(typing_define, tuple):
- typing = typing_define[0]
- else:
- typing = typing_define
- if typing == List[str] or typing == List[Tuple[str, str]]:
- # 尝试解析list
- try:
- content = cls.parse_file_list(text=content)
- except Exception:
- pass
- # TODO: 多余的引号去除有风险,后期再解决
- # elif typing == str:
- # # 尝试去除多余的引号
- # try:
- # content = cls.parse_str(text=content)
- # except Exception:
- # pass
- parsed_data[block] = content
- return parsed_data
-
-
-class CodeParser:
-
- @classmethod
- def parse_block(cls, block: str, text: str) -> str:
- blocks = cls.parse_blocks(text)
- for k, v in blocks.items():
- if block in k:
- return v
- return ""
-
- @classmethod
- def parse_blocks(cls, text: str):
- # 首先根据"##"将文本分割成不同的block
- blocks = text.split("##")
-
- # 创建一个字典,用于存储每个block的标题和内容
- block_dict = {}
-
- # 遍历所有的block
- for block in blocks:
- # 如果block不为空,则继续处理
- if block.strip() != "":
- # 将block的标题和内容分开,并分别去掉前后的空白字符
- block_title, block_content = block.split("\n", 1)
- block_dict[block_title.strip()] = block_content.strip()
-
- return block_dict
-
- @classmethod
- def parse_code(cls, block: str, text: str, lang: str = "") -> str:
- if block:
- text = cls.parse_block(block, text)
- pattern = rf'```{lang}.*?\s+(.*?)```'
- match = re.search(pattern, text, re.DOTALL)
- if match:
- code = match.group(1)
- else:
- logger.error(f"{pattern} not match following text:")
- logger.error(text)
- raise Exception
- return code
-
- @classmethod
- def parse_str(cls, block: str, text: str, lang: str = ""):
- code = cls.parse_code(block, text, lang)
- code = code.split("=")[-1]
- code = code.strip().strip("'").strip("\"")
- return code
-
- @classmethod
- def parse_file_list(cls, block: str, text: str, lang: str = "") -> list[str]:
- # Regular expression pattern to find the tasks list.
- code = cls.parse_code(block, text, lang)
- # print(code)
- pattern = r'\s*(.*=.*)?(\[.*\])'
-
- # Extract tasks list string using regex.
- match = re.search(pattern, code, re.DOTALL)
- if match:
- tasks_list_str = match.group(2)
-
- # Convert string representation of list to a Python list using ast.literal_eval.
- tasks = ast.literal_eval(tasks_list_str)
- else:
- raise Exception
- return tasks
-
-
-class NoMoneyException(Exception):
- """Raised when the operation cannot be completed due to insufficient funds"""
-
- def __init__(self, amount, message="Insufficient funds"):
- self.amount = amount
- self.message = message
- super().__init__(self.message)
-
- def __str__(self):
- return f'{self.message} -> Amount required: {self.amount}'
-
-
-def print_members(module, indent=0):
- """
- https://stackoverflow.com/questions/1796180/how-can-i-get-a-list-of-all-classes-within-current-module-in-python
- :param module:
- :param indent:
- :return:
- """
- prefix = ' ' * indent
- for name, obj in inspect.getmembers(module):
- print(name, obj)
- if inspect.isclass(obj):
- print(f'{prefix}Class: {name}')
- # print the methods within the class
- if name in ['__class__', '__base__']:
- continue
- print_members(obj, indent + 2)
- elif inspect.isfunction(obj):
- print(f'{prefix}Function: {name}')
- elif inspect.ismethod(obj):
- print(f'{prefix}Method: {name}')
-
-
-def parse_recipient(text):
- pattern = r"## Send To:\s*([A-Za-z]+)\s*?" # hard code for now
- recipient = re.search(pattern, text)
- return recipient.group(1) if recipient else ""
-
diff --git a/metagpt/utils/cost_manager.py b/metagpt/utils/cost_manager.py
deleted file mode 100644
index 21b37d5523412705f96cea322e9d4b26459727a8..0000000000000000000000000000000000000000
--- a/metagpt/utils/cost_manager.py
+++ /dev/null
@@ -1,79 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
-@Time : 2023/8/28
-@Author : mashenquan
-@File : openai.py
-@Desc : mashenquan, 2023/8/28. Separate the `CostManager` class to support user-level cost accounting.
-"""
-
-from pydantic import BaseModel
-from metagpt.logs import logger
-from metagpt.utils.token_counter import TOKEN_COSTS
-from typing import NamedTuple
-
-
-class Costs(NamedTuple):
- total_prompt_tokens: int
- total_completion_tokens: int
- total_cost: float
- total_budget: float
-
-
-class CostManager(BaseModel):
- """Calculate the overhead of using the interface."""
-
- total_prompt_tokens: int = 0
- total_completion_tokens: int = 0
- total_budget: float = 0
- max_budget: float = 10.0
- total_cost: float = 0
-
- def update_cost(self, prompt_tokens, completion_tokens, model):
- """
- Update the total cost, prompt tokens, and completion tokens.
-
- Args:
- prompt_tokens (int): The number of tokens used in the prompt.
- completion_tokens (int): The number of tokens used in the completion.
- model (str): The model used for the API call.
- """
- self.total_prompt_tokens += prompt_tokens
- self.total_completion_tokens += completion_tokens
- cost = (prompt_tokens * TOKEN_COSTS[model]["prompt"] + completion_tokens * TOKEN_COSTS[model][
- "completion"]) / 1000
- self.total_cost += cost
- logger.info(
- f"Total running cost: ${self.total_cost:.3f} | Max budget: ${self.max_budget:.3f} | "
- f"Current cost: ${cost:.3f}, prompt_tokens: {prompt_tokens}, completion_tokens: {completion_tokens}"
- )
-
- def get_total_prompt_tokens(self):
- """
- Get the total number of prompt tokens.
-
- Returns:
- int: The total number of prompt tokens.
- """
- return self.total_prompt_tokens
-
- def get_total_completion_tokens(self):
- """
- Get the total number of completion tokens.
-
- Returns:
- int: The total number of completion tokens.
- """
- return self.total_completion_tokens
-
- def get_total_cost(self):
- """
- Get the total cost of API calls.
-
- Returns:
- float: The total cost of API calls.
- """
- return self.total_cost
-
- def get_costs(self) -> Costs:
- """获得所有开销"""
- return Costs(self.total_prompt_tokens, self.total_completion_tokens, self.total_cost, self.total_budget)
diff --git a/metagpt/utils/mermaid.py b/metagpt/utils/mermaid.py
deleted file mode 100644
index 15fd08625a6689c46a8395d13532490e4ecfe793..0000000000000000000000000000000000000000
--- a/metagpt/utils/mermaid.py
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
-@Time : 2023/7/4 10:53
-@Author : alexanderwu
-@File : mermaid.py
-@Modified By: mashenquan, 2023/8/20. Remove global configuration `CONFIG`, enable configuration support for business isolation.
-"""
-import asyncio
-from pathlib import Path
-
-# from metagpt.utils.common import check_cmd_exists
-import aiofiles
-
-from metagpt.config import CONFIG, Config
-from metagpt.const import PROJECT_ROOT
-from metagpt.logs import logger
-
-
-async def mermaid_to_file(mermaid_code, output_file_without_suffix, width=2048, height=2048) -> int:
- """suffix: png/svg/pdf
-
- :param mermaid_code: mermaid code
- :param output_file_without_suffix: output filename
- :param width:
- :param height:
- :return: 0 if succed, -1 if failed
- """
- # Write the Mermaid code to a temporary file
- tmp = Path(f"{output_file_without_suffix}.mmd")
- async with aiofiles.open(tmp, "w", encoding="utf-8") as f:
- await f.write(mermaid_code)
- # tmp.write_text(mermaid_code, encoding="utf-8")
-
- # if check_cmd_exists("mmdc") != 0:
- # logger.warning("RUN `npm install -g @mermaid-js/mermaid-cli` to install mmdc")
- # return -1
-
- # for suffix in ["pdf", "svg", "png"]:
- for suffix in ["png"]:
- output_file = f"{output_file_without_suffix}.{suffix}"
- # Call the `mmdc` command to convert the Mermaid code to a PNG
- logger.info(f"Generating {output_file}..")
- cmds = [CONFIG.mmdc, "-i", str(tmp), "-o", output_file, "-w", str(width), "-H", str(height)]
-
- if CONFIG.puppeteer_config:
- cmds.extend(["-p", CONFIG.puppeteer_config])
- process = await asyncio.create_subprocess_exec(*cmds)
- await process.wait()
- return process.returncode
-
-
-if __name__ == "__main__":
- MMC1 = """classDiagram
- class Main {
- -SearchEngine search_engine
- +main() str
- }
- class SearchEngine {
- -Index index
- -Ranking ranking
- -Summary summary
- +search(query: str) str
- }
- class Index {
- -KnowledgeBase knowledge_base
- +create_index(data: dict)
- +query_index(query: str) list
- }
- class Ranking {
- +rank_results(results: list) list
- }
- class Summary {
- +summarize_results(results: list) str
- }
- class KnowledgeBase {
- +update(data: dict)
- +fetch_data(query: str) dict
- }
- Main --> SearchEngine
- SearchEngine --> Index
- SearchEngine --> Ranking
- SearchEngine --> Summary
- Index --> KnowledgeBase"""
-
- MMC2 = """sequenceDiagram
- participant M as Main
- participant SE as SearchEngine
- participant I as Index
- participant R as Ranking
- participant S as Summary
- participant KB as KnowledgeBase
- M->>SE: search(query)
- SE->>I: query_index(query)
- I->>KB: fetch_data(query)
- KB-->>I: return data
- I-->>SE: return results
- SE->>R: rank_results(results)
- R-->>SE: return ranked_results
- SE->>S: summarize_results(ranked_results)
- S-->>SE: return summary
- SE-->>M: return summary"""
-
- conf = Config()
- asyncio.run(
- mermaid_to_file(
- options=conf.runtime_options, mermaid_code=MMC1, output_file_without_suffix=PROJECT_ROOT / "tmp/1.png"
- )
- )
- asyncio.run(
- mermaid_to_file(
- options=conf.runtime_options, mermaid_code=MMC2, output_file_without_suffix=PROJECT_ROOT / "tmp/2.png"
- )
- )
diff --git a/metagpt/utils/parse_html.py b/metagpt/utils/parse_html.py
deleted file mode 100644
index 62de2654140bb7eb63a7ec7393c546211dce0287..0000000000000000000000000000000000000000
--- a/metagpt/utils/parse_html.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-from __future__ import annotations
-
-from typing import Generator, Optional
-from urllib.parse import urljoin, urlparse
-
-from bs4 import BeautifulSoup
-from pydantic import BaseModel
-
-
-class WebPage(BaseModel):
- inner_text: str
- html: str
- url: str
-
- class Config:
- underscore_attrs_are_private = True
-
- _soup : Optional[BeautifulSoup] = None
- _title: Optional[str] = None
-
- @property
- def soup(self) -> BeautifulSoup:
- if self._soup is None:
- self._soup = BeautifulSoup(self.html, "html.parser")
- return self._soup
-
- @property
- def title(self):
- if self._title is None:
- title_tag = self.soup.find("title")
- self._title = title_tag.text.strip() if title_tag is not None else ""
- return self._title
-
- def get_links(self) -> Generator[str, None, None]:
- for i in self.soup.find_all("a", href=True):
- url = i["href"]
- result = urlparse(url)
- if not result.scheme and result.path:
- yield urljoin(self.url, url)
- elif url.startswith(("http://", "https://")):
- yield urljoin(self.url, url)
-
-
-def get_html_content(page: str, base: str):
- soup = _get_soup(page)
-
- return soup.get_text(strip=True)
-
-
-def _get_soup(page: str):
- soup = BeautifulSoup(page, "html.parser")
- # https://stackoverflow.com/questions/1936466/how-to-scrape-only-visible-webpage-text-with-beautifulsoup
- for s in soup(["style", "script", "[document]", "head", "title"]):
- s.extract()
-
- return soup
diff --git a/metagpt/utils/pycst.py b/metagpt/utils/pycst.py
deleted file mode 100644
index afd85a5479335f17c8e01b2df4b56a1be03f4c88..0000000000000000000000000000000000000000
--- a/metagpt/utils/pycst.py
+++ /dev/null
@@ -1,166 +0,0 @@
-from __future__ import annotations
-
-from typing import Union
-
-import libcst as cst
-from libcst._nodes.module import Module
-
-DocstringNode = Union[cst.Module, cst.ClassDef, cst.FunctionDef]
-
-
-def get_docstring_statement(body: DocstringNode) -> cst.SimpleStatementLine:
- """Extracts the docstring from the body of a node.
-
- Args:
- body: The body of a node.
-
- Returns:
- The docstring statement if it exists, None otherwise.
- """
- if isinstance(body, cst.Module):
- body = body.body
- else:
- body = body.body.body
-
- if not body:
- return
-
- statement = body[0]
- if not isinstance(statement, cst.SimpleStatementLine):
- return
-
- expr = statement
- while isinstance(expr, (cst.BaseSuite, cst.SimpleStatementLine)):
- if len(expr.body) == 0:
- return None
- expr = expr.body[0]
-
- if not isinstance(expr, cst.Expr):
- return None
-
- val = expr.value
- if not isinstance(val, (cst.SimpleString, cst.ConcatenatedString)):
- return None
-
- evaluated_value = val.evaluated_value
- if isinstance(evaluated_value, bytes):
- return None
-
- return statement
-
-
-class DocstringCollector(cst.CSTVisitor):
- """A visitor class for collecting docstrings from a CST.
-
- Attributes:
- stack: A list to keep track of the current path in the CST.
- docstrings: A dictionary mapping paths in the CST to their corresponding docstrings.
- """
- def __init__(self):
- self.stack: list[str] = []
- self.docstrings: dict[tuple[str, ...], cst.SimpleStatementLine] = {}
-
- def visit_Module(self, node: cst.Module) -> bool | None:
- self.stack.append("")
-
- def leave_Module(self, node: cst.Module) -> None:
- return self._leave(node)
-
- def visit_ClassDef(self, node: cst.ClassDef) -> bool | None:
- self.stack.append(node.name.value)
-
- def leave_ClassDef(self, node: cst.ClassDef) -> None:
- return self._leave(node)
-
- def visit_FunctionDef(self, node: cst.FunctionDef) -> bool | None:
- self.stack.append(node.name.value)
-
- def leave_FunctionDef(self, node: cst.FunctionDef) -> None:
- return self._leave(node)
-
- def _leave(self, node: DocstringNode) -> None:
- key = tuple(self.stack)
- self.stack.pop()
- if hasattr(node, "decorators") and any(i.decorator.value == "overload" for i in node.decorators):
- return
-
- statement = get_docstring_statement(node)
- if statement:
- self.docstrings[key] = statement
-
-
-class DocstringTransformer(cst.CSTTransformer):
- """A transformer class for replacing docstrings in a CST.
-
- Attributes:
- stack: A list to keep track of the current path in the CST.
- docstrings: A dictionary mapping paths in the CST to their corresponding docstrings.
- """
- def __init__(
- self,
- docstrings: dict[tuple[str, ...], cst.SimpleStatementLine],
- ):
- self.stack: list[str] = []
- self.docstrings = docstrings
-
- def visit_Module(self, node: cst.Module) -> bool | None:
- self.stack.append("")
-
- def leave_Module(self, original_node: Module, updated_node: Module) -> Module:
- return self._leave(original_node, updated_node)
-
- def visit_ClassDef(self, node: cst.ClassDef) -> bool | None:
- self.stack.append(node.name.value)
-
- def leave_ClassDef(self, original_node: cst.ClassDef, updated_node: cst.ClassDef) -> cst.CSTNode:
- return self._leave(original_node, updated_node)
-
- def visit_FunctionDef(self, node: cst.FunctionDef) -> bool | None:
- self.stack.append(node.name.value)
-
- def leave_FunctionDef(self, original_node: cst.FunctionDef, updated_node: cst.FunctionDef) -> cst.CSTNode:
- return self._leave(original_node, updated_node)
-
- def _leave(self, original_node: DocstringNode, updated_node: DocstringNode) -> DocstringNode:
- key = tuple(self.stack)
- self.stack.pop()
-
- if hasattr(updated_node, "decorators") and any((i.decorator.value == "overload") for i in updated_node.decorators):
- return updated_node
-
- statement = self.docstrings.get(key)
- if not statement:
- return updated_node
-
- original_statement = get_docstring_statement(original_node)
-
- if isinstance(updated_node, cst.Module):
- body = updated_node.body
- if original_statement:
- return updated_node.with_changes(body=(statement, *body[1:]))
- else:
- updated_node = updated_node.with_changes(body=(statement, cst.EmptyLine(), *body))
- return updated_node
-
- body = updated_node.body.body[1:] if original_statement else updated_node.body.body
- return updated_node.with_changes(body=updated_node.body.with_changes(body=(statement, *body)))
-
-
-def merge_docstring(code: str, documented_code: str) -> str:
- """Merges the docstrings from the documented code into the original code.
-
- Args:
- code: The original code.
- documented_code: The documented code.
-
- Returns:
- The original code with the docstrings from the documented code.
- """
- code_tree = cst.parse_module(code)
- documented_code_tree = cst.parse_module(documented_code)
-
- visitor = DocstringCollector()
- documented_code_tree.visit(visitor)
- transformer = DocstringTransformer(visitor.docstrings)
- modified_tree = code_tree.visit(transformer)
- return modified_tree.code
diff --git a/metagpt/utils/read_document.py b/metagpt/utils/read_document.py
deleted file mode 100644
index 70734f7312dfcafdc825e724493f267b05d35ee1..0000000000000000000000000000000000000000
--- a/metagpt/utils/read_document.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
-@Time : 2023/4/29 15:45
-@Author : alexanderwu
-@File : read_document.py
-"""
-
-import docx
-
-
-def read_docx(file_path: str) -> list:
- """打开docx文件"""
- doc = docx.Document(file_path)
-
- # 创建一个空列表,用于存储段落内容
- paragraphs_list = []
-
- # 遍历文档中的段落,并将其内容添加到列表中
- for paragraph in doc.paragraphs:
- paragraphs_list.append(paragraph.text)
-
- return paragraphs_list
diff --git a/metagpt/utils/s3.py b/metagpt/utils/s3.py
deleted file mode 100644
index 96b4579721c41c5d2a695c926a9a0a932c636ff6..0000000000000000000000000000000000000000
--- a/metagpt/utils/s3.py
+++ /dev/null
@@ -1,155 +0,0 @@
-import base64
-import os.path
-import traceback
-import uuid
-from pathlib import Path
-from typing import Optional
-
-import aioboto3
-import aiofiles
-
-from metagpt.config import CONFIG
-from metagpt.const import BASE64_FORMAT
-from metagpt.logs import logger
-
-
-class S3:
- """A class for interacting with Amazon S3 storage."""
-
- def __init__(self):
- self.session = aioboto3.Session()
- self.s3_config = CONFIG.S3
- self.auth_config = {
- "service_name": "s3",
- "aws_access_key_id": self.s3_config["access_key"],
- "aws_secret_access_key": self.s3_config["secret_key"],
- "endpoint_url": self.s3_config["endpoint_url"],
- }
-
- async def upload_file(
- self,
- bucket: str,
- local_path: str,
- object_name: str,
- ) -> None:
- """Upload a file from the local path to the specified path of the storage bucket specified in s3.
-
- Args:
- bucket: The name of the S3 storage bucket.
- local_path: The local file path, including the file name.
- object_name: The complete path of the uploaded file to be stored in S3, including the file name.
-
- Raises:
- Exception: If an error occurs during the upload process, an exception is raised.
- """
- try:
- async with self.session.client(**self.auth_config) as client:
- async with aiofiles.open(local_path, mode="rb") as reader:
- body = await reader.read()
- await client.put_object(Body=body, Bucket=bucket, Key=object_name)
- logger.info(f"Successfully uploaded the file to path {object_name} in bucket {bucket} of s3.")
- except Exception as e:
- logger.error(f"Failed to upload the file to path {object_name} in bucket {bucket} of s3: {e}")
- raise e
-
- async def get_object_url(
- self,
- bucket: str,
- object_name: str,
- ) -> str:
- """Get the URL for a downloadable or preview file stored in the specified S3 bucket.
-
- Args:
- bucket: The name of the S3 storage bucket.
- object_name: The complete path of the file stored in S3, including the file name.
-
- Returns:
- The URL for the downloadable or preview file.
-
- Raises:
- Exception: If an error occurs while retrieving the URL, an exception is raised.
- """
- try:
- async with self.session.client(**self.auth_config) as client:
- file = await client.get_object(Bucket=bucket, Key=object_name)
- return str(file["Body"].url)
- except Exception as e:
- logger.error(f"Failed to get the url for a downloadable or preview file: {e}")
- raise e
-
- async def get_object(
- self,
- bucket: str,
- object_name: str,
- ) -> bytes:
- """Get the binary data of a file stored in the specified S3 bucket.
-
- Args:
- bucket: The name of the S3 storage bucket.
- object_name: The complete path of the file stored in S3, including the file name.
-
- Returns:
- The binary data of the requested file.
-
- Raises:
- Exception: If an error occurs while retrieving the file data, an exception is raised.
- """
- try:
- async with self.session.client(**self.auth_config) as client:
- s3_object = await client.get_object(Bucket=bucket, Key=object_name)
- return await s3_object["Body"].read()
- except Exception as e:
- logger.error(f"Failed to get the binary data of the file: {e}")
- raise e
-
- async def download_file(
- self, bucket: str, object_name: str, local_path: str, chunk_size: Optional[int] = 128 * 1024
- ) -> None:
- """Download an S3 object to a local file.
-
- Args:
- bucket: The name of the S3 storage bucket.
- object_name: The complete path of the file stored in S3, including the file name.
- local_path: The local file path where the S3 object will be downloaded.
- chunk_size: The size of data chunks to read and write at a time. Default is 128 KB.
-
- Raises:
- Exception: If an error occurs during the download process, an exception is raised.
- """
- try:
- async with self.session.client(**self.auth_config) as client:
- s3_object = await client.get_object(Bucket=bucket, Key=object_name)
- stream = s3_object["Body"]
- async with aiofiles.open(local_path, mode="wb") as writer:
- while True:
- file_data = await stream.read(chunk_size)
- if not file_data:
- break
- await writer.write(file_data)
- except Exception as e:
- logger.error(f"Failed to download the file from S3: {e}")
- raise e
-
- async def cache(self, data: str, file_ext: str, format: str = "") -> str:
- """Save data to remote S3 and return url"""
- object_name = str(uuid.uuid4()).replace("-", "") + file_ext
- path = Path(__file__).parent
- pathname = path / object_name
- try:
- async with aiofiles.open(str(pathname), mode="wb") as file:
- if format == BASE64_FORMAT:
- data = base64.b64decode(data)
- await file.write(data)
-
- bucket = CONFIG.S3.get("bucket")
- object_pathname = CONFIG.S3.get("path") or "system"
- object_pathname += f"/{object_name}"
- object_pathname = os.path.normpath(object_pathname)
- await self.upload_file(bucket=bucket, local_path=str(pathname), object_name=object_pathname)
- pathname.unlink(missing_ok=True)
-
- return await self.get_object_url(bucket=bucket, object_name=object_pathname)
- except Exception as e:
- logger.exception(f"{e}, stack:{traceback.format_exc()}")
- pathname.unlink(missing_ok=True)
- return None
diff --git a/metagpt/utils/serialize.py b/metagpt/utils/serialize.py
deleted file mode 100644
index ffafca8cdfb20620adeda9053bb8e4be781a7ab4..0000000000000000000000000000000000000000
--- a/metagpt/utils/serialize.py
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-# @Desc : the implement of serialization and deserialization
-
-import copy
-import pickle
-from typing import Dict, List, Tuple
-
-from metagpt.actions.action_output import ActionOutput
-from metagpt.schema import Message
-
-
-def actionoutout_schema_to_mapping(schema: Dict) -> Dict:
- """
- directly traverse the `properties` in the first level.
- schema structure likes
- ```
- {
- "title":"prd",
- "type":"object",
- "properties":{
- "Original Requirements":{
- "title":"Original Requirements",
- "type":"string"
- },
- },
- "required":[
- "Original Requirements",
- ]
- }
- ```
- """
- mapping = dict()
- for field, property in schema["properties"].items():
- if property["type"] == "string":
- mapping[field] = (str, ...)
- elif property["type"] == "array" and property["items"]["type"] == "string":
- mapping[field] = (List[str], ...)
- elif property["type"] == "array" and property["items"]["type"] == "array":
- # here only consider the `Tuple[str, str]` situation
- mapping[field] = (List[Tuple[str, str]], ...)
- return mapping
-
-
-def serialize_message(message: Message):
- message_cp = copy.deepcopy(message) # avoid `instruct_content` value update by reference
- ic = message_cp.instruct_content
- if ic:
- # model create by pydantic create_model like `pydantic.main.prd`, can't pickle.dump directly
- schema = ic.schema()
- mapping = actionoutout_schema_to_mapping(schema)
-
- message_cp.instruct_content = {"class": schema["title"], "mapping": mapping, "value": ic.dict()}
- msg_ser = pickle.dumps(message_cp)
-
- return msg_ser
-
-
-def deserialize_message(message_ser: str) -> Message:
- message = pickle.loads(message_ser)
- if message.instruct_content:
- ic = message.instruct_content
- ic_obj = ActionOutput.create_model_class(class_name=ic["class"], mapping=ic["mapping"])
- ic_new = ic_obj(**ic["value"])
- message.instruct_content = ic_new
-
- return message
diff --git a/metagpt/utils/singleton.py b/metagpt/utils/singleton.py
deleted file mode 100644
index a9e0862c050777981a753fa3f6449578f07e737c..0000000000000000000000000000000000000000
--- a/metagpt/utils/singleton.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
-@Time : 2023/5/11 16:15
-@Author : alexanderwu
-@File : singleton.py
-"""
-import abc
-
-
-class Singleton(abc.ABCMeta, type):
- """
- Singleton metaclass for ensuring only one instance of a class.
- """
-
- _instances = {}
-
- def __call__(cls, *args, **kwargs):
- """Call method for the singleton metaclass."""
- if cls not in cls._instances:
- cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
- return cls._instances[cls]
diff --git a/metagpt/utils/special_tokens.py b/metagpt/utils/special_tokens.py
deleted file mode 100644
index 2adb93c7781f00e1952e720a66a33dd353a9cc57..0000000000000000000000000000000000000000
--- a/metagpt/utils/special_tokens.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# token to separate different code messages in a WriteCode Message content
-MSG_SEP = "#*000*#"
-# token to seperate file name and the actual code text in a code message
-FILENAME_CODE_SEP = "#*001*#"
diff --git a/metagpt/utils/text.py b/metagpt/utils/text.py
deleted file mode 100644
index be3c52edd3d399f1fcee2449ada326c12d9e3f07..0000000000000000000000000000000000000000
--- a/metagpt/utils/text.py
+++ /dev/null
@@ -1,124 +0,0 @@
-from typing import Generator, Sequence
-
-from metagpt.utils.token_counter import TOKEN_MAX, count_string_tokens
-
-
-def reduce_message_length(msgs: Generator[str, None, None], model_name: str, system_text: str, reserved: int = 0,) -> str:
- """Reduce the length of concatenated message segments to fit within the maximum token size.
-
- Args:
- msgs: A generator of strings representing progressively shorter valid prompts.
- model_name: The name of the encoding to use. (e.g., "gpt-3.5-turbo")
- system_text: The system prompts.
- reserved: The number of reserved tokens.
-
- Returns:
- The concatenated message segments reduced to fit within the maximum token size.
-
- Raises:
- RuntimeError: If it fails to reduce the concatenated message length.
- """
- max_token = TOKEN_MAX.get(model_name, 2048) - count_string_tokens(system_text, model_name) - reserved
- for msg in msgs:
- if count_string_tokens(msg, model_name) < max_token:
- return msg
-
- raise RuntimeError("fail to reduce message length")
-
-
-def generate_prompt_chunk(
- text: str,
- prompt_template: str,
- model_name: str,
- system_text: str,
- reserved: int = 0,
-) -> Generator[str, None, None]:
- """Split the text into chunks of a maximum token size.
-
- Args:
- text: The text to split.
- prompt_template: The template for the prompt, containing a single `{}` placeholder. For example, "### Reference\n{}".
- model_name: The name of the encoding to use. (e.g., "gpt-3.5-turbo")
- system_text: The system prompts.
- reserved: The number of reserved tokens.
-
- Yields:
- The chunk of text.
- """
- paragraphs = text.splitlines(keepends=True)
- current_token = 0
- current_lines = []
-
- reserved = reserved + count_string_tokens(prompt_template+system_text, model_name)
- # 100 is a magic number to ensure the maximum context length is not exceeded
- max_token = TOKEN_MAX.get(model_name, 2048) - reserved - 100
-
- while paragraphs:
- paragraph = paragraphs.pop(0)
- token = count_string_tokens(paragraph, model_name)
- if current_token + token <= max_token:
- current_lines.append(paragraph)
- current_token += token
- elif token > max_token:
- paragraphs = split_paragraph(paragraph) + paragraphs
- continue
- else:
- yield prompt_template.format("".join(current_lines))
- current_lines = [paragraph]
- current_token = token
-
- if current_lines:
- yield prompt_template.format("".join(current_lines))
-
-
-def split_paragraph(paragraph: str, sep: str = ".,", count: int = 2) -> list[str]:
- """Split a paragraph into multiple parts.
-
- Args:
- paragraph: The paragraph to split.
- sep: The separator character.
- count: The number of parts to split the paragraph into.
-
- Returns:
- A list of split parts of the paragraph.
- """
- for i in sep:
- sentences = list(_split_text_with_ends(paragraph, i))
- if len(sentences) <= 1:
- continue
- ret = ["".join(j) for j in _split_by_count(sentences, count)]
- return ret
- return _split_by_count(paragraph, count)
-
-
-def decode_unicode_escape(text: str) -> str:
- """Decode a text with unicode escape sequences.
-
- Args:
- text: The text to decode.
-
- Returns:
- The decoded text.
- """
- return text.encode("utf-8").decode("unicode_escape", "ignore")
-
-
-def _split_by_count(lst: Sequence , count: int):
- avg = len(lst) // count
- remainder = len(lst) % count
- start = 0
- for i in range(count):
- end = start + avg + (1 if i < remainder else 0)
- yield lst[start:end]
- start = end
-
-
-def _split_text_with_ends(text: str, sep: str = "."):
- parts = []
- for i in text:
- parts.append(i)
- if i == sep:
- yield "".join(parts)
- parts = []
- if parts:
- yield "".join(parts)
diff --git a/metagpt/utils/token_counter.py b/metagpt/utils/token_counter.py
deleted file mode 100644
index a5a65803a9f3fe10b4ff5976c5328dddf4205356..0000000000000000000000000000000000000000
--- a/metagpt/utils/token_counter.py
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
-@Time : 2023/5/18 00:40
-@Author : alexanderwu
-@File : token_counter.py
-ref1: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
-ref2: https://github.com/Significant-Gravitas/Auto-GPT/blob/master/autogpt/llm/token_counter.py
-ref3: https://github.com/hwchase17/langchain/blob/master/langchain/chat_models/openai.py
-"""
-import tiktoken
-
-TOKEN_COSTS = {
- "gpt-3.5-turbo": {"prompt": 0.0015, "completion": 0.002},
- "gpt-3.5-turbo-0301": {"prompt": 0.0015, "completion": 0.002},
- "gpt-3.5-turbo-0613": {"prompt": 0.0015, "completion": 0.002},
- "gpt-3.5-turbo-16k": {"prompt": 0.003, "completion": 0.004},
- "gpt-3.5-turbo-16k-0613": {"prompt": 0.003, "completion": 0.004},
- "gpt-4-0314": {"prompt": 0.03, "completion": 0.06},
- "gpt-4": {"prompt": 0.03, "completion": 0.06},
- "gpt-4-32k": {"prompt": 0.06, "completion": 0.12},
- "gpt-4-32k-0314": {"prompt": 0.06, "completion": 0.12},
- "gpt-4-0613": {"prompt": 0.06, "completion": 0.12},
- "text-embedding-ada-002": {"prompt": 0.0004, "completion": 0.0},
-}
-
-
-TOKEN_MAX = {
- "gpt-3.5-turbo": 4096,
- "gpt-3.5-turbo-0301": 4096,
- "gpt-3.5-turbo-0613": 4096,
- "gpt-3.5-turbo-16k": 16384,
- "gpt-3.5-turbo-16k-0613": 16384,
- "gpt-4-0314": 8192,
- "gpt-4": 8192,
- "gpt-4-32k": 32768,
- "gpt-4-32k-0314": 32768,
- "gpt-4-0613": 8192,
- "text-embedding-ada-002": 8192,
-}
-
-
-def count_message_tokens(messages, model="gpt-3.5-turbo-0613"):
- """Return the number of tokens used by a list of messages."""
- try:
- encoding = tiktoken.encoding_for_model(model)
- except KeyError:
- print("Warning: model not found. Using cl100k_base encoding.")
- encoding = tiktoken.get_encoding("cl100k_base")
- if model in {
- "gpt-3.5-turbo-0613",
- "gpt-3.5-turbo-16k-0613",
- "gpt-4-0314",
- "gpt-4-32k-0314",
- "gpt-4-0613",
- "gpt-4-32k-0613",
- }:
- tokens_per_message = 3
- tokens_per_name = 1
- elif model == "gpt-3.5-turbo-0301":
- tokens_per_message = 4 # every message follows <|start|>{role/name}\n{content}<|end|>\n
- tokens_per_name = -1 # if there's a name, the role is omitted
- elif "gpt-3.5-turbo" in model:
- print("Warning: gpt-3.5-turbo may update over time. Returning num tokens assuming gpt-3.5-turbo-0613.")
- return count_message_tokens(messages, model="gpt-3.5-turbo-0613")
- elif "gpt-4" in model:
- print("Warning: gpt-4 may update over time. Returning num tokens assuming gpt-4-0613.")
- return count_message_tokens(messages, model="gpt-4-0613")
- else:
- raise NotImplementedError(
- f"""num_tokens_from_messages() is not implemented for model {model}. See https://github.com/openai/openai-python/blob/main/chatml.md for information on how messages are converted to tokens."""
- )
- num_tokens = 0
- for message in messages:
- num_tokens += tokens_per_message
- for key, value in message.items():
- num_tokens += len(encoding.encode(value))
- if key == "name":
- num_tokens += tokens_per_name
- num_tokens += 3 # every reply is primed with <|start|>assistant<|message|>
- return num_tokens
-
-
-def count_string_tokens(string: str, model_name: str) -> int:
- """
- Returns the number of tokens in a text string.
-
- Args:
- string (str): The text string.
- model_name (str): The name of the encoding to use. (e.g., "gpt-3.5-turbo")
-
- Returns:
- int: The number of tokens in the text string.
- """
- encoding = tiktoken.encoding_for_model(model_name)
- return len(encoding.encode(string))
-
-
-def get_max_completion_tokens(messages: list[dict], model: str, default: int) -> int:
- """Calculate the maximum number of completion tokens for a given model and list of messages.
-
- Args:
- messages: A list of messages.
- model: The model name.
-
- Returns:
- The maximum number of completion tokens.
- """
- if model not in TOKEN_MAX:
- return default
- return TOKEN_MAX[model] - count_message_tokens(messages) - 1
diff --git a/requirements.txt b/requirements.txt
index 4fb0f64265e861486accc8aad823b2f0d28d368a..22fa6742bf7e2636ad9617b01cbd99008e650d5f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,49 +1,6 @@
-aiohttp==3.8.4
-#azure_storage==0.37.0
-channels==4.0.0
-# chromadb==0.3.22
-# Django==4.1.5
-# docx==0.2.4
-#faiss==1.5.3
-faiss_cpu==1.7.4
-fire==0.4.0
-# godot==0.1.1
-# google_api_python_client==2.93.0
-langchain==0.0.231
-loguru==0.6.0
-meilisearch==0.21.0
-numpy==1.24.3
-openai==0.27.8
-openpyxl
-beautifulsoup4==4.12.2
-pandas==2.0.3
-pydantic==1.10.8
-#pygame==2.1.3
-#pymilvus==2.2.8
-pytest==7.2.2
-python_docx==0.8.11
-PyYAML==6.0
-# sentence_transformers==2.2.2
-setuptools==65.6.3
-tenacity==8.2.2
-tiktoken==0.3.3
-tqdm==4.64.0
-#unstructured[local-inference]
-# playwright
-# selenium>4
-# webdriver_manager<3.9
-anthropic==0.3.6
-typing-inspect==0.8.0
-typing_extensions==4.5.0
-aiofiles
-libcst==1.0.1
-qdrant-client==1.4.0
-connexion[swagger-ui]
-aiohttp_jinja2
-
mdutils==1.6.0
aiozipstream==0.4
-azure-cognitiveservices-speech==1.31.0
aioboto3~=11.3.0
fastapi
-uvicorn
\ No newline at end of file
+uvicorn
+git+https://github.com/geekan/MetaGPT
diff --git a/setup.py b/setup.py
deleted file mode 100644
index a88f9de92b3794144a0fee383206ef7de77f0554..0000000000000000000000000000000000000000
--- a/setup.py
+++ /dev/null
@@ -1,54 +0,0 @@
-"""wutils: handy tools
-"""
-import subprocess
-from codecs import open
-from os import path
-
-from setuptools import Command, find_packages, setup
-
-
-class InstallMermaidCLI(Command):
- """A custom command to run `npm install -g @mermaid-js/mermaid-cli` via a subprocess."""
-
- description = "install mermaid-cli"
- user_options = []
-
- def run(self):
- try:
- subprocess.check_call(["npm", "install", "-g", "@mermaid-js/mermaid-cli"])
- except subprocess.CalledProcessError as e:
- print(f"Error occurred: {e.output}")
-
-
-here = path.abspath(path.dirname(__file__))
-
-with open(path.join(here, "README.md"), encoding="utf-8") as f:
- long_description = f.read()
-
-with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
- requirements = [line.strip() for line in f if line]
-
-setup(
- name="metagpt",
- version="0.1",
- description="The Multi-Role Meta Programming Framework",
- long_description=long_description,
- long_description_content_type="text/markdown",
- url="https://gitlab.deepwisdomai.com/pub/metagpt",
- author="Alexander Wu",
- author_email="alexanderwu@fuzhi.ai",
- license="Apache 2.0",
- keywords="metagpt multi-role multi-agent programming gpt llm",
- packages=find_packages(exclude=["contrib", "docs", "examples"]),
- python_requires=">=3.9",
- install_requires=requirements,
- extras_require={
- "playwright": ["playwright>=1.26", "beautifulsoup4"],
- "selenium": ["selenium>4", "webdriver_manager", "beautifulsoup4"],
- "search-google": ["google-api-python-client==2.94.0"],
- "search-ddg": ["duckduckgo-search==3.8.5"],
- },
- cmdclass={
- "install_mermaid": InstallMermaidCLI,
- },
-)
diff --git a/software_company.py b/software_company.py
new file mode 100644
index 0000000000000000000000000000000000000000..facd096816ea5402a5dd723149d94624df301b38
--- /dev/null
+++ b/software_company.py
@@ -0,0 +1,406 @@
+import asyncio
+from functools import partial
+import json
+from pydantic import BaseModel, Field
+import datetime
+import os
+from pathlib import Path
+from typing import Any, Coroutine, Optional
+
+import aiofiles
+from aiobotocore.session import get_session
+from mdutils.mdutils import MdUtils
+from zipstream import AioZipStream
+
+from metagpt.actions import Action
+from metagpt.actions.action_output import ActionOutput
+from metagpt.actions.design_api import WriteDesign
+from metagpt.actions.prepare_documents import PrepareDocuments
+from metagpt.actions.project_management import WriteTasks
+from metagpt.actions.summarize_code import SummarizeCode
+from metagpt.actions.write_code import WriteCode
+from metagpt.actions.write_prd import WritePRD
+from metagpt.config import CONFIG
+from metagpt.const import COMPETITIVE_ANALYSIS_FILE_REPO, DATA_API_DESIGN_FILE_REPO, SEQ_FLOW_FILE_REPO, SERDESER_PATH
+from metagpt.roles import Architect, Engineer, ProductManager, ProjectManager, Role
+from metagpt.schema import Message
+from metagpt.team import Team
+from metagpt.utils.common import any_to_str, read_json_file, write_json_file
+from metagpt.utils.git_repository import GitRepository
+
+
+_default_llm_stream_log = partial(print, end="")
+
+
+class RoleRun(Action):
+ role: Role
+
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ action = self.role._rc.todo
+ self.desc = f"{self.role.profile} {action.desc or str(action)}"
+
+
+class PackProject(Action):
+ role: Role
+
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ self.desc = "Pack the project with prd, design, code and more."
+
+ async def run(self, key: str):
+ url = await self.upload(key)
+ mdfile = MdUtils(None)
+ mdfile.new_line(mdfile.new_inline_link(url, url.rsplit("/", 1)[-1]))
+ return ActionOutput(mdfile.get_md_text(), BaseModel())
+
+ async def upload(self, key: str):
+ files = []
+ workspace = CONFIG.git_repo.workdir
+ workspace = str(workspace)
+ for r, _, fs in os.walk(workspace):
+ _r = r[len(workspace):].lstrip("/")
+ for f in fs:
+ files.append({"file": os.path.join(r, f), "name": os.path.join(_r, f)})
+ # aiozipstream
+ chunks = []
+ async for chunk in AioZipStream(files, chunksize=32768).stream():
+ chunks.append(chunk)
+ return await get_download_url(b"".join(chunks), key)
+
+
+class SoftwareCompany(Role):
+ """封装软件公司成角色,以快速接入agent store。"""
+ finish: bool = False
+ company: Team = Field(default_factory=Team)
+ active_role: Optional[Role] = None
+ git_repo: Optional[GitRepository] = None
+ max_auto_summarize_code: int = 0
+
+ def __init__(self, use_code_review=False, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ engineer = Engineer(n_borg=5, use_code_review=use_code_review)
+ self.company.hire([ProductManager(), Architect(), ProjectManager(), engineer])
+ self._init_actions([PackProject(role=engineer)])
+
+ def recv(self, message: Message) -> None:
+ self.company.run_project(message.content)
+
+ async def _think(self) -> Coroutine[Any, Any, bool]:
+ """软件公司运行需要4轮
+
+ BOSS -> ProductManager -> Architect -> ProjectManager -> Engineer
+ BossRequirement -> WritePRD -> WriteDesign -> WriteTasks -> WriteCode ->
+ """
+ if self.finish:
+ self._rc.todo = None
+ return False
+
+ if self.git_repo is not None:
+ CONFIG.git_repo = self.git_repo
+
+ environment = self.company.env
+ for role in environment.roles.values():
+ if await role._observe():
+ await role._think()
+ if isinstance(role._rc.todo, PrepareDocuments):
+ self.active_role = role
+ await self.act()
+ self.git_repo = CONFIG.git_repo
+ return await self._think()
+
+ if isinstance(role._rc.todo, SummarizeCode):
+ return await self._think()
+
+ self._rc.todo = RoleRun(role=role)
+ self.active_role = role
+ return True
+
+ self._set_state(0)
+ return True
+
+ async def _act(self) -> Message:
+ if self.git_repo is not None:
+ CONFIG.git_repo = self.git_repo
+ CONFIG.src_workspace = CONFIG.git_repo.workdir / CONFIG.git_repo.workdir.name
+ CONFIG.max_auto_summarize_code = self.max_auto_summarize_code
+
+ if isinstance(self._rc.todo, PackProject):
+ workdir = CONFIG.git_repo.workdir
+ name = workdir.name
+ uid = workdir.parent.parent.name
+ now = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
+ key = f"{uid}/metagpt-{name}-{now}.zip"
+ output = await self._rc.todo.run(key)
+ self.finish = True
+ return Message(output.content, role=self.profile, cause_by=type(self._rc.todo))
+
+ default_log_stream = CONFIG.get("LLM_STREAM_LOG", _default_llm_stream_log)
+
+ start = False
+ insert_code = False
+
+ def log_stream(msg):
+ nonlocal start, insert_code
+ if not start:
+ if msg.startswith("["):
+ msg = "```json\n" + msg
+ insert_code = True
+ start = True
+ return default_log_stream(msg)
+
+ CONFIG.LLM_STREAM_LOG = log_stream
+
+ output = await self.active_role._act()
+ self.active_role._set_state(state=-1)
+ self.active_role.publish_message(output)
+
+ if insert_code:
+ default_log_stream("\n```\n")
+
+ cause_by = output.cause_by
+
+ if cause_by == any_to_str(WritePRD):
+ output = await self.format_prd(output)
+ elif cause_by == any_to_str(WriteDesign):
+ output = await self.format_system_design(output)
+ elif cause_by == any_to_str(WriteTasks):
+ output = await self.format_tasks(output)
+ elif cause_by == any_to_str(WriteCode):
+ output = await self.format_code(output)
+ elif cause_by == any_to_str(SummarizeCode):
+ output = await self.format_code_summary(output)
+ return output
+
+ async def format_prd(self, msg: Message):
+ docs = [(k, v) for k, v in msg.instruct_content.docs.items()]
+ prd_doc = docs[0][1]
+ data = json.loads(prd_doc.content)
+
+ mdfile = MdUtils(None)
+ title = "Original Requirements"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+
+ title = "Product Goals"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_list(data[title], marked_with="1")
+
+ title = "User Stories"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_list(data[title], marked_with="1")
+
+ title = "Competitive Analysis"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ if all(i.count(":") == 1 for i in data[title]):
+ mdfile.new_table(
+ 2, len(data[title]) + 1, ["Competitor", "Description", *(i for j in data[title] for i in j.split(":"))]
+ )
+ else:
+ mdfile.new_list(data[title], marked_with="1")
+
+ title = "Competitive Quadrant Chart"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ competitive_analysis_path = CONFIG.git_repo.workdir / Path(COMPETITIVE_ANALYSIS_FILE_REPO) / Path(prd_doc.filename).with_suffix(".png")
+
+ if competitive_analysis_path.exists():
+ key = str(competitive_analysis_path.relative_to(CONFIG.git_repo.workdir.parent.parent))
+ url = await upload_file_to_s3(competitive_analysis_path, key)
+ mdfile.new_line(mdfile.new_inline_image(title, url))
+ else:
+ mdfile.insert_code(data[title], "mermaid")
+
+ title = "Requirement Analysis"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+
+ title = "Requirement Pool"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_table(
+ 2, len(data[title]) + 1, ["Task Description", "Priority", *(i for j in data[title] for i in j)]
+ )
+
+ title = "UI Design draft"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+
+ title = "Anything UNCLEAR"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+ content = mdfile.get_md_text()
+ return Message(content, cause_by=msg.cause_by, role=msg.role)
+
+ async def format_system_design(self, msg: Message):
+ system_designs = [(k, v) for k, v in msg.instruct_content.docs.items()]
+ system_design_doc = system_designs[0][1]
+ data = json.loads(system_design_doc.content)
+
+ mdfile = MdUtils(None)
+
+ title = "Implementation approach"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+
+ title = "File list"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_list(data[title], marked_with="1")
+
+ title = "Data structures and interfaces"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+
+ data_api_design_path = CONFIG.git_repo.workdir / Path(DATA_API_DESIGN_FILE_REPO) / Path(system_design_doc.filename).with_suffix(".png")
+ if data_api_design_path.exists():
+ key = str(data_api_design_path.relative_to(CONFIG.git_repo.workdir.parent.parent))
+ url = await upload_file_to_s3(data_api_design_path, key)
+ mdfile.new_line(mdfile.new_inline_image(title, url))
+ else:
+ mdfile.insert_code(data[title], "mermaid")
+
+ title = "Program call flow"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ seq_flow_path = CONFIG.git_repo.workdir / SEQ_FLOW_FILE_REPO / Path(system_design_doc.filename).with_suffix(".png")
+ if seq_flow_path.exists():
+ key = str(seq_flow_path.relative_to(CONFIG.git_repo.workdir.parent.parent))
+ url = await upload_file_to_s3(seq_flow_path, key)
+ mdfile.new_line(mdfile.new_inline_image(title, url))
+ else:
+ mdfile.insert_code(data[title], "mermaid")
+
+ title = "Anything UNCLEAR"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_paragraph(data[title])
+ content = mdfile.get_md_text()
+ return Message(content, cause_by=msg.cause_by, role=msg.role)
+
+ async def format_tasks(self, msg: Message):
+ tasks = [(k, v) for k, v in msg.instruct_content.docs.items()]
+ task_doc = tasks[0][1]
+ data = json.loads(task_doc.content)
+
+ mdfile = MdUtils(None)
+ title = "Required Python packages"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.insert_code("\n".join(data[title]), "txt")
+
+ title = "Required Other language third-party packages"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.insert_code("\n".join(data[title]), "txt")
+
+ title = "Logic Analysis"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_table(
+ 2, len(data[title]) + 1, ["Filename", "Class/Function Name", *(i for j in data[title] for i in j)]
+ )
+
+ title = "Task list"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.new_list(data[title])
+
+ title = "Full API spec"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ if data[title]:
+ mdfile.insert_code(data[title], "json")
+
+ title = "Shared Knowledge"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.insert_code(data[title], "python")
+
+ title = "Anything UNCLEAR"
+ mdfile.new_header(2, title, add_table_of_contents=False)
+ mdfile.insert_code(data[title], "python")
+ content = mdfile.get_md_text()
+ return Message(content, cause_by=msg.cause_by, role=msg.role)
+
+ async def format_code(self, msg: Message):
+ data = msg.content.splitlines()
+ workdir = CONFIG.git_repo.workdir
+ code_root = workdir / workdir.name
+
+ mdfile = MdUtils(None)
+
+ for filename in data:
+ mdfile.new_header(2, filename, add_table_of_contents=False)
+ async with aiofiles.open(code_root / filename) as f:
+ content = await f.read()
+ suffix = filename.rsplit(".", maxsplit=1)[-1]
+ mdfile.insert_code(content, "python" if suffix == "py" else suffix)
+ return Message(mdfile.get_md_text(), cause_by=msg.cause_by, role=msg.role)
+
+ async def format_code_summary(self, msg: Message):
+ # TODO
+ return msg
+
+ async def think(self):
+ await self._think()
+ return self._rc.todo
+
+ async def act(self):
+ return await self._act()
+
+ def serialize(self, stg_path: Path = None):
+ stg_path = SERDESER_PATH.joinpath("software_company") if stg_path is None else stg_path
+
+ team_info_path = stg_path.joinpath("software_company_info.json")
+ write_json_file(team_info_path, self.dict(exclude={"company": True}))
+
+ self.company.serialize(stg_path.joinpath("company")) # save company alone
+
+ @classmethod
+ def deserialize(cls, stg_path: Path) -> "Team":
+ """stg_path = ./storage/team"""
+ # recover team_info
+ software_company_info_path = stg_path.joinpath("software_company_info.json")
+ if not software_company_info_path.exists():
+ raise FileNotFoundError(
+ "recover storage meta file `team_info.json` not exist, "
+ "not to recover and please start a new project."
+ )
+
+ software_company_info: dict = read_json_file(software_company_info_path)
+
+ # recover environment
+ company = Team.deserialize(stg_path=stg_path.joinpath("company"))
+ software_company_info.update({"company": company})
+
+ return cls(**software_company_info)
+
+
+async def upload_file_to_s3(filepath: str, key: str):
+ async with aiofiles.open(filepath, "rb") as f:
+ content = await f.read()
+ return await get_download_url(content, key)
+
+
+async def get_download_url(content: bytes, key: str) -> str:
+ if CONFIG.get("STORAGE_TYPE") == "S3":
+ session = get_session()
+ async with session.create_client(
+ "s3",
+ aws_secret_access_key=CONFIG.get("S3_SECRET_KEY"),
+ aws_access_key_id=CONFIG.get("S3_ACCESS_KEY"),
+ endpoint_url=CONFIG.get("S3_ENDPOINT_URL"),
+ use_ssl=CONFIG.get("S3_SECURE"),
+ ) as client:
+ # upload object to amazon s3
+ bucket = CONFIG.get("S3_BUCKET")
+ await client.put_object(Bucket=bucket, Key=key, Body=content)
+ return f"{CONFIG.get('S3_ENDPOINT_URL')}/{bucket}/{key}"
+ else:
+ storage = CONFIG.get("LOCAL_ROOT", "storage")
+ base_url = CONFIG.get("LOCAL_BASE_URL", "storage")
+ filepath = Path(storage) / key
+ filepath.parent.mkdir(exist_ok=True, parents=True)
+ async with aiofiles.open(filepath, "wb") as f:
+ await f.write(content)
+ return f"{base_url}/{key}"
+
+
+async def main(idea, **kwargs):
+ sc = SoftwareCompany(**kwargs)
+ sc.recv(Message(idea))
+ while await sc.think():
+ print(await sc.act())
+
+
+if __name__ == "__main__":
+ asyncio.run(main())
diff --git a/src/index.html b/src/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..a1ed81b3bb3416c72ecb85675881a7758baaace5
--- /dev/null
+++ b/src/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+ meta-gpt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/metagpt/static/cy_aps/assets/__commonjsHelpers__-042e6b4d.js b/src/static/assets/__commonjsHelpers__-042e6b4d.js
similarity index 100%
rename from metagpt/static/cy_aps/assets/__commonjsHelpers__-042e6b4d.js
rename to src/static/assets/__commonjsHelpers__-042e6b4d.js
diff --git a/metagpt/static/cy_aps/assets/bigTexCard-be1474a9.svg b/src/static/assets/bigTexCard-be1474a9.svg
similarity index 100%
rename from metagpt/static/cy_aps/assets/bigTexCard-be1474a9.svg
rename to src/static/assets/bigTexCard-be1474a9.svg
diff --git a/metagpt/static/cy_aps/assets/blacklogo-ead63efd.svg b/src/static/assets/blacklogo-ead63efd.svg
similarity index 100%
rename from metagpt/static/cy_aps/assets/blacklogo-ead63efd.svg
rename to src/static/assets/blacklogo-ead63efd.svg
diff --git a/metagpt/static/cy_aps/assets/btn0-e612db37.png b/src/static/assets/btn0-e612db37.png
similarity index 100%
rename from metagpt/static/cy_aps/assets/btn0-e612db37.png
rename to src/static/assets/btn0-e612db37.png
diff --git a/metagpt/static/cy_aps/assets/btn1-25da2f4c.png b/src/static/assets/btn1-25da2f4c.png
similarity index 100%
rename from metagpt/static/cy_aps/assets/btn1-25da2f4c.png
rename to src/static/assets/btn1-25da2f4c.png
diff --git a/metagpt/static/cy_aps/assets/btn2-d21834a1.png b/src/static/assets/btn2-d21834a1.png
similarity index 100%
rename from metagpt/static/cy_aps/assets/btn2-d21834a1.png
rename to src/static/assets/btn2-d21834a1.png
diff --git a/metagpt/static/cy_aps/assets/btn3-cf765453.png b/src/static/assets/btn3-cf765453.png
similarity index 100%
rename from metagpt/static/cy_aps/assets/btn3-cf765453.png
rename to src/static/assets/btn3-cf765453.png
diff --git a/metagpt/static/cy_aps/assets/contributors-753a72cb.png b/src/static/assets/contributors-753a72cb.png
similarity index 100%
rename from metagpt/static/cy_aps/assets/contributors-753a72cb.png
rename to src/static/assets/contributors-753a72cb.png
diff --git a/src/static/assets/example-1902a4ef.png b/src/static/assets/example-1902a4ef.png
new file mode 100644
index 0000000000000000000000000000000000000000..f8089dfb98a3a29111c4224459e1d4f4def9a679
--- /dev/null
+++ b/src/static/assets/example-1902a4ef.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1902a4efff3712085e7c39a7acb4652e97f2cd28531e249ba97eb95c6d734a8d
+size 1072352
diff --git a/src/static/assets/example-c1208c62.mp4 b/src/static/assets/example-c1208c62.mp4
new file mode 100644
index 0000000000000000000000000000000000000000..231a0d0bd52ef694c499ba0dbd55acbcb54f0c72
--- /dev/null
+++ b/src/static/assets/example-c1208c62.mp4
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1208c62d66d8a049e11f4f6504e61a8cba37b18057e9f4a08b91df2d6a5327a
+size 19484348
diff --git a/metagpt/static/cy_aps/assets/favicon-beef0aa9.ico b/src/static/assets/favicon-beef0aa9.ico
similarity index 100%
rename from metagpt/static/cy_aps/assets/favicon-beef0aa9.ico
rename to src/static/assets/favicon-beef0aa9.ico
diff --git a/metagpt/static/cy_aps/assets/home-0791050d.js b/src/static/assets/home-ea94b6c0.js
similarity index 78%
rename from metagpt/static/cy_aps/assets/home-0791050d.js
rename to src/static/assets/home-ea94b6c0.js
index 58334e1cc48d5e9a2bc969c1bafb27a9a307c470..abccaf1bd941c33912d091e1318db34255d0d248 100644
--- a/metagpt/static/cy_aps/assets/home-0791050d.js
+++ b/src/static/assets/home-ea94b6c0.js
@@ -1,30 +1,30 @@
-var Fw=Object.defineProperty;var Bw=(t,e,n)=>e in t?Fw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Mi=(t,e,n)=>(Bw(t,typeof e!="symbol"?e+"":e,n),n);import{d as be,x as yt,c as le,f as V,h as ae,l as F,n as It,k as Bt,r as ee,o as kn,w as Zt,v as ue,$ as q,j as oi,p as ot,q as dt,a2 as wr,a3 as Zi,a4 as Ji,t as St,F as st,U as Ks,R as $i,H as bm,G as Kn,i as Ft,B as ni,g as $m,K as Pn,a5 as j,J as Gw,A as Qs,a6 as Yw,I as OC,a7 as Hm,Q as si,T as Hi,z as zm,L as Xs,b as Ya,a8 as Vm,P as yn,s as Ge,u as $e,M as ji,a9 as qw,y as AC,D as Ps,aa as $w,_ as Hw,a as zw,ab as Vw,N as Ww,ac as Kw}from"./vue-e0bc46a9.js";import{_ as Un,j as Fn,k as Bn,m as Qw,o as Ht,e as Rt,M as yC,n as IC,p as Ka,q as Xw,r as Zw,O as gs,s as Jw,D as DC,u as jw,v as eM,A as tM,T as nM,B as hm,g as xC,w as rM,L as Gf,x as iM,y as aM,z as oM,E as sM,G as lM,S as cM,H as uM}from"./vendor-4cd7d240.js";import{C as Wm,U as dM,t as Km}from"./index-5df855a0.js";import{c as La,a as _M,g as Qm}from"./__commonjsHelpers__-042e6b4d.js";const pM="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/bigTexCard-be1474a9.svg",mM="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/example-ce12f6a4.png",gM="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/example-c23c1e5e.mp4",EM=["xlink:href"],ea=be({__name:"Icon",props:{iconId:{},fill:{},size:{},disabled:{type:Boolean}},setup(t){const e=t,n=yt(e,"iconId"),i=yt(e,"fill"),o=le(()=>n.value.split("-").filter(l=>l).map(l=>l[0].toUpperCase()+l.slice(1)).join("")),s=le(()=>`width: ${e.size}px;height:${e.size}px;fill:${i.value}`);return(l,c)=>(V(),ae("svg",{class:It([o.value,n.value,"IconCommon",l.disabled?"iconDisabled":""]),style:Bt(s.value),"aria-hidden":"true"},[F("use",{"xlink:href":`#${n.value}`},null,8,EM)],6))}});const fM="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/wechat-4dad209c.png",SM=be({name:"IconDownload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-download`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),bM=["stroke-width","stroke-linecap","stroke-linejoin"],hM=F("path",{d:"m33.072 22.071-9.07 9.071-9.072-9.07M24 5v26m16 4v6H8v-6"},null,-1),TM=[hM];function vM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},TM,14,bM)}var Jc=Un(SM,[["render",vM]]);const CM=Object.assign(Jc,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+Jc.name,Jc)}}),RM=be({name:"IconScan",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-scan`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),NM=["stroke-width","stroke-linecap","stroke-linejoin"],OM=F("path",{d:"M7 17V7h10m24 10V7H31m10 24v10H31M7 31v10h10M5 24h38"},null,-1),AM=[OM];function yM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},AM,14,NM)}var jc=Un(RM,[["render",yM]]);const IM=Object.assign(jc,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+jc.name,jc)}}),DM=be({name:"IconSync",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-sync`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),xM=["stroke-width","stroke-linecap","stroke-linejoin"],wM=F("path",{d:"M11.98 11.703c-6.64 6.64-6.64 17.403 0 24.042a16.922 16.922 0 0 0 8.942 4.7M34.603 37.156l1.414-1.415c6.64-6.639 6.64-17.402 0-24.041A16.922 16.922 0 0 0 27.075 7M14.81 11.982l-1.414-1.414-1.414-1.414h2.829v2.828ZM33.192 36.02l1.414 1.414 1.414 1.415h-2.828V36.02Z"},null,-1),MM=[wM];function LM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},MM,14,xM)}var eu=Un(DM,[["render",LM]]);const Es=Object.assign(eu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+eu.name,eu)}}),PM=be({name:"IconVoice",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-voice`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),kM=["stroke-width","stroke-linecap","stroke-linejoin"],UM=F("path",{d:"M41 21v1c0 8.837-7.163 16-16 16h-2c-8.837 0-16-7.163-16-16v-1m17 17v6m0-14a9 9 0 0 1-9-9v-6a9 9 0 1 1 18 0v6a9 9 0 0 1-9 9Z"},null,-1),FM=[UM];function BM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},FM,14,kM)}var tu=Un(PM,[["render",BM]]);const GM=Object.assign(tu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+tu.name,tu)}}),YM=be({name:"IconPauseCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-pause-circle-fill`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),qM=["stroke-width","stroke-linecap","stroke-linejoin"],$M=F("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm-6-27a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1h-3Zm9 0a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1h-3Z",fill:"currentColor",stroke:"none"},null,-1),HM=[$M];function zM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},HM,14,qM)}var nu=Un(YM,[["render",zM]]);const VM=Object.assign(nu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+nu.name,nu)}}),WM=be({name:"IconPlayCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-play-circle-fill`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),KM=["stroke-width","stroke-linecap","stroke-linejoin"],QM=F("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 24c0 11.046-8.954 20-20 20S4 35.046 4 24 12.954 4 24 4s20 8.954 20 20Zm-23.662-7.783C19.302 15.605 18 16.36 18 17.575v12.85c0 1.214 1.302 1.97 2.338 1.358l10.89-6.425c1.03-.607 1.03-2.11 0-2.716l-10.89-6.425Z",fill:"currentColor",stroke:"none"},null,-1),XM=[QM];function ZM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},XM,14,KM)}var ru=Un(WM,[["render",ZM]]);const JM=Object.assign(ru,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+ru.name,ru)}}),jM=be({name:"IconRecordStop",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-record-stop`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),eL=["stroke-width","stroke-linecap","stroke-linejoin"],tL=F("path",{"clip-rule":"evenodd",d:"M24 6c9.941 0 18 8.059 18 18s-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6Z"},null,-1),nL=F("path",{d:"M19 20a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-8Z",fill:"currentColor",stroke:"none"},null,-1),rL=F("path",{d:"M19 20a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-8Z"},null,-1),iL=[tL,nL,rL];function aL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},iL,14,eL)}var iu=Un(jM,[["render",aL]]);const oL=Object.assign(iu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+iu.name,iu)}}),sL=be({name:"IconBook",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-book`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),lL=["stroke-width","stroke-linecap","stroke-linejoin"],cL=F("path",{d:"M24 13 7 7v28l17 6 17-6V7l-17 6Zm0 0v27.5M29 18l7-2.5M29 25l7-2.5M29 32l7-2.5M19 18l-7-2.5m7 9.5-7-2.5m7 9.5-7-2.5"},null,-1),uL=[cL];function dL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},uL,14,lL)}var au=Un(sL,[["render",dL]]);const _L=Object.assign(au,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+au.name,au)}}),pL=be({name:"IconImage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-image`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),mL=["stroke-width","stroke-linecap","stroke-linejoin"],gL=F("path",{d:"m24 33 9-9v9h-9Zm0 0-3.5-4.5L17 33h7Zm15 8H9a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h30a2 2 0 0 1 2 2v30a2 2 0 0 1-2 2ZM15 15h2v2h-2v-2Z"},null,-1),EL=F("path",{d:"M33 33v-9l-9 9h9ZM23.5 33l-3-4-3 4h6ZM15 15h2v2h-2z",fill:"currentColor",stroke:"none"},null,-1),fL=[gL,EL];function SL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},fL,14,mL)}var ou=Un(pL,[["render",SL]]);const bL=Object.assign(ou,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+ou.name,ou)}}),hL=be({name:"IconNav",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-nav`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),TL=["stroke-width","stroke-linecap","stroke-linejoin"],vL=F("path",{d:"M6 19h10m0 0h26m-26 0V9m0 10v10m0 0v10m0-10H6m10 0h26M6 9h36v30H6V9Z"},null,-1),CL=[vL];function RL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},CL,14,TL)}var su=Un(hL,[["render",RL]]);const NL=Object.assign(su,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+su.name,su)}}),OL=be({name:"IconPublic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=le(()=>[n,`${n}-public`,{[`${n}-spin`]:t.spin}]),o=le(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),AL=["stroke-width","stroke-linecap","stroke-linejoin"],yL=F("path",{d:"M15 21.5 6.704 19M15 21.5l4.683 5.152a1 1 0 0 1 .25.814L18 40.976l10.918-16.117a1 1 0 0 0-.298-1.409L21.5 19 15 21.5Zm0 0 6.062-6.995a1 1 0 0 0 .138-1.103L18 7.024M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),IL=[yL];function DL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},IL,14,AL)}var lu=Un(OL,[["render",DL]]);const xL=Object.assign(lu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+lu.name,lu)}}),wL={class:"header"},ML={class:"content"},LL=be({__name:"modal",props:{visible:{type:Boolean}},emits:["update:visible","close"],setup(t,{emit:e}){const n=t,i=ee(null),o=()=>{e("update:visible",!1),e("close")};return kn(()=>{Zt(()=>n.visible,s=>{var l,c;s?(l=i.value)==null||l.showModal():(c=i.value)==null||c.close()},{immediate:!0})}),(s,l)=>(V(),ae("dialog",{ref_key:"dialogRef",ref:i,class:"customDialog"},[F("div",wL,[ue(q(Qw),{style:{cursor:"pointer"},size:24,onClick:o})]),F("div",ML,[oi(s.$slots,"default",{},void 0,!0)])],512))}});const Dt=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},wC=Dt(LL,[["__scopeId","data-v-6fddb6c7"]]),Zs=t=>(Zi("data-v-e442bd8c"),t=t(),Ji(),t),PL={class:"wechatModal"},kL={class:"title"},UL=Zs(()=>F("div",{class:"titleText"},"WeChat",-1)),FL=Zs(()=>F("div",{class:"desc"}," Add the MetaGPT WeChat assistant to get the latest MetaGPT updates. Join the MetaGPT community for more high-quality technical and product discussions. ",-1)),BL={class:"qrCode"},GL=Zs(()=>F("img",{style:{width:"100%"},src:fM,alt:""},null,-1)),YL={class:"scanText"},qL=Zs(()=>F("span",null,"Scan on WeChat to add.",-1)),$L=be({__name:"wechatModal",props:{visible:{type:Boolean}},emits:["update:visible"],setup(t,{emit:e}){const i=yt(t,"visible"),o=()=>{e("update:visible",!1)};return(s,l)=>(V(),ot(wC,{visible:q(i),"onUpdate:visible":l[0]||(l[0]=c=>wr(i)?i.value=c:null),style:{width:"527px"},onClose:o},{default:dt(()=>[F("div",PL,[F("div",kL,[ue(ea,{size:28,fill:"#28C445","icon-id":"icon-wechat2"}),UL]),FL,F("div",BL,[GL,F("span",YL,[ue(q(IM),{size:16}),qL])])])]),_:1},8,["visible"]))}});const HL=Dt($L,[["__scopeId","data-v-e442bd8c"]]),zL="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/blacklogo-ead63efd.svg",VL={},WL={style:{width:"32px","vertical-align":"middle"},src:zL};function KL(t,e){return V(),ae("img",WL)}const QL=Dt(VL,[["render",KL]]);let ks=[];const MC=new WeakMap;function XL(){ks.forEach(t=>t(...MC.get(t))),ks=[]}function LC(t,...e){MC.set(t,e),!ks.includes(t)&&ks.push(t)===1&&requestAnimationFrame(XL)}function Us(t){return t.composedPath()[0]||null}const Yf={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},ta="^\\s*",na="\\s*$",Xr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Zr="([0-9A-Fa-f])",Jr="([0-9A-Fa-f]{2})",ZL=new RegExp(`${ta}rgb\\s*\\(${Xr},${Xr},${Xr}\\)${na}`),JL=new RegExp(`${ta}rgba\\s*\\(${Xr},${Xr},${Xr},${Xr}\\)${na}`),jL=new RegExp(`${ta}#${Zr}${Zr}${Zr}${na}`),e0=new RegExp(`${ta}#${Jr}${Jr}${Jr}${na}`),t0=new RegExp(`${ta}#${Zr}${Zr}${Zr}${Zr}${na}`),n0=new RegExp(`${ta}#${Jr}${Jr}${Jr}${Jr}${na}`);function sn(t){return parseInt(t,16)}function Ki(t){try{let e;if(e=e0.exec(t))return[sn(e[1]),sn(e[2]),sn(e[3]),1];if(e=ZL.exec(t))return[Qt(e[1]),Qt(e[5]),Qt(e[9]),1];if(e=JL.exec(t))return[Qt(e[1]),Qt(e[5]),Qt(e[9]),qa(e[13])];if(e=jL.exec(t))return[sn(e[1]+e[1]),sn(e[2]+e[2]),sn(e[3]+e[3]),1];if(e=n0.exec(t))return[sn(e[1]),sn(e[2]),sn(e[3]),qa(sn(e[4])/255)];if(e=t0.exec(t))return[sn(e[1]+e[1]),sn(e[2]+e[2]),sn(e[3]+e[3]),qa(sn(e[4]+e[4])/255)];if(t in Yf)return Ki(Yf[t]);throw new Error(`[seemly/rgba]: Invalid color value ${t}.`)}catch(e){throw e}}function r0(t){return t>1?1:t<0?0:t}function i0(t,e,n,i){return`rgba(${Qt(t)}, ${Qt(e)}, ${Qt(n)}, ${r0(i)})`}function cu(t,e,n,i,o){return Qt((t*e*(1-i)+n*i)/o)}function PC(t,e){Array.isArray(t)||(t=Ki(t)),Array.isArray(e)||(e=Ki(e));const n=t[3],i=e[3],o=qa(n+i-n*i);return i0(cu(t[0],n,e[0],i,o),cu(t[1],n,e[1],i,o),cu(t[2],n,e[2],i,o),o)}function fs(t,e){const[n,i,o,s=1]=Array.isArray(t)?t:Ki(t),{lightness:l=1,alpha:c=1}=e;return a0([n*l,i*l,o*l,s*c])}function qa(t){const e=Math.round(Number(t)*100)/100;return e>1?1:e<0?0:e}function Qt(t){const e=Math.round(Number(t));return e>255?255:e<0?0:e}function a0(t){const[e,n,i]=t;return 3 in t?`rgba(${Qt(e)}, ${Qt(n)}, ${Qt(i)}, ${qa(t[3])})`:`rgba(${Qt(e)}, ${Qt(n)}, ${Qt(i)}, 1)`}function kC(t=8){return Math.random().toString(16).slice(2,2+t)}function o0(t,e=[],n){const i={};return e.forEach(o=>{i[o]=t[o]}),Object.assign(i,n)}function Tm(t,e=!0,n=[]){return t.forEach(i=>{if(i!==null){if(typeof i!="object"){(typeof i=="string"||typeof i=="number")&&n.push(St(String(i)));return}if(Array.isArray(i)){Tm(i,e,n);return}if(i.type===st){if(i.children===null)return;Array.isArray(i.children)&&Tm(i.children,e,n)}else i.type!==Ks&&n.push(i)}}),n}function Ga(t,...e){if(Array.isArray(t))t.forEach(n=>Ga(n,...e));else return t(...e)}function qf(t,e){console.error(`[naive/${t}]: ${e}`)}function s0(t,e){throw new Error(`[naive/${t}]: ${e}`)}function $f(t,e="default",n=void 0){const i=t[e];if(!i)return qf("getFirstSlotVNode",`slot[${e}] is empty`),null;const o=Tm(i(n));return o.length===1?o[0]:(qf("getFirstSlotVNode",`slot[${e}] should have exactly one child`),null)}function Xm(t){return t.some(e=>$i(e)?!(e.type===Ks||e.type===st&&!Xm(e.children)):!0)?t:null}function uu(t,e){const n=t&&Xm(t());return e(n||null)}function Hf(t){return!(t&&Xm(t()))}const zf=be({render(){var t,e;return(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)}}),l0=/^(\d|\.)+$/,Vf=/(\d|\.)+/;function du(t,{c:e=1,offset:n=0,attachPx:i=!0}={}){if(typeof t=="number"){const o=(t+n)*e;return o===0?"0":`${o}px`}else if(typeof t=="string")if(l0.test(t)){const o=(Number(t)+n)*e;return i?o===0?"0":`${o}px`:`${o}`}else{const o=Vf.exec(t);return o?t.replace(Vf,String((Number(o[0])+n)*e)):t}return t}function c0(t){let e=0;for(let n=0;n{let o=c0(i);if(o){if(o===1){t.forEach(l=>{n.push(i.replace("&",l))});return}}else{t.forEach(l=>{n.push((l&&l+" ")+i)});return}let s=[i];for(;o--;){const l=[];s.forEach(c=>{t.forEach(d=>{l.push(c.replace("&",d))})}),s=l}s.forEach(l=>n.push(l))}),n}function _0(t,e){const n=[];return e.split(UC).forEach(i=>{t.forEach(o=>{n.push((o&&o+" ")+i)})}),n}function p0(t){let e=[""];return t.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?e=d0(e,n):e=_0(e,n))}),e.join(", ").replace(u0," ")}function Wf(t){if(!t)return;const e=t.parentElement;e&&e.removeChild(t)}function Js(t){return document.querySelector(`style[cssr-id="${t}"]`)}function m0(t){const e=document.createElement("style");return e.setAttribute("cssr-id",t),e}function Ss(t){return t?/^\s*@(s|m)/.test(t):!1}const g0=/[A-Z]/g;function FC(t){return t.replace(g0,e=>"-"+e.toLowerCase())}function E0(t,e=" "){return typeof t=="object"&&t!==null?` {
-`+Object.entries(t).map(n=>e+` ${FC(n[0])}: ${n[1]};`).join(`
+var Gw=Object.defineProperty;var Yw=(t,e,n)=>e in t?Gw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Pi=(t,e,n)=>(Yw(t,typeof e!="symbol"?e+"":e,n),n);import{d as be,x as yt,c as se,f as V,h as ae,l as B,n as It,k as Bt,r as ee,o as kn,w as Zt,v as ce,$,j as li,p as ot,q as dt,a2 as Mr,a3 as Ji,a4 as ji,t as vt,F as st,U as Ks,R as Dr,H as hm,G as Kn,i as Ft,B as ii,g as Hm,K as Pn,a5 as j,J as qw,A as Qs,a6 as $w,I as AC,a7 as zm,Q as ci,T as zi,z as Vm,L as Xs,b as qa,a8 as Wm,P as yn,s as Ge,u as Qe,M as ea,a9 as Hw,y as yC,D as Ps,aa as zw,_ as Vw,a as Ww,ab as Kw,N as Qw,ac as Xw}from"./vue-e0bc46a9.js";import{_ as Un,j as Fn,k as Bn,m as Zw,o as Ht,e as Rt,M as IC,n as DC,p as Qa,q as Jw,r as jw,O as Es,s as eM,D as xC,u as tM,v as nM,A as rM,T as iM,B as Tm,g as wC,w as aM,L as Yf,x as oM,y as sM,z as lM,E as cM,G as uM,S as dM,H as _M}from"./vendor-4cd7d240.js";import{C as Km,U as pM,t as Qm}from"./index-e50cc865.js";import{c as Pa,a as mM,g as Xm}from"./__commonjsHelpers__-042e6b4d.js";const gM="/static/assets/bigTexCard-be1474a9.svg",EM="/static/assets/example-1902a4ef.png",fM="/static/assets/example-c1208c62.mp4",SM=["xlink:href"],ta=be({__name:"Icon",props:{iconId:{},fill:{},size:{},disabled:{type:Boolean}},setup(t){const e=t,n=yt(e,"iconId"),i=yt(e,"fill"),o=se(()=>n.value.split("-").filter(l=>l).map(l=>l[0].toUpperCase()+l.slice(1)).join("")),s=se(()=>`width: ${e.size}px;height:${e.size}px;fill:${i.value}`);return(l,c)=>(V(),ae("svg",{class:It([o.value,n.value,"IconCommon",l.disabled?"iconDisabled":""]),style:Bt(s.value),"aria-hidden":"true"},[B("use",{"xlink:href":`#${n.value}`},null,8,SM)],6))}});const bM="/static/assets/wechat-4dad209c.png",hM=be({name:"IconDownload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-download`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),TM=["stroke-width","stroke-linecap","stroke-linejoin"],vM=B("path",{d:"m33.072 22.071-9.07 9.071-9.072-9.07M24 5v26m16 4v6H8v-6"},null,-1),CM=[vM];function RM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},CM,14,TM)}var Jc=Un(hM,[["render",RM]]);const NM=Object.assign(Jc,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+Jc.name,Jc)}}),OM=be({name:"IconScan",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-scan`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),AM=["stroke-width","stroke-linecap","stroke-linejoin"],yM=B("path",{d:"M7 17V7h10m24 10V7H31m10 24v10H31M7 31v10h10M5 24h38"},null,-1),IM=[yM];function DM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},IM,14,AM)}var jc=Un(OM,[["render",DM]]);const xM=Object.assign(jc,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+jc.name,jc)}}),wM=be({name:"IconSync",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-sync`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),MM=["stroke-width","stroke-linecap","stroke-linejoin"],LM=B("path",{d:"M11.98 11.703c-6.64 6.64-6.64 17.403 0 24.042a16.922 16.922 0 0 0 8.942 4.7M34.603 37.156l1.414-1.415c6.64-6.639 6.64-17.402 0-24.041A16.922 16.922 0 0 0 27.075 7M14.81 11.982l-1.414-1.414-1.414-1.414h2.829v2.828ZM33.192 36.02l1.414 1.414 1.414 1.415h-2.828V36.02Z"},null,-1),PM=[LM];function kM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},PM,14,MM)}var eu=Un(wM,[["render",kM]]);const fs=Object.assign(eu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+eu.name,eu)}}),UM=be({name:"IconVoice",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-voice`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),FM=["stroke-width","stroke-linecap","stroke-linejoin"],BM=B("path",{d:"M41 21v1c0 8.837-7.163 16-16 16h-2c-8.837 0-16-7.163-16-16v-1m17 17v6m0-14a9 9 0 0 1-9-9v-6a9 9 0 1 1 18 0v6a9 9 0 0 1-9 9Z"},null,-1),GM=[BM];function YM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},GM,14,FM)}var tu=Un(UM,[["render",YM]]);const qM=Object.assign(tu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+tu.name,tu)}}),$M=be({name:"IconPauseCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-pause-circle-fill`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),HM=["stroke-width","stroke-linecap","stroke-linejoin"],zM=B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm-6-27a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1h-3Zm9 0a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V18a1 1 0 0 0-1-1h-3Z",fill:"currentColor",stroke:"none"},null,-1),VM=[zM];function WM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},VM,14,HM)}var nu=Un($M,[["render",WM]]);const KM=Object.assign(nu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+nu.name,nu)}}),QM=be({name:"IconPlayCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-play-circle-fill`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),XM=["stroke-width","stroke-linecap","stroke-linejoin"],ZM=B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 24c0 11.046-8.954 20-20 20S4 35.046 4 24 12.954 4 24 4s20 8.954 20 20Zm-23.662-7.783C19.302 15.605 18 16.36 18 17.575v12.85c0 1.214 1.302 1.97 2.338 1.358l10.89-6.425c1.03-.607 1.03-2.11 0-2.716l-10.89-6.425Z",fill:"currentColor",stroke:"none"},null,-1),JM=[ZM];function jM(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},JM,14,XM)}var ru=Un(QM,[["render",jM]]);const eL=Object.assign(ru,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+ru.name,ru)}}),tL=be({name:"IconRecordStop",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-record-stop`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),nL=["stroke-width","stroke-linecap","stroke-linejoin"],rL=B("path",{"clip-rule":"evenodd",d:"M24 6c9.941 0 18 8.059 18 18s-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6Z"},null,-1),iL=B("path",{d:"M19 20a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-8Z",fill:"currentColor",stroke:"none"},null,-1),aL=B("path",{d:"M19 20a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-8Z"},null,-1),oL=[rL,iL,aL];function sL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},oL,14,nL)}var iu=Un(tL,[["render",sL]]);const lL=Object.assign(iu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+iu.name,iu)}}),cL=be({name:"IconBook",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-book`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),uL=["stroke-width","stroke-linecap","stroke-linejoin"],dL=B("path",{d:"M24 13 7 7v28l17 6 17-6V7l-17 6Zm0 0v27.5M29 18l7-2.5M29 25l7-2.5M29 32l7-2.5M19 18l-7-2.5m7 9.5-7-2.5m7 9.5-7-2.5"},null,-1),_L=[dL];function pL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},_L,14,uL)}var au=Un(cL,[["render",pL]]);const mL=Object.assign(au,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+au.name,au)}}),gL=be({name:"IconImage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-image`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),EL=["stroke-width","stroke-linecap","stroke-linejoin"],fL=B("path",{d:"m24 33 9-9v9h-9Zm0 0-3.5-4.5L17 33h7Zm15 8H9a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h30a2 2 0 0 1 2 2v30a2 2 0 0 1-2 2ZM15 15h2v2h-2v-2Z"},null,-1),SL=B("path",{d:"M33 33v-9l-9 9h9ZM23.5 33l-3-4-3 4h6ZM15 15h2v2h-2z",fill:"currentColor",stroke:"none"},null,-1),bL=[fL,SL];function hL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},bL,14,EL)}var ou=Un(gL,[["render",hL]]);const TL=Object.assign(ou,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+ou.name,ou)}}),vL=be({name:"IconNav",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-nav`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),CL=["stroke-width","stroke-linecap","stroke-linejoin"],RL=B("path",{d:"M6 19h10m0 0h26m-26 0V9m0 10v10m0 0v10m0-10H6m10 0h26M6 9h36v30H6V9Z"},null,-1),NL=[RL];function OL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},NL,14,CL)}var su=Un(vL,[["render",OL]]);const AL=Object.assign(su,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+su.name,su)}}),yL=be({name:"IconPublic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:e}){const n=Fn("icon"),i=se(()=>[n,`${n}-public`,{[`${n}-spin`]:t.spin}]),o=se(()=>{const l={};return t.size&&(l.fontSize=Bn(t.size)?`${t.size}px`:t.size),t.rotate&&(l.transform=`rotate(${t.rotate}deg)`),l});return{cls:i,innerStyle:o,onClick:l=>{e("click",l)}}}}),IL=["stroke-width","stroke-linecap","stroke-linejoin"],DL=B("path",{d:"M15 21.5 6.704 19M15 21.5l4.683 5.152a1 1 0 0 1 .25.814L18 40.976l10.918-16.117a1 1 0 0 0-.298-1.409L21.5 19 15 21.5Zm0 0 6.062-6.995a1 1 0 0 0 .138-1.103L18 7.024M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),xL=[DL];function wL(t,e,n,i,o,s){return V(),ae("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:It(t.cls),style:Bt(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:e[0]||(e[0]=(...l)=>t.onClick&&t.onClick(...l))},xL,14,IL)}var lu=Un(yL,[["render",wL]]);const ML=Object.assign(lu,{install:(t,e)=>{var n;const i=(n=e==null?void 0:e.iconPrefix)!=null?n:"";t.component(i+lu.name,lu)}}),LL={class:"header"},PL={class:"content"},kL=be({__name:"modal",props:{visible:{type:Boolean}},emits:["update:visible","close"],setup(t,{emit:e}){const n=t,i=ee(null),o=()=>{e("update:visible",!1),e("close")};return kn(()=>{Zt(()=>n.visible,s=>{var l,c;s?(l=i.value)==null||l.showModal():(c=i.value)==null||c.close()},{immediate:!0})}),(s,l)=>(V(),ae("dialog",{ref_key:"dialogRef",ref:i,class:"customDialog"},[B("div",LL,[ce($(Zw),{style:{cursor:"pointer"},size:24,onClick:o})]),B("div",PL,[li(s.$slots,"default",{},void 0,!0)])],512))}});const Dt=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},MC=Dt(kL,[["__scopeId","data-v-6fddb6c7"]]),Zs=t=>(Ji("data-v-e442bd8c"),t=t(),ji(),t),UL={class:"wechatModal"},FL={class:"title"},BL=Zs(()=>B("div",{class:"titleText"},"WeChat",-1)),GL=Zs(()=>B("div",{class:"desc"}," Add the MetaGPT WeChat assistant to get the latest MetaGPT updates. Join the MetaGPT community for more high-quality technical and product discussions. ",-1)),YL={class:"qrCode"},qL=Zs(()=>B("img",{style:{width:"100%"},src:bM,alt:""},null,-1)),$L={class:"scanText"},HL=Zs(()=>B("span",null,"Scan on WeChat to add.",-1)),zL=be({__name:"wechatModal",props:{visible:{type:Boolean}},emits:["update:visible"],setup(t,{emit:e}){const i=yt(t,"visible"),o=()=>{e("update:visible",!1)};return(s,l)=>(V(),ot(MC,{visible:$(i),"onUpdate:visible":l[0]||(l[0]=c=>Mr(i)?i.value=c:null),style:{width:"527px"},onClose:o},{default:dt(()=>[B("div",UL,[B("div",FL,[ce(ta,{size:28,fill:"#28C445","icon-id":"icon-wechat2"}),BL]),GL,B("div",YL,[qL,B("span",$L,[ce($(xM),{size:16}),HL])])])]),_:1},8,["visible"]))}});const VL=Dt(zL,[["__scopeId","data-v-e442bd8c"]]),WL="/static/assets/blacklogo-ead63efd.svg",KL={},QL={style:{width:"32px","vertical-align":"middle"},src:WL};function XL(t,e){return V(),ae("img",QL)}const ZL=Dt(KL,[["render",XL]]);let ks=[];const LC=new WeakMap;function JL(){ks.forEach(t=>t(...LC.get(t))),ks=[]}function PC(t,...e){LC.set(t,e),!ks.includes(t)&&ks.push(t)===1&&requestAnimationFrame(JL)}function Us(t){return t.composedPath()[0]||null}const qf={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},na="^\\s*",ra="\\s*$",Jr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",jr="([0-9A-Fa-f])",ei="([0-9A-Fa-f]{2})",jL=new RegExp(`${na}rgb\\s*\\(${Jr},${Jr},${Jr}\\)${ra}`),eP=new RegExp(`${na}rgba\\s*\\(${Jr},${Jr},${Jr},${Jr}\\)${ra}`),tP=new RegExp(`${na}#${jr}${jr}${jr}${ra}`),nP=new RegExp(`${na}#${ei}${ei}${ei}${ra}`),rP=new RegExp(`${na}#${jr}${jr}${jr}${jr}${ra}`),iP=new RegExp(`${na}#${ei}${ei}${ei}${ei}${ra}`);function sn(t){return parseInt(t,16)}function Qi(t){try{let e;if(e=nP.exec(t))return[sn(e[1]),sn(e[2]),sn(e[3]),1];if(e=jL.exec(t))return[Qt(e[1]),Qt(e[5]),Qt(e[9]),1];if(e=eP.exec(t))return[Qt(e[1]),Qt(e[5]),Qt(e[9]),$a(e[13])];if(e=tP.exec(t))return[sn(e[1]+e[1]),sn(e[2]+e[2]),sn(e[3]+e[3]),1];if(e=iP.exec(t))return[sn(e[1]),sn(e[2]),sn(e[3]),$a(sn(e[4])/255)];if(e=rP.exec(t))return[sn(e[1]+e[1]),sn(e[2]+e[2]),sn(e[3]+e[3]),$a(sn(e[4]+e[4])/255)];if(t in qf)return Qi(qf[t]);throw new Error(`[seemly/rgba]: Invalid color value ${t}.`)}catch(e){throw e}}function aP(t){return t>1?1:t<0?0:t}function oP(t,e,n,i){return`rgba(${Qt(t)}, ${Qt(e)}, ${Qt(n)}, ${aP(i)})`}function cu(t,e,n,i,o){return Qt((t*e*(1-i)+n*i)/o)}function kC(t,e){Array.isArray(t)||(t=Qi(t)),Array.isArray(e)||(e=Qi(e));const n=t[3],i=e[3],o=$a(n+i-n*i);return oP(cu(t[0],n,e[0],i,o),cu(t[1],n,e[1],i,o),cu(t[2],n,e[2],i,o),o)}function Ss(t,e){const[n,i,o,s=1]=Array.isArray(t)?t:Qi(t),{lightness:l=1,alpha:c=1}=e;return sP([n*l,i*l,o*l,s*c])}function $a(t){const e=Math.round(Number(t)*100)/100;return e>1?1:e<0?0:e}function Qt(t){const e=Math.round(Number(t));return e>255?255:e<0?0:e}function sP(t){const[e,n,i]=t;return 3 in t?`rgba(${Qt(e)}, ${Qt(n)}, ${Qt(i)}, ${$a(t[3])})`:`rgba(${Qt(e)}, ${Qt(n)}, ${Qt(i)}, 1)`}function UC(t=8){return Math.random().toString(16).slice(2,2+t)}function lP(t,e=[],n){const i={};return e.forEach(o=>{i[o]=t[o]}),Object.assign(i,n)}function vm(t,e=!0,n=[]){return t.forEach(i=>{if(i!==null){if(typeof i!="object"){(typeof i=="string"||typeof i=="number")&&n.push(vt(String(i)));return}if(Array.isArray(i)){vm(i,e,n);return}if(i.type===st){if(i.children===null)return;Array.isArray(i.children)&&vm(i.children,e,n)}else i.type!==Ks&&n.push(i)}}),n}function Ya(t,...e){if(Array.isArray(t))t.forEach(n=>Ya(n,...e));else return t(...e)}function $f(t,e){console.error(`[naive/${t}]: ${e}`)}function cP(t,e){throw new Error(`[naive/${t}]: ${e}`)}function Hf(t,e="default",n=void 0){const i=t[e];if(!i)return $f("getFirstSlotVNode",`slot[${e}] is empty`),null;const o=vm(i(n));return o.length===1?o[0]:($f("getFirstSlotVNode",`slot[${e}] should have exactly one child`),null)}function Zm(t){return t.some(e=>Dr(e)?!(e.type===Ks||e.type===st&&!Zm(e.children)):!0)?t:null}function uu(t,e){const n=t&&Zm(t());return e(n||null)}function zf(t){return!(t&&Zm(t()))}const Vf=be({render(){var t,e;return(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t)}}),uP=/^(\d|\.)+$/,Wf=/(\d|\.)+/;function du(t,{c:e=1,offset:n=0,attachPx:i=!0}={}){if(typeof t=="number"){const o=(t+n)*e;return o===0?"0":`${o}px`}else if(typeof t=="string")if(uP.test(t)){const o=(Number(t)+n)*e;return i?o===0?"0":`${o}px`:`${o}`}else{const o=Wf.exec(t);return o?t.replace(Wf,String((Number(o[0])+n)*e)):t}return t}function dP(t){let e=0;for(let n=0;n{let o=dP(i);if(o){if(o===1){t.forEach(l=>{n.push(i.replace("&",l))});return}}else{t.forEach(l=>{n.push((l&&l+" ")+i)});return}let s=[i];for(;o--;){const l=[];s.forEach(c=>{t.forEach(d=>{l.push(c.replace("&",d))})}),s=l}s.forEach(l=>n.push(l))}),n}function mP(t,e){const n=[];return e.split(FC).forEach(i=>{t.forEach(o=>{n.push((o&&o+" ")+i)})}),n}function gP(t){let e=[""];return t.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?e=pP(e,n):e=mP(e,n))}),e.join(", ").replace(_P," ")}function Kf(t){if(!t)return;const e=t.parentElement;e&&e.removeChild(t)}function Js(t){return document.querySelector(`style[cssr-id="${t}"]`)}function EP(t){const e=document.createElement("style");return e.setAttribute("cssr-id",t),e}function bs(t){return t?/^\s*@(s|m)/.test(t):!1}const fP=/[A-Z]/g;function BC(t){return t.replace(fP,e=>"-"+e.toLowerCase())}function SP(t,e=" "){return typeof t=="object"&&t!==null?` {
+`+Object.entries(t).map(n=>e+` ${BC(n[0])}: ${n[1]};`).join(`
`)+`
-`+e+"}":`: ${t};`}function f0(t,e,n){return typeof t=="function"?t({context:e.context,props:n}):t}function Kf(t,e,n,i){if(!e)return"";const o=f0(e,n,i);if(!o)return"";if(typeof o=="string")return`${t} {
+`+e+"}":`: ${t};`}function bP(t,e,n){return typeof t=="function"?t({context:e.context,props:n}):t}function Qf(t,e,n,i){if(!e)return"";const o=bP(e,n,i);if(!o)return"";if(typeof o=="string")return`${t} {
${o}
}`;const s=Object.keys(o);if(s.length===0)return n.config.keepEmptyBlock?t+` {
}`:"";const l=t?[t+" {"]:[];return s.forEach(c=>{const d=o[c];if(c==="raw"){l.push(`
`+d+`
-`);return}c=FC(c),d!=null&&l.push(` ${c}${E0(d)}`)}),t&&l.push("}"),l.join(`
-`)}function vm(t,e,n){t&&t.forEach(i=>{if(Array.isArray(i))vm(i,e,n);else if(typeof i=="function"){const o=i(e);Array.isArray(o)?vm(o,e,n):o&&n(o)}else i&&n(i)})}function BC(t,e,n,i,o,s){const l=t.$;let c="";if(!l||typeof l=="string")Ss(l)?c=l:e.push(l);else if(typeof l=="function"){const p=l({context:i.context,props:o});Ss(p)?c=p:e.push(p)}else if(l.before&&l.before(i.context),!l.$||typeof l.$=="string")Ss(l.$)?c=l.$:e.push(l.$);else if(l.$){const p=l.$({context:i.context,props:o});Ss(p)?c=p:e.push(p)}const d=p0(e),_=Kf(d,t.props,i,o);c?(n.push(`${c} {`),s&&_&&s.insertRule(`${c} {
+`);return}c=BC(c),d!=null&&l.push(` ${c}${SP(d)}`)}),t&&l.push("}"),l.join(`
+`)}function Cm(t,e,n){t&&t.forEach(i=>{if(Array.isArray(i))Cm(i,e,n);else if(typeof i=="function"){const o=i(e);Array.isArray(o)?Cm(o,e,n):o&&n(o)}else i&&n(i)})}function GC(t,e,n,i,o,s){const l=t.$;let c="";if(!l||typeof l=="string")bs(l)?c=l:e.push(l);else if(typeof l=="function"){const p=l({context:i.context,props:o});bs(p)?c=p:e.push(p)}else if(l.before&&l.before(i.context),!l.$||typeof l.$=="string")bs(l.$)?c=l.$:e.push(l.$);else if(l.$){const p=l.$({context:i.context,props:o});bs(p)?c=p:e.push(p)}const d=gP(e),_=Qf(d,t.props,i,o);c?(n.push(`${c} {`),s&&_&&s.insertRule(`${c} {
${_}
}
-`)):(s&&_&&s.insertRule(_),!s&&_.length&&n.push(_)),t.children&&vm(t.children,{context:i.context,props:o},p=>{if(typeof p=="string"){const g=Kf(d,{raw:p},i,o);s?s.insertRule(g):n.push(g)}else BC(p,e,n,i,o,s)}),e.pop(),c&&n.push("}"),l&&l.after&&l.after(i.context)}function GC(t,e,n,i=!1){const o=[];return BC(t,[],o,e,n,i?t.instance.__styleSheet:void 0),i?"":o.join(`
+`)):(s&&_&&s.insertRule(_),!s&&_.length&&n.push(_)),t.children&&Cm(t.children,{context:i.context,props:o},p=>{if(typeof p=="string"){const g=Qf(d,{raw:p},i,o);s?s.insertRule(g):n.push(g)}else GC(p,e,n,i,o,s)}),e.pop(),c&&n.push("}"),l&&l.after&&l.after(i.context)}function YC(t,e,n,i=!1){const o=[];return GC(t,[],o,e,n,i?t.instance.__styleSheet:void 0),i?"":o.join(`
-`)}function Cm(t){for(var e=0,n,i=0,o=t.length;o>=4;++i,o-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(o){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function S0(t,e,n){const{els:i}=e;if(n===void 0)i.forEach(Wf),e.els=[];else{const o=Js(n);o&&i.includes(o)&&(Wf(o),e.els=i.filter(s=>s!==o))}}function Qf(t,e){t.push(e)}function b0(t,e,n,i,o,s,l,c,d){if(s&&!d){if(n===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const E=window.__cssrContext;E[n]||(E[n]=!0,GC(e,t,i,s));return}let _;if(n===void 0&&(_=e.render(i),n=Cm(_)),d){d.adapter(n,_??e.render(i));return}const p=Js(n);if(p!==null&&!l)return p;const g=p??m0(n);if(_===void 0&&(_=e.render(i)),g.textContent=_,p!==null)return p;if(c){const E=document.head.querySelector(`meta[name="${c}"]`);if(E)return document.head.insertBefore(g,E),Qf(e.els,g),g}return o?document.head.insertBefore(g,document.head.querySelector("style, link")):document.head.appendChild(g),Qf(e.els,g),g}function h0(t){return GC(this,this.instance,t)}function T0(t={}){const{id:e,ssr:n,props:i,head:o=!1,silent:s=!1,force:l=!1,anchorMetaName:c}=t;return b0(this.instance,this,e,i,o,s,l,c,n)}function v0(t={}){const{id:e}=t;S0(this.instance,this,e)}const bs=function(t,e,n,i){return{instance:t,$:e,props:n,children:i,els:[],render:h0,mount:T0,unmount:v0}},C0=function(t,e,n,i){return Array.isArray(e)?bs(t,{$:null},null,e):Array.isArray(n)?bs(t,e,null,n):Array.isArray(i)?bs(t,e,n,i):bs(t,e,n,null)};function YC(t={}){let e=null;const n={c:(...i)=>C0(n,...i),use:(i,...o)=>i.install(n,...o),find:Js,context:{},config:t,get __styleSheet(){if(!e){const i=document.createElement("style");return document.head.appendChild(i),e=document.styleSheets[document.styleSheets.length-1],e}return e}};return n}function R0(t,e){if(t===void 0)return!1;if(e){const{context:{ids:n}}=e;return n.has(t)}return Js(t)!==null}function N0(t){let e=".",n="__",i="--",o;if(t){let S=t.blockPrefix;S&&(e=S),S=t.elementPrefix,S&&(n=S),S=t.modifierPrefix,S&&(i=S)}const s={install(S){o=S.c;const v=S.context;v.bem={},v.bem.b=null,v.bem.els=null}};function l(S){let v,h;return{before(T){v=T.bem.b,h=T.bem.els,T.bem.els=null},after(T){T.bem.b=v,T.bem.els=h},$({context:T,props:N}){return S=typeof S=="string"?S:S({context:T,props:N}),T.bem.b=S,`${(N==null?void 0:N.bPrefix)||e}${T.bem.b}`}}}function c(S){let v;return{before(h){v=h.bem.els},after(h){h.bem.els=v},$({context:h,props:T}){return S=typeof S=="string"?S:S({context:h,props:T}),h.bem.els=S.split(",").map(N=>N.trim()),h.bem.els.map(N=>`${(T==null?void 0:T.bPrefix)||e}${h.bem.b}${n}${N}`).join(", ")}}}function d(S){return{$({context:v,props:h}){S=typeof S=="string"?S:S({context:v,props:h});const T=S.split(",").map(x=>x.trim());function N(x){return T.map(P=>`&${(h==null?void 0:h.bPrefix)||e}${v.bem.b}${x!==void 0?`${n}${x}`:""}${i}${P}`).join(", ")}const y=v.bem.els;return y!==null?N(y[0]):N()}}}function _(S){return{$({context:v,props:h}){S=typeof S=="string"?S:S({context:v,props:h});const T=v.bem.els;return`&:not(${(h==null?void 0:h.bPrefix)||e}${v.bem.b}${T!==null&&T.length>0?`${n}${T[0]}`:""}${i}${S})`}}}return Object.assign(s,{cB:(...S)=>o(l(S[0]),S[1],S[2]),cE:(...S)=>o(c(S[0]),S[1],S[2]),cM:(...S)=>o(d(S[0]),S[1],S[2]),cNotM:(...S)=>o(_(S[0]),S[1],S[2])}),s}const O0="n",A0=`.${O0}-`,y0="__",I0="--",qC=YC(),$C=N0({blockPrefix:A0,elementPrefix:y0,modifierPrefix:I0});qC.use($C);const{c:je,find:HDe}=qC,{cB:bt,cE:jr,cM:_r,cNotM:$a}=$C,D0=(...t)=>je(">",[bt(...t)]);let _u;function x0(){return _u===void 0&&(_u=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),_u}const w0=typeof document<"u"&&typeof window<"u";function M0(t){const e=ee(!!t.value);if(e.value)return bm(e);const n=Zt(t,i=>{i&&(e.value=!0,n())});return bm(e)}function Qa(t){const e=le(t),n=ee(e.value);return Zt(e,i=>{n.value=i}),typeof t=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(i){t.set(i)}}}const L0=typeof window<"u";let zi,Ha;const P0=()=>{var t,e;zi=L0?(e=(t=document)===null||t===void 0?void 0:t.fonts)===null||e===void 0?void 0:e.ready:void 0,Ha=!1,zi!==void 0?zi.then(()=>{Ha=!0}):Ha=!0};P0();function k0(t){if(Ha)return;let e=!1;kn(()=>{Ha||zi==null||zi.then(()=>{e||t()})}),Kn(()=>{e=!0})}function U0(t,e){return Zt(t,n=>{n!==void 0&&(e.value=n)}),le(()=>t.value===void 0?e.value:t.value)}function Zm(){const t=ee(!1);return kn(()=>{t.value=!0}),bm(t)}function F0(t,e){return le(()=>{for(const n of e)if(t[n]!==void 0)return t[n];return t[e[e.length-1]]})}const B0=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function G0(){return B0}const Y0="n-internal-select-menu-body",HC="n-modal-body",zC="n-drawer-body",VC="n-popover-body",WC="__disabled__";function Qi(t){const e=Ft(HC,null),n=Ft(zC,null),i=Ft(VC,null),o=Ft(Y0,null),s=ee();if(typeof document<"u"){s.value=document.fullscreenElement;const l=()=>{s.value=document.fullscreenElement};kn(()=>{Ht("fullscreenchange",document,l)}),Kn(()=>{Rt("fullscreenchange",document,l)})}return Qa(()=>{var l;const{to:c}=t;return c!==void 0?c===!1?WC:c===!0?s.value||"body":c:e!=null&&e.value?(l=e.value.$el)!==null&&l!==void 0?l:e.value:n!=null&&n.value?n.value:i!=null&&i.value?i.value:o!=null&&o.value?o.value:c??(s.value||"body")})}Qi.tdkey=WC;Qi.propTo={type:[String,Object,Boolean],default:void 0};function Rm(t,e,n="default"){const i=e[n];if(i===void 0)throw new Error(`[vueuc/${t}]: slot[${n}] is empty.`);return i()}function Nm(t,e=!0,n=[]){return t.forEach(i=>{if(i!==null){if(typeof i!="object"){(typeof i=="string"||typeof i=="number")&&n.push(St(String(i)));return}if(Array.isArray(i)){Nm(i,e,n);return}if(i.type===st){if(i.children===null)return;Array.isArray(i.children)&&Nm(i.children,e,n)}else i.type!==Ks&&n.push(i)}}),n}function Xf(t,e,n="default"){const i=e[n];if(i===void 0)throw new Error(`[vueuc/${t}]: slot[${n}] is empty.`);const o=Nm(i());if(o.length===1)return o[0];throw new Error(`[vueuc/${t}]: slot[${n}] should have exactly one child.`)}let Nr=null;function KC(){if(Nr===null&&(Nr=document.getElementById("v-binder-view-measurer"),Nr===null)){Nr=document.createElement("div"),Nr.id="v-binder-view-measurer";const{style:t}=Nr;t.position="fixed",t.left="0",t.right="0",t.top="0",t.bottom="0",t.pointerEvents="none",t.visibility="hidden",document.body.appendChild(Nr)}return Nr.getBoundingClientRect()}function q0(t,e){const n=KC();return{top:e,left:t,height:0,width:0,right:n.width-t,bottom:n.height-e}}function pu(t){const e=t.getBoundingClientRect(),n=KC();return{left:e.left-n.left,top:e.top-n.top,bottom:n.height+n.top-e.bottom,right:n.width+n.left-e.right,width:e.width,height:e.height}}function $0(t){return t.nodeType===9?null:t.parentNode}function QC(t){if(t===null)return null;const e=$0(t);if(e===null)return null;if(e.nodeType===9)return document;if(e.nodeType===1){const{overflow:n,overflowX:i,overflowY:o}=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(n+o+i))return e}return QC(e)}const H0=be({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(t){var e;ni("VBinder",(e=$m())===null||e===void 0?void 0:e.proxy);const n=Ft("VBinder",null),i=ee(null),o=T=>{i.value=T,n&&t.syncTargetWithParent&&n.setTargetRef(T)};let s=[];const l=()=>{let T=i.value;for(;T=QC(T),T!==null;)s.push(T);for(const N of s)Ht("scroll",N,g,!0)},c=()=>{for(const T of s)Rt("scroll",T,g,!0);s=[]},d=new Set,_=T=>{d.size===0&&l(),d.has(T)||d.add(T)},p=T=>{d.has(T)&&d.delete(T),d.size===0&&c()},g=()=>{LC(E)},E=()=>{d.forEach(T=>T())},f=new Set,S=T=>{f.size===0&&Ht("resize",window,h),f.has(T)||f.add(T)},v=T=>{f.has(T)&&f.delete(T),f.size===0&&Rt("resize",window,h)},h=()=>{f.forEach(T=>T())};return Kn(()=>{Rt("resize",window,h),c()}),{targetRef:i,setTargetRef:o,addScrollListener:_,removeScrollListener:p,addResizeListener:S,removeResizeListener:v}},render(){return Rm("binder",this.$slots)}}),z0=H0,V0=be({name:"Target",setup(){const{setTargetRef:t,syncTarget:e}=Ft("VBinder");return{syncTarget:e,setTargetDirective:{mounted:t,updated:t}}},render(){const{syncTarget:t,setTargetDirective:e}=this;return t?Pn(Xf("follower",this.$slots),[[e]]):Xf("follower",this.$slots)}}),Li="@@mmoContext",W0={mounted(t,{value:e}){t[Li]={handler:void 0},typeof e=="function"&&(t[Li].handler=e,Ht("mousemoveoutside",t,e))},updated(t,{value:e}){const n=t[Li];typeof e=="function"?n.handler?n.handler!==e&&(Rt("mousemoveoutside",t,n.handler),n.handler=e,Ht("mousemoveoutside",t,e)):(t[Li].handler=e,Ht("mousemoveoutside",t,e)):n.handler&&(Rt("mousemoveoutside",t,n.handler),n.handler=void 0)},unmounted(t){const{handler:e}=t[Li];e&&Rt("mousemoveoutside",t,e),t[Li].handler=void 0}},K0=W0,Pi="@@coContext",Q0={mounted(t,{value:e,modifiers:n}){t[Pi]={handler:void 0},typeof e=="function"&&(t[Pi].handler=e,Ht("clickoutside",t,e,{capture:n.capture}))},updated(t,{value:e,modifiers:n}){const i=t[Pi];typeof e=="function"?i.handler?i.handler!==e&&(Rt("clickoutside",t,i.handler,{capture:n.capture}),i.handler=e,Ht("clickoutside",t,e,{capture:n.capture})):(t[Pi].handler=e,Ht("clickoutside",t,e,{capture:n.capture})):i.handler&&(Rt("clickoutside",t,i.handler,{capture:n.capture}),i.handler=void 0)},unmounted(t,{modifiers:e}){const{handler:n}=t[Pi];n&&Rt("clickoutside",t,n,{capture:e.capture}),t[Pi].handler=void 0}},Zf=Q0;function X0(t,e){console.error(`[vdirs/${t}]: ${e}`)}class Z0{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,n){const{elementZIndex:i}=this;if(n!==void 0){e.style.zIndex=`${n}`,i.delete(e);return}const{nextZIndex:o}=this;i.has(e)&&i.get(e)+1===this.nextZIndex||(e.style.zIndex=`${o}`,i.set(e,o),this.nextZIndex=o+1,this.squashState())}unregister(e,n){const{elementZIndex:i}=this;i.has(e)?i.delete(e):n===void 0&&X0("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){const e=Array.from(this.elementZIndex.entries());e.sort((n,i)=>n[1]-i[1]),this.nextZIndex=2e3,e.forEach(n=>{const i=n[0],o=this.nextZIndex++;`${o}`!==i.style.zIndex&&(i.style.zIndex=`${o}`)})}}const mu=new Z0,ki="@@ziContext",J0={mounted(t,e){const{value:n={}}=e,{zIndex:i,enabled:o}=n;t[ki]={enabled:!!o,initialized:!1},o&&(mu.ensureZIndex(t,i),t[ki].initialized=!0)},updated(t,e){const{value:n={}}=e,{zIndex:i,enabled:o}=n,s=t[ki].enabled;o&&!s&&(mu.ensureZIndex(t,i),t[ki].initialized=!0),t[ki].enabled=!!o},unmounted(t,e){if(!t[ki].initialized)return;const{value:n={}}=e,{zIndex:i}=n;mu.unregister(t,i)}},Jm=J0,XC=Symbol("@css-render/vue3-ssr");function j0(t,e){return``}function eP(t,e){const n=Ft(XC,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:i,ids:o}=n;o.has(t)||i!==null&&(o.add(t),i.push(j0(t,e)))}const tP=typeof document<"u";function ro(){if(tP)return;const t=Ft(XC,null);if(t!==null)return{adapter:eP,context:t}}function Jf(t,e){console.error(`[vueuc/${t}]: ${e}`)}const{c:hs}=YC(),nP="vueuc-style";function jf(t){return typeof t=="string"?document.querySelector(t):t()}const ZC=be({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(t){return{showTeleport:M0(yt(t,"show")),mergedTo:le(()=>{const{to:e}=t;return e??"body"})}},render(){return this.showTeleport?this.disabled?Rm("lazy-teleport",this.$slots):j(Gw,{disabled:this.disabled,to:this.mergedTo},Rm("lazy-teleport",this.$slots)):null}}),Ts={top:"bottom",bottom:"top",left:"right",right:"left"},eS={start:"end",center:"center",end:"start"},gu={top:"height",bottom:"height",left:"width",right:"width"},rP={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},iP={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},aP={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},tS={top:!0,bottom:!1,left:!0,right:!1},nS={top:"end",bottom:"start",left:"end",right:"start"};function oP(t,e,n,i,o,s){if(!o||s)return{placement:t,top:0,left:0};const[l,c]=t.split("-");let d=c??"center",_={top:0,left:0};const p=(f,S,v)=>{let h=0,T=0;const N=n[f]-e[S]-e[f];return N>0&&i&&(v?T=tS[S]?N:-N:h=tS[S]?N:-N),{left:h,top:T}},g=l==="left"||l==="right";if(d!=="center"){const f=aP[t],S=Ts[f],v=gu[f];if(n[v]>e[v]){if(e[f]+e[v]e[S]&&(d=eS[c])}else{const f=l==="bottom"||l==="top"?"left":"top",S=Ts[f],v=gu[f],h=(n[v]-e[v])/2;(e[f]e[S]?(d=nS[f],_=p(v,f,g)):(d=nS[S],_=p(v,S,g)))}let E=l;return e[l] *",{pointerEvents:"all"})])]),uP=be({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(t){const e=Ft("VBinder"),n=Qa(()=>t.enabled!==void 0?t.enabled:t.show),i=ee(null),o=ee(null),s=()=>{const{syncTrigger:E}=t;E.includes("scroll")&&e.addScrollListener(d),E.includes("resize")&&e.addResizeListener(d)},l=()=>{e.removeScrollListener(d),e.removeResizeListener(d)};kn(()=>{n.value&&(d(),s())});const c=ro();cP.mount({id:"vueuc/binder",head:!0,anchorMetaName:nP,ssr:c}),Kn(()=>{l()}),k0(()=>{n.value&&d()});const d=()=>{if(!n.value)return;const E=i.value;if(E===null)return;const f=e.targetRef,{x:S,y:v,overlap:h}=t,T=S!==void 0&&v!==void 0?q0(S,v):pu(f);E.style.setProperty("--v-target-width",`${Math.round(T.width)}px`),E.style.setProperty("--v-target-height",`${Math.round(T.height)}px`);const{width:N,minWidth:y,placement:x,internalShift:P,flip:D}=t;E.setAttribute("v-placement",x),h?E.setAttribute("v-overlap",""):E.removeAttribute("v-overlap");const{style:k}=E;N==="target"?k.width=`${T.width}px`:N!==void 0?k.width=N:k.width="",y==="target"?k.minWidth=`${T.width}px`:y!==void 0?k.minWidth=y:k.minWidth="";const U=pu(E),W=pu(o.value),{left:z,top:K,placement:Ee}=oP(x,T,U,P,D,h),oe=sP(Ee,h),{left:L,top:J,transform:re}=lP(Ee,W,T,K,z,h);E.setAttribute("v-placement",Ee),E.style.setProperty("--v-offset-left",`${Math.round(z)}px`),E.style.setProperty("--v-offset-top",`${Math.round(K)}px`),E.style.transform=`translateX(${L}) translateY(${J}) ${re}`,E.style.setProperty("--v-transform-origin",oe),E.style.transformOrigin=oe};Zt(n,E=>{E?(s(),_()):l()});const _=()=>{Qs().then(d).catch(E=>console.error(E))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(E=>{Zt(yt(t,E),d)}),["teleportDisabled"].forEach(E=>{Zt(yt(t,E),_)}),Zt(yt(t,"syncTrigger"),E=>{E.includes("resize")?e.addResizeListener(d):e.removeResizeListener(d),E.includes("scroll")?e.addScrollListener(d):e.removeScrollListener(d)});const p=Zm(),g=Qa(()=>{const{to:E}=t;if(E!==void 0)return E;p.value});return{VBinder:e,mergedEnabled:n,offsetContainerRef:o,followerRef:i,mergedTo:g,syncPosition:d}},render(){return j(ZC,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var t,e;const n=j("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[j("div",{class:"v-binder-follower-content",ref:"followerRef"},(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t))]);return this.zindexable?Pn(n,[[Jm,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var ri=[],dP=function(){return ri.some(function(t){return t.activeTargets.length>0})},_P=function(){return ri.some(function(t){return t.skippedTargets.length>0})},rS="ResizeObserver loop completed with undelivered notifications.",pP=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:rS}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=rS),window.dispatchEvent(t)},Xa;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Xa||(Xa={}));var ii=function(t){return Object.freeze(t)},mP=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,ii(this)}return t}(),JC=function(){function t(e,n,i,o){return this.x=e,this.y=n,this.width=i,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ii(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,i=e.y,o=e.top,s=e.right,l=e.bottom,c=e.left,d=e.width,_=e.height;return{x:n,y:i,top:o,right:s,bottom:l,left:c,width:d,height:_}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),jm=function(t){return t instanceof SVGElement&&"getBBox"in t},jC=function(t){if(jm(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var o=t,s=o.offsetWidth,l=o.offsetHeight;return!(s||l||t.getClientRects().length)},iS=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},gP=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},za=typeof window<"u"?window:{},vs=new WeakMap,aS=/auto|scroll/,EP=/^tb|vertical/,fP=/msie|trident/i.test(za.navigator&&za.navigator.userAgent),Hn=function(t){return parseFloat(t||"0")},Vi=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new mP((n?e:t)||0,(n?t:e)||0)},oS=ii({devicePixelContentBoxSize:Vi(),borderBoxSize:Vi(),contentBoxSize:Vi(),contentRect:new JC(0,0,0,0)}),eR=function(t,e){if(e===void 0&&(e=!1),vs.has(t)&&!e)return vs.get(t);if(jC(t))return vs.set(t,oS),oS;var n=getComputedStyle(t),i=jm(t)&&t.ownerSVGElement&&t.getBBox(),o=!fP&&n.boxSizing==="border-box",s=EP.test(n.writingMode||""),l=!i&&aS.test(n.overflowY||""),c=!i&&aS.test(n.overflowX||""),d=i?0:Hn(n.paddingTop),_=i?0:Hn(n.paddingRight),p=i?0:Hn(n.paddingBottom),g=i?0:Hn(n.paddingLeft),E=i?0:Hn(n.borderTopWidth),f=i?0:Hn(n.borderRightWidth),S=i?0:Hn(n.borderBottomWidth),v=i?0:Hn(n.borderLeftWidth),h=g+_,T=d+p,N=v+f,y=E+S,x=c?t.offsetHeight-y-t.clientHeight:0,P=l?t.offsetWidth-N-t.clientWidth:0,D=o?h+N:0,k=o?T+y:0,U=i?i.width:Hn(n.width)-D-P,W=i?i.height:Hn(n.height)-k-x,z=U+h+P+N,K=W+T+x+y,Ee=ii({devicePixelContentBoxSize:Vi(Math.round(U*devicePixelRatio),Math.round(W*devicePixelRatio),s),borderBoxSize:Vi(z,K,s),contentBoxSize:Vi(U,W,s),contentRect:new JC(g,d,U,W)});return vs.set(t,Ee),Ee},tR=function(t,e,n){var i=eR(t,n),o=i.borderBoxSize,s=i.contentBoxSize,l=i.devicePixelContentBoxSize;switch(e){case Xa.DEVICE_PIXEL_CONTENT_BOX:return l;case Xa.BORDER_BOX:return o;default:return s}},SP=function(){function t(e){var n=eR(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=ii([n.borderBoxSize]),this.contentBoxSize=ii([n.contentBoxSize]),this.devicePixelContentBoxSize=ii([n.devicePixelContentBoxSize])}return t}(),nR=function(t){if(jC(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},bP=function(){var t=1/0,e=[];ri.forEach(function(l){if(l.activeTargets.length!==0){var c=[];l.activeTargets.forEach(function(_){var p=new SP(_.target),g=nR(_.target);c.push(p),_.lastReportedSize=tR(_.target,_.observedBox),gt?n.activeTargets.push(o):n.skippedTargets.push(o))})})},hP=function(){var t=0;for(sS(t);dP();)t=bP(),sS(t);return _P()&&pP(),t>0},Eu,rR=[],TP=function(){return rR.splice(0).forEach(function(t){return t()})},vP=function(t){if(!Eu){var e=0,n=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return TP()}).observe(n,i),Eu=function(){n.textContent="".concat(e?e--:e++)}}rR.push(t),Eu()},CP=function(t){vP(function(){requestAnimationFrame(t)})},Ls=0,RP=function(){return!!Ls},NP=250,OP={attributes:!0,characterData:!0,childList:!0,subtree:!0},lS=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],cS=function(t){return t===void 0&&(t=0),Date.now()+t},fu=!1,AP=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=NP),!fu){fu=!0;var i=cS(e);CP(function(){var o=!1;try{o=hP()}finally{if(fu=!1,e=i-cS(),!RP())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,OP)};document.body?n():za.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),lS.forEach(function(n){return za.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),lS.forEach(function(n){return za.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Om=new AP,uS=function(t){!Ls&&t>0&&Om.start(),Ls+=t,!Ls&&Om.stop()},yP=function(t){return!jm(t)&&!gP(t)&&getComputedStyle(t).display==="inline"},IP=function(){function t(e,n){this.target=e,this.observedBox=n||Xa.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=tR(this.target,this.observedBox,!0);return yP(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),DP=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Cs=new WeakMap,dS=function(t,e){for(var n=0;n=0&&(s&&ri.splice(ri.indexOf(i),1),i.observationTargets.splice(o,1),uS(-1))},t.disconnect=function(e){var n=this,i=Cs.get(e);i.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),xP=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Rs.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!iS(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Rs.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!iS(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Rs.unobserve(this,e)},t.prototype.disconnect=function(){Rs.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();class wP{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||xP)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const n of e){const i=this.elHandlersMap.get(n.target);i!==void 0&&i(n)}}registerHandler(e,n){this.elHandlersMap.set(e,n),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}const _S=new wP,pS=be({name:"ResizeObserver",props:{onResize:Function},setup(t){let e=!1;const n=$m().proxy;function i(o){const{onResize:s}=t;s!==void 0&&s(o)}kn(()=>{const o=n.$el;if(o===void 0){Jf("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){Jf("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(_S.registerHandler(o.nextElementSibling,i),e=!0)}),Kn(()=>{e&&_S.unregisterHandler(n.$el.nextElementSibling)})},render(){return oi(this.$slots,"default")}});function iR(t){return t instanceof HTMLElement}function aR(t){for(let e=0;e=0;e--){const n=t.childNodes[e];if(iR(n)&&(sR(n)||oR(n)))return!0}return!1}function sR(t){if(!MP(t))return!1;try{t.focus({preventScroll:!0})}catch{}return document.activeElement===t}function MP(t){if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.getAttribute("disabled"))return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return t.type!=="hidden"&&t.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let Pa=[];const LP=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(t){const e=kC(),n=ee(null),i=ee(null);let o=!1,s=!1;const l=typeof document>"u"?null:document.activeElement;function c(){return Pa[Pa.length-1]===e}function d(h){var T;h.code==="Escape"&&c()&&((T=t.onEsc)===null||T===void 0||T.call(t,h))}kn(()=>{Zt(()=>t.active,h=>{h?(g(),Ht("keydown",document,d)):(Rt("keydown",document,d),o&&E())},{immediate:!0})}),Kn(()=>{Rt("keydown",document,d),o&&E()});function _(h){if(!s&&c()){const T=p();if(T===null||T.contains(Us(h)))return;f("first")}}function p(){const h=n.value;if(h===null)return null;let T=h;for(;T=T.nextSibling,!(T===null||T instanceof Element&&T.tagName==="DIV"););return T}function g(){var h;if(!t.disabled){if(Pa.push(e),t.autoFocus){const{initialFocusTo:T}=t;T===void 0?f("first"):(h=jf(T))===null||h===void 0||h.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",_,!0)}}function E(){var h;if(t.disabled||(document.removeEventListener("focus",_,!0),Pa=Pa.filter(N=>N!==e),c()))return;const{finalFocusTo:T}=t;T!==void 0?(h=jf(T))===null||h===void 0||h.focus({preventScroll:!0}):t.returnFocusOnDeactivated&&l instanceof HTMLElement&&(s=!0,l.focus({preventScroll:!0}),s=!1)}function f(h){if(c()&&t.active){const T=n.value,N=i.value;if(T!==null&&N!==null){const y=p();if(y==null||y===N){s=!0,T.focus({preventScroll:!0}),s=!1;return}s=!0;const x=h==="first"?aR(y):oR(y);s=!1,x||(s=!0,T.focus({preventScroll:!0}),s=!1)}}}function S(h){if(s)return;const T=p();T!==null&&(h.relatedTarget!==null&&T.contains(h.relatedTarget)?f("last"):f("first"))}function v(h){s||(h.relatedTarget!==null&&h.relatedTarget===n.value?f("last"):f("first"))}return{focusableStartRef:n,focusableEndRef:i,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:S,handleEndFocus:v}},render(){const{default:t}=this.$slots;if(t===void 0)return null;if(this.disabled)return t();const{active:e,focusableStyle:n}=this;return j(st,null,[j("div",{"aria-hidden":"true",tabindex:e?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),t(),j("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:e?"0":"-1",onFocus:this.handleEndFocus})])}});function PP(t){const e={isDeactivated:!1};let n=!1;return Yw(()=>{if(e.isDeactivated=!1,!n){n=!0;return}t()}),OC(()=>{e.isDeactivated=!0,n||(n=!0)}),e}var kP=typeof global=="object"&&global&&global.Object===Object&&global;const lR=kP;var UP=typeof self=="object"&&self&&self.Object===Object&&self,FP=lR||UP||Function("return this")();const Qn=FP;var BP=Qn.Symbol;const Mr=BP;var cR=Object.prototype,GP=cR.hasOwnProperty,YP=cR.toString,ka=Mr?Mr.toStringTag:void 0;function qP(t){var e=GP.call(t,ka),n=t[ka];try{t[ka]=void 0;var i=!0}catch{}var o=YP.call(t);return i&&(e?t[ka]=n:delete t[ka]),o}var $P=Object.prototype,HP=$P.toString;function zP(t){return HP.call(t)}var VP="[object Null]",WP="[object Undefined]",mS=Mr?Mr.toStringTag:void 0;function ui(t){return t==null?t===void 0?WP:VP:mS&&mS in Object(t)?qP(t):zP(t)}function Lr(t){return t!=null&&typeof t=="object"}var KP="[object Symbol]";function eg(t){return typeof t=="symbol"||Lr(t)&&ui(t)==KP}function uR(t,e){for(var n=-1,i=t==null?0:t.length,o=Array(i);++n0){if(++e>=bk)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Ck(t){return function(){return t}}var Rk=function(){try{var t=_i(Object,"defineProperty");return t({},"",{}),t}catch{}}();const Fs=Rk;var Nk=Fs?function(t,e){return Fs(t,"toString",{configurable:!0,enumerable:!1,value:Ck(e),writable:!0})}:tg;const Ok=Nk;var Ak=vk(Ok);const yk=Ak;var Ik=9007199254740991,Dk=/^(?:0|[1-9]\d*)$/;function rg(t,e){var n=typeof t;return e=e??Ik,!!e&&(n=="number"||n!="symbol"&&Dk.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=Uk}function ra(t){return t!=null&&ag(t.length)&&!ng(t)}function Fk(t,e,n){if(!Pr(n))return!1;var i=typeof e;return(i=="number"?ra(n)&&rg(e,n.length):i=="string"&&e in n)?io(n[e],t):!1}function Bk(t){return kk(function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:void 0,l=o>2?n[2]:void 0;for(s=t.length>3&&typeof s=="function"?(o--,s):void 0,l&&Fk(n[0],n[1],l)&&(s=o<3?void 0:s,o=1),e=Object(e);++i-1}function nU(t,e){var n=this.__data__,i=js(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function pr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++eo?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(o);++i=i?t:AU(t,e,n)}var IU="\\ud800-\\udfff",DU="\\u0300-\\u036f",xU="\\ufe20-\\ufe2f",wU="\\u20d0-\\u20ff",MU=DU+xU+wU,LU="\\ufe0e\\ufe0f",PU="\\u200d",kU=RegExp("["+PU+IU+MU+LU+"]");function vR(t){return kU.test(t)}function UU(t){return t.split("")}var CR="\\ud800-\\udfff",FU="\\u0300-\\u036f",BU="\\ufe20-\\ufe2f",GU="\\u20d0-\\u20ff",YU=FU+BU+GU,qU="\\ufe0e\\ufe0f",$U="["+CR+"]",ym="["+YU+"]",Im="\\ud83c[\\udffb-\\udfff]",HU="(?:"+ym+"|"+Im+")",RR="[^"+CR+"]",NR="(?:\\ud83c[\\udde6-\\uddff]){2}",OR="[\\ud800-\\udbff][\\udc00-\\udfff]",zU="\\u200d",AR=HU+"?",yR="["+qU+"]?",VU="(?:"+zU+"(?:"+[RR,NR,OR].join("|")+")"+yR+AR+")*",WU=yR+AR+VU,KU="(?:"+[RR+ym+"?",ym,NR,OR,$U].join("|")+")",QU=RegExp(Im+"(?="+Im+")|"+KU+WU,"g");function XU(t){return t.match(QU)||[]}function ZU(t){return vR(t)?XU(t):UU(t)}function JU(t){return function(e){e=tl(e);var n=vR(e)?ZU(e):void 0,i=n?n[0]:e.charAt(0),o=n?yU(n,1).join(""):e.slice(1);return i[t]()+o}}var jU=JU("toUpperCase");const eF=jU;function tF(t,e,n,i){var o=-1,s=t==null?0:t.length;for(i&&s&&(n=t[++o]);++oc))return!1;var _=s.get(t),p=s.get(e);if(_&&p)return _==e&&p==t;var g=-1,E=!0,f=n&NB?new qs:void 0;for(s.set(t,e),s.set(e,t);++g`}function n0(t,e){const n=Ft(ZC,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:i,ids:o}=n;o.has(t)||i!==null&&(o.add(t),i.push(t0(t,e)))}const r0=typeof document<"u";function io(){if(r0)return;const t=Ft(ZC,null);if(t!==null)return{adapter:n0,context:t}}function jf(t,e){console.error(`[vueuc/${t}]: ${e}`)}const{c:Ts}=qC(),i0="vueuc-style";function eS(t){return typeof t=="string"?document.querySelector(t):t()}const JC=be({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(t){return{showTeleport:PP(yt(t,"show")),mergedTo:se(()=>{const{to:e}=t;return e??"body"})}},render(){return this.showTeleport?this.disabled?Nm("lazy-teleport",this.$slots):j(qw,{disabled:this.disabled,to:this.mergedTo},Nm("lazy-teleport",this.$slots)):null}}),vs={top:"bottom",bottom:"top",left:"right",right:"left"},tS={start:"end",center:"center",end:"start"},gu={top:"height",bottom:"height",left:"width",right:"width"},a0={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},o0={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},s0={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},nS={top:!0,bottom:!1,left:!0,right:!1},rS={top:"end",bottom:"start",left:"end",right:"start"};function l0(t,e,n,i,o,s){if(!o||s)return{placement:t,top:0,left:0};const[l,c]=t.split("-");let d=c??"center",_={top:0,left:0};const p=(f,S,T)=>{let h=0,v=0;const N=n[f]-e[S]-e[f];return N>0&&i&&(T?v=nS[S]?N:-N:h=nS[S]?N:-N),{left:h,top:v}},g=l==="left"||l==="right";if(d!=="center"){const f=s0[t],S=vs[f],T=gu[f];if(n[T]>e[T]){if(e[f]+e[T]e[S]&&(d=tS[c])}else{const f=l==="bottom"||l==="top"?"left":"top",S=vs[f],T=gu[f],h=(n[T]-e[T])/2;(e[f]e[S]?(d=rS[f],_=p(T,f,g)):(d=rS[S],_=p(T,S,g)))}let E=l;return e[l] *",{pointerEvents:"all"})])]),_0=be({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(t){const e=Ft("VBinder"),n=Xa(()=>t.enabled!==void 0?t.enabled:t.show),i=ee(null),o=ee(null),s=()=>{const{syncTrigger:E}=t;E.includes("scroll")&&e.addScrollListener(d),E.includes("resize")&&e.addResizeListener(d)},l=()=>{e.removeScrollListener(d),e.removeResizeListener(d)};kn(()=>{n.value&&(d(),s())});const c=io();d0.mount({id:"vueuc/binder",head:!0,anchorMetaName:i0,ssr:c}),Kn(()=>{l()}),FP(()=>{n.value&&d()});const d=()=>{if(!n.value)return;const E=i.value;if(E===null)return;const f=e.targetRef,{x:S,y:T,overlap:h}=t,v=S!==void 0&&T!==void 0?HP(S,T):pu(f);E.style.setProperty("--v-target-width",`${Math.round(v.width)}px`),E.style.setProperty("--v-target-height",`${Math.round(v.height)}px`);const{width:N,minWidth:y,placement:x,internalShift:P,flip:D}=t;E.setAttribute("v-placement",x),h?E.setAttribute("v-overlap",""):E.removeAttribute("v-overlap");const{style:k}=E;N==="target"?k.width=`${v.width}px`:N!==void 0?k.width=N:k.width="",y==="target"?k.minWidth=`${v.width}px`:y!==void 0?k.minWidth=y:k.minWidth="";const U=pu(E),Z=pu(o.value),{left:q,top:W,placement:_e}=l0(x,v,U,P,D,h),Ee=c0(_e,h),{left:L,top:Q,transform:re}=u0(_e,Z,v,W,q,h);E.setAttribute("v-placement",_e),E.style.setProperty("--v-offset-left",`${Math.round(q)}px`),E.style.setProperty("--v-offset-top",`${Math.round(W)}px`),E.style.transform=`translateX(${L}) translateY(${Q}) ${re}`,E.style.setProperty("--v-transform-origin",Ee),E.style.transformOrigin=Ee};Zt(n,E=>{E?(s(),_()):l()});const _=()=>{Qs().then(d).catch(E=>console.error(E))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(E=>{Zt(yt(t,E),d)}),["teleportDisabled"].forEach(E=>{Zt(yt(t,E),_)}),Zt(yt(t,"syncTrigger"),E=>{E.includes("resize")?e.addResizeListener(d):e.removeResizeListener(d),E.includes("scroll")?e.addScrollListener(d):e.removeScrollListener(d)});const p=Jm(),g=Xa(()=>{const{to:E}=t;if(E!==void 0)return E;p.value});return{VBinder:e,mergedEnabled:n,offsetContainerRef:o,followerRef:i,mergedTo:g,syncPosition:d}},render(){return j(JC,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var t,e;const n=j("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[j("div",{class:"v-binder-follower-content",ref:"followerRef"},(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t))]);return this.zindexable?Pn(n,[[jm,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var ai=[],p0=function(){return ai.some(function(t){return t.activeTargets.length>0})},m0=function(){return ai.some(function(t){return t.skippedTargets.length>0})},iS="ResizeObserver loop completed with undelivered notifications.",g0=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:iS}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=iS),window.dispatchEvent(t)},Za;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Za||(Za={}));var oi=function(t){return Object.freeze(t)},E0=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,oi(this)}return t}(),jC=function(){function t(e,n,i,o){return this.x=e,this.y=n,this.width=i,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,oi(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,i=e.y,o=e.top,s=e.right,l=e.bottom,c=e.left,d=e.width,_=e.height;return{x:n,y:i,top:o,right:s,bottom:l,left:c,width:d,height:_}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),eg=function(t){return t instanceof SVGElement&&"getBBox"in t},eR=function(t){if(eg(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var o=t,s=o.offsetWidth,l=o.offsetHeight;return!(s||l||t.getClientRects().length)},aS=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},f0=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Va=typeof window<"u"?window:{},Cs=new WeakMap,oS=/auto|scroll/,S0=/^tb|vertical/,b0=/msie|trident/i.test(Va.navigator&&Va.navigator.userAgent),Hn=function(t){return parseFloat(t||"0")},Wi=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new E0((n?e:t)||0,(n?t:e)||0)},sS=oi({devicePixelContentBoxSize:Wi(),borderBoxSize:Wi(),contentBoxSize:Wi(),contentRect:new jC(0,0,0,0)}),tR=function(t,e){if(e===void 0&&(e=!1),Cs.has(t)&&!e)return Cs.get(t);if(eR(t))return Cs.set(t,sS),sS;var n=getComputedStyle(t),i=eg(t)&&t.ownerSVGElement&&t.getBBox(),o=!b0&&n.boxSizing==="border-box",s=S0.test(n.writingMode||""),l=!i&&oS.test(n.overflowY||""),c=!i&&oS.test(n.overflowX||""),d=i?0:Hn(n.paddingTop),_=i?0:Hn(n.paddingRight),p=i?0:Hn(n.paddingBottom),g=i?0:Hn(n.paddingLeft),E=i?0:Hn(n.borderTopWidth),f=i?0:Hn(n.borderRightWidth),S=i?0:Hn(n.borderBottomWidth),T=i?0:Hn(n.borderLeftWidth),h=g+_,v=d+p,N=T+f,y=E+S,x=c?t.offsetHeight-y-t.clientHeight:0,P=l?t.offsetWidth-N-t.clientWidth:0,D=o?h+N:0,k=o?v+y:0,U=i?i.width:Hn(n.width)-D-P,Z=i?i.height:Hn(n.height)-k-x,q=U+h+P+N,W=Z+v+x+y,_e=oi({devicePixelContentBoxSize:Wi(Math.round(U*devicePixelRatio),Math.round(Z*devicePixelRatio),s),borderBoxSize:Wi(q,W,s),contentBoxSize:Wi(U,Z,s),contentRect:new jC(g,d,U,Z)});return Cs.set(t,_e),_e},nR=function(t,e,n){var i=tR(t,n),o=i.borderBoxSize,s=i.contentBoxSize,l=i.devicePixelContentBoxSize;switch(e){case Za.DEVICE_PIXEL_CONTENT_BOX:return l;case Za.BORDER_BOX:return o;default:return s}},h0=function(){function t(e){var n=tR(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=oi([n.borderBoxSize]),this.contentBoxSize=oi([n.contentBoxSize]),this.devicePixelContentBoxSize=oi([n.devicePixelContentBoxSize])}return t}(),rR=function(t){if(eR(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},T0=function(){var t=1/0,e=[];ai.forEach(function(l){if(l.activeTargets.length!==0){var c=[];l.activeTargets.forEach(function(_){var p=new h0(_.target),g=rR(_.target);c.push(p),_.lastReportedSize=nR(_.target,_.observedBox),gt?n.activeTargets.push(o):n.skippedTargets.push(o))})})},v0=function(){var t=0;for(lS(t);p0();)t=T0(),lS(t);return m0()&&g0(),t>0},Eu,iR=[],C0=function(){return iR.splice(0).forEach(function(t){return t()})},R0=function(t){if(!Eu){var e=0,n=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return C0()}).observe(n,i),Eu=function(){n.textContent="".concat(e?e--:e++)}}iR.push(t),Eu()},N0=function(t){R0(function(){requestAnimationFrame(t)})},Ls=0,O0=function(){return!!Ls},A0=250,y0={attributes:!0,characterData:!0,childList:!0,subtree:!0},cS=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],uS=function(t){return t===void 0&&(t=0),Date.now()+t},fu=!1,I0=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=A0),!fu){fu=!0;var i=uS(e);N0(function(){var o=!1;try{o=v0()}finally{if(fu=!1,e=i-uS(),!O0())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,y0)};document.body?n():Va.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),cS.forEach(function(n){return Va.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),cS.forEach(function(n){return Va.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Am=new I0,dS=function(t){!Ls&&t>0&&Am.start(),Ls+=t,!Ls&&Am.stop()},D0=function(t){return!eg(t)&&!f0(t)&&getComputedStyle(t).display==="inline"},x0=function(){function t(e,n){this.target=e,this.observedBox=n||Za.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=nR(this.target,this.observedBox,!0);return D0(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),w0=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Rs=new WeakMap,_S=function(t,e){for(var n=0;n=0&&(s&&ai.splice(ai.indexOf(i),1),i.observationTargets.splice(o,1),dS(-1))},t.disconnect=function(e){var n=this,i=Rs.get(e);i.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),M0=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ns.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!aS(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ns.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!aS(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ns.unobserve(this,e)},t.prototype.disconnect=function(){Ns.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();class L0{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||M0)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const n of e){const i=this.elHandlersMap.get(n.target);i!==void 0&&i(n)}}registerHandler(e,n){this.elHandlersMap.set(e,n),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}const pS=new L0,mS=be({name:"ResizeObserver",props:{onResize:Function},setup(t){let e=!1;const n=Hm().proxy;function i(o){const{onResize:s}=t;s!==void 0&&s(o)}kn(()=>{const o=n.$el;if(o===void 0){jf("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){jf("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(pS.registerHandler(o.nextElementSibling,i),e=!0)}),Kn(()=>{e&&pS.unregisterHandler(n.$el.nextElementSibling)})},render(){return li(this.$slots,"default")}});function aR(t){return t instanceof HTMLElement}function oR(t){for(let e=0;e=0;e--){const n=t.childNodes[e];if(aR(n)&&(lR(n)||sR(n)))return!0}return!1}function lR(t){if(!P0(t))return!1;try{t.focus({preventScroll:!0})}catch{}return document.activeElement===t}function P0(t){if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.getAttribute("disabled"))return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return t.type!=="hidden"&&t.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let ka=[];const k0=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(t){const e=UC(),n=ee(null),i=ee(null);let o=!1,s=!1;const l=typeof document>"u"?null:document.activeElement;function c(){return ka[ka.length-1]===e}function d(h){var v;h.code==="Escape"&&c()&&((v=t.onEsc)===null||v===void 0||v.call(t,h))}kn(()=>{Zt(()=>t.active,h=>{h?(g(),Ht("keydown",document,d)):(Rt("keydown",document,d),o&&E())},{immediate:!0})}),Kn(()=>{Rt("keydown",document,d),o&&E()});function _(h){if(!s&&c()){const v=p();if(v===null||v.contains(Us(h)))return;f("first")}}function p(){const h=n.value;if(h===null)return null;let v=h;for(;v=v.nextSibling,!(v===null||v instanceof Element&&v.tagName==="DIV"););return v}function g(){var h;if(!t.disabled){if(ka.push(e),t.autoFocus){const{initialFocusTo:v}=t;v===void 0?f("first"):(h=eS(v))===null||h===void 0||h.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",_,!0)}}function E(){var h;if(t.disabled||(document.removeEventListener("focus",_,!0),ka=ka.filter(N=>N!==e),c()))return;const{finalFocusTo:v}=t;v!==void 0?(h=eS(v))===null||h===void 0||h.focus({preventScroll:!0}):t.returnFocusOnDeactivated&&l instanceof HTMLElement&&(s=!0,l.focus({preventScroll:!0}),s=!1)}function f(h){if(c()&&t.active){const v=n.value,N=i.value;if(v!==null&&N!==null){const y=p();if(y==null||y===N){s=!0,v.focus({preventScroll:!0}),s=!1;return}s=!0;const x=h==="first"?oR(y):sR(y);s=!1,x||(s=!0,v.focus({preventScroll:!0}),s=!1)}}}function S(h){if(s)return;const v=p();v!==null&&(h.relatedTarget!==null&&v.contains(h.relatedTarget)?f("last"):f("first"))}function T(h){s||(h.relatedTarget!==null&&h.relatedTarget===n.value?f("last"):f("first"))}return{focusableStartRef:n,focusableEndRef:i,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:S,handleEndFocus:T}},render(){const{default:t}=this.$slots;if(t===void 0)return null;if(this.disabled)return t();const{active:e,focusableStyle:n}=this;return j(st,null,[j("div",{"aria-hidden":"true",tabindex:e?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),t(),j("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:e?"0":"-1",onFocus:this.handleEndFocus})])}});function U0(t){const e={isDeactivated:!1};let n=!1;return $w(()=>{if(e.isDeactivated=!1,!n){n=!0;return}t()}),AC(()=>{e.isDeactivated=!0,n||(n=!0)}),e}var F0=typeof global=="object"&&global&&global.Object===Object&&global;const cR=F0;var B0=typeof self=="object"&&self&&self.Object===Object&&self,G0=cR||B0||Function("return this")();const Qn=G0;var Y0=Qn.Symbol;const Lr=Y0;var uR=Object.prototype,q0=uR.hasOwnProperty,$0=uR.toString,Ua=Lr?Lr.toStringTag:void 0;function H0(t){var e=q0.call(t,Ua),n=t[Ua];try{t[Ua]=void 0;var i=!0}catch{}var o=$0.call(t);return i&&(e?t[Ua]=n:delete t[Ua]),o}var z0=Object.prototype,V0=z0.toString;function W0(t){return V0.call(t)}var K0="[object Null]",Q0="[object Undefined]",gS=Lr?Lr.toStringTag:void 0;function _i(t){return t==null?t===void 0?Q0:K0:gS&&gS in Object(t)?H0(t):W0(t)}function Pr(t){return t!=null&&typeof t=="object"}var X0="[object Symbol]";function tg(t){return typeof t=="symbol"||Pr(t)&&_i(t)==X0}function dR(t,e){for(var n=-1,i=t==null?0:t.length,o=Array(i);++n0){if(++e>=Tk)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Nk(t){return function(){return t}}var Ok=function(){try{var t=mi(Object,"defineProperty");return t({},"",{}),t}catch{}}();const Fs=Ok;var Ak=Fs?function(t,e){return Fs(t,"toString",{configurable:!0,enumerable:!1,value:Nk(e),writable:!0})}:ng;const yk=Ak;var Ik=Rk(yk);const Dk=Ik;var xk=9007199254740991,wk=/^(?:0|[1-9]\d*)$/;function ig(t,e){var n=typeof t;return e=e??xk,!!e&&(n=="number"||n!="symbol"&&wk.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=Bk}function ia(t){return t!=null&&og(t.length)&&!rg(t)}function Gk(t,e,n){if(!kr(n))return!1;var i=typeof e;return(i=="number"?ia(n)&&ig(e,n.length):i=="string"&&e in n)?ao(n[e],t):!1}function Yk(t){return Fk(function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:void 0,l=o>2?n[2]:void 0;for(s=t.length>3&&typeof s=="function"?(o--,s):void 0,l&&Gk(n[0],n[1],l)&&(s=o<3?void 0:s,o=1),e=Object(e);++i-1}function iU(t,e){var n=this.__data__,i=js(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function pr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++eo?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(o);++i=i?t:IU(t,e,n)}var xU="\\ud800-\\udfff",wU="\\u0300-\\u036f",MU="\\ufe20-\\ufe2f",LU="\\u20d0-\\u20ff",PU=wU+MU+LU,kU="\\ufe0e\\ufe0f",UU="\\u200d",FU=RegExp("["+UU+xU+PU+kU+"]");function CR(t){return FU.test(t)}function BU(t){return t.split("")}var RR="\\ud800-\\udfff",GU="\\u0300-\\u036f",YU="\\ufe20-\\ufe2f",qU="\\u20d0-\\u20ff",$U=GU+YU+qU,HU="\\ufe0e\\ufe0f",zU="["+RR+"]",Im="["+$U+"]",Dm="\\ud83c[\\udffb-\\udfff]",VU="(?:"+Im+"|"+Dm+")",NR="[^"+RR+"]",OR="(?:\\ud83c[\\udde6-\\uddff]){2}",AR="[\\ud800-\\udbff][\\udc00-\\udfff]",WU="\\u200d",yR=VU+"?",IR="["+HU+"]?",KU="(?:"+WU+"(?:"+[NR,OR,AR].join("|")+")"+IR+yR+")*",QU=IR+yR+KU,XU="(?:"+[NR+Im+"?",Im,OR,AR,zU].join("|")+")",ZU=RegExp(Dm+"(?="+Dm+")|"+XU+QU,"g");function JU(t){return t.match(ZU)||[]}function jU(t){return CR(t)?JU(t):BU(t)}function eF(t){return function(e){e=tl(e);var n=CR(e)?jU(e):void 0,i=n?n[0]:e.charAt(0),o=n?DU(n,1).join(""):e.slice(1);return i[t]()+o}}var tF=eF("toUpperCase");const nF=tF;function rF(t,e,n,i){var o=-1,s=t==null?0:t.length;for(i&&s&&(n=t[++o]);++oc))return!1;var _=s.get(t),p=s.get(e);if(_&&p)return _==e&&p==t;var g=-1,E=!0,f=n&AB?new qs:void 0;for(s.set(t,e),s.set(e,t);++g{const p=s==null?void 0:s.value;n.mount({id:p===void 0?e:p+e,head:!0,props:{bPrefix:p?`.${p}-`:void 0},anchorMetaName:ja,ssr:l}),c!=null&&c.preflightStyleDisabled||KR.mount({id:"n-global",head:!0,anchorMetaName:ja,ssr:l})};l?_():Hm(_)}return le(()=>{var _;const{theme:{common:p,self:g,peers:E={}}={},themeOverrides:f={},builtinThemeOverrides:S={}}=o,{common:v,peers:h}=f,{common:T=void 0,[t]:{common:N=void 0,self:y=void 0,peers:x={}}={}}=(c==null?void 0:c.mergedThemeRef.value)||{},{common:P=void 0,[t]:D={}}=(c==null?void 0:c.mergedThemeOverridesRef.value)||{},{common:k,peers:U={}}=D,W=Os({},p||N||T||i.common,P,k,v),z=Os((_=g||y||i.self)===null||_===void 0?void 0:_(W),S,D,f);return{common:W,self:z,peers:Os({},i.peers,x,E),peerOverrides:Os({},S.peers,U,h)}})}fn.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const AG="n";function pi(t={},e={defaultBordered:!0}){const n=Ft(ia,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:le(()=>{var i,o;const{bordered:s}=t;return s!==void 0?s:(o=(i=n==null?void 0:n.mergedBorderedRef.value)!==null&&i!==void 0?i:e.defaultBordered)!==null&&o!==void 0?o:!0}),mergedClsPrefixRef:le(()=>(n==null?void 0:n.mergedClsPrefixRef.value)||AG),namespaceRef:le(()=>n==null?void 0:n.mergedNamespaceRef.value)}}const yG={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:t=>`Please load all ${t}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:t=>`Total ${t} items`,selected:t=>`${t} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},IG=yG;function Tu(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,i=t.formats[n]||t.formats[t.defaultWidth];return i}}function Ua(t){return function(e,n){var i=n!=null&&n.context?String(n.context):"standalone",o;if(i==="formatting"&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=t.formattingValues[l]||t.formattingValues[s]}else{var c=t.defaultWidth,d=n!=null&&n.width?String(n.width):t.defaultWidth;o=t.values[d]||t.values[c]}var _=t.argumentCallback?t.argumentCallback(e):e;return o[_]}}function Fa(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=e.match(o);if(!s)return null;var l=s[0],c=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?xG(c,function(g){return g.test(l)}):DG(c,function(g){return g.test(l)}),_;_=t.valueCallback?t.valueCallback(d):d,_=n.valueCallback?n.valueCallback(_):_;var p=e.slice(l.length);return{value:_,rest:p}}}function DG(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function xG(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},i=e.match(t.matchPattern);if(!i)return null;var o=i[0],s=e.match(t.parsePattern);if(!s)return null;var l=t.valueCallback?t.valueCallback(s[0]):s[0];l=n.valueCallback?n.valueCallback(l):l;var c=e.slice(o.length);return{value:l,rest:c}}}var MG={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},LG=function(e,n,i){var o,s=MG[e];return typeof s=="string"?o=s:n===1?o=s.one:o=s.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o};const PG=LG;var kG={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},UG={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},FG={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},BG={date:Tu({formats:kG,defaultWidth:"full"}),time:Tu({formats:UG,defaultWidth:"full"}),dateTime:Tu({formats:FG,defaultWidth:"full"})};const GG=BG;var YG={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qG=function(e,n,i,o){return YG[e]};const $G=qG;var HG={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},zG={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},VG={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},WG={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},KG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},QG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},XG=function(e,n){var i=Number(e),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},ZG={ordinalNumber:XG,era:Ua({values:HG,defaultWidth:"wide"}),quarter:Ua({values:zG,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ua({values:VG,defaultWidth:"wide"}),day:Ua({values:WG,defaultWidth:"wide"}),dayPeriod:Ua({values:KG,defaultWidth:"wide",formattingValues:QG,defaultFormattingWidth:"wide"})};const JG=ZG;var jG=/^(\d+)(th|st|nd|rd)?/i,eY=/\d+/i,tY={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},nY={any:[/^b/i,/^(a|c)/i]},rY={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iY={any:[/1/i,/2/i,/3/i,/4/i]},aY={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},oY={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},sY={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},lY={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},cY={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},uY={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},dY={ordinalNumber:wG({matchPattern:jG,parsePattern:eY,valueCallback:function(e){return parseInt(e,10)}}),era:Fa({matchPatterns:tY,defaultMatchWidth:"wide",parsePatterns:nY,defaultParseWidth:"any"}),quarter:Fa({matchPatterns:rY,defaultMatchWidth:"wide",parsePatterns:iY,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Fa({matchPatterns:aY,defaultMatchWidth:"wide",parsePatterns:oY,defaultParseWidth:"any"}),day:Fa({matchPatterns:sY,defaultMatchWidth:"wide",parsePatterns:lY,defaultParseWidth:"any"}),dayPeriod:Fa({matchPatterns:cY,defaultMatchWidth:"any",parsePatterns:uY,defaultParseWidth:"any"})};const _Y=dY;var pY={code:"en-US",formatDistance:PG,formatLong:GG,formatRelative:$G,localize:JG,match:_Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};const mY=pY,gY={name:"en-US",locale:mY},EY=gY;function fY(t){const{mergedLocaleRef:e,mergedDateLocaleRef:n}=Ft(ia,null)||{},i=le(()=>{var s,l;return(l=(s=e==null?void 0:e.value)===null||s===void 0?void 0:s[t])!==null&&l!==void 0?l:IG[t]});return{dateLocaleRef:le(()=>{var s;return(s=n==null?void 0:n.value)!==null&&s!==void 0?s:EY}),localeRef:i}}function SY(t,e,n){if(!e)return;const i=ro(),o=Ft(ia,null),s=()=>{const l=n==null?void 0:n.value;e.mount({id:l===void 0?t:l+t,head:!0,anchorMetaName:ja,props:{bPrefix:l?`.${l}-`:void 0},ssr:i}),o!=null&&o.preflightStyleDisabled||KR.mount({id:"n-global",head:!0,anchorMetaName:ja,ssr:i})};i?s():Hm(s)}function _g(t,e,n,i){var o;n||s0("useThemeClass","cssVarsRef is not passed");const s=(o=Ft(ia,null))===null||o===void 0?void 0:o.mergedThemeHashRef,l=ee(""),c=ro();let d;const _=`__${t}`,p=()=>{let g=_;const E=e?e.value:void 0,f=s==null?void 0:s.value;f&&(g+="-"+f),E&&(g+="-"+E);const{themeOverrides:S,builtinThemeOverrides:v}=i;S&&(g+="-"+Cm(JSON.stringify(S))),v&&(g+="-"+Cm(JSON.stringify(v))),l.value=g,d=()=>{const h=n.value;let T="";for(const N in h)T+=`${N}: ${h[N]};`;je(`.${g}`,T).mount({id:g,ssr:c}),d=void 0}};return si(()=>{p()}),{themeClass:l,onRender:()=>{d==null||d()}}}function bY(t,e,n){if(!e)return;const i=ro(),o=le(()=>{const{value:l}=e;if(!l)return;const c=l[t];if(c)return c}),s=()=>{si(()=>{const{value:l}=n,c=`${l}${t}Rtl`;if(R0(c,i))return;const{value:d}=o;d&&d.style.mount({id:c,head:!0,anchorMetaName:ja,props:{bPrefix:l?`.${l}-`:void 0},ssr:i})})};return i?s():Hm(s),o}function il(t,e){return be({name:eF(t),setup(){var n;const i=(n=Ft(ia,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var o;const s=(o=i==null?void 0:i.value)===null||o===void 0?void 0:o[t];return s?s():e}}})}const hY=il("rotateClockwise",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),j("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),TY=il("rotateClockwise",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),j("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),vY=il("zoomIn",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),j("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),CY=il("zoomOut",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),j("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),RY=be({name:"ResizeSmall",render(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},j("g",{fill:"none"},j("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),NY=bt("base-icon",`
+ `)]),aa="n-config-provider",eo="naive-ui-style";function fn(t,e,n,i,o,s){const l=io(),c=Ft(aa,null);if(n){const _=()=>{const p=s==null?void 0:s.value;n.mount({id:p===void 0?e:p+e,head:!0,props:{bPrefix:p?`.${p}-`:void 0},anchorMetaName:eo,ssr:l}),c!=null&&c.preflightStyleDisabled||QR.mount({id:"n-global",head:!0,anchorMetaName:eo,ssr:l})};l?_():zm(_)}return se(()=>{var _;const{theme:{common:p,self:g,peers:E={}}={},themeOverrides:f={},builtinThemeOverrides:S={}}=o,{common:T,peers:h}=f,{common:v=void 0,[t]:{common:N=void 0,self:y=void 0,peers:x={}}={}}=(c==null?void 0:c.mergedThemeRef.value)||{},{common:P=void 0,[t]:D={}}=(c==null?void 0:c.mergedThemeOverridesRef.value)||{},{common:k,peers:U={}}=D,Z=As({},p||N||v||i.common,P,k,T),q=As((_=g||y||i.self)===null||_===void 0?void 0:_(Z),S,D,f);return{common:Z,self:q,peers:As({},i.peers,x,E),peerOverrides:As({},S.peers,U,h)}})}fn.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const IG="n";function gi(t={},e={defaultBordered:!0}){const n=Ft(aa,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:se(()=>{var i,o;const{bordered:s}=t;return s!==void 0?s:(o=(i=n==null?void 0:n.mergedBorderedRef.value)!==null&&i!==void 0?i:e.defaultBordered)!==null&&o!==void 0?o:!0}),mergedClsPrefixRef:se(()=>(n==null?void 0:n.mergedClsPrefixRef.value)||IG),namespaceRef:se(()=>n==null?void 0:n.mergedNamespaceRef.value)}}const DG={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:t=>`Please load all ${t}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:t=>`Total ${t} items`,selected:t=>`${t} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},xG=DG;function Tu(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,i=t.formats[n]||t.formats[t.defaultWidth];return i}}function Fa(t){return function(e,n){var i=n!=null&&n.context?String(n.context):"standalone",o;if(i==="formatting"&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=t.formattingValues[l]||t.formattingValues[s]}else{var c=t.defaultWidth,d=n!=null&&n.width?String(n.width):t.defaultWidth;o=t.values[d]||t.values[c]}var _=t.argumentCallback?t.argumentCallback(e):e;return o[_]}}function Ba(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=e.match(o);if(!s)return null;var l=s[0],c=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?MG(c,function(g){return g.test(l)}):wG(c,function(g){return g.test(l)}),_;_=t.valueCallback?t.valueCallback(d):d,_=n.valueCallback?n.valueCallback(_):_;var p=e.slice(l.length);return{value:_,rest:p}}}function wG(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function MG(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},i=e.match(t.matchPattern);if(!i)return null;var o=i[0],s=e.match(t.parsePattern);if(!s)return null;var l=t.valueCallback?t.valueCallback(s[0]):s[0];l=n.valueCallback?n.valueCallback(l):l;var c=e.slice(o.length);return{value:l,rest:c}}}var PG={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kG=function(e,n,i){var o,s=PG[e];return typeof s=="string"?o=s:n===1?o=s.one:o=s.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o};const UG=kG;var FG={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},BG={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},GG={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},YG={date:Tu({formats:FG,defaultWidth:"full"}),time:Tu({formats:BG,defaultWidth:"full"}),dateTime:Tu({formats:GG,defaultWidth:"full"})};const qG=YG;var $G={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},HG=function(e,n,i,o){return $G[e]};const zG=HG;var VG={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},WG={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},KG={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},QG={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},XG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ZG={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},JG=function(e,n){var i=Number(e),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},jG={ordinalNumber:JG,era:Fa({values:VG,defaultWidth:"wide"}),quarter:Fa({values:WG,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Fa({values:KG,defaultWidth:"wide"}),day:Fa({values:QG,defaultWidth:"wide"}),dayPeriod:Fa({values:XG,defaultWidth:"wide",formattingValues:ZG,defaultFormattingWidth:"wide"})};const eY=jG;var tY=/^(\d+)(th|st|nd|rd)?/i,nY=/\d+/i,rY={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},iY={any:[/^b/i,/^(a|c)/i]},aY={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},oY={any:[/1/i,/2/i,/3/i,/4/i]},sY={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},lY={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cY={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},uY={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dY={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_Y={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},pY={ordinalNumber:LG({matchPattern:tY,parsePattern:nY,valueCallback:function(e){return parseInt(e,10)}}),era:Ba({matchPatterns:rY,defaultMatchWidth:"wide",parsePatterns:iY,defaultParseWidth:"any"}),quarter:Ba({matchPatterns:aY,defaultMatchWidth:"wide",parsePatterns:oY,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Ba({matchPatterns:sY,defaultMatchWidth:"wide",parsePatterns:lY,defaultParseWidth:"any"}),day:Ba({matchPatterns:cY,defaultMatchWidth:"wide",parsePatterns:uY,defaultParseWidth:"any"}),dayPeriod:Ba({matchPatterns:dY,defaultMatchWidth:"any",parsePatterns:_Y,defaultParseWidth:"any"})};const mY=pY;var gY={code:"en-US",formatDistance:UG,formatLong:qG,formatRelative:zG,localize:eY,match:mY,options:{weekStartsOn:0,firstWeekContainsDate:1}};const EY=gY,fY={name:"en-US",locale:EY},SY=fY;function bY(t){const{mergedLocaleRef:e,mergedDateLocaleRef:n}=Ft(aa,null)||{},i=se(()=>{var s,l;return(l=(s=e==null?void 0:e.value)===null||s===void 0?void 0:s[t])!==null&&l!==void 0?l:xG[t]});return{dateLocaleRef:se(()=>{var s;return(s=n==null?void 0:n.value)!==null&&s!==void 0?s:SY}),localeRef:i}}function hY(t,e,n){if(!e)return;const i=io(),o=Ft(aa,null),s=()=>{const l=n==null?void 0:n.value;e.mount({id:l===void 0?t:l+t,head:!0,anchorMetaName:eo,props:{bPrefix:l?`.${l}-`:void 0},ssr:i}),o!=null&&o.preflightStyleDisabled||QR.mount({id:"n-global",head:!0,anchorMetaName:eo,ssr:i})};i?s():zm(s)}function pg(t,e,n,i){var o;n||cP("useThemeClass","cssVarsRef is not passed");const s=(o=Ft(aa,null))===null||o===void 0?void 0:o.mergedThemeHashRef,l=ee(""),c=io();let d;const _=`__${t}`,p=()=>{let g=_;const E=e?e.value:void 0,f=s==null?void 0:s.value;f&&(g+="-"+f),E&&(g+="-"+E);const{themeOverrides:S,builtinThemeOverrides:T}=i;S&&(g+="-"+Rm(JSON.stringify(S))),T&&(g+="-"+Rm(JSON.stringify(T))),l.value=g,d=()=>{const h=n.value;let v="";for(const N in h)v+=`${N}: ${h[N]};`;je(`.${g}`,v).mount({id:g,ssr:c}),d=void 0}};return ci(()=>{p()}),{themeClass:l,onRender:()=>{d==null||d()}}}function TY(t,e,n){if(!e)return;const i=io(),o=se(()=>{const{value:l}=e;if(!l)return;const c=l[t];if(c)return c}),s=()=>{ci(()=>{const{value:l}=n,c=`${l}${t}Rtl`;if(OP(c,i))return;const{value:d}=o;d&&d.style.mount({id:c,head:!0,anchorMetaName:eo,props:{bPrefix:l?`.${l}-`:void 0},ssr:i})})};return i?s():zm(s),o}function il(t,e){return be({name:nF(t),setup(){var n;const i=(n=Ft(aa,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var o;const s=(o=i==null?void 0:i.value)===null||o===void 0?void 0:o[t];return s?s():e}}})}const vY=il("rotateClockwise",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),j("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),CY=il("rotateClockwise",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),j("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),RY=il("zoomIn",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),j("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),NY=il("zoomOut",j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),j("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),OY=be({name:"ResizeSmall",render(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},j("g",{fill:"none"},j("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),AY=St("base-icon",`
height: 1em;
width: 1em;
line-height: 1em;
@@ -36,13 +36,13 @@ ${e}
`,[je("svg",`
height: 1em;
width: 1em;
- `)]),Or=be({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(t){SY("-base-icon",NY,yt(t,"clsPrefix"))},render(){return j("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),Se={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},OY=Ki(Se.neutralBase),QR=Ki(Se.neutralInvertBase),AY="rgba("+QR.slice(0,3).join(", ")+", ";function HS(t){return AY+String(t)+")"}function Kt(t){const e=Array.from(QR);return e[3]=Number(t),PC(OY,e)}const yY=Object.assign(Object.assign({name:"common"},rl),{baseColor:Se.neutralBase,primaryColor:Se.primaryDefault,primaryColorHover:Se.primaryHover,primaryColorPressed:Se.primaryActive,primaryColorSuppl:Se.primarySuppl,infoColor:Se.infoDefault,infoColorHover:Se.infoHover,infoColorPressed:Se.infoActive,infoColorSuppl:Se.infoSuppl,successColor:Se.successDefault,successColorHover:Se.successHover,successColorPressed:Se.successActive,successColorSuppl:Se.successSuppl,warningColor:Se.warningDefault,warningColorHover:Se.warningHover,warningColorPressed:Se.warningActive,warningColorSuppl:Se.warningSuppl,errorColor:Se.errorDefault,errorColorHover:Se.errorHover,errorColorPressed:Se.errorActive,errorColorSuppl:Se.errorSuppl,textColorBase:Se.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Kt(Se.alpha4),placeholderColor:Kt(Se.alpha4),placeholderColorDisabled:Kt(Se.alpha5),iconColor:Kt(Se.alpha4),iconColorHover:fs(Kt(Se.alpha4),{lightness:.75}),iconColorPressed:fs(Kt(Se.alpha4),{lightness:.9}),iconColorDisabled:Kt(Se.alpha5),opacity1:Se.alpha1,opacity2:Se.alpha2,opacity3:Se.alpha3,opacity4:Se.alpha4,opacity5:Se.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Kt(Number(Se.alphaClose)),closeIconColorHover:Kt(Number(Se.alphaClose)),closeIconColorPressed:Kt(Number(Se.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Kt(Se.alpha4),clearColorHover:fs(Kt(Se.alpha4),{lightness:.75}),clearColorPressed:fs(Kt(Se.alpha4),{lightness:.9}),scrollbarColor:HS(Se.alphaScrollbar),scrollbarColorHover:HS(Se.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Kt(Se.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Se.neutralPopover,tableColor:Se.neutralCard,cardColor:Se.neutralCard,modalColor:Se.neutralModal,bodyColor:Se.neutralBody,tagColor:"#eee",avatarColor:Kt(Se.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Kt(Se.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Se.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ao=yY,IY=t=>{const{scrollbarColor:e,scrollbarColorHover:n}=t;return{color:e,colorHover:n}},DY={name:"Scrollbar",common:ao,self:IY},xY=DY,{cubicBezierEaseInOut:zS}=rl;function Pm({name:t="fade-in",enterDuration:e="0.2s",leaveDuration:n="0.2s",enterCubicBezier:i=zS,leaveCubicBezier:o=zS}={}){return[je(`&.${t}-transition-enter-active`,{transition:`all ${e} ${i}!important`}),je(`&.${t}-transition-leave-active`,{transition:`all ${n} ${o}!important`}),je(`&.${t}-transition-enter-from, &.${t}-transition-leave-to`,{opacity:0}),je(`&.${t}-transition-leave-from, &.${t}-transition-enter-to`,{opacity:1})]}const wY=bt("scrollbar",`
+ `)]),Or=be({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(t){hY("-base-icon",AY,yt(t,"clsPrefix"))},render(){return j("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),Se={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},yY=Qi(Se.neutralBase),XR=Qi(Se.neutralInvertBase),IY="rgba("+XR.slice(0,3).join(", ")+", ";function zS(t){return IY+String(t)+")"}function Kt(t){const e=Array.from(XR);return e[3]=Number(t),kC(yY,e)}const DY=Object.assign(Object.assign({name:"common"},rl),{baseColor:Se.neutralBase,primaryColor:Se.primaryDefault,primaryColorHover:Se.primaryHover,primaryColorPressed:Se.primaryActive,primaryColorSuppl:Se.primarySuppl,infoColor:Se.infoDefault,infoColorHover:Se.infoHover,infoColorPressed:Se.infoActive,infoColorSuppl:Se.infoSuppl,successColor:Se.successDefault,successColorHover:Se.successHover,successColorPressed:Se.successActive,successColorSuppl:Se.successSuppl,warningColor:Se.warningDefault,warningColorHover:Se.warningHover,warningColorPressed:Se.warningActive,warningColorSuppl:Se.warningSuppl,errorColor:Se.errorDefault,errorColorHover:Se.errorHover,errorColorPressed:Se.errorActive,errorColorSuppl:Se.errorSuppl,textColorBase:Se.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Kt(Se.alpha4),placeholderColor:Kt(Se.alpha4),placeholderColorDisabled:Kt(Se.alpha5),iconColor:Kt(Se.alpha4),iconColorHover:Ss(Kt(Se.alpha4),{lightness:.75}),iconColorPressed:Ss(Kt(Se.alpha4),{lightness:.9}),iconColorDisabled:Kt(Se.alpha5),opacity1:Se.alpha1,opacity2:Se.alpha2,opacity3:Se.alpha3,opacity4:Se.alpha4,opacity5:Se.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Kt(Number(Se.alphaClose)),closeIconColorHover:Kt(Number(Se.alphaClose)),closeIconColorPressed:Kt(Number(Se.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Kt(Se.alpha4),clearColorHover:Ss(Kt(Se.alpha4),{lightness:.75}),clearColorPressed:Ss(Kt(Se.alpha4),{lightness:.9}),scrollbarColor:zS(Se.alphaScrollbar),scrollbarColorHover:zS(Se.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Kt(Se.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Se.neutralPopover,tableColor:Se.neutralCard,cardColor:Se.neutralCard,modalColor:Se.neutralModal,bodyColor:Se.neutralBody,tagColor:"#eee",avatarColor:Kt(Se.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Kt(Se.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Se.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),oo=DY,xY=t=>{const{scrollbarColor:e,scrollbarColorHover:n}=t;return{color:e,colorHover:n}},wY={name:"Scrollbar",common:oo,self:xY},MY=wY,{cubicBezierEaseInOut:VS}=rl;function km({name:t="fade-in",enterDuration:e="0.2s",leaveDuration:n="0.2s",enterCubicBezier:i=VS,leaveCubicBezier:o=VS}={}){return[je(`&.${t}-transition-enter-active`,{transition:`all ${e} ${i}!important`}),je(`&.${t}-transition-leave-active`,{transition:`all ${n} ${o}!important`}),je(`&.${t}-transition-enter-from, &.${t}-transition-leave-to`,{opacity:0}),je(`&.${t}-transition-leave-from, &.${t}-transition-enter-to`,{opacity:1})]}const LY=St("scrollbar",`
overflow: hidden;
position: relative;
z-index: auto;
height: 100%;
width: 100%;
-`,[je(">",[bt("scrollbar-container",`
+`,[je(">",[St("scrollbar-container",`
width: 100%;
overflow: scroll;
height: 100%;
@@ -52,10 +52,10 @@ ${e}
width: 0;
height: 0;
display: none;
- `),je(">",[bt("scrollbar-content",`
+ `),je(">",[St("scrollbar-content",`
box-sizing: border-box;
min-width: 100%;
- `)])])]),je(">, +",[bt("scrollbar-rail",`
+ `)])])]),je(">, +",[St("scrollbar-rail",`
position: absolute;
pointer-events: none;
user-select: none;
@@ -65,7 +65,7 @@ ${e}
right: 2px;
bottom: 4px;
height: var(--n-scrollbar-height);
- `,[je(">",[jr("scrollbar",`
+ `,[je(">",[ti("scrollbar",`
height: var(--n-scrollbar-height);
border-radius: var(--n-scrollbar-border-radius);
right: 0;
@@ -74,17 +74,17 @@ ${e}
top: 2px;
bottom: 2px;
width: var(--n-scrollbar-width);
- `,[je(">",[jr("scrollbar",`
+ `,[je(">",[ti("scrollbar",`
width: var(--n-scrollbar-width);
border-radius: var(--n-scrollbar-border-radius);
bottom: 0;
- `)])]),_r("disabled",[je(">",[jr("scrollbar",{pointerEvents:"none"})])]),je(">",[jr("scrollbar",`
+ `)])]),_r("disabled",[je(">",[ti("scrollbar",{pointerEvents:"none"})])]),je(">",[ti("scrollbar",`
position: absolute;
cursor: pointer;
pointer-events: all;
background-color: var(--n-scrollbar-color);
transition: background-color .2s var(--n-scrollbar-bezier);
- `,[Pm(),je("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),MY=Object.assign(Object.assign({},fn.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),XR=be({name:"Scrollbar",props:MY,inheritAttrs:!1,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:i}=pi(t),o=bY("Scrollbar",i,e),s=ee(null),l=ee(null),c=ee(null),d=ee(null),_=ee(null),p=ee(null),g=ee(null),E=ee(null),f=ee(null),S=ee(null),v=ee(null),h=ee(0),T=ee(0),N=ee(!1),y=ee(!1);let x=!1,P=!1,D,k,U=0,W=0,z=0,K=0;const Ee=G0(),oe=le(()=>{const{value:Z}=E,{value:ge}=p,{value:Ae}=S;return Z===null||ge===null||Ae===null?0:Math.min(Z,Ae*Z/ge+t.size*1.5)}),L=le(()=>`${oe.value}px`),J=le(()=>{const{value:Z}=f,{value:ge}=g,{value:Ae}=v;return Z===null||ge===null||Ae===null?0:Ae*Z/ge+t.size*1.5}),re=le(()=>`${J.value}px`),G=le(()=>{const{value:Z}=E,{value:ge}=h,{value:Ae}=p,{value:it}=S;if(Z===null||Ae===null||it===null)return 0;{const Tt=Ae-Z;return Tt?ge/Tt*(it-oe.value):0}}),X=le(()=>`${G.value}px`),_e=le(()=>{const{value:Z}=f,{value:ge}=T,{value:Ae}=g,{value:it}=v;if(Z===null||Ae===null||it===null)return 0;{const Tt=Ae-Z;return Tt?ge/Tt*(it-J.value):0}}),ve=le(()=>`${_e.value}px`),he=le(()=>{const{value:Z}=E,{value:ge}=p;return Z!==null&&ge!==null&&ge>Z}),tt=le(()=>{const{value:Z}=f,{value:ge}=g;return Z!==null&&ge!==null&&ge>Z}),lt=le(()=>{const{trigger:Z}=t;return Z==="none"||N.value}),He=le(()=>{const{trigger:Z}=t;return Z==="none"||y.value}),Ce=le(()=>{const{container:Z}=t;return Z?Z():l.value}),Be=le(()=>{const{content:Z}=t;return Z?Z():c.value}),We=PP(()=>{t.container||rt({top:h.value,left:T.value})}),xe=()=>{We.isDeactivated||Nt()},ze=Z=>{if(We.isDeactivated)return;const{onResize:ge}=t;ge&&ge(Z),Nt()},rt=(Z,ge)=>{if(!t.scrollable)return;if(typeof Z=="number"){te(ge??0,Z,0,!1,"auto");return}const{left:Ae,top:it,index:Tt,elSize:wt,position:tn,behavior:mt,el:ln,debounce:tr=!0}=Z;(Ae!==void 0||it!==void 0)&&te(Ae??0,it??0,0,!1,mt),ln!==void 0?te(0,ln.offsetTop,ln.offsetHeight,tr,mt):Tt!==void 0&&wt!==void 0?te(0,Tt*wt,wt,tr,mt):tn==="bottom"?te(0,Number.MAX_SAFE_INTEGER,0,!1,mt):tn==="top"&&te(0,0,0,!1,mt)},Ke=(Z,ge)=>{if(!t.scrollable)return;const{value:Ae}=Ce;Ae&&(typeof Z=="object"?Ae.scrollBy(Z):Ae.scrollBy(Z,ge||0))};function te(Z,ge,Ae,it,Tt){const{value:wt}=Ce;if(wt){if(it){const{scrollTop:tn,offsetHeight:mt}=wt;if(ge>tn){ge+Ae<=tn+mt||wt.scrollTo({left:Z,top:ge+Ae-mt,behavior:Tt});return}}wt.scrollTo({left:Z,top:ge,behavior:Tt})}}function pe(){pt(),me(),Nt()}function ie(){Pe()}function Pe(){we(),Xe()}function we(){k!==void 0&&window.clearTimeout(k),k=window.setTimeout(()=>{y.value=!1},t.duration)}function Xe(){D!==void 0&&window.clearTimeout(D),D=window.setTimeout(()=>{N.value=!1},t.duration)}function pt(){D!==void 0&&window.clearTimeout(D),N.value=!0}function me(){k!==void 0&&window.clearTimeout(k),y.value=!0}function ht(Z){const{onScroll:ge}=t;ge&&ge(Z),Ue()}function Ue(){const{value:Z}=Ce;Z&&(h.value=Z.scrollTop,T.value=Z.scrollLeft*(o!=null&&o.value?-1:1))}function Ie(){const{value:Z}=Be;Z&&(p.value=Z.offsetHeight,g.value=Z.offsetWidth);const{value:ge}=Ce;ge&&(E.value=ge.offsetHeight,f.value=ge.offsetWidth);const{value:Ae}=_,{value:it}=d;Ae&&(v.value=Ae.offsetWidth),it&&(S.value=it.offsetHeight)}function zt(){const{value:Z}=Ce;Z&&(h.value=Z.scrollTop,T.value=Z.scrollLeft*(o!=null&&o.value?-1:1),E.value=Z.offsetHeight,f.value=Z.offsetWidth,p.value=Z.scrollHeight,g.value=Z.scrollWidth);const{value:ge}=_,{value:Ae}=d;ge&&(v.value=ge.offsetWidth),Ae&&(S.value=Ae.offsetHeight)}function Nt(){t.scrollable&&(t.useUnifiedContainer?zt():(Ie(),Ue()))}function Gt(Z){var ge;return!(!((ge=s.value)===null||ge===void 0)&&ge.contains(Us(Z)))}function Sn(Z){Z.preventDefault(),Z.stopPropagation(),P=!0,Ht("mousemove",window,ne,!0),Ht("mouseup",window,ce,!0),W=T.value,z=o!=null&&o.value?window.innerWidth-Z.clientX:Z.clientX}function ne(Z){if(!P)return;D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k);const{value:ge}=f,{value:Ae}=g,{value:it}=J;if(ge===null||Ae===null)return;const wt=(o!=null&&o.value?window.innerWidth-Z.clientX-z:Z.clientX-z)*(Ae-ge)/(ge-it),tn=Ae-ge;let mt=W+wt;mt=Math.min(tn,mt),mt=Math.max(mt,0);const{value:ln}=Ce;if(ln){ln.scrollLeft=mt*(o!=null&&o.value?-1:1);const{internalOnUpdateScrollLeft:tr}=t;tr&&tr(mt)}}function ce(Z){Z.preventDefault(),Z.stopPropagation(),Rt("mousemove",window,ne,!0),Rt("mouseup",window,ce,!0),P=!1,Nt(),Gt(Z)&&Pe()}function Oe(Z){Z.preventDefault(),Z.stopPropagation(),x=!0,Ht("mousemove",window,Me,!0),Ht("mouseup",window,ct,!0),U=h.value,K=Z.clientY}function Me(Z){if(!x)return;D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k);const{value:ge}=E,{value:Ae}=p,{value:it}=oe;if(ge===null||Ae===null)return;const wt=(Z.clientY-K)*(Ae-ge)/(ge-it),tn=Ae-ge;let mt=U+wt;mt=Math.min(tn,mt),mt=Math.max(mt,0);const{value:ln}=Ce;ln&&(ln.scrollTop=mt)}function ct(Z){Z.preventDefault(),Z.stopPropagation(),Rt("mousemove",window,Me,!0),Rt("mouseup",window,ct,!0),x=!1,Nt(),Gt(Z)&&Pe()}si(()=>{const{value:Z}=tt,{value:ge}=he,{value:Ae}=e,{value:it}=_,{value:Tt}=d;it&&(Z?it.classList.remove(`${Ae}-scrollbar-rail--disabled`):it.classList.add(`${Ae}-scrollbar-rail--disabled`)),Tt&&(ge?Tt.classList.remove(`${Ae}-scrollbar-rail--disabled`):Tt.classList.add(`${Ae}-scrollbar-rail--disabled`))}),kn(()=>{t.container||Nt()}),Kn(()=>{D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k),Rt("mousemove",window,Me,!0),Rt("mouseup",window,ct,!0)});const xt=fn("Scrollbar","-scrollbar",wY,xY,t,e),Ze=le(()=>{const{common:{cubicBezierEaseInOut:Z,scrollbarBorderRadius:ge,scrollbarHeight:Ae,scrollbarWidth:it},self:{color:Tt,colorHover:wt}}=xt.value;return{"--n-scrollbar-bezier":Z,"--n-scrollbar-color":Tt,"--n-scrollbar-color-hover":wt,"--n-scrollbar-border-radius":ge,"--n-scrollbar-width":it,"--n-scrollbar-height":Ae}}),Yt=n?_g("scrollbar",void 0,Ze,t):void 0;return Object.assign(Object.assign({},{scrollTo:rt,scrollBy:Ke,sync:Nt,syncUnifiedContainer:zt,handleMouseEnterWrapper:pe,handleMouseLeaveWrapper:ie}),{mergedClsPrefix:e,rtlEnabled:o,containerScrollTop:h,wrapperRef:s,containerRef:l,contentRef:c,yRailRef:d,xRailRef:_,needYBar:he,needXBar:tt,yBarSizePx:L,xBarSizePx:re,yBarTopPx:X,xBarLeftPx:ve,isShowXBar:lt,isShowYBar:He,isIos:Ee,handleScroll:ht,handleContentResize:xe,handleContainerResize:ze,handleYScrollMouseDown:Oe,handleXScrollMouseDown:Sn,cssVars:n?void 0:Ze,themeClass:Yt==null?void 0:Yt.themeClass,onRender:Yt==null?void 0:Yt.onRender})},render(){var t;const{$slots:e,mergedClsPrefix:n,triggerDisplayManually:i,rtlEnabled:o,internalHoistYRail:s}=this;if(!this.scrollable)return(t=e.default)===null||t===void 0?void 0:t.call(e);const l=this.trigger==="none",c=()=>j("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:this.verticalRailStyle,"aria-hidden":!0},j(l?zf:Hi,l?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?j("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),d=()=>{var p,g;return(p=this.onRender)===null||p===void 0||p.call(this),j("div",zm(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,o&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:i?void 0:this.handleMouseEnterWrapper,onMouseleave:i?void 0:this.handleMouseLeaveWrapper}),[this.container?(g=e.default)===null||g===void 0?void 0:g.call(e):j("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},j(pS,{onResize:this.handleContentResize},{default:()=>j("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},e)})),s?null:c(),this.xScrollable&&j("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},j(l?zf:Hi,l?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?j("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:o?this.xBarLeftPx:void 0,left:o?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},_=this.container?d():j(pS,{onResize:this.handleContainerResize},{default:d});return s?j(st,null,_,c()):_}}),LY=XR,PY=XR,{cubicBezierEaseIn:VS,cubicBezierEaseOut:WS}=rl;function kY({transformOrigin:t="inherit",duration:e=".2s",enterScale:n=".9",originalTransform:i="",originalTransition:o=""}={}){return[je("&.fade-in-scale-up-transition-leave-active",{transformOrigin:t,transition:`opacity ${e} ${VS}, transform ${e} ${VS} ${o&&","+o}`}),je("&.fade-in-scale-up-transition-enter-active",{transformOrigin:t,transition:`opacity ${e} ${WS}, transform ${e} ${WS} ${o&&","+o}`}),je("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${i} scale(${n})`}),je("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${i} scale(1)`})]}const UY={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},FY=t=>{const{boxShadow2:e,popoverColor:n,textColor2:i,borderRadius:o,fontSize:s,dividerColor:l}=t;return Object.assign(Object.assign({},UY),{fontSize:s,borderRadius:o,color:n,dividerColor:l,textColor:i,boxShadow:e})},BY={name:"Popover",common:ao,self:FY},ZR=BY,vu={top:"bottom",bottom:"top",left:"right",right:"left"},Pt="var(--n-arrow-height) * 1.414",GY=je([bt("popover",`
+ `,[km(),je("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),PY=Object.assign(Object.assign({},fn.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),ZR=be({name:"Scrollbar",props:PY,inheritAttrs:!1,setup(t){const{mergedClsPrefixRef:e,inlineThemeDisabled:n,mergedRtlRef:i}=gi(t),o=TY("Scrollbar",i,e),s=ee(null),l=ee(null),c=ee(null),d=ee(null),_=ee(null),p=ee(null),g=ee(null),E=ee(null),f=ee(null),S=ee(null),T=ee(null),h=ee(0),v=ee(0),N=ee(!1),y=ee(!1);let x=!1,P=!1,D,k,U=0,Z=0,q=0,W=0;const _e=qP(),Ee=se(()=>{const{value:J}=E,{value:ge}=p,{value:Ae}=S;return J===null||ge===null||Ae===null?0:Math.min(J,Ae*J/ge+t.size*1.5)}),L=se(()=>`${Ee.value}px`),Q=se(()=>{const{value:J}=f,{value:ge}=g,{value:Ae}=T;return J===null||ge===null||Ae===null?0:Ae*J/ge+t.size*1.5}),re=se(()=>`${Q.value}px`),G=se(()=>{const{value:J}=E,{value:ge}=h,{value:Ae}=p,{value:it}=S;if(J===null||Ae===null||it===null)return 0;{const ht=Ae-J;return ht?ge/ht*(it-Ee.value):0}}),X=se(()=>`${G.value}px`),ue=se(()=>{const{value:J}=f,{value:ge}=v,{value:Ae}=g,{value:it}=T;if(J===null||Ae===null||it===null)return 0;{const ht=Ae-J;return ht?ge/ht*(it-Q.value):0}}),ve=se(()=>`${ue.value}px`),he=se(()=>{const{value:J}=E,{value:ge}=p;return J!==null&&ge!==null&&ge>J}),tt=se(()=>{const{value:J}=f,{value:ge}=g;return J!==null&&ge!==null&&ge>J}),lt=se(()=>{const{trigger:J}=t;return J==="none"||N.value}),$e=se(()=>{const{trigger:J}=t;return J==="none"||y.value}),Ce=se(()=>{const{container:J}=t;return J?J():l.value}),Be=se(()=>{const{content:J}=t;return J?J():c.value}),Ve=U0(()=>{t.container||rt({top:h.value,left:v.value})}),xe=()=>{Ve.isDeactivated||Nt()},He=J=>{if(Ve.isDeactivated)return;const{onResize:ge}=t;ge&&ge(J),Nt()},rt=(J,ge)=>{if(!t.scrollable)return;if(typeof J=="number"){te(ge??0,J,0,!1,"auto");return}const{left:Ae,top:it,index:ht,elSize:wt,position:tn,behavior:mt,el:cn,debounce:tr=!0}=J;(Ae!==void 0||it!==void 0)&&te(Ae??0,it??0,0,!1,mt),cn!==void 0?te(0,cn.offsetTop,cn.offsetHeight,tr,mt):ht!==void 0&&wt!==void 0?te(0,ht*wt,wt,tr,mt):tn==="bottom"?te(0,Number.MAX_SAFE_INTEGER,0,!1,mt):tn==="top"&&te(0,0,0,!1,mt)},We=(J,ge)=>{if(!t.scrollable)return;const{value:Ae}=Ce;Ae&&(typeof J=="object"?Ae.scrollBy(J):Ae.scrollBy(J,ge||0))};function te(J,ge,Ae,it,ht){const{value:wt}=Ce;if(wt){if(it){const{scrollTop:tn,offsetHeight:mt}=wt;if(ge>tn){ge+Ae<=tn+mt||wt.scrollTo({left:J,top:ge+Ae-mt,behavior:ht});return}}wt.scrollTo({left:J,top:ge,behavior:ht})}}function pe(){pt(),me(),Nt()}function ie(){Pe()}function Pe(){we(),Xe()}function we(){k!==void 0&&window.clearTimeout(k),k=window.setTimeout(()=>{y.value=!1},t.duration)}function Xe(){D!==void 0&&window.clearTimeout(D),D=window.setTimeout(()=>{N.value=!1},t.duration)}function pt(){D!==void 0&&window.clearTimeout(D),N.value=!0}function me(){k!==void 0&&window.clearTimeout(k),y.value=!0}function bt(J){const{onScroll:ge}=t;ge&&ge(J),Ue()}function Ue(){const{value:J}=Ce;J&&(h.value=J.scrollTop,v.value=J.scrollLeft*(o!=null&&o.value?-1:1))}function Ie(){const{value:J}=Be;J&&(p.value=J.offsetHeight,g.value=J.offsetWidth);const{value:ge}=Ce;ge&&(E.value=ge.offsetHeight,f.value=ge.offsetWidth);const{value:Ae}=_,{value:it}=d;Ae&&(T.value=Ae.offsetWidth),it&&(S.value=it.offsetHeight)}function zt(){const{value:J}=Ce;J&&(h.value=J.scrollTop,v.value=J.scrollLeft*(o!=null&&o.value?-1:1),E.value=J.offsetHeight,f.value=J.offsetWidth,p.value=J.scrollHeight,g.value=J.scrollWidth);const{value:ge}=_,{value:Ae}=d;ge&&(T.value=ge.offsetWidth),Ae&&(S.value=Ae.offsetHeight)}function Nt(){t.scrollable&&(t.useUnifiedContainer?zt():(Ie(),Ue()))}function Gt(J){var ge;return!(!((ge=s.value)===null||ge===void 0)&&ge.contains(Us(J)))}function Sn(J){J.preventDefault(),J.stopPropagation(),P=!0,Ht("mousemove",window,ne,!0),Ht("mouseup",window,le,!0),Z=v.value,q=o!=null&&o.value?window.innerWidth-J.clientX:J.clientX}function ne(J){if(!P)return;D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k);const{value:ge}=f,{value:Ae}=g,{value:it}=Q;if(ge===null||Ae===null)return;const wt=(o!=null&&o.value?window.innerWidth-J.clientX-q:J.clientX-q)*(Ae-ge)/(ge-it),tn=Ae-ge;let mt=Z+wt;mt=Math.min(tn,mt),mt=Math.max(mt,0);const{value:cn}=Ce;if(cn){cn.scrollLeft=mt*(o!=null&&o.value?-1:1);const{internalOnUpdateScrollLeft:tr}=t;tr&&tr(mt)}}function le(J){J.preventDefault(),J.stopPropagation(),Rt("mousemove",window,ne,!0),Rt("mouseup",window,le,!0),P=!1,Nt(),Gt(J)&&Pe()}function Oe(J){J.preventDefault(),J.stopPropagation(),x=!0,Ht("mousemove",window,Me,!0),Ht("mouseup",window,ct,!0),U=h.value,W=J.clientY}function Me(J){if(!x)return;D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k);const{value:ge}=E,{value:Ae}=p,{value:it}=Ee;if(ge===null||Ae===null)return;const wt=(J.clientY-W)*(Ae-ge)/(ge-it),tn=Ae-ge;let mt=U+wt;mt=Math.min(tn,mt),mt=Math.max(mt,0);const{value:cn}=Ce;cn&&(cn.scrollTop=mt)}function ct(J){J.preventDefault(),J.stopPropagation(),Rt("mousemove",window,Me,!0),Rt("mouseup",window,ct,!0),x=!1,Nt(),Gt(J)&&Pe()}ci(()=>{const{value:J}=tt,{value:ge}=he,{value:Ae}=e,{value:it}=_,{value:ht}=d;it&&(J?it.classList.remove(`${Ae}-scrollbar-rail--disabled`):it.classList.add(`${Ae}-scrollbar-rail--disabled`)),ht&&(ge?ht.classList.remove(`${Ae}-scrollbar-rail--disabled`):ht.classList.add(`${Ae}-scrollbar-rail--disabled`))}),kn(()=>{t.container||Nt()}),Kn(()=>{D!==void 0&&window.clearTimeout(D),k!==void 0&&window.clearTimeout(k),Rt("mousemove",window,Me,!0),Rt("mouseup",window,ct,!0)});const xt=fn("Scrollbar","-scrollbar",LY,MY,t,e),Ze=se(()=>{const{common:{cubicBezierEaseInOut:J,scrollbarBorderRadius:ge,scrollbarHeight:Ae,scrollbarWidth:it},self:{color:ht,colorHover:wt}}=xt.value;return{"--n-scrollbar-bezier":J,"--n-scrollbar-color":ht,"--n-scrollbar-color-hover":wt,"--n-scrollbar-border-radius":ge,"--n-scrollbar-width":it,"--n-scrollbar-height":Ae}}),Yt=n?pg("scrollbar",void 0,Ze,t):void 0;return Object.assign(Object.assign({},{scrollTo:rt,scrollBy:We,sync:Nt,syncUnifiedContainer:zt,handleMouseEnterWrapper:pe,handleMouseLeaveWrapper:ie}),{mergedClsPrefix:e,rtlEnabled:o,containerScrollTop:h,wrapperRef:s,containerRef:l,contentRef:c,yRailRef:d,xRailRef:_,needYBar:he,needXBar:tt,yBarSizePx:L,xBarSizePx:re,yBarTopPx:X,xBarLeftPx:ve,isShowXBar:lt,isShowYBar:$e,isIos:_e,handleScroll:bt,handleContentResize:xe,handleContainerResize:He,handleYScrollMouseDown:Oe,handleXScrollMouseDown:Sn,cssVars:n?void 0:Ze,themeClass:Yt==null?void 0:Yt.themeClass,onRender:Yt==null?void 0:Yt.onRender})},render(){var t;const{$slots:e,mergedClsPrefix:n,triggerDisplayManually:i,rtlEnabled:o,internalHoistYRail:s}=this;if(!this.scrollable)return(t=e.default)===null||t===void 0?void 0:t.call(e);const l=this.trigger==="none",c=()=>j("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:this.verticalRailStyle,"aria-hidden":!0},j(l?Vf:zi,l?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?j("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),d=()=>{var p,g;return(p=this.onRender)===null||p===void 0||p.call(this),j("div",Vm(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,o&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:i?void 0:this.handleMouseEnterWrapper,onMouseleave:i?void 0:this.handleMouseLeaveWrapper}),[this.container?(g=e.default)===null||g===void 0?void 0:g.call(e):j("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},j(mS,{onResize:this.handleContentResize},{default:()=>j("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},e)})),s?null:c(),this.xScrollable&&j("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},j(l?Vf:zi,l?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?j("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:o?this.xBarLeftPx:void 0,left:o?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},_=this.container?d():j(mS,{onResize:this.handleContainerResize},{default:d});return s?j(st,null,_,c()):_}}),kY=ZR,UY=ZR,{cubicBezierEaseIn:WS,cubicBezierEaseOut:KS}=rl;function FY({transformOrigin:t="inherit",duration:e=".2s",enterScale:n=".9",originalTransform:i="",originalTransition:o=""}={}){return[je("&.fade-in-scale-up-transition-leave-active",{transformOrigin:t,transition:`opacity ${e} ${WS}, transform ${e} ${WS} ${o&&","+o}`}),je("&.fade-in-scale-up-transition-enter-active",{transformOrigin:t,transition:`opacity ${e} ${KS}, transform ${e} ${KS} ${o&&","+o}`}),je("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${i} scale(${n})`}),je("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${i} scale(1)`})]}const BY={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},GY=t=>{const{boxShadow2:e,popoverColor:n,textColor2:i,borderRadius:o,fontSize:s,dividerColor:l}=t;return Object.assign(Object.assign({},BY),{fontSize:s,borderRadius:o,color:n,dividerColor:l,textColor:i,boxShadow:e})},YY={name:"Popover",common:oo,self:GY},JR=YY,vu={top:"bottom",bottom:"top",left:"right",right:"left"},Pt="var(--n-arrow-height) * 1.414",qY=je([St("popover",`
transition:
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier),
@@ -94,29 +94,29 @@ ${e}
color: var(--n-text-color);
box-shadow: var(--n-box-shadow);
word-break: break-word;
- `,[je(">",[bt("scrollbar",`
+ `,[je(">",[St("scrollbar",`
height: inherit;
max-height: inherit;
- `)]),$a("raw",`
+ `)]),Ha("raw",`
background-color: var(--n-color);
border-radius: var(--n-border-radius);
- `,[$a("scrollable",[$a("show-header-or-footer","padding: var(--n-padding);")])]),jr("header",`
+ `,[Ha("scrollable",[Ha("show-header-or-footer","padding: var(--n-padding);")])]),ti("header",`
padding: var(--n-padding);
border-bottom: 1px solid var(--n-divider-color);
transition: border-color .3s var(--n-bezier);
- `),jr("footer",`
+ `),ti("footer",`
padding: var(--n-padding);
border-top: 1px solid var(--n-divider-color);
transition: border-color .3s var(--n-bezier);
- `),_r("scrollable, show-header-or-footer",[jr("content",`
+ `),_r("scrollable, show-header-or-footer",[ti("content",`
padding: var(--n-padding);
- `)])]),bt("popover-shared",`
+ `)])]),St("popover-shared",`
transform-origin: inherit;
- `,[bt("popover-arrow-wrapper",`
+ `,[St("popover-arrow-wrapper",`
position: absolute;
overflow: hidden;
pointer-events: none;
- `,[bt("popover-arrow",`
+ `,[St("popover-arrow",`
transition: background-color .3s var(--n-bezier);
position: absolute;
display: block;
@@ -186,13 +186,13 @@ ${e}
`),An("right-end",`
right: calc(${Pt} / -2);
bottom: calc(${dr("right-end")} + var(--v-offset-top));
- `),...hG({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(t,e)=>{const n=["right","left"].includes(e),i=n?"width":"height";return t.map(o=>{const s=o.split("-")[1]==="end",c=`calc((${`var(--v-target-${i}, 0px)`} - ${Pt}) / 2)`,d=dr(o);return je(`[v-placement="${o}"] >`,[bt("popover-shared",[_r("center-arrow",[bt("popover-arrow",`${e}: calc(max(${c}, ${d}) ${s?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function dr(t){return["top","bottom"].includes(t.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function An(t,e){const n=t.split("-")[0],i=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return je(`[v-placement="${t}"] >`,[bt("popover-shared",`
+ `),...vG({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(t,e)=>{const n=["right","left"].includes(e),i=n?"width":"height";return t.map(o=>{const s=o.split("-")[1]==="end",c=`calc((${`var(--v-target-${i}, 0px)`} - ${Pt}) / 2)`,d=dr(o);return je(`[v-placement="${o}"] >`,[St("popover-shared",[_r("center-arrow",[St("popover-arrow",`${e}: calc(max(${c}, ${d}) ${s?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function dr(t){return["top","bottom"].includes(t.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function An(t,e){const n=t.split("-")[0],i=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return je(`[v-placement="${t}"] >`,[St("popover-shared",`
margin-${vu[n]}: var(--n-space);
`,[_r("show-arrow",`
margin-${vu[n]}: var(--n-space-arrow);
`),_r("overlap",`
margin: 0;
- `),D0("popover-arrow-wrapper",`
+ `),wP("popover-arrow-wrapper",`
right: 0;
left: 0;
top: 0;
@@ -200,7 +200,7 @@ ${e}
${n}: 100%;
${vu[n]}: auto;
${i}
- `,[bt("popover-arrow",e)])])])}const JR=Object.assign(Object.assign({},fn.props),{to:Qi.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),YY=({arrowStyle:t,clsPrefix:e})=>j("div",{key:"__popover-arrow__",class:`${e}-popover-arrow-wrapper`},j("div",{class:`${e}-popover-arrow`,style:t})),qY=be({name:"PopoverBody",inheritAttrs:!1,props:JR,setup(t,{slots:e,attrs:n}){const{namespaceRef:i,mergedClsPrefixRef:o,inlineThemeDisabled:s}=pi(t),l=fn("Popover","-popover",GY,ZR,t,o),c=ee(null),d=Ft("NPopover"),_=ee(null),p=ee(t.show),g=ee(!1);si(()=>{const{show:k}=t;k&&!x0()&&!t.internalDeactivateImmediately&&(g.value=!0)});const E=le(()=>{const{trigger:k,onClickoutside:U}=t,W=[],{positionManuallyRef:{value:z}}=d;return z||(k==="click"&&!U&&W.push([Zf,x,void 0,{capture:!0}]),k==="hover"&&W.push([K0,y])),U&&W.push([Zf,x,void 0,{capture:!0}]),(t.displayDirective==="show"||t.animated&&g.value)&&W.push([Xs,t.show]),W}),f=le(()=>{const k=t.width==="trigger"?void 0:du(t.width),U=[];k&&U.push({width:k});const{maxWidth:W,minWidth:z}=t;return W&&U.push({maxWidth:du(W)}),z&&U.push({maxWidth:du(z)}),s||U.push(S.value),U}),S=le(()=>{const{common:{cubicBezierEaseInOut:k,cubicBezierEaseIn:U,cubicBezierEaseOut:W},self:{space:z,spaceArrow:K,padding:Ee,fontSize:oe,textColor:L,dividerColor:J,color:re,boxShadow:G,borderRadius:X,arrowHeight:_e,arrowOffset:ve,arrowOffsetVertical:he}}=l.value;return{"--n-box-shadow":G,"--n-bezier":k,"--n-bezier-ease-in":U,"--n-bezier-ease-out":W,"--n-font-size":oe,"--n-text-color":L,"--n-color":re,"--n-divider-color":J,"--n-border-radius":X,"--n-arrow-height":_e,"--n-arrow-offset":ve,"--n-arrow-offset-vertical":he,"--n-padding":Ee,"--n-space":z,"--n-space-arrow":K}}),v=s?_g("popover",void 0,S,t):void 0;d.setBodyInstance({syncPosition:h}),Kn(()=>{d.setBodyInstance(null)}),Zt(yt(t,"show"),k=>{t.animated||(k?p.value=!0:p.value=!1)});function h(){var k;(k=c.value)===null||k===void 0||k.syncPosition()}function T(k){t.trigger==="hover"&&t.keepAliveOnHover&&t.show&&d.handleMouseEnter(k)}function N(k){t.trigger==="hover"&&t.keepAliveOnHover&&d.handleMouseLeave(k)}function y(k){t.trigger==="hover"&&!P().contains(Us(k))&&d.handleMouseMoveOutside(k)}function x(k){(t.trigger==="click"&&!P().contains(Us(k))||t.onClickoutside)&&d.handleClickOutside(k)}function P(){return d.getTriggerElement()}ni(VC,_),ni(zC,null),ni(HC,null);function D(){if(v==null||v.onRender(),!(t.displayDirective==="show"||t.show||t.animated&&g.value))return null;let U;const W=d.internalRenderBodyRef.value,{value:z}=o;if(W)U=W([`${z}-popover-shared`,v==null?void 0:v.themeClass.value,t.overlap&&`${z}-popover-shared--overlap`,t.showArrow&&`${z}-popover-shared--show-arrow`,t.arrowPointToCenter&&`${z}-popover-shared--center-arrow`],_,f.value,T,N);else{const{value:K}=d.extraClassRef,{internalTrapFocus:Ee}=t,oe=!Hf(e.header)||!Hf(e.footer),L=()=>{var J;const re=oe?j(st,null,uu(e.header,_e=>_e?j("div",{class:`${z}-popover__header`,style:t.headerStyle},_e):null),uu(e.default,_e=>_e?j("div",{class:`${z}-popover__content`,style:t.contentStyle},e):null),uu(e.footer,_e=>_e?j("div",{class:`${z}-popover__footer`,style:t.footerStyle},_e):null)):t.scrollable?(J=e.default)===null||J===void 0?void 0:J.call(e):j("div",{class:`${z}-popover__content`,style:t.contentStyle},e),G=t.scrollable?j(PY,{contentClass:oe?void 0:`${z}-popover__content`,contentStyle:oe?void 0:t.contentStyle},{default:()=>re}):re,X=t.showArrow?YY({arrowStyle:t.arrowStyle,clsPrefix:z}):null;return[G,X]};U=j("div",zm({class:[`${z}-popover`,`${z}-popover-shared`,v==null?void 0:v.themeClass.value,K.map(J=>`${z}-${J}`),{[`${z}-popover--scrollable`]:t.scrollable,[`${z}-popover--show-header-or-footer`]:oe,[`${z}-popover--raw`]:t.raw,[`${z}-popover-shared--overlap`]:t.overlap,[`${z}-popover-shared--show-arrow`]:t.showArrow,[`${z}-popover-shared--center-arrow`]:t.arrowPointToCenter}],ref:_,style:f.value,onKeydown:d.handleKeydown,onMouseenter:T,onMouseleave:N},n),Ee?j(LP,{active:t.show,autoFocus:!0},{default:L}):L())}return Pn(U,E.value)}return{displayed:g,namespace:i,isMounted:d.isMountedRef,zIndex:d.zIndexRef,followerRef:c,adjustedTo:Qi(t),followerEnabled:p,renderContentNode:D}},render(){return j(uP,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Qi.tdkey},{default:()=>this.animated?j(Hi,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var t;(t=this.internalOnAfterLeave)===null||t===void 0||t.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),$Y=Object.keys(JR),HY={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function zY(t,e,n){HY[e].forEach(i=>{t.props?t.props=Object.assign({},t.props):t.props={};const o=t.props[i],s=n[i];o?t.props[i]=(...l)=>{o(...l),s(...l)}:t.props[i]=s})}const jR={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Qi.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},VY=Object.assign(Object.assign(Object.assign({},fn.props),jR),{internalOnAfterLeave:Function,internalRenderBody:Function}),WY=be({name:"Popover",inheritAttrs:!1,props:VY,__popover__:!0,setup(t){const e=Zm(),n=ee(null),i=le(()=>t.show),o=ee(t.defaultShow),s=U0(i,o),l=Qa(()=>t.disabled?!1:s.value),c=()=>{if(t.disabled)return!0;const{getDisabled:L}=t;return!!(L!=null&&L())},d=()=>c()?!1:s.value,_=F0(t,["arrow","showArrow"]),p=le(()=>t.overlap?!1:_.value);let g=null;const E=ee(null),f=ee(null),S=Qa(()=>t.x!==void 0&&t.y!==void 0);function v(L){const{"onUpdate:show":J,onUpdateShow:re,onShow:G,onHide:X}=t;o.value=L,J&&Ga(J,L),re&&Ga(re,L),L&&G&&Ga(G,!0),L&&X&&Ga(X,!1)}function h(){g&&g.syncPosition()}function T(){const{value:L}=E;L&&(window.clearTimeout(L),E.value=null)}function N(){const{value:L}=f;L&&(window.clearTimeout(L),f.value=null)}function y(){const L=c();if(t.trigger==="focus"&&!L){if(d())return;v(!0)}}function x(){const L=c();if(t.trigger==="focus"&&!L){if(!d())return;v(!1)}}function P(){const L=c();if(t.trigger==="hover"&&!L){if(N(),E.value!==null||d())return;const J=()=>{v(!0),E.value=null},{delay:re}=t;re===0?J():E.value=window.setTimeout(J,re)}}function D(){const L=c();if(t.trigger==="hover"&&!L){if(T(),f.value!==null||!d())return;const J=()=>{v(!1),f.value=null},{duration:re}=t;re===0?J():f.value=window.setTimeout(J,re)}}function k(){D()}function U(L){var J;d()&&(t.trigger==="click"&&(T(),N(),v(!1)),(J=t.onClickoutside)===null||J===void 0||J.call(t,L))}function W(){if(t.trigger==="click"&&!c()){T(),N();const L=!d();v(L)}}function z(L){t.internalTrapFocus&&L.key==="Escape"&&(T(),N(),v(!1))}function K(L){o.value=L}function Ee(){var L;return(L=n.value)===null||L===void 0?void 0:L.targetRef}function oe(L){g=L}return ni("NPopover",{getTriggerElement:Ee,handleKeydown:z,handleMouseEnter:P,handleMouseLeave:D,handleClickOutside:U,handleMouseMoveOutside:k,setBodyInstance:oe,positionManuallyRef:S,isMountedRef:e,zIndexRef:yt(t,"zIndex"),extraClassRef:yt(t,"internalExtraClass"),internalRenderBodyRef:yt(t,"internalRenderBody")}),si(()=>{s.value&&c()&&v(!1)}),{binderInstRef:n,positionManually:S,mergedShowConsideringDisabledProp:l,uncontrolledShow:o,mergedShowArrow:p,getMergedShow:d,setShow:K,handleClick:W,handleMouseEnter:P,handleMouseLeave:D,handleFocus:y,handleBlur:x,syncPosition:h}},render(){var t;const{positionManually:e,$slots:n}=this;let i,o=!1;if(!e&&(n.activator?i=$f(n,"activator"):i=$f(n,"trigger"),i)){i=Ya(i),i=i.type===Vm?j("span",[i]):i;const s={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((t=i.type)===null||t===void 0)&&t.__popover__)o=!0,i.props||(i.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),i.props.internalSyncTargetWithParent=!0,i.props.internalInheritedEventHandlers?i.props.internalInheritedEventHandlers=[s,...i.props.internalInheritedEventHandlers]:i.props.internalInheritedEventHandlers=[s];else{const{internalInheritedEventHandlers:l}=this,c=[s,...l],d={onBlur:_=>{c.forEach(p=>{p.onBlur(_)})},onFocus:_=>{c.forEach(p=>{p.onFocus(_)})},onClick:_=>{c.forEach(p=>{p.onClick(_)})},onMouseenter:_=>{c.forEach(p=>{p.onMouseenter(_)})},onMouseleave:_=>{c.forEach(p=>{p.onMouseleave(_)})}};zY(i,l?"nested":e?"manual":this.trigger,d)}}return j(z0,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const s=this.getMergedShow();return[this.internalTrapFocus&&s?Pn(j("div",{style:{position:"fixed",inset:0}}),[[Jm,{enabled:s,zIndex:this.zIndex}]]):null,e?null:j(V0,null,{default:()=>i}),j(qY,o0(this.$props,$Y,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:s})),{default:()=>{var l,c;return(c=(l=this.$slots).default)===null||c===void 0?void 0:c.call(l)},header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},footer:()=>{var l,c;return(c=(l=this.$slots).footer)===null||c===void 0?void 0:c.call(l)}})]}})}}),KY=w0&&"loading"in document.createElement("img"),QY=(t={})=>{var e;const{root:n=null}=t;return{hash:`${t.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(t.threshold)?t.threshold.join(","):(e=t.threshold)!==null&&e!==void 0?e:"0"}`,options:Object.assign(Object.assign({},t),{root:(typeof n=="string"?document.querySelector(n):n)||document.documentElement})}},Cu=new WeakMap,Ru=new WeakMap,Nu=new WeakMap,XY=(t,e,n)=>{if(!t)return()=>{};const i=QY(e),{root:o}=i.options;let s;const l=Cu.get(o);l?s=l:(s=new Map,Cu.set(o,s));let c,d;s.has(i.hash)?(d=s.get(i.hash),d[1].has(t)||(c=d[0],d[1].add(t),c.observe(t))):(c=new IntersectionObserver(g=>{g.forEach(E=>{if(E.isIntersecting){const f=Ru.get(E.target),S=Nu.get(E.target);f&&f(),S&&(S.value=!0)}})},i.options),c.observe(t),d=[c,new Set([t])],s.set(i.hash,d));let _=!1;const p=()=>{_||(Ru.delete(t),Nu.delete(t),_=!0,d[1].has(t)&&(d[0].unobserve(t),d[1].delete(t)),d[1].size<=0&&s.delete(i.hash),s.size||Cu.delete(o))};return Ru.set(t,p),Nu.set(t,n),p},ZY={padding:"8px 14px"},JY=t=>{const{borderRadius:e,boxShadow2:n,baseColor:i}=t;return Object.assign(Object.assign({},ZY),{borderRadius:e,boxShadow:n,color:PC(i,"rgba(0, 0, 0, .85)"),textColor:i})},jY={name:"Tooltip",common:ao,peers:{Popover:ZR},self:JY},pg=jY,eq={name:"Ellipsis",common:ao,peers:{Tooltip:pg}},tq=eq,nq=Object.assign(Object.assign({},jR),fn.props),eN=be({name:"Tooltip",props:nq,__popover__:!0,setup(t){const{mergedClsPrefixRef:e}=pi(t),n=fn("Tooltip","-tooltip",void 0,pg,t,e),i=ee(null);return Object.assign(Object.assign({},{syncPosition(){i.value.syncPosition()},setShow(s){i.value.setShow(s)}}),{popoverRef:i,mergedTheme:n,popoverThemeOverrides:le(()=>n.value.self)})},render(){const{mergedTheme:t,internalExtraClass:e}=this;return j(WY,Object.assign(Object.assign({},this.$props),{theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:e.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),rq=bt("ellipsis",{overflow:"hidden"},[$a("line-clamp",`
+ `,[St("popover-arrow",e)])])])}const jR=Object.assign(Object.assign({},fn.props),{to:Xi.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),$Y=({arrowStyle:t,clsPrefix:e})=>j("div",{key:"__popover-arrow__",class:`${e}-popover-arrow-wrapper`},j("div",{class:`${e}-popover-arrow`,style:t})),HY=be({name:"PopoverBody",inheritAttrs:!1,props:jR,setup(t,{slots:e,attrs:n}){const{namespaceRef:i,mergedClsPrefixRef:o,inlineThemeDisabled:s}=gi(t),l=fn("Popover","-popover",qY,JR,t,o),c=ee(null),d=Ft("NPopover"),_=ee(null),p=ee(t.show),g=ee(!1);ci(()=>{const{show:k}=t;k&&!MP()&&!t.internalDeactivateImmediately&&(g.value=!0)});const E=se(()=>{const{trigger:k,onClickoutside:U}=t,Z=[],{positionManuallyRef:{value:q}}=d;return q||(k==="click"&&!U&&Z.push([Jf,x,void 0,{capture:!0}]),k==="hover"&&Z.push([XP,y])),U&&Z.push([Jf,x,void 0,{capture:!0}]),(t.displayDirective==="show"||t.animated&&g.value)&&Z.push([Xs,t.show]),Z}),f=se(()=>{const k=t.width==="trigger"?void 0:du(t.width),U=[];k&&U.push({width:k});const{maxWidth:Z,minWidth:q}=t;return Z&&U.push({maxWidth:du(Z)}),q&&U.push({maxWidth:du(q)}),s||U.push(S.value),U}),S=se(()=>{const{common:{cubicBezierEaseInOut:k,cubicBezierEaseIn:U,cubicBezierEaseOut:Z},self:{space:q,spaceArrow:W,padding:_e,fontSize:Ee,textColor:L,dividerColor:Q,color:re,boxShadow:G,borderRadius:X,arrowHeight:ue,arrowOffset:ve,arrowOffsetVertical:he}}=l.value;return{"--n-box-shadow":G,"--n-bezier":k,"--n-bezier-ease-in":U,"--n-bezier-ease-out":Z,"--n-font-size":Ee,"--n-text-color":L,"--n-color":re,"--n-divider-color":Q,"--n-border-radius":X,"--n-arrow-height":ue,"--n-arrow-offset":ve,"--n-arrow-offset-vertical":he,"--n-padding":_e,"--n-space":q,"--n-space-arrow":W}}),T=s?pg("popover",void 0,S,t):void 0;d.setBodyInstance({syncPosition:h}),Kn(()=>{d.setBodyInstance(null)}),Zt(yt(t,"show"),k=>{t.animated||(k?p.value=!0:p.value=!1)});function h(){var k;(k=c.value)===null||k===void 0||k.syncPosition()}function v(k){t.trigger==="hover"&&t.keepAliveOnHover&&t.show&&d.handleMouseEnter(k)}function N(k){t.trigger==="hover"&&t.keepAliveOnHover&&d.handleMouseLeave(k)}function y(k){t.trigger==="hover"&&!P().contains(Us(k))&&d.handleMouseMoveOutside(k)}function x(k){(t.trigger==="click"&&!P().contains(Us(k))||t.onClickoutside)&&d.handleClickOutside(k)}function P(){return d.getTriggerElement()}ii(WC,_),ii(VC,null),ii(zC,null);function D(){if(T==null||T.onRender(),!(t.displayDirective==="show"||t.show||t.animated&&g.value))return null;let U;const Z=d.internalRenderBodyRef.value,{value:q}=o;if(Z)U=Z([`${q}-popover-shared`,T==null?void 0:T.themeClass.value,t.overlap&&`${q}-popover-shared--overlap`,t.showArrow&&`${q}-popover-shared--show-arrow`,t.arrowPointToCenter&&`${q}-popover-shared--center-arrow`],_,f.value,v,N);else{const{value:W}=d.extraClassRef,{internalTrapFocus:_e}=t,Ee=!zf(e.header)||!zf(e.footer),L=()=>{var Q;const re=Ee?j(st,null,uu(e.header,ue=>ue?j("div",{class:`${q}-popover__header`,style:t.headerStyle},ue):null),uu(e.default,ue=>ue?j("div",{class:`${q}-popover__content`,style:t.contentStyle},e):null),uu(e.footer,ue=>ue?j("div",{class:`${q}-popover__footer`,style:t.footerStyle},ue):null)):t.scrollable?(Q=e.default)===null||Q===void 0?void 0:Q.call(e):j("div",{class:`${q}-popover__content`,style:t.contentStyle},e),G=t.scrollable?j(UY,{contentClass:Ee?void 0:`${q}-popover__content`,contentStyle:Ee?void 0:t.contentStyle},{default:()=>re}):re,X=t.showArrow?$Y({arrowStyle:t.arrowStyle,clsPrefix:q}):null;return[G,X]};U=j("div",Vm({class:[`${q}-popover`,`${q}-popover-shared`,T==null?void 0:T.themeClass.value,W.map(Q=>`${q}-${Q}`),{[`${q}-popover--scrollable`]:t.scrollable,[`${q}-popover--show-header-or-footer`]:Ee,[`${q}-popover--raw`]:t.raw,[`${q}-popover-shared--overlap`]:t.overlap,[`${q}-popover-shared--show-arrow`]:t.showArrow,[`${q}-popover-shared--center-arrow`]:t.arrowPointToCenter}],ref:_,style:f.value,onKeydown:d.handleKeydown,onMouseenter:v,onMouseleave:N},n),_e?j(k0,{active:t.show,autoFocus:!0},{default:L}):L())}return Pn(U,E.value)}return{displayed:g,namespace:i,isMounted:d.isMountedRef,zIndex:d.zIndexRef,followerRef:c,adjustedTo:Xi(t),followerEnabled:p,renderContentNode:D}},render(){return j(_0,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Xi.tdkey},{default:()=>this.animated?j(zi,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var t;(t=this.internalOnAfterLeave)===null||t===void 0||t.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),zY=Object.keys(jR),VY={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function WY(t,e,n){VY[e].forEach(i=>{t.props?t.props=Object.assign({},t.props):t.props={};const o=t.props[i],s=n[i];o?t.props[i]=(...l)=>{o(...l),s(...l)}:t.props[i]=s})}const eN={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Xi.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},KY=Object.assign(Object.assign(Object.assign({},fn.props),eN),{internalOnAfterLeave:Function,internalRenderBody:Function}),QY=be({name:"Popover",inheritAttrs:!1,props:KY,__popover__:!0,setup(t){const e=Jm(),n=ee(null),i=se(()=>t.show),o=ee(t.defaultShow),s=BP(i,o),l=Xa(()=>t.disabled?!1:s.value),c=()=>{if(t.disabled)return!0;const{getDisabled:L}=t;return!!(L!=null&&L())},d=()=>c()?!1:s.value,_=GP(t,["arrow","showArrow"]),p=se(()=>t.overlap?!1:_.value);let g=null;const E=ee(null),f=ee(null),S=Xa(()=>t.x!==void 0&&t.y!==void 0);function T(L){const{"onUpdate:show":Q,onUpdateShow:re,onShow:G,onHide:X}=t;o.value=L,Q&&Ya(Q,L),re&&Ya(re,L),L&&G&&Ya(G,!0),L&&X&&Ya(X,!1)}function h(){g&&g.syncPosition()}function v(){const{value:L}=E;L&&(window.clearTimeout(L),E.value=null)}function N(){const{value:L}=f;L&&(window.clearTimeout(L),f.value=null)}function y(){const L=c();if(t.trigger==="focus"&&!L){if(d())return;T(!0)}}function x(){const L=c();if(t.trigger==="focus"&&!L){if(!d())return;T(!1)}}function P(){const L=c();if(t.trigger==="hover"&&!L){if(N(),E.value!==null||d())return;const Q=()=>{T(!0),E.value=null},{delay:re}=t;re===0?Q():E.value=window.setTimeout(Q,re)}}function D(){const L=c();if(t.trigger==="hover"&&!L){if(v(),f.value!==null||!d())return;const Q=()=>{T(!1),f.value=null},{duration:re}=t;re===0?Q():f.value=window.setTimeout(Q,re)}}function k(){D()}function U(L){var Q;d()&&(t.trigger==="click"&&(v(),N(),T(!1)),(Q=t.onClickoutside)===null||Q===void 0||Q.call(t,L))}function Z(){if(t.trigger==="click"&&!c()){v(),N();const L=!d();T(L)}}function q(L){t.internalTrapFocus&&L.key==="Escape"&&(v(),N(),T(!1))}function W(L){o.value=L}function _e(){var L;return(L=n.value)===null||L===void 0?void 0:L.targetRef}function Ee(L){g=L}return ii("NPopover",{getTriggerElement:_e,handleKeydown:q,handleMouseEnter:P,handleMouseLeave:D,handleClickOutside:U,handleMouseMoveOutside:k,setBodyInstance:Ee,positionManuallyRef:S,isMountedRef:e,zIndexRef:yt(t,"zIndex"),extraClassRef:yt(t,"internalExtraClass"),internalRenderBodyRef:yt(t,"internalRenderBody")}),ci(()=>{s.value&&c()&&T(!1)}),{binderInstRef:n,positionManually:S,mergedShowConsideringDisabledProp:l,uncontrolledShow:o,mergedShowArrow:p,getMergedShow:d,setShow:W,handleClick:Z,handleMouseEnter:P,handleMouseLeave:D,handleFocus:y,handleBlur:x,syncPosition:h}},render(){var t;const{positionManually:e,$slots:n}=this;let i,o=!1;if(!e&&(n.activator?i=Hf(n,"activator"):i=Hf(n,"trigger"),i)){i=qa(i),i=i.type===Wm?j("span",[i]):i;const s={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((t=i.type)===null||t===void 0)&&t.__popover__)o=!0,i.props||(i.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),i.props.internalSyncTargetWithParent=!0,i.props.internalInheritedEventHandlers?i.props.internalInheritedEventHandlers=[s,...i.props.internalInheritedEventHandlers]:i.props.internalInheritedEventHandlers=[s];else{const{internalInheritedEventHandlers:l}=this,c=[s,...l],d={onBlur:_=>{c.forEach(p=>{p.onBlur(_)})},onFocus:_=>{c.forEach(p=>{p.onFocus(_)})},onClick:_=>{c.forEach(p=>{p.onClick(_)})},onMouseenter:_=>{c.forEach(p=>{p.onMouseenter(_)})},onMouseleave:_=>{c.forEach(p=>{p.onMouseleave(_)})}};WY(i,l?"nested":e?"manual":this.trigger,d)}}return j(WP,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const s=this.getMergedShow();return[this.internalTrapFocus&&s?Pn(j("div",{style:{position:"fixed",inset:0}}),[[jm,{enabled:s,zIndex:this.zIndex}]]):null,e?null:j(KP,null,{default:()=>i}),j(HY,lP(this.$props,zY,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:s})),{default:()=>{var l,c;return(c=(l=this.$slots).default)===null||c===void 0?void 0:c.call(l)},header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},footer:()=>{var l,c;return(c=(l=this.$slots).footer)===null||c===void 0?void 0:c.call(l)}})]}})}}),XY=LP&&"loading"in document.createElement("img"),ZY=(t={})=>{var e;const{root:n=null}=t;return{hash:`${t.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(t.threshold)?t.threshold.join(","):(e=t.threshold)!==null&&e!==void 0?e:"0"}`,options:Object.assign(Object.assign({},t),{root:(typeof n=="string"?document.querySelector(n):n)||document.documentElement})}},Cu=new WeakMap,Ru=new WeakMap,Nu=new WeakMap,JY=(t,e,n)=>{if(!t)return()=>{};const i=ZY(e),{root:o}=i.options;let s;const l=Cu.get(o);l?s=l:(s=new Map,Cu.set(o,s));let c,d;s.has(i.hash)?(d=s.get(i.hash),d[1].has(t)||(c=d[0],d[1].add(t),c.observe(t))):(c=new IntersectionObserver(g=>{g.forEach(E=>{if(E.isIntersecting){const f=Ru.get(E.target),S=Nu.get(E.target);f&&f(),S&&(S.value=!0)}})},i.options),c.observe(t),d=[c,new Set([t])],s.set(i.hash,d));let _=!1;const p=()=>{_||(Ru.delete(t),Nu.delete(t),_=!0,d[1].has(t)&&(d[0].unobserve(t),d[1].delete(t)),d[1].size<=0&&s.delete(i.hash),s.size||Cu.delete(o))};return Ru.set(t,p),Nu.set(t,n),p},jY={padding:"8px 14px"},e2=t=>{const{borderRadius:e,boxShadow2:n,baseColor:i}=t;return Object.assign(Object.assign({},jY),{borderRadius:e,boxShadow:n,color:kC(i,"rgba(0, 0, 0, .85)"),textColor:i})},t2={name:"Tooltip",common:oo,peers:{Popover:JR},self:e2},mg=t2,n2={name:"Ellipsis",common:oo,peers:{Tooltip:mg}},r2=n2,i2=Object.assign(Object.assign({},eN),fn.props),tN=be({name:"Tooltip",props:i2,__popover__:!0,setup(t){const{mergedClsPrefixRef:e}=gi(t),n=fn("Tooltip","-tooltip",void 0,mg,t,e),i=ee(null);return Object.assign(Object.assign({},{syncPosition(){i.value.syncPosition()},setShow(s){i.value.setShow(s)}}),{popoverRef:i,mergedTheme:n,popoverThemeOverrides:se(()=>n.value.self)})},render(){const{mergedTheme:t,internalExtraClass:e}=this;return j(QY,Object.assign(Object.assign({},this.$props),{theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:e.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),a2=St("ellipsis",{overflow:"hidden"},[Ha("line-clamp",`
white-space: nowrap;
display: inline-block;
vertical-align: bottom;
@@ -210,14 +210,14 @@ ${e}
-webkit-box-orient: vertical;
`),_r("cursor-pointer",`
cursor: pointer;
- `)]);function KS(t){return`${t}-ellipsis--line-clamp`}function QS(t,e){return`${t}-ellipsis--cursor-${e}`}const iq=Object.assign(Object.assign({},fn.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),aq=be({name:"Ellipsis",inheritAttrs:!1,props:iq,setup(t,{slots:e,attrs:n}){const{mergedClsPrefixRef:i}=pi(t),o=fn("Ellipsis","-ellipsis",rq,tq,t,i),s=ee(null),l=ee(null),c=ee(null),d=ee(!1),_=le(()=>{const{lineClamp:h}=t,{value:T}=d;return h!==void 0?{textOverflow:"","-webkit-line-clamp":T?"":h}:{textOverflow:T?"":"ellipsis","-webkit-line-clamp":""}});function p(){let h=!1;const{value:T}=d;if(T)return!0;const{value:N}=s;if(N){const{lineClamp:y}=t;if(f(N),y!==void 0)h=N.scrollHeight<=N.offsetHeight;else{const{value:x}=l;x&&(h=x.getBoundingClientRect().width<=N.getBoundingClientRect().width)}S(N,h)}return h}const g=le(()=>t.expandTrigger==="click"?()=>{var h;const{value:T}=d;T&&((h=c.value)===null||h===void 0||h.setShow(!1)),d.value=!T}:void 0);OC(()=>{var h;t.tooltip&&((h=c.value)===null||h===void 0||h.setShow(!1))});const E=()=>j("span",Object.assign({},zm(n,{class:[`${i.value}-ellipsis`,t.lineClamp!==void 0?KS(i.value):void 0,t.expandTrigger==="click"?QS(i.value,"pointer"):void 0],style:_.value}),{ref:"triggerRef",onClick:g.value,onMouseenter:t.expandTrigger==="click"?p:void 0}),t.lineClamp?e:j("span",{ref:"triggerInnerRef"},e));function f(h){if(!h)return;const T=_.value,N=KS(i.value);t.lineClamp!==void 0?v(h,N,"add"):v(h,N,"remove");for(const y in T)h.style[y]!==T[y]&&(h.style[y]=T[y])}function S(h,T){const N=QS(i.value,"pointer");t.expandTrigger==="click"&&!T?v(h,N,"add"):v(h,N,"remove")}function v(h,T,N){N==="add"?h.classList.contains(T)||h.classList.add(T):h.classList.contains(T)&&h.classList.remove(T)}return{mergedTheme:o,triggerRef:s,triggerInnerRef:l,tooltipRef:c,handleClick:g,renderTrigger:E,getTooltipDisabled:p}},render(){var t;const{tooltip:e,renderTrigger:n,$slots:i}=this;if(e){const{mergedTheme:o}=this;return j(eN,Object.assign({ref:"tooltipRef",placement:"top"},e,{getDisabled:this.getTooltipDisabled,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip}),{trigger:n,default:(t=i.tooltip)!==null&&t!==void 0?t:i.default})}else return n()}}),mg=Object.assign(Object.assign({},fn.props),{showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),tN="n-image";function oq(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const sq={name:"Image",common:ao,peers:{Tooltip:pg},self:oq},lq=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),cq=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),uq=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),dq=je([je("body >",[bt("image-container","position: fixed;")]),bt("image-preview-container",`
+ `)]);function QS(t){return`${t}-ellipsis--line-clamp`}function XS(t,e){return`${t}-ellipsis--cursor-${e}`}const o2=Object.assign(Object.assign({},fn.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),s2=be({name:"Ellipsis",inheritAttrs:!1,props:o2,setup(t,{slots:e,attrs:n}){const{mergedClsPrefixRef:i}=gi(t),o=fn("Ellipsis","-ellipsis",a2,r2,t,i),s=ee(null),l=ee(null),c=ee(null),d=ee(!1),_=se(()=>{const{lineClamp:h}=t,{value:v}=d;return h!==void 0?{textOverflow:"","-webkit-line-clamp":v?"":h}:{textOverflow:v?"":"ellipsis","-webkit-line-clamp":""}});function p(){let h=!1;const{value:v}=d;if(v)return!0;const{value:N}=s;if(N){const{lineClamp:y}=t;if(f(N),y!==void 0)h=N.scrollHeight<=N.offsetHeight;else{const{value:x}=l;x&&(h=x.getBoundingClientRect().width<=N.getBoundingClientRect().width)}S(N,h)}return h}const g=se(()=>t.expandTrigger==="click"?()=>{var h;const{value:v}=d;v&&((h=c.value)===null||h===void 0||h.setShow(!1)),d.value=!v}:void 0);AC(()=>{var h;t.tooltip&&((h=c.value)===null||h===void 0||h.setShow(!1))});const E=()=>j("span",Object.assign({},Vm(n,{class:[`${i.value}-ellipsis`,t.lineClamp!==void 0?QS(i.value):void 0,t.expandTrigger==="click"?XS(i.value,"pointer"):void 0],style:_.value}),{ref:"triggerRef",onClick:g.value,onMouseenter:t.expandTrigger==="click"?p:void 0}),t.lineClamp?e:j("span",{ref:"triggerInnerRef"},e));function f(h){if(!h)return;const v=_.value,N=QS(i.value);t.lineClamp!==void 0?T(h,N,"add"):T(h,N,"remove");for(const y in v)h.style[y]!==v[y]&&(h.style[y]=v[y])}function S(h,v){const N=XS(i.value,"pointer");t.expandTrigger==="click"&&!v?T(h,N,"add"):T(h,N,"remove")}function T(h,v,N){N==="add"?h.classList.contains(v)||h.classList.add(v):h.classList.contains(v)&&h.classList.remove(v)}return{mergedTheme:o,triggerRef:s,triggerInnerRef:l,tooltipRef:c,handleClick:g,renderTrigger:E,getTooltipDisabled:p}},render(){var t;const{tooltip:e,renderTrigger:n,$slots:i}=this;if(e){const{mergedTheme:o}=this;return j(tN,Object.assign({ref:"tooltipRef",placement:"top"},e,{getDisabled:this.getTooltipDisabled,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip}),{trigger:n,default:(t=i.tooltip)!==null&&t!==void 0?t:i.default})}else return n()}}),gg=Object.assign(Object.assign({},fn.props),{showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),nN="n-image";function l2(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const c2={name:"Image",common:oo,peers:{Tooltip:mg},self:l2},u2=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),d2=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),_2=j("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),p2=je([je("body >",[St("image-container","position: fixed;")]),St("image-preview-container",`
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
- `),bt("image-preview-overlay",`
+ `),St("image-preview-overlay",`
z-index: -1;
position: absolute;
left: 0;
@@ -225,7 +225,7 @@ ${e}
top: 0;
bottom: 0;
background: rgba(0, 0, 0, .3);
- `,[Pm()]),bt("image-preview-toolbar",`
+ `,[km()]),St("image-preview-toolbar",`
z-index: 1;
position: absolute;
left: 50%;
@@ -240,11 +240,11 @@ ${e}
transition: color .3s var(--n-bezier);
display: flex;
align-items: center;
- `,[bt("base-icon",`
+ `,[St("base-icon",`
padding: 0 8px;
font-size: 28px;
cursor: pointer;
- `),Pm()]),bt("image-preview-wrapper",`
+ `),km()]),St("image-preview-wrapper",`
position: absolute;
left: 0;
right: 0;
@@ -252,7 +252,7 @@ ${e}
bottom: 0;
display: flex;
pointer-events: none;
- `,[kY()]),bt("image-preview",`
+ `,[FY()]),St("image-preview",`
user-select: none;
-webkit-user-select: none;
pointer-events: all;
@@ -260,57 +260,57 @@ ${e}
max-height: calc(100vh - 32px);
max-width: calc(100vw - 32px);
transition: transform .3s var(--n-bezier);
- `),bt("image",`
+ `),St("image",`
display: inline-flex;
max-height: 100%;
max-width: 100%;
- `,[$a("preview-disabled",`
+ `,[Ha("preview-disabled",`
cursor: pointer;
`),je("img",`
border-radius: inherit;
- `)])]),As=32,nN=be({name:"ImagePreview",props:Object.assign(Object.assign({},mg),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(t){const e=fn("Image","-image",dq,sq,t,yt(t,"clsPrefix"));let n=null;const i=ee(null),o=ee(null),s=ee(void 0),l=ee(!1),c=ee(!1),{localeRef:d}=fY("Image");function _(){const{value:te}=o;if(!n||!te)return;const{style:pe}=te,ie=n.getBoundingClientRect(),Pe=ie.left+ie.width/2,we=ie.top+ie.height/2;pe.transformOrigin=`${Pe}px ${we}px`}function p(te){var pe,ie;switch(te.key){case" ":te.preventDefault();break;case"ArrowLeft":(pe=t.onPrev)===null||pe===void 0||pe.call(t);break;case"ArrowRight":(ie=t.onNext)===null||ie===void 0||ie.call(t);break;case"Escape":Ce();break}}Zt(l,te=>{te?Ht("keydown",document,p):Rt("keydown",document,p)}),Kn(()=>{Rt("keydown",document,p)});let g=0,E=0,f=0,S=0,v=0,h=0,T=0,N=0,y=!1;function x(te){const{clientX:pe,clientY:ie}=te;f=pe-g,S=ie-E,LC(He)}function P(te){const{mouseUpClientX:pe,mouseUpClientY:ie,mouseDownClientX:Pe,mouseDownClientY:we}=te,Xe=Pe-pe,pt=we-ie,me=`vertical${pt>0?"Top":"Bottom"}`,ht=`horizontal${Xe>0?"Left":"Right"}`;return{moveVerticalDirection:me,moveHorizontalDirection:ht,deltaHorizontal:Xe,deltaVertical:pt}}function D(te){const{value:pe}=i;if(!pe)return{offsetX:0,offsetY:0};const ie=pe.getBoundingClientRect(),{moveVerticalDirection:Pe,moveHorizontalDirection:we,deltaHorizontal:Xe,deltaVertical:pt}=te||{};let me=0,ht=0;return ie.width<=window.innerWidth?me=0:ie.left>0?me=(ie.width-window.innerWidth)/2:ie.right0?ht=(ie.height-window.innerHeight)/2:ie.bottom.5){const te=oe;Ee-=1,oe=Math.max(.5,Math.pow(K,Ee));const pe=te-oe;He(!1);const ie=D();oe+=pe,He(!1),oe-=pe,f=ie.offsetX,S=ie.offsetY,He()}}function He(te=!0){var pe;const{value:ie}=i;if(!ie)return;const{style:Pe}=ie,we=Bt((pe=U==null?void 0:U.previewedImgPropsRef.value)===null||pe===void 0?void 0:pe.style);let Xe="";if(typeof we=="string")Xe=we+";";else for(const me in we)Xe+=`${vG(me)}: ${we[me]};`;const pt=`transform-origin: center; transform: translateX(${f}px) translateY(${S}px) rotate(${L}deg) scale(${oe});`;y?Pe.cssText=Xe+"cursor: grabbing; transition: none;"+pt:Pe.cssText=Xe+"cursor: grab;"+pt+(te?"":"transition: none;"),te||ie.offsetHeight}function Ce(){l.value=!l.value,c.value=!0}function Be(){oe=he(),Ee=Math.ceil(Math.log(oe)/Math.log(K)),f=0,S=0,He()}const We={setPreviewSrc:te=>{s.value=te},setThumbnailEl:te=>{n=te},toggleShow:Ce};function xe(te,pe){if(t.showToolbarTooltip){const{value:ie}=e;return j(eN,{to:!1,theme:ie.peers.Tooltip,themeOverrides:ie.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>d.value[pe],trigger:()=>te})}else return te}const ze=le(()=>{const{common:{cubicBezierEaseInOut:te},self:{toolbarIconColor:pe,toolbarBorderRadius:ie,toolbarBoxShadow:Pe,toolbarColor:we}}=e.value;return{"--n-bezier":te,"--n-toolbar-icon-color":pe,"--n-toolbar-color":we,"--n-toolbar-border-radius":ie,"--n-toolbar-box-shadow":Pe}}),{inlineThemeDisabled:rt}=pi(),Ke=rt?_g("image-preview",void 0,ze,t):void 0;return Object.assign({previewRef:i,previewWrapperRef:o,previewSrc:s,show:l,appear:Zm(),displayed:c,previewedImgProps:U==null?void 0:U.previewedImgPropsRef,handleWheel(te){te.preventDefault()},handlePreviewMousedown:W,handlePreviewDblclick:z,syncTransformOrigin:_,handleAfterLeave:()=>{J(),L=0,c.value=!1},handleDragStart:te=>{var pe,ie;(ie=(pe=U==null?void 0:U.previewedImgPropsRef.value)===null||pe===void 0?void 0:pe.onDragstart)===null||ie===void 0||ie.call(pe,te),te.preventDefault()},zoomIn:tt,zoomOut:lt,rotateCounterclockwise:X,rotateClockwise:_e,handleSwitchPrev:re,handleSwitchNext:G,withTooltip:xe,resizeToOrignalImageSize:Be,cssVars:rt?void 0:ze,themeClass:Ke==null?void 0:Ke.themeClass,onRender:Ke==null?void 0:Ke.onRender},We)},render(){var t,e;const{clsPrefix:n}=this;return j(st,null,(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t),j(ZC,{show:this.show},{default:()=>{var i;return this.show||this.displayed?((i=this.onRender)===null||i===void 0||i.call(this),Pn(j("div",{class:[`${n}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},j(Hi,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?j("div",{class:`${n}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?j(Hi,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:o}=this;return j("div",{class:`${n}-image-preview-toolbar`},this.onPrev?j(st,null,o(j(Or,{clsPrefix:n,onClick:this.handleSwitchPrev},{default:()=>lq}),"tipPrevious"),o(j(Or,{clsPrefix:n,onClick:this.handleSwitchNext},{default:()=>cq}),"tipNext")):null,o(j(Or,{clsPrefix:n,onClick:this.rotateCounterclockwise},{default:()=>j(TY,null)}),"tipCounterclockwise"),o(j(Or,{clsPrefix:n,onClick:this.rotateClockwise},{default:()=>j(hY,null)}),"tipClockwise"),o(j(Or,{clsPrefix:n,onClick:this.resizeToOrignalImageSize},{default:()=>j(RY,null)}),"tipOriginalSize"),o(j(Or,{clsPrefix:n,onClick:this.zoomOut},{default:()=>j(CY,null)}),"tipZoomOut"),o(j(Or,{clsPrefix:n,onClick:this.zoomIn},{default:()=>j(vY,null)}),"tipZoomIn"),o(j(Or,{clsPrefix:n,onClick:this.toggleShow},{default:()=>uq}),"tipClose"))}}):null,j(Hi,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:o={}}=this;return Pn(j("div",{class:`${n}-image-preview-wrapper`,ref:"previewWrapperRef"},j("img",Object.assign({},o,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${n}-image-preview`,o.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[Xs,this.show]])}})),[[Jm,{enabled:this.show}]])):null}}))}}),rN="n-image-group",_q=mg,pq=be({name:"ImageGroup",props:_q,setup(t){let e;const{mergedClsPrefixRef:n}=pi(t),i=`c${kC()}`,o=$m(),s=d=>{var _;e=d,(_=c.value)===null||_===void 0||_.setPreviewSrc(d)};function l(d){if(!(o!=null&&o.proxy))return;const p=o.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${i}]:not([data-error=true])`);if(!p.length)return;const g=Array.from(p).findIndex(E=>E.dataset.previewSrc===e);~g?s(p[(g+d+p.length)%p.length].dataset.previewSrc):s(p[0].dataset.previewSrc)}ni(rN,{mergedClsPrefixRef:n,setPreviewSrc:s,setThumbnailEl:d=>{var _;(_=c.value)===null||_===void 0||_.setThumbnailEl(d)},toggleShow:()=>{var d;(d=c.value)===null||d===void 0||d.toggleShow()},groupId:i});const c=ee(null);return{mergedClsPrefix:n,previewInstRef:c,next:()=>{l(1)},prev:()=>{l(-1)}}},render(){return j(nN,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},this.$slots)}}),mq=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},mg),gq=be({name:"Image",props:mq,inheritAttrs:!1,setup(t){const e=ee(null),n=ee(!1),i=ee(null),o=Ft(rN,null),{mergedClsPrefixRef:s}=o||pi(t),l={click:()=>{if(t.previewDisabled||n.value)return;const _=t.previewSrc||t.src;if(o){o.setPreviewSrc(_),o.setThumbnailEl(e.value),o.toggleShow();return}const{value:p}=i;p&&(p.setPreviewSrc(_),p.setThumbnailEl(e.value),p.toggleShow())}},c=ee(!t.lazy);kn(()=>{var _;(_=e.value)===null||_===void 0||_.setAttribute("data-group-id",(o==null?void 0:o.groupId)||"")}),kn(()=>{if(t.lazy&&t.intersectionObserverOptions){let _;const p=si(()=>{_==null||_(),_=void 0,_=XY(e.value,t.intersectionObserverOptions,c)});Kn(()=>{p(),_==null||_()})}}),si(()=>{var _;t.src,(_=t.imgProps)===null||_===void 0||_.src,n.value=!1});const d=ee(!1);return ni(tN,{previewedImgPropsRef:yt(t,"previewedImgProps")}),Object.assign({mergedClsPrefix:s,groupId:o==null?void 0:o.groupId,previewInstRef:i,imageRef:e,showError:n,shouldStartLoading:c,loaded:d,mergedOnClick:_=>{var p,g;l.click(),(g=(p=t.imgProps)===null||p===void 0?void 0:p.onClick)===null||g===void 0||g.call(p,_)},mergedOnError:_=>{if(!c.value)return;n.value=!0;const{onError:p,imgProps:{onError:g}={}}=t;p==null||p(_),g==null||g(_)},mergedOnLoad:_=>{const{onLoad:p,imgProps:{onLoad:g}={}}=t;p==null||p(_),g==null||g(_),d.value=!0}},l)},render(){var t,e;const{mergedClsPrefix:n,imgProps:i={},loaded:o,$attrs:s,lazy:l}=this,c=(e=(t=this.$slots).placeholder)===null||e===void 0?void 0:e.call(t),d=this.src||i.src,_=j("img",Object.assign(Object.assign({},i),{ref:"imageRef",width:this.width||i.width,height:this.height||i.height,src:this.showError?this.fallbackSrc:l&&this.intersectionObserverOptions?this.shouldStartLoading?d:void 0:d,alt:this.alt||i.alt,"aria-label":this.alt||i.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:KY&&l&&!this.intersectionObserverOptions?"lazy":"eager",style:[i.style||"",c&&!o?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return j("div",Object.assign({},s,{role:"none",class:[s.class,`${n}-image`,(this.previewDisabled||this.showError)&&`${n}-image--preview-disabled`]}),this.groupId?_:j(nN,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>_}),!o&&c)}}),Eq=Object.assign(Object.assign({},fn.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),fq=be({name:"Scrollbar",props:Eq,setup(){const t=ee(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var i;(i=t.value)===null||i===void 0||i.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var i;(i=t.value)===null||i===void 0||i.scrollBy(n[0],n[1])}}),{scrollbarInstRef:t})},render(){return j(LY,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),iN=fq,Xn=t=>(Zi("data-v-8c3ce136"),t=t(),Ji(),t),Sq={class:"heroWrapper"},bq=Xn(()=>F("h1",null,[St("MetaGPT: Meta Programming for A"),F("br"),St("Multi-Agent Collaborative Framework")],-1)),hq={class:"contributors"},Tq={class:"contributor"},vq={class:"affiliationIndex"},Cq={class:"extra"},Rq={key:0},Nq={class:"affiliations"},Oq={class:"affiliationsItemIndex"},Aq={class:"affiliationsItem"},yq={key:0,class:"affiliationsItem"},Iq={class:"links"},Dq=["onClick"],xq={class:"linkIcon"},wq={class:"linkName"},Mq={class:"bigTex"},Lq=Xn(()=>F("div",{class:"header"},"Citation",-1)),Pq={class:"copyBtn"},kq={class:"bigTexContent"},Uq=Xn(()=>F("br",null,null,-1)),Fq=Xn(()=>F("br",null,null,-1)),Bq=Xn(()=>F("br",null,null,-1)),Gq=Xn(()=>F("br",null,null,-1)),Yq=Xn(()=>F("br",null,null,-1)),qq=Xn(()=>F("br",null,null,-1)),$q=Xn(()=>F("br",null,null,-1)),Hq=Xn(()=>F("img",{style:{"margin-left":"-1px",position:"absolute"},src:pM,alt:""},null,-1)),zq={class:"galance"},Vq={key:0,style:{width:"100%","border-radius":"20px"},src:mM,alt:""},Ui=" ",Wq=be({__name:"heroPage",setup(t){const e=[{name:"Sirui Hong",affiliation:"1",extra:"*"},{name:"Mingchen Zhuge",affiliation:"2",extra:"*"},{name:"Jonathan Chen",affiliation:"1"},{name:"Xiawu Zheng",affiliation:"3"},{name:"Yuheng Cheng",affiliation:"4"},{name:"Jinlin Wang",affiliation:"1"},{name:"Ceyao Zhang",affiliation:"3"},{name:"Jinlin Wang",affiliation:"1"},{name:"Zili Wang"},{name:"Steven Ka Shing Yau",affiliation:"5"},{name:"Zijuan Lin",affiliation:"4"},{name:"Liyang Zhou",affiliation:"6"},{name:"Chenyu Ran",affiliation:"1"},{name:"Lingfeng Xiao",affiliation:"1,7"},{name:"Chenglin Wu",affiliation:"1",extra:"†"},{name:"Jürgen Schmidhuber",affiliation:"2,8"}],n=["DeepWisdom","AI Initiative, King Abdullah University of Science and Technology","Xiamen University","The Chinese University of Hong Kong, Shenzhen","Nanjing University","University of Pennsylvania","University of California, Berkeley","The Swiss AI Lab IDSIA/USI/SUPSI"],i=ee(!1),o=E=>{window.open(E,"_blank")},s=E=>ue(ea,{style:"vertical-align:middle",size:26,iconId:E},null),l=[{name:"Paper",icon:s("icon-paper1"),action:()=>{o("https://arxiv.org/pdf/2308.00352.pdf")}},{name:"Code",icon:s("icon-github-fill"),action:()=>{o("https://github.com/geekan/MetaGPT")}},{name:"Discord",icon:s("icon-Discord"),action:()=>{o("https://discord.gg/ZRHeExS6xv")}},{name:"Twitter",icon:s("icon-twitter2"),action:()=>{o("https://twitter.com/DeepWisdom2019")}},{name:"AgentStore(Waitlist)",icon:ue(QL,null,null),action:()=>{o("https://airtable.com/appInfdG0eJ9J4NNL/shrEd9DrwVE3jX6oz")}}],c=ee(),d=()=>{var E;(E=c.value)==null||E.play()};kn(()=>{d()});const _=ee(!1),p=E=>{_.value=!0},g=()=>{yC.success("Copy Success"),Wm(`@misc{hong2023metagpt,
- title={MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework},
- author={Sirui Hong and Mingchen Zhuge and Jonathan Chen and Xiawu Zheng and Yuheng Cheng and Ceyao Zhang and Jinlin Wang and Zili Wang and Steven Ka Shing Yau and Zijuan Lin and Liyang Zhou and Chenyu Ran and Lingfeng Xiao and Chenglin Wu and Jürgen Schmidhuber},
+ `)])]),ys=32,rN=be({name:"ImagePreview",props:Object.assign(Object.assign({},gg),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(t){const e=fn("Image","-image",p2,c2,t,yt(t,"clsPrefix"));let n=null;const i=ee(null),o=ee(null),s=ee(void 0),l=ee(!1),c=ee(!1),{localeRef:d}=bY("Image");function _(){const{value:te}=o;if(!n||!te)return;const{style:pe}=te,ie=n.getBoundingClientRect(),Pe=ie.left+ie.width/2,we=ie.top+ie.height/2;pe.transformOrigin=`${Pe}px ${we}px`}function p(te){var pe,ie;switch(te.key){case" ":te.preventDefault();break;case"ArrowLeft":(pe=t.onPrev)===null||pe===void 0||pe.call(t);break;case"ArrowRight":(ie=t.onNext)===null||ie===void 0||ie.call(t);break;case"Escape":Ce();break}}Zt(l,te=>{te?Ht("keydown",document,p):Rt("keydown",document,p)}),Kn(()=>{Rt("keydown",document,p)});let g=0,E=0,f=0,S=0,T=0,h=0,v=0,N=0,y=!1;function x(te){const{clientX:pe,clientY:ie}=te;f=pe-g,S=ie-E,PC($e)}function P(te){const{mouseUpClientX:pe,mouseUpClientY:ie,mouseDownClientX:Pe,mouseDownClientY:we}=te,Xe=Pe-pe,pt=we-ie,me=`vertical${pt>0?"Top":"Bottom"}`,bt=`horizontal${Xe>0?"Left":"Right"}`;return{moveVerticalDirection:me,moveHorizontalDirection:bt,deltaHorizontal:Xe,deltaVertical:pt}}function D(te){const{value:pe}=i;if(!pe)return{offsetX:0,offsetY:0};const ie=pe.getBoundingClientRect(),{moveVerticalDirection:Pe,moveHorizontalDirection:we,deltaHorizontal:Xe,deltaVertical:pt}=te||{};let me=0,bt=0;return ie.width<=window.innerWidth?me=0:ie.left>0?me=(ie.width-window.innerWidth)/2:ie.right0?bt=(ie.height-window.innerHeight)/2:ie.bottom.5){const te=Ee;_e-=1,Ee=Math.max(.5,Math.pow(W,_e));const pe=te-Ee;$e(!1);const ie=D();Ee+=pe,$e(!1),Ee-=pe,f=ie.offsetX,S=ie.offsetY,$e()}}function $e(te=!0){var pe;const{value:ie}=i;if(!ie)return;const{style:Pe}=ie,we=Bt((pe=U==null?void 0:U.previewedImgPropsRef.value)===null||pe===void 0?void 0:pe.style);let Xe="";if(typeof we=="string")Xe=we+";";else for(const me in we)Xe+=`${RG(me)}: ${we[me]};`;const pt=`transform-origin: center; transform: translateX(${f}px) translateY(${S}px) rotate(${L}deg) scale(${Ee});`;y?Pe.cssText=Xe+"cursor: grabbing; transition: none;"+pt:Pe.cssText=Xe+"cursor: grab;"+pt+(te?"":"transition: none;"),te||ie.offsetHeight}function Ce(){l.value=!l.value,c.value=!0}function Be(){Ee=he(),_e=Math.ceil(Math.log(Ee)/Math.log(W)),f=0,S=0,$e()}const Ve={setPreviewSrc:te=>{s.value=te},setThumbnailEl:te=>{n=te},toggleShow:Ce};function xe(te,pe){if(t.showToolbarTooltip){const{value:ie}=e;return j(tN,{to:!1,theme:ie.peers.Tooltip,themeOverrides:ie.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>d.value[pe],trigger:()=>te})}else return te}const He=se(()=>{const{common:{cubicBezierEaseInOut:te},self:{toolbarIconColor:pe,toolbarBorderRadius:ie,toolbarBoxShadow:Pe,toolbarColor:we}}=e.value;return{"--n-bezier":te,"--n-toolbar-icon-color":pe,"--n-toolbar-color":we,"--n-toolbar-border-radius":ie,"--n-toolbar-box-shadow":Pe}}),{inlineThemeDisabled:rt}=gi(),We=rt?pg("image-preview",void 0,He,t):void 0;return Object.assign({previewRef:i,previewWrapperRef:o,previewSrc:s,show:l,appear:Jm(),displayed:c,previewedImgProps:U==null?void 0:U.previewedImgPropsRef,handleWheel(te){te.preventDefault()},handlePreviewMousedown:Z,handlePreviewDblclick:q,syncTransformOrigin:_,handleAfterLeave:()=>{Q(),L=0,c.value=!1},handleDragStart:te=>{var pe,ie;(ie=(pe=U==null?void 0:U.previewedImgPropsRef.value)===null||pe===void 0?void 0:pe.onDragstart)===null||ie===void 0||ie.call(pe,te),te.preventDefault()},zoomIn:tt,zoomOut:lt,rotateCounterclockwise:X,rotateClockwise:ue,handleSwitchPrev:re,handleSwitchNext:G,withTooltip:xe,resizeToOrignalImageSize:Be,cssVars:rt?void 0:He,themeClass:We==null?void 0:We.themeClass,onRender:We==null?void 0:We.onRender},Ve)},render(){var t,e;const{clsPrefix:n}=this;return j(st,null,(e=(t=this.$slots).default)===null||e===void 0?void 0:e.call(t),j(JC,{show:this.show},{default:()=>{var i;return this.show||this.displayed?((i=this.onRender)===null||i===void 0||i.call(this),Pn(j("div",{class:[`${n}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},j(zi,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?j("div",{class:`${n}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?j(zi,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:o}=this;return j("div",{class:`${n}-image-preview-toolbar`},this.onPrev?j(st,null,o(j(Or,{clsPrefix:n,onClick:this.handleSwitchPrev},{default:()=>u2}),"tipPrevious"),o(j(Or,{clsPrefix:n,onClick:this.handleSwitchNext},{default:()=>d2}),"tipNext")):null,o(j(Or,{clsPrefix:n,onClick:this.rotateCounterclockwise},{default:()=>j(CY,null)}),"tipCounterclockwise"),o(j(Or,{clsPrefix:n,onClick:this.rotateClockwise},{default:()=>j(vY,null)}),"tipClockwise"),o(j(Or,{clsPrefix:n,onClick:this.resizeToOrignalImageSize},{default:()=>j(OY,null)}),"tipOriginalSize"),o(j(Or,{clsPrefix:n,onClick:this.zoomOut},{default:()=>j(NY,null)}),"tipZoomOut"),o(j(Or,{clsPrefix:n,onClick:this.zoomIn},{default:()=>j(RY,null)}),"tipZoomIn"),o(j(Or,{clsPrefix:n,onClick:this.toggleShow},{default:()=>_2}),"tipClose"))}}):null,j(zi,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:o={}}=this;return Pn(j("div",{class:`${n}-image-preview-wrapper`,ref:"previewWrapperRef"},j("img",Object.assign({},o,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${n}-image-preview`,o.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[Xs,this.show]])}})),[[jm,{enabled:this.show}]])):null}}))}}),iN="n-image-group",m2=gg,g2=be({name:"ImageGroup",props:m2,setup(t){let e;const{mergedClsPrefixRef:n}=gi(t),i=`c${UC()}`,o=Hm(),s=d=>{var _;e=d,(_=c.value)===null||_===void 0||_.setPreviewSrc(d)};function l(d){if(!(o!=null&&o.proxy))return;const p=o.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${i}]:not([data-error=true])`);if(!p.length)return;const g=Array.from(p).findIndex(E=>E.dataset.previewSrc===e);~g?s(p[(g+d+p.length)%p.length].dataset.previewSrc):s(p[0].dataset.previewSrc)}ii(iN,{mergedClsPrefixRef:n,setPreviewSrc:s,setThumbnailEl:d=>{var _;(_=c.value)===null||_===void 0||_.setThumbnailEl(d)},toggleShow:()=>{var d;(d=c.value)===null||d===void 0||d.toggleShow()},groupId:i});const c=ee(null);return{mergedClsPrefix:n,previewInstRef:c,next:()=>{l(1)},prev:()=>{l(-1)}}},render(){return j(rN,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},this.$slots)}}),E2=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},gg),f2=be({name:"Image",props:E2,inheritAttrs:!1,setup(t){const e=ee(null),n=ee(!1),i=ee(null),o=Ft(iN,null),{mergedClsPrefixRef:s}=o||gi(t),l={click:()=>{if(t.previewDisabled||n.value)return;const _=t.previewSrc||t.src;if(o){o.setPreviewSrc(_),o.setThumbnailEl(e.value),o.toggleShow();return}const{value:p}=i;p&&(p.setPreviewSrc(_),p.setThumbnailEl(e.value),p.toggleShow())}},c=ee(!t.lazy);kn(()=>{var _;(_=e.value)===null||_===void 0||_.setAttribute("data-group-id",(o==null?void 0:o.groupId)||"")}),kn(()=>{if(t.lazy&&t.intersectionObserverOptions){let _;const p=ci(()=>{_==null||_(),_=void 0,_=JY(e.value,t.intersectionObserverOptions,c)});Kn(()=>{p(),_==null||_()})}}),ci(()=>{var _;t.src,(_=t.imgProps)===null||_===void 0||_.src,n.value=!1});const d=ee(!1);return ii(nN,{previewedImgPropsRef:yt(t,"previewedImgProps")}),Object.assign({mergedClsPrefix:s,groupId:o==null?void 0:o.groupId,previewInstRef:i,imageRef:e,showError:n,shouldStartLoading:c,loaded:d,mergedOnClick:_=>{var p,g;l.click(),(g=(p=t.imgProps)===null||p===void 0?void 0:p.onClick)===null||g===void 0||g.call(p,_)},mergedOnError:_=>{if(!c.value)return;n.value=!0;const{onError:p,imgProps:{onError:g}={}}=t;p==null||p(_),g==null||g(_)},mergedOnLoad:_=>{const{onLoad:p,imgProps:{onLoad:g}={}}=t;p==null||p(_),g==null||g(_),d.value=!0}},l)},render(){var t,e;const{mergedClsPrefix:n,imgProps:i={},loaded:o,$attrs:s,lazy:l}=this,c=(e=(t=this.$slots).placeholder)===null||e===void 0?void 0:e.call(t),d=this.src||i.src,_=j("img",Object.assign(Object.assign({},i),{ref:"imageRef",width:this.width||i.width,height:this.height||i.height,src:this.showError?this.fallbackSrc:l&&this.intersectionObserverOptions?this.shouldStartLoading?d:void 0:d,alt:this.alt||i.alt,"aria-label":this.alt||i.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:XY&&l&&!this.intersectionObserverOptions?"lazy":"eager",style:[i.style||"",c&&!o?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return j("div",Object.assign({},s,{role:"none",class:[s.class,`${n}-image`,(this.previewDisabled||this.showError)&&`${n}-image--preview-disabled`]}),this.groupId?_:j(rN,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>_}),!o&&c)}}),S2=Object.assign(Object.assign({},fn.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),b2=be({name:"Scrollbar",props:S2,setup(){const t=ee(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var i;(i=t.value)===null||i===void 0||i.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var i;(i=t.value)===null||i===void 0||i.scrollBy(n[0],n[1])}}),{scrollbarInstRef:t})},render(){return j(kY,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),aN=b2,Xn=t=>(Ji("data-v-01535cfb"),t=t(),ji(),t),h2={class:"heroWrapper"},T2=Xn(()=>B("h1",null,[vt("MetaGPT: Meta Programming for"),B("br"),vt("Multi-Agent Collaborative Framework.")],-1)),v2={class:"contributors"},C2={class:"contributor"},R2={class:"affiliationIndex"},N2={key:0},O2={class:"affiliations"},A2={class:"affiliationIndex"},y2={key:0},I2={class:"links"},D2=["onClick"],x2={class:"linkIcon"},w2={class:"linkName"},M2={class:"bigTex"},L2=Xn(()=>B("div",{class:"header"},"Citation",-1)),P2={class:"copyBtn"},k2={class:"bigTexContent"},U2=Xn(()=>B("br",null,null,-1)),F2=Xn(()=>B("br",null,null,-1)),B2=Xn(()=>B("br",null,null,-1)),G2=Xn(()=>B("br",null,null,-1)),Y2=Xn(()=>B("br",null,null,-1)),q2=Xn(()=>B("br",null,null,-1)),$2=Xn(()=>B("br",null,null,-1)),H2=Xn(()=>B("img",{style:{"margin-left":"-1px",position:"absolute"},src:gM,alt:""},null,-1)),z2={class:"galance"},V2={key:0,style:{width:"100%","border-radius":"20px"},src:EM,alt:""},Bi=" ",W2=be({__name:"heroPage",setup(t){const e=[{name:"Sirui Hong",affiliation:"1, "},{name:"Xiawu Zheng",affiliation:"2, "},{name:"Jonathan Chen",affiliation:"1, "},{name:"Yuheng Cheng",affiliation:"3, "},{name:"Jinlin Wang",affiliation:"1, "},{name:"Ceyao Zhang",affiliation:"3, "},{name:"Zili Wang",affiliation:"1, "},{name:"Steven Ka Shing Yau",affiliation:"4, "},{name:"Zijuan Lin",affiliation:"2, "},{name:"Liyang Zhou",affiliation:"5, "},{name:"Chenyu Ran",affiliation:"1, "},{name:"Lingfeng Xiao",affiliation:"1, "},{name:"Chenglin Wu",affiliation:"1*."}],n=["1DeepWisdom, ","2Xiamen University, ","3The Chinese University of Hong Kong,Shenzhen, ","4Nanjing University, ","5University of Pennsylvania, ","6University of California, Berkeley."],i=ee(!1),o=E=>{window.open(E,"_blank")},s=E=>ce(ta,{style:"vertical-align:middle",size:26,iconId:E},null),l=[{name:"Paper",icon:s("icon-paper1"),action:()=>{o("https://arxiv.org/abs/2308.00352")}},{name:"Code",icon:s("icon-github-fill"),action:()=>{o("https://github.com/geekan/MetaGPT")}},{name:"Discord",icon:s("icon-Discord"),action:()=>{o("https://discord.gg/ZRHeExS6xv")}},{name:"Twitter",icon:s("icon-twitter2"),action:()=>{o("https://twitter.com/DeepWisdom2019")}},{name:"AgentStore(Waitlist)",icon:ce(ZL,null,null),action:()=>{o("https://airtable.com/appInfdG0eJ9J4NNL/shrEd9DrwVE3jX6oz")}}],c=ee(),d=()=>{var E;(E=c.value)==null||E.play()};kn(()=>{d()});const _=ee(!1),p=E=>{_.value=!0},g=()=>{IC.success("Copy Success"),Km(`@misc{hong2023metagpt,
+ title={MetaGPT: Meta Programming for Multi-Agent Collaborative Framework},
+ author={Sirui Hong and Xiawu Zheng and Jonathan Chen and Yuheng Cheng and Jinlin Wang and Ceyao Zhang and Zili Wang and Steven KaShing Yau and Zijuan Lin and Liyang Zhou and Chenyu Ran and Lingfeng Xiao and Chenglin Wu},
year={2023},
eprint={2308.00352},
archivePrefix={arXiv},
primaryClass={cs.AI}
-}`)};return(E,f)=>(V(),ae(st,null,[F("div",Sq,[bq,F("span",hq,[(V(),ae(st,null,yn(e,(S,v)=>F("span",{key:v},[F("span",Tq,$e(S.name),1),F("span",vq,[St($e(S.affiliation)+" ",1),F("span",Cq,$e(S.extra),1)]),v!==e.length-1?(V(),ae("span",Rq,", ")):Ge("",!0)])),64))]),F("span",Nq,[(V(),ae(st,null,yn(n,(S,v)=>F("span",{key:v},[F("span",Oq,$e(v+1),1),F("span",Aq,$e(S),1),v!==n.length-1?(V(),ae("span",yq,", ")):Ge("",!0)])),64))]),F("div",Iq,[(V(),ae(st,null,yn(l,(S,v)=>F("div",{key:v,class:It({link:!0,enabled:S.action}),onClick:S.action},[F("span",xq,[(V(),ot(ji(S.icon)))]),F("span",wq,$e(S.name),1)],10,Dq)),64))]),F("div",Mq,[Lq,F("div",Pq,[ue(q(IC),{onClick:g})]),F("div",kq,[ue(q(iN),{style:{"max-height":"100%"}},{default:dt(()=>[St(" @misc{hong2023metagpt,"),Uq,F("span",{innerHTML:Ui}),St(" title={MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework}, "),Fq,F("span",{innerHTML:Ui}),St("author={Sirui Hong and Mingchen Zhuge and Jonathan Chen and Xiawu Zheng and Yuheng Cheng and Ceyao Zhang and Jinlin Wang and Zili Wang and Steven Ka Shing Yau and Zijuan Lin and Liyang Zhou and Chenyu Ran and Lingfeng Xiao and Chenglin Wu and Jürgen Schmidhuber}, "),Bq,F("span",{innerHTML:Ui}),St("year={2023},"),Gq,F("span",{innerHTML:Ui}),St("eprint={2308.00352},"),Yq,F("span",{innerHTML:Ui}),St("archivePrefix={arXiv},"),qq,F("span",{innerHTML:Ui}),St("primaryClass={cs.AI}"),$q,St(" } ")]),_:1})]),Hq]),F("div",zq,[q(_)?Ge("",!0):(V(),ae("img",Vq)),Pn(F("video",{ref_key:"videoRef",ref:c,muted:"",src:gM,style:{width:"100%","border-radius":"20px"},autoplay:!0,playsinline:!0,loop:!0,"x-webkit-airplay":"deny",onloadeddata:p},null,512),[[Xs,q(_)]])])]),ue(HL,{visible:q(i),"onUpdate:visible":f[0]||(f[0]=S=>wr(i)?i.value=S:null)},null,8,["visible"])],64))}});const Kq=Dt(Wq,[["__scopeId","data-v-8c3ce136"]]),Qq="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/sparkles-50d190d6.svg",aN="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role0-73c01153.png",oN="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role1-8fd25a72.png",sN="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role2-d49c6a81.png",lN="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role3-d2c54a2d.png",Xq="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role4-a6ccbb5f.png",Zq="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role5-16fddacc.png",Jq="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/role6-c9a82246.png",jq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAxCAYAAABznEEcAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3bSURBVHgB7VkJdJXlmX6+f7/7zXKTsCdkgChCpcKgJgwgglNcwAVcqhaKA2gRONZljl3mOp4RcCnVEWdadXCsBTFQFbEMYtkElMqASFUEKiEhCQlZ7n7/+29f33uVNrUBEog9PT2+Of+5ud//v9/3P9/3vs+7XOBr+Vr+dqRm69Vl/MiMYHd0xi3fGxyz/rPh6CERcA6y+blLfxpA7DMuGweTNXNHdFWvFeJbcU/Jvqn70y+iB+SsQbwybZrIDPtuwVLADDWkCYlru6jKMo5vlGZqaDPVCvSAnDWI6dXVtpWQd7TV20h81ox0bfr3XdG7fMnGCocrgANkMmhED4iEc5BkpGJak5UeE0/4Twy/67+2dkUnJrgHMkEGoz/HdBrQA3JOIKY88lwTfazujk6Ga4OzIHKLZ4w96AE5axBHLgwHJUEd7w369uRtmne0q3oOwwRZVGDT/6qoHfzy/R3Df3B9hVJ0Q35e3ga28fYXujJnl0BMIyeuJh84+f2Nixb0b4/z/x/iKSh0Cf7axLTlo73VM4931BkXXq6l+lbcyCXPQJnxJsVJ/Tr067q6faJruEeRYdtOqm7Hi7s66rx6wX3lrpR7tUsMANx9U+rKXxx0v3nbzjO932lBbK5YWFrCCreX1hb2eXnilQ+IG2c8mh1X4solmukqZE6WmcT+clSdT8MP/hHAovWlLXmhTVwJlbnJdCzLQMYWdGNs/3Wc+fpJkkRj5paa8Ey943pBx+NTTBecNJlblNZRRT+6IKdlJwfa9zXT20c0VfCM8+8nx926+JbuGKmUroPrFmRbXMDHLf9jwGsT3P8NV1GZh3kRb7ORbjahNxtaU0q9QXYFYEkMqiNWf3m98R+HPzAhP94a12ua26PLpO23/B/OGYSjfUo0iGgkg7a2RO3J8TG1i9t1QX8ibiZgZgwwnbvTEpuZvTct/EqJJXmuKNTcaM+ka9xNzdex43VrYu0xcCUAl+oGd1CTV3NkZWdrjjh6930D6meVFR+eNQ9dlNOCmHgw/HRcYrcft/X7a2BO6HivVW77WdxJWLpBp2HY0DPmDdnxeEIocmwBKduET0zW7vmPi14V/OwOJeCD5smHI4pwpfXl6+cPyqCHhOEc5P3y+7f3E/pW5nkDiMjp9KGSaPGSkqB9tM8F9anikiBTOHgytRYGqxJdoXyfKwTmYijxxya8MTm4CT0k5xQnuGRsNy290ra9tBuCyxcXzn9j7Zxd/3TfhiWWFF9keHxgQuAaRXHDiwBMgyMQdKAzFHRl/o9GPVqiymahZoliO4sdH7brkSb0NAhDMA5Zjk6+Y0NkDHIGZTS8a9tjVyy+7N6tWiyJhYaSF1AkDp23RtIeFvSJRVlfi3c2316KPSqX5/gtbaIqKFWaoaiSJebmLiY9c/TzHG5pp6SJN7H1tx47qdet3GnPmu8NaFw/o/SdZ+7My35nolXHYSHLYxItJNl/osRNj48Nl0UO9tUSkYEFLbW9nejv16mSAIszeCy9peO8y0tnaB8MfeiBvIzvSC87tLhAKpzgF/JUhdNJWkQERLs8o1Hm6GaS4a2E7ZrVUb9LJ/Hu8qmlpX3cv/BpJ6pES8eQ3sBnL1//fupDo5GtdGgnOAQmQmGi01Gv+pnpCfrIXrj0nh2H00kH6TajZu3M4O6Tz2yuCJfmc2F1sV14kU/xQOASMR6gGw4yjgWLcYNxJoicSdmMy5u2uJlJ7O02CAo6zxb60lVW+zEKRGkYERuxCB/FWvrQCfSHIAh0Mbgcoe5Uc+z8SeVDVz5w4L1kRt31JwD/Whqy5G0lcqifS3aBCA3thhnJcP5ku2a8vW56485wOHxyY9juiuUXwEk2jtw9p6VbILIpB3fSVWTIsNNRcIvRYg5FXA61SYVCEVkiAGBkrrOOzG1fesuBvMoVneZSby6p2NDxOzOth/ws0E+RVdp52hjbeRI2C5fXzIzkHgj/mTofeWDm/s7mPaNP3DZ58KhEytJ47j1tWKaFjGERJgeuukK4KJnLnoSt6tCLPpqqWmxHfMftd2V1xy3dHJz63M5/PNXcnIm/PaEn0ZbO8Dam31F26LsLy04C6IacEYSeSBTFYgzJRAqC6qFCxoJBu6Y0BuCNhKAqKhg5tVF+LFshIB2N9KGHlm2pXvCrFlM+XuMt23XN+sjPOpt7/OElyyIe9Rsf85biQZ/MfR5nKWc0J0nkY0xTxLGGJIb091NkboduEtG/Xw6X5IMsyjmK1QfV5PJsCm9IReN47/DAa8FVBG0NSUudTVPN6TjvuMc3VKTdRf98P1PPJ1IY803l23TagouJRKiMpUWBNUvMOSgJ5vuUEm7ZcFPZvrMGoafNwSqxRGOTiL5FNuRAHrQdGgLN/eByuXKnkPA0wxrcQJWaSBDMXB5Q4TkK8WgrWuQgWFTIVX2XL34lEBN7zUup/hsbZO8wSG7aJI3IQaZYIJNZCGSynycR5M0DMgIfpQvOt5OihYt/FT2kcOOXwv7fLdkSHq93C0S9HvxGuWOSL0g4UpPGeYP90FrL4Vb8kIj0DNNAfOxeEE5ydgs5KqH3GOypxaL+T+NwqhCXehouWLh4/RPH5NAdlpbnVyQvfMwNmU5KyEgQbFKgaoV1IGgufnFROQ6FUn4Ng1x+HvZVjQ7RyLwug5g9e7b8Uap8wCDtvZy9xyIyjh9Loe/cZghPDYTd4iAy5BBw/gkyKaoRbGIwcnhOz+qmiQKhAU1MwLzafyk47ul7j0cLwCd4KChS4KJNETICRJ1DNNGgWhRPbOc4RRzuODzIRdbbElnIyfYUtGyNRDW9mT115S/6VacFYfafOOpou4pPWQVGaB/QTEBTswSP1or8uz9A7D8Hwpp4kIbJL3g25CFbscGiY7FNGxuiF2MVroXtLUaB6s/tPE9zSOkUtIywyZPCKreT2bDiid6dUvKtC/iQeNK+SGfCdEdjU9IJRxf99tPdApHRrfNM24V1sWtwnnIQmpQEt0U0HONQBjbDF87ApKaLYQgg3yZzoihrmEhRjbEqOgm/0cZD9BbCQ7bvECg73Yqx2JrRjb4XPv3Q1QdwBnnpSfYpfWSvFbNn75YNrUB8YV6Z/uXnTkuxg131Iywyk5gdwEvtc7Jul7scW0JDjQC91UBebx/NQhRL5qPrGUTjJv63ZSI2K1VQPAGogggjE0dxZBdmxefjcusp9c5By2ahm/Lzn480Xwj/JYAzghiqfDTUzanoIQ/7JDMU66I3fgGEghtll01HODJNNooH5ENSyF7jSbwWGYnfaiOJeLyEje7rEVTFVuJOJ4xy11EoInlMOnJPw5vfHYkektOC4HZ68AT35mzhkKOKdbHrsDZ2c67xJdJ3bspoJSB6rY3SijKYfYZiuzyaCh+qLwQiWyOGq5Mv4lqpGh7yXJmmEWg8GktSQtf6ML5qEGuWPthLsDO9L3Ttxgj1wxwQ5oh4re1mrG2/FQL9n71AphWro1bm/gzGlPmxatLvUO6n2ttKYUp6FSbJGym34jl241RcO+T9BvmOns5ccfi1u/p1tvar4XGl+56t3JncOHlvbNt3KnG2ILZFB5TbFAOy4eum4C/RX8q2TQkIgVnTdhtWtnyPCn4tdyIi+Y3RwpHco6MPNQReHrkZTw36Da5ybckeZy7Psvnn9OvYdo7BTJOzkgC/rLO1g2JyUZFsXSKrgQs1t/wszhZEbSrvko+TFblawSsmsSD0GErE1hwIljWt+DV4sP6n1NkuISBSrg5w0uTsn9jI7DZQ6Y5i5LhJGDx8BDwB/xcvb9EJZZNHhmDQn00c8zpbO4/n1ypGb1jtRNctJ1I4g5ySYvWMNHCbMRbDtE/hEduQL0bwo6J/w0+aH0GdUZ5DX2f2xY/qH8Zt+WswwbuTzCsbdTns47T7J4gAQmnkD8hDaGQhTJsjHo0RHRsI+H3UuhGQTKW3d7a2UzPoSTNh5POk7RJL8n6IM8gpux2Xz1/7bmuq4OIBSgTfL15KkdaCQkHNtPNR3T4Lbycn5oBkL/IMVCp78Z3gCqqF6bTohXNVa7bxSRFbCFBULjEhFNJXF2mYUsRi7Aeeq55/Bj0g4qluDBs95dF2I+Rqt/ui3SzFKO1DqPS4m5x0tHsfgtBRYwyESVE4uxP1di+sT05Ci1GAXk4b/Ab1IdPZX1RkatvkgUUGAS3DtmYahz2SiH5zZv7Me87YY+2qdHoSK5cuLD3a6BxZ2ZKNSfQC3IPz1HrcF1qKkBQnG5RzftBqhvBK+3XYqlfmdiN7Ze2TupT4B6EeI6WD6KNZkSHu5Ao6geWhH07Zja9AOgexaMY4b/LI5g3RW7A9PiVbntMLaiiRWvFwaBF6K/SrG5kKWRiZDvlGugxvpL+F/XwUDYrwUT/YK/N33BpbXezGC/PDLIavUDoFUR2eOs5rtm4OSiJWNd+Ld1KTPt99ejr788gN7nWYrL2NAqeVEiwaMIixWACip3/kkDz62UZXv9cnPzxgB/5K0ik7UVYakchcFApkcwueQS9Rx+vx60E9sJwjv568CttTl+ESYTeqxE9Q5uXvuj2F/6MphatHhKu6XSOfq5ySnbbce/32AsmodFPFpdL+H01UYFn8LrQ5RaB2KqhVF/WIfFWRV3jxx4+xv9qudyanBPHO7bP7B13GW34pMUSlklHKUGQmTjogX7H1TfFbq3we9aUHHmVx/A3IabvinHN2bOaPb1ac5GDF3adNC/R7zbVkei2+lq/l71f+AAyU/NPXrcSqAAAAAElFTkSuQmCC",e2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/kanban-d6729062.png",t2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAYAAACoYAD2AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAesSURBVHgB7Zd7bF5lHce/z3Oec30vXbt1WdeFGNGk6jRKdGNRo5QlkhiniyFK0DFh6lCSCgvgYCGVBZjiNrYiI+yiBoMsAecfxgRmKIpT6gbxH0kFlewC7Nr37Xs594vf844lNKlr37qykOzbnPa9nD7nc77P73aAS3qP6MgtQwvxf0pgljS8evB9zpj35FzfWNrd3fWCNq94bXHbt09gBpoVyJH1989N/lUdcc5ElxeaEp3SQamnPBotcK4qPvL942hTErOhk421hhdfrqIMSFKETRfJkUpf4Wj1ucb3frIAbWpWIEWSLteyFCLL8tdI0wS+5yF5q/Yh54g33C7orECmcXhMyJS0Z48MCX9iBFEIUQ36CsfctkBnBTLM0kdjmSBThOORCh50Naa7cRozBLK+wskcdHBaoLMCeVhUu99snozDgFssQiQy9zGlm0CcED6lw6bRVxiXw9k0QC845BM3rLlOO1X/ZaNRV0crbyKsNBGlEaJ8wxmfSZwhbYaAG7ZA4U4NekFL0K+/ceMKOVbfp8Z8CT9GHMRwmsBlSSccx4ElLRR0E7ajw7AlZFkH5lq0KhltWmB5Gjw+q5BPXHfTV/Tx+tN6xZeal0KGGbIkQ16FLDfDosCBXSjBVg4c04BjCeg6s98RLdCsIEZdx5gUdNqQh76zqUO68XI9lVcapnI1U/zxA4/e/lz+3d58i0/XfmVUAqncFBp3spXc0Jg8GkJF1yoBFjUUHS3DNghqaLD0FLoWQRq8k04D2XxnVCya83lx/90n2oY8sPreT1nV6Ld2PVtoJxpMU0EWefGSOPhK9saO5qkTu8wc0MugWoCSeBJC6RB0LVUKPmtldryGXlfCtjtg6xYcOmmqiKAxNFYBkW//+7tewYc/vkTcvqp57vraVIAjawf79Ur4rFVLuiyXse4LWBHgMAGcMO0tjcdfboydEJqfQY/oHQEVl1XKgG5aULoOTWrQMomIjtZCD2YQ8Mp0ueUR4fPcz0tTzM8Drzs1vPGNf/vLgXMMaipIxtdu3YsdRQDJdUSU8G8GLZLQQ4GFmgXb68GrwRtIJc8RdJEOaqYJoRsQfJ+m3E7emJVI1AsWjqQNLIzHEckiIq5pEVLpMTsUYyRnrVQb72Q4L+Sf7/hxCW/VuvLWJmLBFscPU4EsX4zOSLoqVIa5RhmLGwn+rc4gsVQLULYA6VYOyCSSYQrFRDIzgfGCicNxiB4rYxFIYXE9I/fVVgjmd/7d+WDvnglGnQ9yz4E/hKs/9llHi9PPaT4vQjcU+TR2D00w/lhlhc5fOuNUKHQEEp7FzDYMSG6x4A2BcFnILY2TVg9P+X+hLlDrKVSyuR2DwjT7fF12eGUrC7tLO6qXOas+sWnTBCenlTgHv3bHZnMsus2uADbdM/OyognYTCCNNY9vWtMOxl1OPDUcK7B4Sx0pHUwIGBMwJmDAruPR+fF5RsXrLi3/5m9+9nK+/vBN9y2uJtGxlb8YrE52/WmXoJGV67YUKtGtvH8mjSQXSwghjZIBlHmwpCBkQJ2pI6pVcSwLESSCXSZrdZrwbcDmPKtSX1j+wtf3bjs43WtPmd3ntGv0r89866NXdog4XpbXQRYhZjCThFstGIcoELRAVwt0l6YWGz4aoc+hAq2+HSgBr9upxd321V99augltKFpQ+ba+eoIQZeVEUbLNFYLXaoWqGRW53EJMz/UWVC+LLk+arEPj3GbA/o9pau+9NTQy2hTbUHmeuy1kWdXL17SgSBepgK2NmawRkiRTzZMitYMyXjN41Rjfy5pCU4XVaXR03H1F/c+1DZgrinr5GR68Yqu3/W+Vrv1I6M+JJ9htDzBmRiI8ipPQOPtlR2Tg04nrugyz4he5z+Yodp28qH161d4jWDvcU03IyHQUXHZChmfNFFLmDghAzbvKGGQj+jIO4rIki4oI/jRi396HjNQW/Pk0OBgvx+kj4ehKCfM8H/MKeP1+eYzZyIXjUaI2CVUPivW/FY5QoXlrtZsHZnnrcIMNW3IoY0b+4Mo28eeURbCZicxoBxr4JoXHr6m0omtp2MPNS9GFLBw56XI59Z7dLPp8Wgi9dxezFDTgtzxwAP97Nj7NWWXFedBgkJ3igP3/HzD9vz7pYd23lbpyracSjyMEzBg8U7yx4Q4b8QsQAyDKIqOYoaaEnLH1gf7U03br+tFqbQCL8iyY9kDGx67c/s7z1t6aPe6SqfccpJFvMou4xLOZ092mUdNzpR13fw9ZqjzQj6yefMKFpl9ul6SuuYg5uSTCXPNXdvWbZ/s/GUv7V43NsfacpwT7xi7TJ2fNQyFWrl8uFac8yBmqP/ZFncObe1Hpu2T0imLTMEdjzjupQM/2Pjd7VMtOvyZmzfZzeadBQ6yakFpTMwpfrLv8Z++jhlKTA441C+k3Kc0pyxZ9NwaAf104JZ7bpwS8JyeX3n3tSqLeg1Lf3rJk/fNOB4nhdyzY6g/y87GYA7o1xn0bjpw84ZV0wa80JoQk7uGtn6avWO/YZaZJDZCPrMkvriogLkmtEU+pTzMEiMVn4+DZoLQTdesvev63bjImgAZNbNqPqQaKuawKgbW/vDiA+aaAFkfw/VsEyssS/5z4N4bhnFJl/Tu679UWnoRYOoVMgAAAABJRU5ErkJggg==",n2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/contributors-753a72cb.png",mi=t=>(Zi("data-v-d5d425dc"),t=t(),Ji(),t),r2={class:"wechatModal"},i2=mi(()=>F("div",{class:"title"},[F("img",{style:{width:"24px","margin-top":"-2px"},src:jq,alt:""}),F("div",{class:"titleText"},"Welcome to be our contributor")],-1)),a2=mi(()=>F("div",{class:"desc"}," You can pick tasks from the roadmap. If you're concerned about development conflicts, you can create issues in advance to reserve tasks. You can also contribute in other roles within the MetaGPT software team. Come join us and build together! ",-1)),o2={class:"links"},s2={style:{width:"84px","text-align":"right"}},l2=["onClick"],c2=mi(()=>F("div",{class:"viwer"},[F("img",{style:{width:"100%"},src:e2,alt:""})],-1)),u2={class:"button"},d2=mi(()=>F("img",{src:t2,style:{width:"20px"},alt:""},null,-1)),_2=mi(()=>F("div",{class:"welcomText"},"We are waiting for your join.",-1)),p2=mi(()=>F("div",{class:"contributor"},[F("span",null,"Contributors"),F("div",{class:"count"},"23")],-1)),m2=mi(()=>F("img",{style:{width:"244px"},src:n2,alt:""},null,-1)),g2=be({__name:"contributorModal",props:{visible:{type:Boolean}},emits:["update:visible"],setup(t,{emit:e}){const i=yt(t,"visible"),o=()=>{e("update:visible",!1)},s={ROADMAP:"https://github.com/geekan/MetaGPT/blob/main/docs/ROADMAP.md",TASKS:"https://github.com/users/geekan/projects/1/views/2"},l=c=>{window.open(c)};return(c,d)=>(V(),ot(wC,{visible:q(i),"onUpdate:visible":d[1]||(d[1]=_=>wr(i)?i.value=_:null),style:{width:"709px",height:"799px"},onClose:o},{default:dt(()=>[F("div",r2,[i2,a2,F("div",o2,[(V(),ae(st,null,yn(s,(_,p)=>F("span",{key:p,style:{display:"flex",gap:"20px"}},[F("div",s2,$e(p)+":",1),F("div",{class:"link",onClick:g=>l(_)},$e(_),9,l2)])),64))]),c2,F("div",u2,[d2,F("span",{onClick:d[0]||(d[0]=_=>l("https://github.com/users/geekan/projects/1/views/2"))},"Lock Task")]),_2,p2,m2])]),_:1},8,["visible"]))}});const E2=Dt(g2,[["__scopeId","data-v-d5d425dc"]]),km=t=>({...t,parent:null,children:[]}),XS=(t,e)=>{t.children.length||(t.children=[]),t.children.push(e),e.parent=t},f2=(t,e)=>{const n=new Map;n.set(e.id,e);const i=[];return e.children=i,t.forEach(o=>{n.set(o.id,o)}),t.forEach(o=>{const s=km(o);n.set(o.id,s)}),{messageMap:n,root:e}},cN=t=>{t.children.length&&(t.children=t.children.sort((e,n)=>Ka(e.created_at).isAfter(n.created_at)?1:-1),t.children.forEach(e=>cN(e)))},uN=t=>{const e=[];for(e.push(t);e.length;){const n=e.pop();if(!n.children.length)return n;e.push(...n.children)}return e[e.length-1]},S2=t=>{const e=(s,l)=>s.findIndex(c=>c.id===l.id)+1,n=[],i=uN(t);let o=i;for(;o!=null&&o.parent;)n.unshift({current:e(o.parent.children,o),is_user_message:o.is_user_message,activeNode:o,renderPath:o.parent.children}),o=o.parent;return{renderPath:n,lastLeaf:i}};var Xt=(t=>(t.RUNNING="running",t.FINISH="finish",t.FAILED="failed",t.TERMINATE="terminate",t))(Xt||{}),Dr=(t=>(t.TEXT="text",t.AUDIO="audio",t.IMAGE="image",t.FAILED="failed",t))(Dr||{}),Ut=(t=>(t.INIT="init",t.IDLE="idle",t.RUNNING="running",t.FINISH="finish",t.FAILED="failed",t.TERMINATE="terminate",t))(Ut||{}),$s={exports:{}};/**
+}`)};return(E,f)=>(V(),ae(st,null,[B("div",h2,[T2,B("span",v2,[(V(),ae(st,null,yn(e,(S,T)=>B("span",{key:T},[B("span",C2,Qe(S.name),1),B("span",R2,Qe(S.affiliation),1),T===5?(V(),ae("br",N2)):Ge("",!0)])),64))]),B("span",O2,[(V(),ae(st,null,yn(n,(S,T)=>B("span",{key:T},[B("span",A2,Qe(S),1),T===2?(V(),ae("br",y2)):Ge("",!0)])),64))]),B("div",I2,[(V(),ae(st,null,yn(l,(S,T)=>B("div",{key:T,class:It({link:!0,enabled:S.action}),onClick:S.action},[B("span",x2,[(V(),ot(ea(S.icon)))]),B("span",w2,Qe(S.name),1)],10,D2)),64))]),B("div",M2,[L2,B("div",P2,[ce($(DC),{onClick:g})]),B("div",k2,[ce($(aN),{style:{"max-height":"100%"}},{default:dt(()=>[vt(" @misc{hong2023metagpt,"),U2,B("span",{innerHTML:Bi}),vt("title={MetaGPT: Meta Programming for Multi-Agent Collaborative Framework},"),F2,B("span",{innerHTML:Bi}),vt("author={Sirui Hong and Xiawu Zheng and Jonathan Chen and Yuheng Cheng and Jinlin Wang and Ceyao Zhang and Zili Wang and Steven KaShing Yau and Zijuan Lin and Liyang Zhou and Chenyu Ran and Lingfeng Xiao and Chenglin Wu}, "),B2,B("span",{innerHTML:Bi}),vt("year={2023},"),G2,B("span",{innerHTML:Bi}),vt("eprint={2308.00352},"),Y2,B("span",{innerHTML:Bi}),vt("archivePrefix={arXiv},"),q2,B("span",{innerHTML:Bi}),vt("primaryClass={cs.AI}"),$2,vt(" } ")]),_:1})]),H2]),B("div",z2,[$(_)?Ge("",!0):(V(),ae("img",V2)),Pn(B("video",{ref_key:"videoRef",ref:c,muted:"",src:fM,style:{width:"100%","border-radius":"20px"},autoplay:!0,playsinline:!0,loop:!0,"x-webkit-airplay":"deny",onloadeddata:p},null,512),[[Xs,$(_)]])])]),ce(VL,{visible:$(i),"onUpdate:visible":f[0]||(f[0]=S=>Mr(i)?i.value=S:null)},null,8,["visible"])],64))}});const K2=Dt(W2,[["__scopeId","data-v-01535cfb"]]),Q2="/static/assets/sparkles-50d190d6.svg",oN="/static/assets/role0-73c01153.png",sN="/static/assets/role1-8fd25a72.png",lN="/static/assets/role2-d49c6a81.png",cN="/static/assets/role3-d2c54a2d.png",X2="/static/assets/role4-a6ccbb5f.png",Z2="/static/assets/role5-16fddacc.png",J2="/static/assets/role6-c9a82246.png",j2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAxCAYAAABznEEcAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3bSURBVHgB7VkJdJXlmX6+f7/7zXKTsCdkgChCpcKgJgwgglNcwAVcqhaKA2gRONZljl3mOp4RcCnVEWdadXCsBTFQFbEMYtkElMqASFUEKiEhCQlZ7n7/+29f33uVNrUBEog9PT2+Of+5ud//v9/3P9/3vs+7XOBr+Vr+dqRm69Vl/MiMYHd0xi3fGxyz/rPh6CERcA6y+blLfxpA7DMuGweTNXNHdFWvFeJbcU/Jvqn70y+iB+SsQbwybZrIDPtuwVLADDWkCYlru6jKMo5vlGZqaDPVCvSAnDWI6dXVtpWQd7TV20h81ox0bfr3XdG7fMnGCocrgANkMmhED4iEc5BkpGJak5UeE0/4Twy/67+2dkUnJrgHMkEGoz/HdBrQA3JOIKY88lwTfazujk6Ga4OzIHKLZ4w96AE5axBHLgwHJUEd7w369uRtmne0q3oOwwRZVGDT/6qoHfzy/R3Df3B9hVJ0Q35e3ga28fYXujJnl0BMIyeuJh84+f2Nixb0b4/z/x/iKSh0Cf7axLTlo73VM4931BkXXq6l+lbcyCXPQJnxJsVJ/Tr067q6faJruEeRYdtOqm7Hi7s66rx6wX3lrpR7tUsMANx9U+rKXxx0v3nbzjO932lBbK5YWFrCCreX1hb2eXnilQ+IG2c8mh1X4solmukqZE6WmcT+clSdT8MP/hHAovWlLXmhTVwJlbnJdCzLQMYWdGNs/3Wc+fpJkkRj5paa8Ey943pBx+NTTBecNJlblNZRRT+6IKdlJwfa9zXT20c0VfCM8+8nx926+JbuGKmUroPrFmRbXMDHLf9jwGsT3P8NV1GZh3kRb7ORbjahNxtaU0q9QXYFYEkMqiNWf3m98R+HPzAhP94a12ua26PLpO23/B/OGYSjfUo0iGgkg7a2RO3J8TG1i9t1QX8ibiZgZgwwnbvTEpuZvTct/EqJJXmuKNTcaM+ka9xNzdex43VrYu0xcCUAl+oGd1CTV3NkZWdrjjh6930D6meVFR+eNQ9dlNOCmHgw/HRcYrcft/X7a2BO6HivVW77WdxJWLpBp2HY0DPmDdnxeEIocmwBKduET0zW7vmPi14V/OwOJeCD5smHI4pwpfXl6+cPyqCHhOEc5P3y+7f3E/pW5nkDiMjp9KGSaPGSkqB9tM8F9anikiBTOHgytRYGqxJdoXyfKwTmYijxxya8MTm4CT0k5xQnuGRsNy290ra9tBuCyxcXzn9j7Zxd/3TfhiWWFF9keHxgQuAaRXHDiwBMgyMQdKAzFHRl/o9GPVqiymahZoliO4sdH7brkSb0NAhDMA5Zjk6+Y0NkDHIGZTS8a9tjVyy+7N6tWiyJhYaSF1AkDp23RtIeFvSJRVlfi3c2316KPSqX5/gtbaIqKFWaoaiSJebmLiY9c/TzHG5pp6SJN7H1tx47qdet3GnPmu8NaFw/o/SdZ+7My35nolXHYSHLYxItJNl/osRNj48Nl0UO9tUSkYEFLbW9nejv16mSAIszeCy9peO8y0tnaB8MfeiBvIzvSC87tLhAKpzgF/JUhdNJWkQERLs8o1Hm6GaS4a2E7ZrVUb9LJ/Hu8qmlpX3cv/BpJ6pES8eQ3sBnL1//fupDo5GtdGgnOAQmQmGi01Gv+pnpCfrIXrj0nh2H00kH6TajZu3M4O6Tz2yuCJfmc2F1sV14kU/xQOASMR6gGw4yjgWLcYNxJoicSdmMy5u2uJlJ7O02CAo6zxb60lVW+zEKRGkYERuxCB/FWvrQCfSHIAh0Mbgcoe5Uc+z8SeVDVz5w4L1kRt31JwD/Whqy5G0lcqifS3aBCA3thhnJcP5ku2a8vW56485wOHxyY9juiuUXwEk2jtw9p6VbILIpB3fSVWTIsNNRcIvRYg5FXA61SYVCEVkiAGBkrrOOzG1fesuBvMoVneZSby6p2NDxOzOth/ws0E+RVdp52hjbeRI2C5fXzIzkHgj/mTofeWDm/s7mPaNP3DZ58KhEytJ47j1tWKaFjGERJgeuukK4KJnLnoSt6tCLPpqqWmxHfMftd2V1xy3dHJz63M5/PNXcnIm/PaEn0ZbO8Dam31F26LsLy04C6IacEYSeSBTFYgzJRAqC6qFCxoJBu6Y0BuCNhKAqKhg5tVF+LFshIB2N9KGHlm2pXvCrFlM+XuMt23XN+sjPOpt7/OElyyIe9Rsf85biQZ/MfR5nKWc0J0nkY0xTxLGGJIb091NkboduEtG/Xw6X5IMsyjmK1QfV5PJsCm9IReN47/DAa8FVBG0NSUudTVPN6TjvuMc3VKTdRf98P1PPJ1IY803l23TagouJRKiMpUWBNUvMOSgJ5vuUEm7ZcFPZvrMGoafNwSqxRGOTiL5FNuRAHrQdGgLN/eByuXKnkPA0wxrcQJWaSBDMXB5Q4TkK8WgrWuQgWFTIVX2XL34lEBN7zUup/hsbZO8wSG7aJI3IQaZYIJNZCGSynycR5M0DMgIfpQvOt5OihYt/FT2kcOOXwv7fLdkSHq93C0S9HvxGuWOSL0g4UpPGeYP90FrL4Vb8kIj0DNNAfOxeEE5ydgs5KqH3GOypxaL+T+NwqhCXehouWLh4/RPH5NAdlpbnVyQvfMwNmU5KyEgQbFKgaoV1IGgufnFROQ6FUn4Ng1x+HvZVjQ7RyLwug5g9e7b8Uap8wCDtvZy9xyIyjh9Loe/cZghPDYTd4iAy5BBw/gkyKaoRbGIwcnhOz+qmiQKhAU1MwLzafyk47ul7j0cLwCd4KChS4KJNETICRJ1DNNGgWhRPbOc4RRzuODzIRdbbElnIyfYUtGyNRDW9mT115S/6VacFYfafOOpou4pPWQVGaB/QTEBTswSP1or8uz9A7D8Hwpp4kIbJL3g25CFbscGiY7FNGxuiF2MVroXtLUaB6s/tPE9zSOkUtIywyZPCKreT2bDiid6dUvKtC/iQeNK+SGfCdEdjU9IJRxf99tPdApHRrfNM24V1sWtwnnIQmpQEt0U0HONQBjbDF87ApKaLYQgg3yZzoihrmEhRjbEqOgm/0cZD9BbCQ7bvECg73Yqx2JrRjb4XPv3Q1QdwBnnpSfYpfWSvFbNn75YNrUB8YV6Z/uXnTkuxg131Iywyk5gdwEvtc7Jul7scW0JDjQC91UBebx/NQhRL5qPrGUTjJv63ZSI2K1VQPAGogggjE0dxZBdmxefjcusp9c5By2ahm/Lzn480Xwj/JYAzghiqfDTUzanoIQ/7JDMU66I3fgGEghtll01HODJNNooH5ENSyF7jSbwWGYnfaiOJeLyEje7rEVTFVuJOJ4xy11EoInlMOnJPw5vfHYkektOC4HZ68AT35mzhkKOKdbHrsDZ2c67xJdJ3bspoJSB6rY3SijKYfYZiuzyaCh+qLwQiWyOGq5Mv4lqpGh7yXJmmEWg8GktSQtf6ML5qEGuWPthLsDO9L3Ttxgj1wxwQ5oh4re1mrG2/FQL9n71AphWro1bm/gzGlPmxatLvUO6n2ttKYUp6FSbJGym34jl241RcO+T9BvmOns5ccfi1u/p1tvar4XGl+56t3JncOHlvbNt3KnG2ILZFB5TbFAOy4eum4C/RX8q2TQkIgVnTdhtWtnyPCn4tdyIi+Y3RwpHco6MPNQReHrkZTw36Da5ybckeZy7Psvnn9OvYdo7BTJOzkgC/rLO1g2JyUZFsXSKrgQs1t/wszhZEbSrvko+TFblawSsmsSD0GErE1hwIljWt+DV4sP6n1NkuISBSrg5w0uTsn9jI7DZQ6Y5i5LhJGDx8BDwB/xcvb9EJZZNHhmDQn00c8zpbO4/n1ypGb1jtRNctJ1I4g5ySYvWMNHCbMRbDtE/hEduQL0bwo6J/w0+aH0GdUZ5DX2f2xY/qH8Zt+WswwbuTzCsbdTns47T7J4gAQmnkD8hDaGQhTJsjHo0RHRsI+H3UuhGQTKW3d7a2UzPoSTNh5POk7RJL8n6IM8gpux2Xz1/7bmuq4OIBSgTfL15KkdaCQkHNtPNR3T4Lbycn5oBkL/IMVCp78Z3gCqqF6bTohXNVa7bxSRFbCFBULjEhFNJXF2mYUsRi7Aeeq55/Bj0g4qluDBs95dF2I+Rqt/ui3SzFKO1DqPS4m5x0tHsfgtBRYwyESVE4uxP1di+sT05Ci1GAXk4b/Ab1IdPZX1RkatvkgUUGAS3DtmYahz2SiH5zZv7Me87YY+2qdHoSK5cuLD3a6BxZ2ZKNSfQC3IPz1HrcF1qKkBQnG5RzftBqhvBK+3XYqlfmdiN7Ze2TupT4B6EeI6WD6KNZkSHu5Ao6geWhH07Zja9AOgexaMY4b/LI5g3RW7A9PiVbntMLaiiRWvFwaBF6K/SrG5kKWRiZDvlGugxvpL+F/XwUDYrwUT/YK/N33BpbXezGC/PDLIavUDoFUR2eOs5rtm4OSiJWNd+Ld1KTPt99ejr788gN7nWYrL2NAqeVEiwaMIixWACip3/kkDz62UZXv9cnPzxgB/5K0ik7UVYakchcFApkcwueQS9Rx+vx60E9sJwjv568CttTl+ESYTeqxE9Q5uXvuj2F/6MphatHhKu6XSOfq5ySnbbce/32AsmodFPFpdL+H01UYFn8LrQ5RaB2KqhVF/WIfFWRV3jxx4+xv9qudyanBPHO7bP7B13GW34pMUSlklHKUGQmTjogX7H1TfFbq3we9aUHHmVx/A3IabvinHN2bOaPb1ac5GDF3adNC/R7zbVkei2+lq/l71f+AAyU/NPXrcSqAAAAAElFTkSuQmCC",eq="/static/assets/kanban-d6729062.png",tq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAYAAACoYAD2AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAesSURBVHgB7Zd7bF5lHce/z3Oec30vXbt1WdeFGNGk6jRKdGNRo5QlkhiniyFK0DFh6lCSCgvgYCGVBZjiNrYiI+yiBoMsAecfxgRmKIpT6gbxH0kFlewC7Nr37Xs594vf844lNKlr37qykOzbnPa9nD7nc77P73aAS3qP6MgtQwvxf0pgljS8evB9zpj35FzfWNrd3fWCNq94bXHbt09gBpoVyJH1989N/lUdcc5ElxeaEp3SQamnPBotcK4qPvL942hTErOhk421hhdfrqIMSFKETRfJkUpf4Wj1ucb3frIAbWpWIEWSLteyFCLL8tdI0wS+5yF5q/Yh54g33C7orECmcXhMyJS0Z48MCX9iBFEIUQ36CsfctkBnBTLM0kdjmSBThOORCh50Naa7cRozBLK+wskcdHBaoLMCeVhUu99snozDgFssQiQy9zGlm0CcED6lw6bRVxiXw9k0QC845BM3rLlOO1X/ZaNRV0crbyKsNBGlEaJ8wxmfSZwhbYaAG7ZA4U4NekFL0K+/ceMKOVbfp8Z8CT9GHMRwmsBlSSccx4ElLRR0E7ajw7AlZFkH5lq0KhltWmB5Gjw+q5BPXHfTV/Tx+tN6xZeal0KGGbIkQ16FLDfDosCBXSjBVg4c04BjCeg6s98RLdCsIEZdx5gUdNqQh76zqUO68XI9lVcapnI1U/zxA4/e/lz+3d58i0/XfmVUAqncFBp3spXc0Jg8GkJF1yoBFjUUHS3DNghqaLD0FLoWQRq8k04D2XxnVCya83lx/90n2oY8sPreT1nV6Ld2PVtoJxpMU0EWefGSOPhK9saO5qkTu8wc0MugWoCSeBJC6RB0LVUKPmtldryGXlfCtjtg6xYcOmmqiKAxNFYBkW//+7tewYc/vkTcvqp57vraVIAjawf79Ur4rFVLuiyXse4LWBHgMAGcMO0tjcdfboydEJqfQY/oHQEVl1XKgG5aULoOTWrQMomIjtZCD2YQ8Mp0ueUR4fPcz0tTzM8Drzs1vPGNf/vLgXMMaipIxtdu3YsdRQDJdUSU8G8GLZLQQ4GFmgXb68GrwRtIJc8RdJEOaqYJoRsQfJ+m3E7emJVI1AsWjqQNLIzHEckiIq5pEVLpMTsUYyRnrVQb72Q4L+Sf7/hxCW/VuvLWJmLBFscPU4EsX4zOSLoqVIa5RhmLGwn+rc4gsVQLULYA6VYOyCSSYQrFRDIzgfGCicNxiB4rYxFIYXE9I/fVVgjmd/7d+WDvnglGnQ9yz4E/hKs/9llHi9PPaT4vQjcU+TR2D00w/lhlhc5fOuNUKHQEEp7FzDYMSG6x4A2BcFnILY2TVg9P+X+hLlDrKVSyuR2DwjT7fF12eGUrC7tLO6qXOas+sWnTBCenlTgHv3bHZnMsus2uADbdM/OyognYTCCNNY9vWtMOxl1OPDUcK7B4Sx0pHUwIGBMwJmDAruPR+fF5RsXrLi3/5m9+9nK+/vBN9y2uJtGxlb8YrE52/WmXoJGV67YUKtGtvH8mjSQXSwghjZIBlHmwpCBkQJ2pI6pVcSwLESSCXSZrdZrwbcDmPKtSX1j+wtf3bjs43WtPmd3ntGv0r89866NXdog4XpbXQRYhZjCThFstGIcoELRAVwt0l6YWGz4aoc+hAq2+HSgBr9upxd321V99augltKFpQ+ba+eoIQZeVEUbLNFYLXaoWqGRW53EJMz/UWVC+LLk+arEPj3GbA/o9pau+9NTQy2hTbUHmeuy1kWdXL17SgSBepgK2NmawRkiRTzZMitYMyXjN41Rjfy5pCU4XVaXR03H1F/c+1DZgrinr5GR68Yqu3/W+Vrv1I6M+JJ9htDzBmRiI8ipPQOPtlR2Tg04nrugyz4he5z+Yodp28qH161d4jWDvcU03IyHQUXHZChmfNFFLmDghAzbvKGGQj+jIO4rIki4oI/jRi396HjNQW/Pk0OBgvx+kj4ehKCfM8H/MKeP1+eYzZyIXjUaI2CVUPivW/FY5QoXlrtZsHZnnrcIMNW3IoY0b+4Mo28eeURbCZicxoBxr4JoXHr6m0omtp2MPNS9GFLBw56XI59Z7dLPp8Wgi9dxezFDTgtzxwAP97Nj7NWWXFedBgkJ3igP3/HzD9vz7pYd23lbpyracSjyMEzBg8U7yx4Q4b8QsQAyDKIqOYoaaEnLH1gf7U03br+tFqbQCL8iyY9kDGx67c/s7z1t6aPe6SqfccpJFvMou4xLOZ092mUdNzpR13fw9ZqjzQj6yefMKFpl9ul6SuuYg5uSTCXPNXdvWbZ/s/GUv7V43NsfacpwT7xi7TJ2fNQyFWrl8uFac8yBmqP/ZFncObe1Hpu2T0imLTMEdjzjupQM/2Pjd7VMtOvyZmzfZzeadBQ6yakFpTMwpfrLv8Z++jhlKTA441C+k3Kc0pyxZ9NwaAf104JZ7bpwS8JyeX3n3tSqLeg1Lf3rJk/fNOB4nhdyzY6g/y87GYA7o1xn0bjpw84ZV0wa80JoQk7uGtn6avWO/YZaZJDZCPrMkvriogLkmtEU+pTzMEiMVn4+DZoLQTdesvev63bjImgAZNbNqPqQaKuawKgbW/vDiA+aaAFkfw/VsEyssS/5z4N4bhnFJl/Tu679UWnoRYOoVMgAAAABJRU5ErkJggg==",nq="/static/assets/contributors-753a72cb.png",Ei=t=>(Ji("data-v-d5d425dc"),t=t(),ji(),t),rq={class:"wechatModal"},iq=Ei(()=>B("div",{class:"title"},[B("img",{style:{width:"24px","margin-top":"-2px"},src:j2,alt:""}),B("div",{class:"titleText"},"Welcome to be our contributor")],-1)),aq=Ei(()=>B("div",{class:"desc"}," You can pick tasks from the roadmap. If you're concerned about development conflicts, you can create issues in advance to reserve tasks. You can also contribute in other roles within the MetaGPT software team. Come join us and build together! ",-1)),oq={class:"links"},sq={style:{width:"84px","text-align":"right"}},lq=["onClick"],cq=Ei(()=>B("div",{class:"viwer"},[B("img",{style:{width:"100%"},src:eq,alt:""})],-1)),uq={class:"button"},dq=Ei(()=>B("img",{src:tq,style:{width:"20px"},alt:""},null,-1)),_q=Ei(()=>B("div",{class:"welcomText"},"We are waiting for your join.",-1)),pq=Ei(()=>B("div",{class:"contributor"},[B("span",null,"Contributors"),B("div",{class:"count"},"23")],-1)),mq=Ei(()=>B("img",{style:{width:"244px"},src:nq,alt:""},null,-1)),gq=be({__name:"contributorModal",props:{visible:{type:Boolean}},emits:["update:visible"],setup(t,{emit:e}){const i=yt(t,"visible"),o=()=>{e("update:visible",!1)},s={ROADMAP:"https://github.com/geekan/MetaGPT/blob/main/docs/ROADMAP.md",TASKS:"https://github.com/users/geekan/projects/1/views/2"},l=c=>{window.open(c)};return(c,d)=>(V(),ot(MC,{visible:$(i),"onUpdate:visible":d[1]||(d[1]=_=>Mr(i)?i.value=_:null),style:{width:"709px",height:"799px"},onClose:o},{default:dt(()=>[B("div",rq,[iq,aq,B("div",oq,[(V(),ae(st,null,yn(s,(_,p)=>B("span",{key:p,style:{display:"flex",gap:"20px"}},[B("div",sq,Qe(p)+":",1),B("div",{class:"link",onClick:g=>l(_)},Qe(_),9,lq)])),64))]),cq,B("div",uq,[dq,B("span",{onClick:d[0]||(d[0]=_=>l("https://github.com/users/geekan/projects/1/views/2"))},"Lock Task")]),_q,pq,mq])]),_:1},8,["visible"]))}});const Eq=Dt(gq,[["__scopeId","data-v-d5d425dc"]]),Um=t=>({...t,parent:null,children:[]}),ZS=(t,e)=>{t.children.length||(t.children=[]),t.children.push(e),e.parent=t},fq=(t,e)=>{const n=new Map;n.set(e.id,e);const i=[];return e.children=i,t.forEach(o=>{n.set(o.id,o)}),t.forEach(o=>{const s=Um(o);n.set(o.id,s)}),{messageMap:n,root:e}},uN=t=>{t.children.length&&(t.children=t.children.sort((e,n)=>Qa(e.created_at).isAfter(n.created_at)?1:-1),t.children.forEach(e=>uN(e)))},dN=t=>{const e=[];for(e.push(t);e.length;){const n=e.pop();if(!n.children.length)return n;e.push(...n.children)}return e[e.length-1]},Sq=t=>{const e=(s,l)=>s.findIndex(c=>c.id===l.id)+1,n=[],i=dN(t);let o=i;for(;o!=null&&o.parent;)n.unshift({current:e(o.parent.children,o),is_user_message:o.is_user_message,activeNode:o,renderPath:o.parent.children}),o=o.parent;return{renderPath:n,lastLeaf:i}};var Xt=(t=>(t.RUNNING="running",t.FINISH="finish",t.FAILED="failed",t.TERMINATE="terminate",t))(Xt||{}),xr=(t=>(t.TEXT="text",t.AUDIO="audio",t.IMAGE="image",t.FAILED="failed",t))(xr||{}),Ut=(t=>(t.INIT="init",t.IDLE="idle",t.RUNNING="running",t.FINISH="finish",t.FAILED="failed",t.TERMINATE="terminate",t))(Ut||{}),$s={exports:{}};/**
* @license
* Lodash
* Copyright OpenJS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */$s.exports;(function(t,e){(function(){var n,i="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",_=500,p="__lodash_placeholder__",g=1,E=2,f=4,S=1,v=2,h=1,T=2,N=4,y=8,x=16,P=32,D=64,k=128,U=256,W=512,z=30,K="...",Ee=800,oe=16,L=1,J=2,re=3,G=1/0,X=9007199254740991,_e=17976931348623157e292,ve=0/0,he=4294967295,tt=he-1,lt=he>>>1,He=[["ary",k],["bind",h],["bindKey",T],["curry",y],["curryRight",x],["flip",W],["partial",P],["partialRight",D],["rearg",U]],Ce="[object Arguments]",Be="[object Array]",We="[object AsyncFunction]",xe="[object Boolean]",ze="[object Date]",rt="[object DOMException]",Ke="[object Error]",te="[object Function]",pe="[object GeneratorFunction]",ie="[object Map]",Pe="[object Number]",we="[object Null]",Xe="[object Object]",pt="[object Promise]",me="[object Proxy]",ht="[object RegExp]",Ue="[object Set]",Ie="[object String]",zt="[object Symbol]",Nt="[object Undefined]",Gt="[object WeakMap]",Sn="[object WeakSet]",ne="[object ArrayBuffer]",ce="[object DataView]",Oe="[object Float32Array]",Me="[object Float64Array]",ct="[object Int8Array]",xt="[object Int16Array]",Ze="[object Int32Array]",Yt="[object Uint8Array]",er="[object Uint8ClampedArray]",Z="[object Uint16Array]",ge="[object Uint32Array]",Ae=/\b__p \+= '';/g,it=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,tn=/[&<>"']/g,mt=RegExp(wt.source),ln=RegExp(tn.source),tr=/<%-([\s\S]+?)%>/g,El=/<%([\s\S]+?)%>/g,lo=/<%=([\s\S]+?)%>/g,fl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sl=/^\w*$/,bl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ca=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(ca.source),ua=/^\s+/,Tl=/\s/,vl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cl=/\{\n\/\* \[wrapped with (.+)\] \*/,Rl=/,? & /,Nl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ol=/[()=,{}\[\]\/\s]/,Al=/\\(\\)?/g,yl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,co=/\w*$/,Il=/^[-+]0x[0-9a-f]+$/i,Dl=/^0b[01]+$/i,xl=/^\[object .+?Constructor\]$/,wl=/^0o[0-7]+$/i,Ml=/^(?:0|[1-9]\d*)$/,Ll=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ei=/($^)/,Pl=/['\n\r\u2028\u2029\\]/g,fi="\\ud800-\\udfff",kl="\\u0300-\\u036f",Ul="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",uo=kl+Ul+Fl,_o="\\u2700-\\u27bf",po="a-z\\xdf-\\xf6\\xf8-\\xff",Bl="\\xac\\xb1\\xd7\\xf7",Gl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Yl="\\u2000-\\u206f",ql=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mo="A-Z\\xc0-\\xd6\\xd8-\\xde",go="\\ufe0e\\ufe0f",Eo=Bl+Gl+Yl+ql,da="['’]",$l="["+fi+"]",fo="["+Eo+"]",Si="["+uo+"]",So="\\d+",Hl="["+_o+"]",bo="["+po+"]",ho="[^"+fi+Eo+So+_o+po+mo+"]",_a="\\ud83c[\\udffb-\\udfff]",zl="(?:"+Si+"|"+_a+")",To="[^"+fi+"]",pa="(?:\\ud83c[\\udde6-\\uddff]){2}",ma="[\\ud800-\\udbff][\\udc00-\\udfff]",gr="["+mo+"]",vo="\\u200d",Co="(?:"+bo+"|"+ho+")",Ro="(?:"+gr+"|"+ho+")",ga="(?:"+da+"(?:d|ll|m|re|s|t|ve))?",Ea="(?:"+da+"(?:D|LL|M|RE|S|T|VE))?",No=zl+"?",Oo="["+go+"]?",Ao="(?:"+vo+"(?:"+[To,pa,ma].join("|")+")"+Oo+No+")*",bi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sa=Oo+No+Ao,yo="(?:"+[Hl,pa,ma].join("|")+")"+Sa,Io="(?:"+[To+Si+"?",Si,pa,ma,$l].join("|")+")",Dg=RegExp(da,"g"),xg=RegExp(Si,"g"),Vl=RegExp(_a+"(?="+_a+")|"+Io+Sa,"g"),QN=RegExp([gr+"?"+bo+"+"+ga+"(?="+[fo,gr,"$"].join("|")+")",Ro+"+"+Ea+"(?="+[fo,gr+Co,"$"].join("|")+")",gr+"?"+Co+"+"+ga,gr+"+"+Ea,fa,bi,So,yo].join("|"),"g"),XN=RegExp("["+vo+fi+uo+go+"]"),ZN=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,JN=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jN=-1,gt={};gt[Oe]=gt[Me]=gt[ct]=gt[xt]=gt[Ze]=gt[Yt]=gt[er]=gt[Z]=gt[ge]=!0,gt[Ce]=gt[Be]=gt[ne]=gt[xe]=gt[ce]=gt[ze]=gt[Ke]=gt[te]=gt[ie]=gt[Pe]=gt[Xe]=gt[ht]=gt[Ue]=gt[Ie]=gt[Gt]=!1;var _t={};_t[Ce]=_t[Be]=_t[ne]=_t[ce]=_t[xe]=_t[ze]=_t[Oe]=_t[Me]=_t[ct]=_t[xt]=_t[Ze]=_t[ie]=_t[Pe]=_t[Xe]=_t[ht]=_t[Ue]=_t[Ie]=_t[zt]=_t[Yt]=_t[er]=_t[Z]=_t[ge]=!0,_t[Ke]=_t[te]=_t[Gt]=!1;var eO={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},tO={"&":"&","<":"<",">":">",'"':""","'":"'"},nO={"&":"&","<":"<",">":">",""":'"',"'":"'"},rO={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},iO=parseFloat,aO=parseInt,wg=typeof La=="object"&&La&&La.Object===Object&&La,oO=typeof self=="object"&&self&&self.Object===Object&&self,qt=wg||oO||Function("return this")(),Wl=e&&!e.nodeType&&e,Ur=Wl&&!0&&t&&!t.nodeType&&t,Mg=Ur&&Ur.exports===Wl,Kl=Mg&&wg.process,bn=function(){try{var w=Ur&&Ur.require&&Ur.require("util").types;return w||Kl&&Kl.binding&&Kl.binding("util")}catch{}}(),Lg=bn&&bn.isArrayBuffer,Pg=bn&&bn.isDate,kg=bn&&bn.isMap,Ug=bn&&bn.isRegExp,Fg=bn&&bn.isSet,Bg=bn&&bn.isTypedArray;function cn(w,Y,B){switch(B.length){case 0:return w.call(Y);case 1:return w.call(Y,B[0]);case 2:return w.call(Y,B[0],B[1]);case 3:return w.call(Y,B[0],B[1],B[2])}return w.apply(Y,B)}function sO(w,Y,B,de){for(var ye=-1,et=w==null?0:w.length;++ye-1}function Ql(w,Y,B){for(var de=-1,ye=w==null?0:w.length;++de-1;);return B}function Wg(w,Y){for(var B=w.length;B--&&hi(Y,w[B],0)>-1;);return B}function EO(w,Y){for(var B=w.length,de=0;B--;)w[B]===Y&&++de;return de}var fO=jl(eO),SO=jl(tO);function bO(w){return"\\"+rO[w]}function hO(w,Y){return w==null?n:w[Y]}function Ti(w){return XN.test(w)}function TO(w){return ZN.test(w)}function vO(w){for(var Y,B=[];!(Y=w.next()).done;)B.push(Y.value);return B}function rc(w){var Y=-1,B=Array(w.size);return w.forEach(function(de,ye){B[++Y]=[ye,de]}),B}function Kg(w,Y){return function(B){return w(Y(B))}}function Sr(w,Y){for(var B=-1,de=w.length,ye=0,et=[];++B-1}function cA(r,a){var u=this.__data__,m=Wo(u,r);return m<0?(++this.size,u.push([r,a])):u[m][1]=a,this}nr.prototype.clear=aA,nr.prototype.delete=oA,nr.prototype.get=sA,nr.prototype.has=lA,nr.prototype.set=cA;function rr(r){var a=-1,u=r==null?0:r.length;for(this.clear();++a=a?r:a)),r}function Cn(r,a,u,m,b,R){var O,A=a&g,M=a&E,$=a&f;if(u&&(O=b?u(r,m,b,R):u(r)),O!==n)return O;if(!vt(r))return r;var H=De(r);if(H){if(O=py(r),!A)return nn(r,O)}else{var Q=Wt(r),se=Q==te||Q==pe;if(Rr(r))return DE(r,A);if(Q==Xe||Q==Ce||se&&!b){if(O=M||se?{}:QE(r),!A)return M?ny(r,NA(O,r)):ty(r,oE(O,r))}else{if(!_t[Q])return b?r:{};O=my(r,Q,A)}}R||(R=new wn);var fe=R.get(r);if(fe)return fe;R.set(r,O),Nf(r)?r.forEach(function(Ne){O.add(Cn(Ne,a,u,Ne,r,R))}):Cf(r)&&r.forEach(function(Ne,Ye){O.set(Ye,Cn(Ne,a,u,Ye,r,R))});var Re=$?M?Ic:yc:M?an:kt,ke=H?n:Re(r);return hn(ke||r,function(Ne,Ye){ke&&(Ye=Ne,Ne=r[Ye]),Na(O,Ye,Cn(Ne,a,u,Ye,r,R))}),O}function OA(r){var a=kt(r);return function(u){return sE(u,r,a)}}function sE(r,a,u){var m=u.length;if(r==null)return!m;for(r=ut(r);m--;){var b=u[m],R=a[b],O=r[b];if(O===n&&!(b in r)||!R(O))return!1}return!0}function lE(r,a,u){if(typeof r!="function")throw new Tn(l);return wa(function(){r.apply(n,u)},a)}function Oa(r,a,u,m){var b=-1,R=Do,O=!0,A=r.length,M=[],$=a.length;if(!A)return M;u&&(a=ft(a,un(u))),m?(R=Ql,O=!1):a.length>=o&&(R=ba,O=!1,a=new Gr(a));e:for(;++bb?0:b+u),m=m===n||m>b?b:Le(m),m<0&&(m+=b),m=u>m?0:Af(m);u0&&u(A)?a>1?$t(A,a-1,u,m,b):fr(b,A):m||(b[b.length]=A)}return b}var uc=kE(),dE=kE(!0);function Yn(r,a){return r&&uc(r,a,kt)}function dc(r,a){return r&&dE(r,a,kt)}function Qo(r,a){return Er(a,function(u){return lr(r[u])})}function qr(r,a){a=vr(a,r);for(var u=0,m=a.length;r!=null&&ua}function IA(r,a){return r!=null&&at.call(r,a)}function DA(r,a){return r!=null&&a in ut(r)}function xA(r,a,u){return r>=Vt(a,u)&&r=120&&H.length>=120)?new Gr(O&&H):n}H=r[0];var Q=-1,se=A[0];e:for(;++Q-1;)A!==r&&Go.call(A,M,1),Go.call(r,M,1);return r}function vE(r,a){for(var u=r?a.length:0,m=u-1;u--;){var b=a[u];if(u==m||b!==R){var R=b;sr(b)?Go.call(r,b,1):Tc(r,b)}}return r}function Sc(r,a){return r+$o(nE()*(a-r+1))}function HA(r,a,u,m){for(var b=-1,R=Lt(qo((a-r)/(u||1)),0),O=B(R);R--;)O[m?R:++b]=r,r+=u;return O}function bc(r,a){var u="";if(!r||a<1||a>X)return u;do a%2&&(u+=r),a=$o(a/2),a&&(r+=r);while(a);return u}function Fe(r,a){return kc(JE(r,a,on),r+"")}function zA(r){return aE(wi(r))}function VA(r,a){var u=wi(r);return os(u,Yr(a,0,u.length))}function Ia(r,a,u,m){if(!vt(r))return r;a=vr(a,r);for(var b=-1,R=a.length,O=R-1,A=r;A!=null&&++bb?0:b+a),u=u>b?b:u,u<0&&(u+=b),b=a>u?0:u-a>>>0,a>>>=0;for(var R=B(b);++m>>1,O=r[R];O!==null&&!_n(O)&&(u?O<=a:O=o){var $=a?null:oy(r);if($)return wo($);O=!1,b=ba,M=new Gr}else M=a?[]:A;e:for(;++m=m?r:Rn(r,a,u)}var IE=UO||function(r){return qt.clearTimeout(r)};function DE(r,a){if(a)return r.slice();var u=r.length,m=Zg?Zg(u):new r.constructor(u);return r.copy(m),m}function Nc(r){var a=new r.constructor(r.byteLength);return new Fo(a).set(new Fo(r)),a}function ZA(r,a){var u=a?Nc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function JA(r){var a=new r.constructor(r.source,co.exec(r));return a.lastIndex=r.lastIndex,a}function jA(r){return Ra?ut(Ra.call(r)):{}}function xE(r,a){var u=a?Nc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function wE(r,a){if(r!==a){var u=r!==n,m=r===null,b=r===r,R=_n(r),O=a!==n,A=a===null,M=a===a,$=_n(a);if(!A&&!$&&!R&&r>a||R&&O&&M&&!A&&!$||m&&O&&M||!u&&M||!b)return 1;if(!m&&!R&&!$&&r=A)return M;var $=u[m];return M*($=="desc"?-1:1)}}return r.index-a.index}function ME(r,a,u,m){for(var b=-1,R=r.length,O=u.length,A=-1,M=a.length,$=Lt(R-O,0),H=B(M+$),Q=!m;++A1?u[b-1]:n,O=b>2?u[2]:n;for(R=r.length>3&&typeof R=="function"?(b--,R):n,O&&jt(u[0],u[1],O)&&(R=b<3?n:R,b=1),a=ut(a);++m-1?b[R?a[O]:O]:n}}function BE(r){return or(function(a){var u=a.length,m=u,b=vn.prototype.thru;for(r&&a.reverse();m--;){var R=a[m];if(typeof R!="function")throw new Tn(l);if(b&&!O&&is(R)=="wrapper")var O=new vn([],!0)}for(m=O?m:u;++m1&&Qe.reverse(),H&&MA))return!1;var $=R.get(r),H=R.get(a);if($&&H)return $==a&&H==r;var Q=-1,se=!0,fe=u&v?new Gr:n;for(R.set(r,a),R.set(a,r);++Q1?"& ":"")+a[m],a=a.join(u>2?", ":" "),r.replace(vl,`{
+ */$s.exports;(function(t,e){(function(){var n,i="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",_=500,p="__lodash_placeholder__",g=1,E=2,f=4,S=1,T=2,h=1,v=2,N=4,y=8,x=16,P=32,D=64,k=128,U=256,Z=512,q=30,W="...",_e=800,Ee=16,L=1,Q=2,re=3,G=1/0,X=9007199254740991,ue=17976931348623157e292,ve=0/0,he=4294967295,tt=he-1,lt=he>>>1,$e=[["ary",k],["bind",h],["bindKey",v],["curry",y],["curryRight",x],["flip",Z],["partial",P],["partialRight",D],["rearg",U]],Ce="[object Arguments]",Be="[object Array]",Ve="[object AsyncFunction]",xe="[object Boolean]",He="[object Date]",rt="[object DOMException]",We="[object Error]",te="[object Function]",pe="[object GeneratorFunction]",ie="[object Map]",Pe="[object Number]",we="[object Null]",Xe="[object Object]",pt="[object Promise]",me="[object Proxy]",bt="[object RegExp]",Ue="[object Set]",Ie="[object String]",zt="[object Symbol]",Nt="[object Undefined]",Gt="[object WeakMap]",Sn="[object WeakSet]",ne="[object ArrayBuffer]",le="[object DataView]",Oe="[object Float32Array]",Me="[object Float64Array]",ct="[object Int8Array]",xt="[object Int16Array]",Ze="[object Int32Array]",Yt="[object Uint8Array]",er="[object Uint8ClampedArray]",J="[object Uint16Array]",ge="[object Uint32Array]",Ae=/\b__p \+= '';/g,it=/\b(__p \+=) '' \+/g,ht=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,tn=/[&<>"']/g,mt=RegExp(wt.source),cn=RegExp(tn.source),tr=/<%-([\s\S]+?)%>/g,El=/<%([\s\S]+?)%>/g,co=/<%=([\s\S]+?)%>/g,fl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sl=/^\w*$/,bl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ua=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(ua.source),da=/^\s+/,Tl=/\s/,vl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cl=/\{\n\/\* \[wrapped with (.+)\] \*/,Rl=/,? & /,Nl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ol=/[()=,{}\[\]\/\s]/,Al=/\\(\\)?/g,yl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,uo=/\w*$/,Il=/^[-+]0x[0-9a-f]+$/i,Dl=/^0b[01]+$/i,xl=/^\[object .+?Constructor\]$/,wl=/^0o[0-7]+$/i,Ml=/^(?:0|[1-9]\d*)$/,Ll=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Si=/($^)/,Pl=/['\n\r\u2028\u2029\\]/g,bi="\\ud800-\\udfff",kl="\\u0300-\\u036f",Ul="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",_o=kl+Ul+Fl,po="\\u2700-\\u27bf",mo="a-z\\xdf-\\xf6\\xf8-\\xff",Bl="\\xac\\xb1\\xd7\\xf7",Gl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Yl="\\u2000-\\u206f",ql=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",go="A-Z\\xc0-\\xd6\\xd8-\\xde",Eo="\\ufe0e\\ufe0f",fo=Bl+Gl+Yl+ql,_a="['’]",$l="["+bi+"]",So="["+fo+"]",hi="["+_o+"]",bo="\\d+",Hl="["+po+"]",ho="["+mo+"]",To="[^"+bi+fo+bo+po+mo+go+"]",pa="\\ud83c[\\udffb-\\udfff]",zl="(?:"+hi+"|"+pa+")",vo="[^"+bi+"]",ma="(?:\\ud83c[\\udde6-\\uddff]){2}",ga="[\\ud800-\\udbff][\\udc00-\\udfff]",gr="["+go+"]",Co="\\u200d",Ro="(?:"+ho+"|"+To+")",No="(?:"+gr+"|"+To+")",Ea="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",fa="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",Oo=zl+"?",Ao="["+Eo+"]?",yo="(?:"+Co+"(?:"+[vo,ma,ga].join("|")+")"+Ao+Oo+")*",Ti="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ba=Ao+Oo+yo,Io="(?:"+[Hl,ma,ga].join("|")+")"+ba,Do="(?:"+[vo+hi+"?",hi,ma,ga,$l].join("|")+")",xg=RegExp(_a,"g"),wg=RegExp(hi,"g"),Vl=RegExp(pa+"(?="+pa+")|"+Do+ba,"g"),ZN=RegExp([gr+"?"+ho+"+"+Ea+"(?="+[So,gr,"$"].join("|")+")",No+"+"+fa+"(?="+[So,gr+Ro,"$"].join("|")+")",gr+"?"+Ro+"+"+Ea,gr+"+"+fa,Sa,Ti,bo,Io].join("|"),"g"),JN=RegExp("["+Co+bi+_o+Eo+"]"),jN=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eO=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tO=-1,gt={};gt[Oe]=gt[Me]=gt[ct]=gt[xt]=gt[Ze]=gt[Yt]=gt[er]=gt[J]=gt[ge]=!0,gt[Ce]=gt[Be]=gt[ne]=gt[xe]=gt[le]=gt[He]=gt[We]=gt[te]=gt[ie]=gt[Pe]=gt[Xe]=gt[bt]=gt[Ue]=gt[Ie]=gt[Gt]=!1;var _t={};_t[Ce]=_t[Be]=_t[ne]=_t[le]=_t[xe]=_t[He]=_t[Oe]=_t[Me]=_t[ct]=_t[xt]=_t[Ze]=_t[ie]=_t[Pe]=_t[Xe]=_t[bt]=_t[Ue]=_t[Ie]=_t[zt]=_t[Yt]=_t[er]=_t[J]=_t[ge]=!0,_t[We]=_t[te]=_t[Gt]=!1;var nO={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},rO={"&":"&","<":"<",">":">",'"':""","'":"'"},iO={"&":"&","<":"<",">":">",""":'"',"'":"'"},aO={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oO=parseFloat,sO=parseInt,Mg=typeof Pa=="object"&&Pa&&Pa.Object===Object&&Pa,lO=typeof self=="object"&&self&&self.Object===Object&&self,qt=Mg||lO||Function("return this")(),Wl=e&&!e.nodeType&&e,Fr=Wl&&!0&&t&&!t.nodeType&&t,Lg=Fr&&Fr.exports===Wl,Kl=Lg&&Mg.process,bn=function(){try{var w=Fr&&Fr.require&&Fr.require("util").types;return w||Kl&&Kl.binding&&Kl.binding("util")}catch{}}(),Pg=bn&&bn.isArrayBuffer,kg=bn&&bn.isDate,Ug=bn&&bn.isMap,Fg=bn&&bn.isRegExp,Bg=bn&&bn.isSet,Gg=bn&&bn.isTypedArray;function un(w,Y,F){switch(F.length){case 0:return w.call(Y);case 1:return w.call(Y,F[0]);case 2:return w.call(Y,F[0],F[1]);case 3:return w.call(Y,F[0],F[1],F[2])}return w.apply(Y,F)}function cO(w,Y,F,de){for(var ye=-1,et=w==null?0:w.length;++ye-1}function Ql(w,Y,F){for(var de=-1,ye=w==null?0:w.length;++de-1;);return F}function Kg(w,Y){for(var F=w.length;F--&&vi(Y,w[F],0)>-1;);return F}function SO(w,Y){for(var F=w.length,de=0;F--;)w[F]===Y&&++de;return de}var bO=jl(nO),hO=jl(rO);function TO(w){return"\\"+aO[w]}function vO(w,Y){return w==null?n:w[Y]}function Ci(w){return JN.test(w)}function CO(w){return jN.test(w)}function RO(w){for(var Y,F=[];!(Y=w.next()).done;)F.push(Y.value);return F}function rc(w){var Y=-1,F=Array(w.size);return w.forEach(function(de,ye){F[++Y]=[ye,de]}),F}function Qg(w,Y){return function(F){return w(Y(F))}}function Sr(w,Y){for(var F=-1,de=w.length,ye=0,et=[];++F-1}function dA(r,a){var u=this.__data__,m=Ko(u,r);return m<0?(++this.size,u.push([r,a])):u[m][1]=a,this}nr.prototype.clear=sA,nr.prototype.delete=lA,nr.prototype.get=cA,nr.prototype.has=uA,nr.prototype.set=dA;function rr(r){var a=-1,u=r==null?0:r.length;for(this.clear();++a=a?r:a)),r}function Cn(r,a,u,m,b,R){var O,A=a&g,M=a&E,H=a&f;if(u&&(O=b?u(r,m,b,R):u(r)),O!==n)return O;if(!Tt(r))return r;var z=De(r);if(z){if(O=gy(r),!A)return nn(r,O)}else{var K=Wt(r),oe=K==te||K==pe;if(Rr(r))return xE(r,A);if(K==Xe||K==Ce||oe&&!b){if(O=M||oe?{}:XE(r),!A)return M?iy(r,AA(O,r)):ry(r,sE(O,r))}else{if(!_t[K])return b?r:{};O=Ey(r,K,A)}}R||(R=new wn);var fe=R.get(r);if(fe)return fe;R.set(r,O),Of(r)?r.forEach(function(Ne){O.add(Cn(Ne,a,u,Ne,r,R))}):Rf(r)&&r.forEach(function(Ne,Ye){O.set(Ye,Cn(Ne,a,u,Ye,r,R))});var Re=H?M?Ic:yc:M?an:kt,ke=z?n:Re(r);return hn(ke||r,function(Ne,Ye){ke&&(Ye=Ne,Ne=r[Ye]),Oa(O,Ye,Cn(Ne,a,u,Ye,r,R))}),O}function yA(r){var a=kt(r);return function(u){return lE(u,r,a)}}function lE(r,a,u){var m=u.length;if(r==null)return!m;for(r=ut(r);m--;){var b=u[m],R=a[b],O=r[b];if(O===n&&!(b in r)||!R(O))return!1}return!0}function cE(r,a,u){if(typeof r!="function")throw new Tn(l);return Ma(function(){r.apply(n,u)},a)}function Aa(r,a,u,m){var b=-1,R=xo,O=!0,A=r.length,M=[],H=a.length;if(!A)return M;u&&(a=ft(a,dn(u))),m?(R=Ql,O=!1):a.length>=o&&(R=ha,O=!1,a=new Yr(a));e:for(;++bb?0:b+u),m=m===n||m>b?b:Le(m),m<0&&(m+=b),m=u>m?0:yf(m);u0&&u(A)?a>1?$t(A,a-1,u,m,b):fr(b,A):m||(b[b.length]=A)}return b}var uc=UE(),_E=UE(!0);function Yn(r,a){return r&&uc(r,a,kt)}function dc(r,a){return r&&_E(r,a,kt)}function Xo(r,a){return Er(a,function(u){return lr(r[u])})}function $r(r,a){a=vr(a,r);for(var u=0,m=a.length;r!=null&&ua}function xA(r,a){return r!=null&&at.call(r,a)}function wA(r,a){return r!=null&&a in ut(r)}function MA(r,a,u){return r>=Vt(a,u)&&r=120&&z.length>=120)?new Yr(O&&z):n}z=r[0];var K=-1,oe=A[0];e:for(;++K-1;)A!==r&&Yo.call(A,M,1),Yo.call(r,M,1);return r}function CE(r,a){for(var u=r?a.length:0,m=u-1;u--;){var b=a[u];if(u==m||b!==R){var R=b;sr(b)?Yo.call(r,b,1):Tc(r,b)}}return r}function Sc(r,a){return r+Ho(rE()*(a-r+1))}function VA(r,a,u,m){for(var b=-1,R=Lt($o((a-r)/(u||1)),0),O=F(R);R--;)O[m?R:++b]=r,r+=u;return O}function bc(r,a){var u="";if(!r||a<1||a>X)return u;do a%2&&(u+=r),a=Ho(a/2),a&&(r+=r);while(a);return u}function Fe(r,a){return kc(jE(r,a,on),r+"")}function WA(r){return oE(Li(r))}function KA(r,a){var u=Li(r);return ss(u,qr(a,0,u.length))}function Da(r,a,u,m){if(!Tt(r))return r;a=vr(a,r);for(var b=-1,R=a.length,O=R-1,A=r;A!=null&&++bb?0:b+a),u=u>b?b:u,u<0&&(u+=b),b=a>u?0:u-a>>>0,a>>>=0;for(var R=F(b);++m>>1,O=r[R];O!==null&&!pn(O)&&(u?O<=a:O=o){var H=a?null:ly(r);if(H)return Mo(H);O=!1,b=ha,M=new Yr}else M=a?[]:A;e:for(;++m=m?r:Rn(r,a,u)}var DE=BO||function(r){return qt.clearTimeout(r)};function xE(r,a){if(a)return r.slice();var u=r.length,m=Jg?Jg(u):new r.constructor(u);return r.copy(m),m}function Nc(r){var a=new r.constructor(r.byteLength);return new Bo(a).set(new Bo(r)),a}function jA(r,a){var u=a?Nc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function ey(r){var a=new r.constructor(r.source,uo.exec(r));return a.lastIndex=r.lastIndex,a}function ty(r){return Na?ut(Na.call(r)):{}}function wE(r,a){var u=a?Nc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function ME(r,a){if(r!==a){var u=r!==n,m=r===null,b=r===r,R=pn(r),O=a!==n,A=a===null,M=a===a,H=pn(a);if(!A&&!H&&!R&&r>a||R&&O&&M&&!A&&!H||m&&O&&M||!u&&M||!b)return 1;if(!m&&!R&&!H&&r=A)return M;var H=u[m];return M*(H=="desc"?-1:1)}}return r.index-a.index}function LE(r,a,u,m){for(var b=-1,R=r.length,O=u.length,A=-1,M=a.length,H=Lt(R-O,0),z=F(M+H),K=!m;++A1?u[b-1]:n,O=b>2?u[2]:n;for(R=r.length>3&&typeof R=="function"?(b--,R):n,O&&jt(u[0],u[1],O)&&(R=b<3?n:R,b=1),a=ut(a);++m-1?b[R?a[O]:O]:n}}function GE(r){return or(function(a){var u=a.length,m=u,b=vn.prototype.thru;for(r&&a.reverse();m--;){var R=a[m];if(typeof R!="function")throw new Tn(l);if(b&&!O&&as(R)=="wrapper")var O=new vn([],!0)}for(m=O?m:u;++m1&&Ke.reverse(),z&&MA))return!1;var H=R.get(r),z=R.get(a);if(H&&z)return H==a&&z==r;var K=-1,oe=!0,fe=u&T?new Yr:n;for(R.set(r,a),R.set(a,r);++K1?"& ":"")+a[m],a=a.join(u>2?", ":" "),r.replace(vl,`{
/* [wrapped with `+a+`] */
-`)}function Ey(r){return De(r)||zr(r)||!!(eE&&r&&r[eE])}function sr(r,a){var u=typeof r;return a=a??X,!!a&&(u=="number"||u!="symbol"&&Ml.test(r))&&r>-1&&r%1==0&&r0){if(++a>=Ee)return arguments[0]}else a=0;return r.apply(n,arguments)}}function os(r,a){var u=-1,m=r.length,b=m-1;for(a=a===n?m:a;++u1?r[a-1]:n;return u=typeof u=="function"?(r.pop(),u):n,df(r,u)});function _f(r){var a=C(r);return a.__chain__=!0,a}function AI(r,a){return a(r),r}function ss(r,a){return a(r)}var yI=or(function(r){var a=r.length,u=a?r[0]:0,m=this.__wrapped__,b=function(R){return cc(R,r)};return a>1||this.__actions__.length||!(m instanceof Ve)||!sr(u)?this.thru(b):(m=m.slice(u,+u+(a?1:0)),m.__actions__.push({func:ss,args:[b],thisArg:n}),new vn(m,this.__chain__).thru(function(R){return a&&!R.length&&R.push(n),R}))});function II(){return _f(this)}function DI(){return new vn(this.value(),this.__chain__)}function xI(){this.__values__===n&&(this.__values__=Of(this.value()));var r=this.__index__>=this.__values__.length,a=r?n:this.__values__[this.__index__++];return{done:r,value:a}}function wI(){return this}function MI(r){for(var a,u=this;u instanceof Vo;){var m=af(u);m.__index__=0,m.__values__=n,a?b.__wrapped__=m:a=m;var b=m;u=u.__wrapped__}return b.__wrapped__=r,a}function LI(){var r=this.__wrapped__;if(r instanceof Ve){var a=r;return this.__actions__.length&&(a=new Ve(this)),a=a.reverse(),a.__actions__.push({func:ss,args:[Uc],thisArg:n}),new vn(a,this.__chain__)}return this.thru(Uc)}function PI(){return AE(this.__wrapped__,this.__actions__)}var kI=jo(function(r,a,u){at.call(r,u)?++r[u]:ir(r,u,1)});function UI(r,a,u){var m=De(r)?Gg:AA;return u&&jt(r,a,u)&&(a=n),m(r,Te(a,3))}function FI(r,a){var u=De(r)?Er:uE;return u(r,Te(a,3))}var BI=FE(of),GI=FE(sf);function YI(r,a){return $t(ls(r,a),1)}function qI(r,a){return $t(ls(r,a),G)}function $I(r,a,u){return u=u===n?1:Le(u),$t(ls(r,a),u)}function pf(r,a){var u=De(r)?hn:hr;return u(r,Te(a,3))}function mf(r,a){var u=De(r)?lO:cE;return u(r,Te(a,3))}var HI=jo(function(r,a,u){at.call(r,u)?r[u].push(a):ir(r,u,[a])});function zI(r,a,u,m){r=rn(r)?r:wi(r),u=u&&!m?Le(u):0;var b=r.length;return u<0&&(u=Lt(b+u,0)),ps(r)?u<=b&&r.indexOf(a,u)>-1:!!b&&hi(r,a,u)>-1}var VI=Fe(function(r,a,u){var m=-1,b=typeof a=="function",R=rn(r)?B(r.length):[];return hr(r,function(O){R[++m]=b?cn(a,O,u):Aa(O,a,u)}),R}),WI=jo(function(r,a,u){ir(r,u,a)});function ls(r,a){var u=De(r)?ft:EE;return u(r,Te(a,3))}function KI(r,a,u,m){return r==null?[]:(De(a)||(a=a==null?[]:[a]),u=m?n:u,De(u)||(u=u==null?[]:[u]),hE(r,a,u))}var QI=jo(function(r,a,u){r[u?0:1].push(a)},function(){return[[],[]]});function XI(r,a,u){var m=De(r)?Xl:Hg,b=arguments.length<3;return m(r,Te(a,4),u,b,hr)}function ZI(r,a,u){var m=De(r)?cO:Hg,b=arguments.length<3;return m(r,Te(a,4),u,b,cE)}function JI(r,a){var u=De(r)?Er:uE;return u(r,ds(Te(a,3)))}function jI(r){var a=De(r)?aE:zA;return a(r)}function eD(r,a,u){(u?jt(r,a,u):a===n)?a=1:a=Le(a);var m=De(r)?vA:VA;return m(r,a)}function tD(r){var a=De(r)?CA:KA;return a(r)}function nD(r){if(r==null)return 0;if(rn(r))return ps(r)?vi(r):r.length;var a=Wt(r);return a==ie||a==Ue?r.size:gc(r).length}function rD(r,a,u){var m=De(r)?Zl:QA;return u&&jt(r,a,u)&&(a=n),m(r,Te(a,3))}var iD=Fe(function(r,a){if(r==null)return[];var u=a.length;return u>1&&jt(r,a[0],a[1])?a=[]:u>2&&jt(a[0],a[1],a[2])&&(a=[a[0]]),hE(r,$t(a,1),[])}),cs=FO||function(){return qt.Date.now()};function aD(r,a){if(typeof a!="function")throw new Tn(l);return r=Le(r),function(){if(--r<1)return a.apply(this,arguments)}}function gf(r,a,u){return a=u?n:a,a=r&&a==null?r.length:a,ar(r,k,n,n,n,n,a)}function Ef(r,a){var u;if(typeof a!="function")throw new Tn(l);return r=Le(r),function(){return--r>0&&(u=a.apply(this,arguments)),r<=1&&(a=n),u}}var Bc=Fe(function(r,a,u){var m=h;if(u.length){var b=Sr(u,Di(Bc));m|=P}return ar(r,m,a,u,b)}),ff=Fe(function(r,a,u){var m=h|T;if(u.length){var b=Sr(u,Di(ff));m|=P}return ar(a,m,r,u,b)});function Sf(r,a,u){a=u?n:a;var m=ar(r,y,n,n,n,n,n,a);return m.placeholder=Sf.placeholder,m}function bf(r,a,u){a=u?n:a;var m=ar(r,x,n,n,n,n,n,a);return m.placeholder=bf.placeholder,m}function hf(r,a,u){var m,b,R,O,A,M,$=0,H=!1,Q=!1,se=!0;if(typeof r!="function")throw new Tn(l);a=On(a)||0,vt(u)&&(H=!!u.leading,Q="maxWait"in u,R=Q?Lt(On(u.maxWait)||0,a):R,se="trailing"in u?!!u.trailing:se);function fe(At){var Ln=m,ur=b;return m=b=n,$=At,O=r.apply(ur,Ln),O}function Re(At){return $=At,A=wa(Ye,a),H?fe(At):O}function ke(At){var Ln=At-M,ur=At-$,Bf=a-Ln;return Q?Vt(Bf,R-ur):Bf}function Ne(At){var Ln=At-M,ur=At-$;return M===n||Ln>=a||Ln<0||Q&&ur>=R}function Ye(){var At=cs();if(Ne(At))return Qe(At);A=wa(Ye,ke(At))}function Qe(At){return A=n,se&&m?fe(At):(m=b=n,O)}function pn(){A!==n&&IE(A),$=0,m=M=b=A=n}function en(){return A===n?O:Qe(cs())}function mn(){var At=cs(),Ln=Ne(At);if(m=arguments,b=this,M=At,Ln){if(A===n)return Re(M);if(Q)return IE(A),A=wa(Ye,a),fe(M)}return A===n&&(A=wa(Ye,a)),O}return mn.cancel=pn,mn.flush=en,mn}var oD=Fe(function(r,a){return lE(r,1,a)}),sD=Fe(function(r,a,u){return lE(r,On(a)||0,u)});function lD(r){return ar(r,W)}function us(r,a){if(typeof r!="function"||a!=null&&typeof a!="function")throw new Tn(l);var u=function(){var m=arguments,b=a?a.apply(this,m):m[0],R=u.cache;if(R.has(b))return R.get(b);var O=r.apply(this,m);return u.cache=R.set(b,O)||R,O};return u.cache=new(us.Cache||rr),u}us.Cache=rr;function ds(r){if(typeof r!="function")throw new Tn(l);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}function cD(r){return Ef(2,r)}var uD=XA(function(r,a){a=a.length==1&&De(a[0])?ft(a[0],un(Te())):ft($t(a,1),un(Te()));var u=a.length;return Fe(function(m){for(var b=-1,R=Vt(m.length,u);++b=a}),zr=pE(function(){return arguments}())?pE:function(r){return Ct(r)&&at.call(r,"callee")&&!jg.call(r,"callee")},De=B.isArray,ND=Lg?un(Lg):MA;function rn(r){return r!=null&&_s(r.length)&&!lr(r)}function Ot(r){return Ct(r)&&rn(r)}function OD(r){return r===!0||r===!1||Ct(r)&&Jt(r)==xe}var Rr=GO||Zc,AD=Pg?un(Pg):LA;function yD(r){return Ct(r)&&r.nodeType===1&&!Ma(r)}function ID(r){if(r==null)return!0;if(rn(r)&&(De(r)||typeof r=="string"||typeof r.splice=="function"||Rr(r)||xi(r)||zr(r)))return!r.length;var a=Wt(r);if(a==ie||a==Ue)return!r.size;if(xa(r))return!gc(r).length;for(var u in r)if(at.call(r,u))return!1;return!0}function DD(r,a){return ya(r,a)}function xD(r,a,u){u=typeof u=="function"?u:n;var m=u?u(r,a):n;return m===n?ya(r,a,n,u):!!m}function Yc(r){if(!Ct(r))return!1;var a=Jt(r);return a==Ke||a==rt||typeof r.message=="string"&&typeof r.name=="string"&&!Ma(r)}function wD(r){return typeof r=="number"&&tE(r)}function lr(r){if(!vt(r))return!1;var a=Jt(r);return a==te||a==pe||a==We||a==me}function vf(r){return typeof r=="number"&&r==Le(r)}function _s(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=X}function vt(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Ct(r){return r!=null&&typeof r=="object"}var Cf=kg?un(kg):kA;function MD(r,a){return r===a||mc(r,a,xc(a))}function LD(r,a,u){return u=typeof u=="function"?u:n,mc(r,a,xc(a),u)}function PD(r){return Rf(r)&&r!=+r}function kD(r){if(by(r))throw new ye(s);return mE(r)}function UD(r){return r===null}function FD(r){return r==null}function Rf(r){return typeof r=="number"||Ct(r)&&Jt(r)==Pe}function Ma(r){if(!Ct(r)||Jt(r)!=Xe)return!1;var a=Bo(r);if(a===null)return!0;var u=at.call(a,"constructor")&&a.constructor;return typeof u=="function"&&u instanceof u&&Po.call(u)==LO}var qc=Ug?un(Ug):UA;function BD(r){return vf(r)&&r>=-X&&r<=X}var Nf=Fg?un(Fg):FA;function ps(r){return typeof r=="string"||!De(r)&&Ct(r)&&Jt(r)==Ie}function _n(r){return typeof r=="symbol"||Ct(r)&&Jt(r)==zt}var xi=Bg?un(Bg):BA;function GD(r){return r===n}function YD(r){return Ct(r)&&Wt(r)==Gt}function qD(r){return Ct(r)&&Jt(r)==Sn}var $D=rs(Ec),HD=rs(function(r,a){return r<=a});function Of(r){if(!r)return[];if(rn(r))return ps(r)?xn(r):nn(r);if(ha&&r[ha])return vO(r[ha]());var a=Wt(r),u=a==ie?rc:a==Ue?wo:wi;return u(r)}function cr(r){if(!r)return r===0?r:0;if(r=On(r),r===G||r===-G){var a=r<0?-1:1;return a*_e}return r===r?r:0}function Le(r){var a=cr(r),u=a%1;return a===a?u?a-u:a:0}function Af(r){return r?Yr(Le(r),0,he):0}function On(r){if(typeof r=="number")return r;if(_n(r))return ve;if(vt(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=vt(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=zg(r);var u=Dl.test(r);return u||wl.test(r)?aO(r.slice(2),u?2:8):Il.test(r)?ve:+r}function yf(r){return qn(r,an(r))}function zD(r){return r?Yr(Le(r),-X,X):r===0?r:0}function nt(r){return r==null?"":dn(r)}var VD=yi(function(r,a){if(xa(a)||rn(a)){qn(a,kt(a),r);return}for(var u in a)at.call(a,u)&&Na(r,u,a[u])}),If=yi(function(r,a){qn(a,an(a),r)}),ms=yi(function(r,a,u,m){qn(a,an(a),r,m)}),WD=yi(function(r,a,u,m){qn(a,kt(a),r,m)}),KD=or(cc);function QD(r,a){var u=Ai(r);return a==null?u:oE(u,a)}var XD=Fe(function(r,a){r=ut(r);var u=-1,m=a.length,b=m>2?a[2]:n;for(b&&jt(a[0],a[1],b)&&(m=1);++u1),R}),qn(r,Ic(r),u),m&&(u=Cn(u,g|E|f,sy));for(var b=a.length;b--;)Tc(u,a[b]);return u});function mx(r,a){return xf(r,ds(Te(a)))}var gx=or(function(r,a){return r==null?{}:qA(r,a)});function xf(r,a){if(r==null)return{};var u=ft(Ic(r),function(m){return[m]});return a=Te(a),TE(r,u,function(m,b){return a(m,b[0])})}function Ex(r,a,u){a=vr(a,r);var m=-1,b=a.length;for(b||(b=1,r=n);++ma){var m=r;r=a,a=m}if(u||r%1||a%1){var b=nE();return Vt(r+b*(a-r+iO("1e-"+((b+"").length-1))),a)}return Sc(r,a)}var Ax=Ii(function(r,a,u){return a=a.toLowerCase(),r+(u?Lf(a):a)});function Lf(r){return zc(nt(r).toLowerCase())}function Pf(r){return r=nt(r),r&&r.replace(Ll,fO).replace(xg,"")}function yx(r,a,u){r=nt(r),a=dn(a);var m=r.length;u=u===n?m:Yr(Le(u),0,m);var b=u;return u-=a.length,u>=0&&r.slice(u,b)==a}function Ix(r){return r=nt(r),r&&ln.test(r)?r.replace(tn,SO):r}function Dx(r){return r=nt(r),r&&hl.test(r)?r.replace(ca,"\\$&"):r}var xx=Ii(function(r,a,u){return r+(u?"-":"")+a.toLowerCase()}),wx=Ii(function(r,a,u){return r+(u?" ":"")+a.toLowerCase()}),Mx=UE("toLowerCase");function Lx(r,a,u){r=nt(r),a=Le(a);var m=a?vi(r):0;if(!a||m>=a)return r;var b=(a-m)/2;return ns($o(b),u)+r+ns(qo(b),u)}function Px(r,a,u){r=nt(r),a=Le(a);var m=a?vi(r):0;return a&&m>>0,u?(r=nt(r),r&&(typeof a=="string"||a!=null&&!qc(a))&&(a=dn(a),!a&&Ti(r))?Cr(xn(r),0,u):r.split(a,u)):[]}var qx=Ii(function(r,a,u){return r+(u?" ":"")+zc(a)});function $x(r,a,u){return r=nt(r),u=u==null?0:Yr(Le(u),0,r.length),a=dn(a),r.slice(u,u+a.length)==a}function Hx(r,a,u){var m=C.templateSettings;u&&jt(r,a,u)&&(a=n),r=nt(r),a=ms({},a,m,HE);var b=ms({},a.imports,m.imports,HE),R=kt(b),O=nc(b,R),A,M,$=0,H=a.interpolate||Ei,Q="__p += '",se=ic((a.escape||Ei).source+"|"+H.source+"|"+(H===lo?yl:Ei).source+"|"+(a.evaluate||Ei).source+"|$","g"),fe="//# sourceURL="+(at.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jN+"]")+`
-`;r.replace(se,function(Ne,Ye,Qe,pn,en,mn){return Qe||(Qe=pn),Q+=r.slice($,mn).replace(Pl,bO),Ye&&(A=!0,Q+=`' +
+`)}function Sy(r){return De(r)||Vr(r)||!!(tE&&r&&r[tE])}function sr(r,a){var u=typeof r;return a=a??X,!!a&&(u=="number"||u!="symbol"&&Ml.test(r))&&r>-1&&r%1==0&&r0){if(++a>=_e)return arguments[0]}else a=0;return r.apply(n,arguments)}}function ss(r,a){var u=-1,m=r.length,b=m-1;for(a=a===n?m:a;++u1?r[a-1]:n;return u=typeof u=="function"?(r.pop(),u):n,_f(r,u)});function pf(r){var a=C(r);return a.__chain__=!0,a}function II(r,a){return a(r),r}function ls(r,a){return a(r)}var DI=or(function(r){var a=r.length,u=a?r[0]:0,m=this.__wrapped__,b=function(R){return cc(R,r)};return a>1||this.__actions__.length||!(m instanceof ze)||!sr(u)?this.thru(b):(m=m.slice(u,+u+(a?1:0)),m.__actions__.push({func:ls,args:[b],thisArg:n}),new vn(m,this.__chain__).thru(function(R){return a&&!R.length&&R.push(n),R}))});function xI(){return pf(this)}function wI(){return new vn(this.value(),this.__chain__)}function MI(){this.__values__===n&&(this.__values__=Af(this.value()));var r=this.__index__>=this.__values__.length,a=r?n:this.__values__[this.__index__++];return{done:r,value:a}}function LI(){return this}function PI(r){for(var a,u=this;u instanceof Wo;){var m=of(u);m.__index__=0,m.__values__=n,a?b.__wrapped__=m:a=m;var b=m;u=u.__wrapped__}return b.__wrapped__=r,a}function kI(){var r=this.__wrapped__;if(r instanceof ze){var a=r;return this.__actions__.length&&(a=new ze(this)),a=a.reverse(),a.__actions__.push({func:ls,args:[Uc],thisArg:n}),new vn(a,this.__chain__)}return this.thru(Uc)}function UI(){return yE(this.__wrapped__,this.__actions__)}var FI=es(function(r,a,u){at.call(r,u)?++r[u]:ir(r,u,1)});function BI(r,a,u){var m=De(r)?Yg:IA;return u&&jt(r,a,u)&&(a=n),m(r,Te(a,3))}function GI(r,a){var u=De(r)?Er:dE;return u(r,Te(a,3))}var YI=BE(sf),qI=BE(lf);function $I(r,a){return $t(cs(r,a),1)}function HI(r,a){return $t(cs(r,a),G)}function zI(r,a,u){return u=u===n?1:Le(u),$t(cs(r,a),u)}function mf(r,a){var u=De(r)?hn:hr;return u(r,Te(a,3))}function gf(r,a){var u=De(r)?uO:uE;return u(r,Te(a,3))}var VI=es(function(r,a,u){at.call(r,u)?r[u].push(a):ir(r,u,[a])});function WI(r,a,u,m){r=rn(r)?r:Li(r),u=u&&!m?Le(u):0;var b=r.length;return u<0&&(u=Lt(b+u,0)),ms(r)?u<=b&&r.indexOf(a,u)>-1:!!b&&vi(r,a,u)>-1}var KI=Fe(function(r,a,u){var m=-1,b=typeof a=="function",R=rn(r)?F(r.length):[];return hr(r,function(O){R[++m]=b?un(a,O,u):ya(O,a,u)}),R}),QI=es(function(r,a,u){ir(r,u,a)});function cs(r,a){var u=De(r)?ft:fE;return u(r,Te(a,3))}function XI(r,a,u,m){return r==null?[]:(De(a)||(a=a==null?[]:[a]),u=m?n:u,De(u)||(u=u==null?[]:[u]),TE(r,a,u))}var ZI=es(function(r,a,u){r[u?0:1].push(a)},function(){return[[],[]]});function JI(r,a,u){var m=De(r)?Xl:zg,b=arguments.length<3;return m(r,Te(a,4),u,b,hr)}function jI(r,a,u){var m=De(r)?dO:zg,b=arguments.length<3;return m(r,Te(a,4),u,b,uE)}function eD(r,a){var u=De(r)?Er:dE;return u(r,_s(Te(a,3)))}function tD(r){var a=De(r)?oE:WA;return a(r)}function nD(r,a,u){(u?jt(r,a,u):a===n)?a=1:a=Le(a);var m=De(r)?RA:KA;return m(r,a)}function rD(r){var a=De(r)?NA:XA;return a(r)}function iD(r){if(r==null)return 0;if(rn(r))return ms(r)?Ri(r):r.length;var a=Wt(r);return a==ie||a==Ue?r.size:gc(r).length}function aD(r,a,u){var m=De(r)?Zl:ZA;return u&&jt(r,a,u)&&(a=n),m(r,Te(a,3))}var oD=Fe(function(r,a){if(r==null)return[];var u=a.length;return u>1&&jt(r,a[0],a[1])?a=[]:u>2&&jt(a[0],a[1],a[2])&&(a=[a[0]]),TE(r,$t(a,1),[])}),us=GO||function(){return qt.Date.now()};function sD(r,a){if(typeof a!="function")throw new Tn(l);return r=Le(r),function(){if(--r<1)return a.apply(this,arguments)}}function Ef(r,a,u){return a=u?n:a,a=r&&a==null?r.length:a,ar(r,k,n,n,n,n,a)}function ff(r,a){var u;if(typeof a!="function")throw new Tn(l);return r=Le(r),function(){return--r>0&&(u=a.apply(this,arguments)),r<=1&&(a=n),u}}var Bc=Fe(function(r,a,u){var m=h;if(u.length){var b=Sr(u,wi(Bc));m|=P}return ar(r,m,a,u,b)}),Sf=Fe(function(r,a,u){var m=h|v;if(u.length){var b=Sr(u,wi(Sf));m|=P}return ar(a,m,r,u,b)});function bf(r,a,u){a=u?n:a;var m=ar(r,y,n,n,n,n,n,a);return m.placeholder=bf.placeholder,m}function hf(r,a,u){a=u?n:a;var m=ar(r,x,n,n,n,n,n,a);return m.placeholder=hf.placeholder,m}function Tf(r,a,u){var m,b,R,O,A,M,H=0,z=!1,K=!1,oe=!0;if(typeof r!="function")throw new Tn(l);a=On(a)||0,Tt(u)&&(z=!!u.leading,K="maxWait"in u,R=K?Lt(On(u.maxWait)||0,a):R,oe="trailing"in u?!!u.trailing:oe);function fe(At){var Ln=m,ur=b;return m=b=n,H=At,O=r.apply(ur,Ln),O}function Re(At){return H=At,A=Ma(Ye,a),z?fe(At):O}function ke(At){var Ln=At-M,ur=At-H,Gf=a-Ln;return K?Vt(Gf,R-ur):Gf}function Ne(At){var Ln=At-M,ur=At-H;return M===n||Ln>=a||Ln<0||K&&ur>=R}function Ye(){var At=us();if(Ne(At))return Ke(At);A=Ma(Ye,ke(At))}function Ke(At){return A=n,oe&&m?fe(At):(m=b=n,O)}function mn(){A!==n&&DE(A),H=0,m=M=b=A=n}function en(){return A===n?O:Ke(us())}function gn(){var At=us(),Ln=Ne(At);if(m=arguments,b=this,M=At,Ln){if(A===n)return Re(M);if(K)return DE(A),A=Ma(Ye,a),fe(M)}return A===n&&(A=Ma(Ye,a)),O}return gn.cancel=mn,gn.flush=en,gn}var lD=Fe(function(r,a){return cE(r,1,a)}),cD=Fe(function(r,a,u){return cE(r,On(a)||0,u)});function uD(r){return ar(r,Z)}function ds(r,a){if(typeof r!="function"||a!=null&&typeof a!="function")throw new Tn(l);var u=function(){var m=arguments,b=a?a.apply(this,m):m[0],R=u.cache;if(R.has(b))return R.get(b);var O=r.apply(this,m);return u.cache=R.set(b,O)||R,O};return u.cache=new(ds.Cache||rr),u}ds.Cache=rr;function _s(r){if(typeof r!="function")throw new Tn(l);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}function dD(r){return ff(2,r)}var _D=JA(function(r,a){a=a.length==1&&De(a[0])?ft(a[0],dn(Te())):ft($t(a,1),dn(Te()));var u=a.length;return Fe(function(m){for(var b=-1,R=Vt(m.length,u);++b=a}),Vr=mE(function(){return arguments}())?mE:function(r){return Ct(r)&&at.call(r,"callee")&&!eE.call(r,"callee")},De=F.isArray,AD=Pg?dn(Pg):PA;function rn(r){return r!=null&&ps(r.length)&&!lr(r)}function Ot(r){return Ct(r)&&rn(r)}function yD(r){return r===!0||r===!1||Ct(r)&&Jt(r)==xe}var Rr=qO||Zc,ID=kg?dn(kg):kA;function DD(r){return Ct(r)&&r.nodeType===1&&!La(r)}function xD(r){if(r==null)return!0;if(rn(r)&&(De(r)||typeof r=="string"||typeof r.splice=="function"||Rr(r)||Mi(r)||Vr(r)))return!r.length;var a=Wt(r);if(a==ie||a==Ue)return!r.size;if(wa(r))return!gc(r).length;for(var u in r)if(at.call(r,u))return!1;return!0}function wD(r,a){return Ia(r,a)}function MD(r,a,u){u=typeof u=="function"?u:n;var m=u?u(r,a):n;return m===n?Ia(r,a,n,u):!!m}function Yc(r){if(!Ct(r))return!1;var a=Jt(r);return a==We||a==rt||typeof r.message=="string"&&typeof r.name=="string"&&!La(r)}function LD(r){return typeof r=="number"&&nE(r)}function lr(r){if(!Tt(r))return!1;var a=Jt(r);return a==te||a==pe||a==Ve||a==me}function Cf(r){return typeof r=="number"&&r==Le(r)}function ps(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=X}function Tt(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Ct(r){return r!=null&&typeof r=="object"}var Rf=Ug?dn(Ug):FA;function PD(r,a){return r===a||mc(r,a,xc(a))}function kD(r,a,u){return u=typeof u=="function"?u:n,mc(r,a,xc(a),u)}function UD(r){return Nf(r)&&r!=+r}function FD(r){if(Ty(r))throw new ye(s);return gE(r)}function BD(r){return r===null}function GD(r){return r==null}function Nf(r){return typeof r=="number"||Ct(r)&&Jt(r)==Pe}function La(r){if(!Ct(r)||Jt(r)!=Xe)return!1;var a=Go(r);if(a===null)return!0;var u=at.call(a,"constructor")&&a.constructor;return typeof u=="function"&&u instanceof u&&ko.call(u)==kO}var qc=Fg?dn(Fg):BA;function YD(r){return Cf(r)&&r>=-X&&r<=X}var Of=Bg?dn(Bg):GA;function ms(r){return typeof r=="string"||!De(r)&&Ct(r)&&Jt(r)==Ie}function pn(r){return typeof r=="symbol"||Ct(r)&&Jt(r)==zt}var Mi=Gg?dn(Gg):YA;function qD(r){return r===n}function $D(r){return Ct(r)&&Wt(r)==Gt}function HD(r){return Ct(r)&&Jt(r)==Sn}var zD=is(Ec),VD=is(function(r,a){return r<=a});function Af(r){if(!r)return[];if(rn(r))return ms(r)?xn(r):nn(r);if(Ta&&r[Ta])return RO(r[Ta]());var a=Wt(r),u=a==ie?rc:a==Ue?Mo:Li;return u(r)}function cr(r){if(!r)return r===0?r:0;if(r=On(r),r===G||r===-G){var a=r<0?-1:1;return a*ue}return r===r?r:0}function Le(r){var a=cr(r),u=a%1;return a===a?u?a-u:a:0}function yf(r){return r?qr(Le(r),0,he):0}function On(r){if(typeof r=="number")return r;if(pn(r))return ve;if(Tt(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=Tt(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=Vg(r);var u=Dl.test(r);return u||wl.test(r)?sO(r.slice(2),u?2:8):Il.test(r)?ve:+r}function If(r){return qn(r,an(r))}function WD(r){return r?qr(Le(r),-X,X):r===0?r:0}function nt(r){return r==null?"":_n(r)}var KD=Di(function(r,a){if(wa(a)||rn(a)){qn(a,kt(a),r);return}for(var u in a)at.call(a,u)&&Oa(r,u,a[u])}),Df=Di(function(r,a){qn(a,an(a),r)}),gs=Di(function(r,a,u,m){qn(a,an(a),r,m)}),QD=Di(function(r,a,u,m){qn(a,kt(a),r,m)}),XD=or(cc);function ZD(r,a){var u=Ii(r);return a==null?u:sE(u,a)}var JD=Fe(function(r,a){r=ut(r);var u=-1,m=a.length,b=m>2?a[2]:n;for(b&&jt(a[0],a[1],b)&&(m=1);++u1),R}),qn(r,Ic(r),u),m&&(u=Cn(u,g|E|f,cy));for(var b=a.length;b--;)Tc(u,a[b]);return u});function Ex(r,a){return wf(r,_s(Te(a)))}var fx=or(function(r,a){return r==null?{}:HA(r,a)});function wf(r,a){if(r==null)return{};var u=ft(Ic(r),function(m){return[m]});return a=Te(a),vE(r,u,function(m,b){return a(m,b[0])})}function Sx(r,a,u){a=vr(a,r);var m=-1,b=a.length;for(b||(b=1,r=n);++ma){var m=r;r=a,a=m}if(u||r%1||a%1){var b=rE();return Vt(r+b*(a-r+oO("1e-"+((b+"").length-1))),a)}return Sc(r,a)}var Ix=xi(function(r,a,u){return a=a.toLowerCase(),r+(u?Pf(a):a)});function Pf(r){return zc(nt(r).toLowerCase())}function kf(r){return r=nt(r),r&&r.replace(Ll,bO).replace(wg,"")}function Dx(r,a,u){r=nt(r),a=_n(a);var m=r.length;u=u===n?m:qr(Le(u),0,m);var b=u;return u-=a.length,u>=0&&r.slice(u,b)==a}function xx(r){return r=nt(r),r&&cn.test(r)?r.replace(tn,hO):r}function wx(r){return r=nt(r),r&&hl.test(r)?r.replace(ua,"\\$&"):r}var Mx=xi(function(r,a,u){return r+(u?"-":"")+a.toLowerCase()}),Lx=xi(function(r,a,u){return r+(u?" ":"")+a.toLowerCase()}),Px=FE("toLowerCase");function kx(r,a,u){r=nt(r),a=Le(a);var m=a?Ri(r):0;if(!a||m>=a)return r;var b=(a-m)/2;return rs(Ho(b),u)+r+rs($o(b),u)}function Ux(r,a,u){r=nt(r),a=Le(a);var m=a?Ri(r):0;return a&&m>>0,u?(r=nt(r),r&&(typeof a=="string"||a!=null&&!qc(a))&&(a=_n(a),!a&&Ci(r))?Cr(xn(r),0,u):r.split(a,u)):[]}var Hx=xi(function(r,a,u){return r+(u?" ":"")+zc(a)});function zx(r,a,u){return r=nt(r),u=u==null?0:qr(Le(u),0,r.length),a=_n(a),r.slice(u,u+a.length)==a}function Vx(r,a,u){var m=C.templateSettings;u&&jt(r,a,u)&&(a=n),r=nt(r),a=gs({},a,m,zE);var b=gs({},a.imports,m.imports,zE),R=kt(b),O=nc(b,R),A,M,H=0,z=a.interpolate||Si,K="__p += '",oe=ic((a.escape||Si).source+"|"+z.source+"|"+(z===co?yl:Si).source+"|"+(a.evaluate||Si).source+"|$","g"),fe="//# sourceURL="+(at.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tO+"]")+`
+`;r.replace(oe,function(Ne,Ye,Ke,mn,en,gn){return Ke||(Ke=mn),K+=r.slice(H,gn).replace(Pl,TO),Ye&&(A=!0,K+=`' +
__e(`+Ye+`) +
-'`),en&&(M=!0,Q+=`';
+'`),en&&(M=!0,K+=`';
`+en+`;
-__p += '`),Qe&&(Q+=`' +
-((__t = (`+Qe+`)) == null ? '' : __t) +
-'`),$=mn+Ne.length,Ne}),Q+=`';
-`;var Re=at.call(a,"variable")&&a.variable;if(!Re)Q=`with (obj) {
-`+Q+`
+__p += '`),Ke&&(K+=`' +
+((__t = (`+Ke+`)) == null ? '' : __t) +
+'`),H=gn+Ne.length,Ne}),K+=`';
+`;var Re=at.call(a,"variable")&&a.variable;if(!Re)K=`with (obj) {
+`+K+`
}
-`;else if(Ol.test(Re))throw new ye(c);Q=(M?Q.replace(Ae,""):Q).replace(it,"$1").replace(Tt,"$1;"),Q="function("+(Re||"obj")+`) {
+`;else if(Ol.test(Re))throw new ye(c);K=(M?K.replace(Ae,""):K).replace(it,"$1").replace(ht,"$1;"),K="function("+(Re||"obj")+`) {
`+(Re?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(A?", __e = _.escape":"")+(M?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
-`)+Q+`return __p
-}`;var ke=Uf(function(){return et(R,fe+"return "+Q).apply(n,O)});if(ke.source=Q,Yc(ke))throw ke;return ke}function zx(r){return nt(r).toLowerCase()}function Vx(r){return nt(r).toUpperCase()}function Wx(r,a,u){if(r=nt(r),r&&(u||a===n))return zg(r);if(!r||!(a=dn(a)))return r;var m=xn(r),b=xn(a),R=Vg(m,b),O=Wg(m,b)+1;return Cr(m,R,O).join("")}function Kx(r,a,u){if(r=nt(r),r&&(u||a===n))return r.slice(0,Qg(r)+1);if(!r||!(a=dn(a)))return r;var m=xn(r),b=Wg(m,xn(a))+1;return Cr(m,0,b).join("")}function Qx(r,a,u){if(r=nt(r),r&&(u||a===n))return r.replace(ua,"");if(!r||!(a=dn(a)))return r;var m=xn(r),b=Vg(m,xn(a));return Cr(m,b).join("")}function Xx(r,a){var u=z,m=K;if(vt(a)){var b="separator"in a?a.separator:b;u="length"in a?Le(a.length):u,m="omission"in a?dn(a.omission):m}r=nt(r);var R=r.length;if(Ti(r)){var O=xn(r);R=O.length}if(u>=R)return r;var A=u-vi(m);if(A<1)return m;var M=O?Cr(O,0,A).join(""):r.slice(0,A);if(b===n)return M+m;if(O&&(A+=M.length-A),qc(b)){if(r.slice(A).search(b)){var $,H=M;for(b.global||(b=ic(b.source,nt(co.exec(b))+"g")),b.lastIndex=0;$=b.exec(H);)var Q=$.index;M=M.slice(0,Q===n?A:Q)}}else if(r.indexOf(dn(b),A)!=A){var se=M.lastIndexOf(b);se>-1&&(M=M.slice(0,se))}return M+m}function Zx(r){return r=nt(r),r&&mt.test(r)?r.replace(wt,OO):r}var Jx=Ii(function(r,a,u){return r+(u?" ":"")+a.toUpperCase()}),zc=UE("toUpperCase");function kf(r,a,u){return r=nt(r),a=u?n:a,a===n?TO(r)?IO(r):_O(r):r.match(a)||[]}var Uf=Fe(function(r,a){try{return cn(r,n,a)}catch(u){return Yc(u)?u:new ye(u)}}),jx=or(function(r,a){return hn(a,function(u){u=$n(u),ir(r,u,Bc(r[u],r))}),r});function ew(r){var a=r==null?0:r.length,u=Te();return r=a?ft(r,function(m){if(typeof m[1]!="function")throw new Tn(l);return[u(m[0]),m[1]]}):[],Fe(function(m){for(var b=-1;++bX)return[];var u=he,m=Vt(r,he);a=Te(a),r-=he;for(var b=tc(m,a);++u0||a<0)?new Ve(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),a!==n&&(a=Le(a),u=a<0?u.dropRight(-a):u.take(a-r)),u)},Ve.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ve.prototype.toArray=function(){return this.take(he)},Yn(Ve.prototype,function(r,a){var u=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),b=C[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);b&&(C.prototype[a]=function(){var O=this.__wrapped__,A=m?[1]:arguments,M=O instanceof Ve,$=A[0],H=M||De(O),Q=function(Ye){var Qe=b.apply(C,fr([Ye],A));return m&&se?Qe[0]:Qe};H&&u&&typeof $=="function"&&$.length!=1&&(M=H=!1);var se=this.__chain__,fe=!!this.__actions__.length,Re=R&&!se,ke=M&&!fe;if(!R&&H){O=ke?O:new Ve(this);var Ne=r.apply(O,A);return Ne.__actions__.push({func:ss,args:[Q],thisArg:n}),new vn(Ne,se)}return Re&&ke?r.apply(this,A):(Ne=this.thru(Q),Re?m?Ne.value()[0]:Ne.value():Ne)})}),hn(["pop","push","shift","sort","splice","unshift"],function(r){var a=Mo[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);C.prototype[r]=function(){var b=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(De(R)?R:[],b)}return this[u](function(O){return a.apply(De(O)?O:[],b)})}}),Yn(Ve.prototype,function(r,a){var u=C[a];if(u){var m=u.name+"";at.call(Oi,m)||(Oi[m]=[]),Oi[m].push({name:a,func:u})}}),Oi[es(n,T).name]=[{name:"wrapper",func:n}],Ve.prototype.clone=ZO,Ve.prototype.reverse=JO,Ve.prototype.value=jO,C.prototype.at=yI,C.prototype.chain=II,C.prototype.commit=DI,C.prototype.next=xI,C.prototype.plant=MI,C.prototype.reverse=LI,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=PI,C.prototype.first=C.prototype.head,ha&&(C.prototype[ha]=wI),C},Ci=DO();Ur?((Ur.exports=Ci)._=Ci,Wl._=Ci):qt._=Ci}).call(La)})($s,$s.exports);var Ir=$s.exports;class b2{constructor(e){Mi(this,"queue");Mi(this,"processing");Mi(this,"callback");Mi(this,"steps");Mi(this,"requestAnimationFrameId");this.queue=[],this.processing=!1,this.callback=e,this.steps=[],this.requestAnimationFrameId=null}registerCallback(e){this.callback=e}clearQueue(){this.queue=[],this.processing=!1,this.callback=void 0,this.steps=[],this.requestAnimationFrameId&&(cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null)}pushToQueue(e){this.queue.push(e),this.requestAnimationFrameId||this.processQueueWithRAF()}processQueueWithRAF(){var e,n,i,o;if(console.log(this.queue),!this.processing&&this.queue.length>0){this.processing=!0;const s=(l,c)=>Ir.isUndefined(c)?l:c;for(const l of this.queue){const c=this.steps[this.steps.length-1];if(l.id!==(c==null?void 0:c.id)){l.contents=l.content?[l.content]:[],this.steps.push(l);continue}if(Ir.assignWith(c,Ir.omit(l,"content"),s),!l.content)continue;const d=c.contents[c.contents.length-1];if(((e=l.content)==null?void 0:e.id)!==(d==null?void 0:d.id)||l.content.type!==(d==null?void 0:d.type)){c.contents.push(l.content);continue}if(Ir.assignWith(d,Ir.omit(l.content,"value"),s),((n=l.content)==null?void 0:n.type)===Dr.IMAGE){const _=d.value.answer.endsWith(",");d.value.answer+=`${_?"":","}${(i=l.content)==null?void 0:i.value.answer}`}else d.value.answer+=((o=l.content)==null?void 0:o.value.answer)||""}this.queue=[],this.callback&&this.callback(this.steps),this.processing=!1}this.queue.length>0?this.requestAnimationFrameId=requestAnimationFrame(()=>{this.processQueueWithRAF()}):this.requestAnimationFrameId=null}}const Vr=ee(),ys=ee(!0),ZS=ee(0),dN=()=>{const t=async i=>{const{behavior:o="auto",isAsync:s=!0,force:l=!1}=i||{};if(!Vr.value||!l&&!ys.value)return;s&&await Qs();const c=(i==null?void 0:i.top)||Vr.value.scrollHeight;if(o==="auto"){Vr.value.scrollTop=c;return}ys.value=!0,Vr.value.scrollTo({top:c,behavior:o})},e=(i=10)=>{const{scrollTop:o,clientHeight:s,scrollHeight:l}=Vr.value,c=o+s;return c<=l+i&&c>=l-i},n=()=>{const{scrollTop:i}=Vr.value,o=e();if(i{if(!ei.value||(t==null?void 0:t.id)===(e==null?void 0:e.id))return;const{renderPath:n,lastLeaf:i}=S2(ei.value);Fm.value=n,Qr.value=i},{deep:!0,immediate:!0});const Is=new b2,Bi=ee(),Hs=ee(null),tb=ee(!1),v2=t=>{Hs.value=new AbortController;const{query:e}=t;return fetch("/api/messages",{signal:Hs.value.signal,headers:{accept:"text/event-stream","content-type":"application/json"},body:JSON.stringify({query:e,config:{OPENAI_API_KEY:t.OPENAI_API_KEY,OPENAI_API_MODEL:t.OPENAI_API_MODEL}}),method:"POST",credentials:"include"})},aa=()=>{const{toBottom:t}=dN(),e=async g=>{Bi.value&&(Bi.value.steps=[...g]),t({behavior:"smooth"})},n=()=>{const g=Date.now()+Math.random()*1e3;return gn.value.has(g)?n():g},i=(g,E)=>{const f=[],S=n();return g||f.push({id:S,status:Xt.FINISH,contents:[{id:S,type:Dr.TEXT,value:{answer:E}}]}),km({user_id:0,role:"Product Manager",is_user_message:!g,chat_id:Um.value,steps:f,id:S,created_at:Ka().format("YYYY-MM-DD HH:mm:ss")})},o=(g,E)=>{if(!Ba.value.has(E))return;const f=gn.value.get(E);gn.value.delete(E),Ba.value.delete(E),gn.value.set(f.id,f)},s=(g,E)=>{var N;const f=gn.value.get(E);f.created_at=g.timestamp,((N=Qr.value)==null?void 0:N.id)===E&&(Qr.value.created_at=g.timestamp);const S=g;if(console.log(S),!(S!=null&&S.chat_id))return;const v=f.parent;gn.value.delete(E),Ba.value.delete(E);const h=v.children.findIndex(y=>y.id===E);v.children.splice(h,1);const T={...S,children:[],parent:v};v.children.push(T),gn.value.set(T.id,T),ei.value=T,Bi.value=void 0,Is.clearQueue()},l=(g,E)=>{let f=null;const S=i(!0);return Ou.value?f=gn.value.get(E):(f=i(!1,g),XS(gn.value.get(E),f),gn.value.set(f.id,f),Ba.value.add(f.id)),XS(f,S),ei.value=S,gn.value.set(S.id,S),Ba.value.add(S.id),{userMessage:f,agentMessage:S}},c=async(g,E,f=!1)=>{if(!g||!Um)return;Ou.value=f,Is.registerCallback(e);const S=E!==void 0?E:Qr.value.id,{userMessage:v,agentMessage:h}=l(g,S);Bi.value=h,Fi.value=Ut.RUNNING;const T=N=>{if(N.name==="AbortError"){Fi.value=Ut.TERMINATE;return}Fi.value=Ut.FAILED};v2({query:g,OPENAI_API_KEY:JS.value,OPENAI_API_MODEL:jS.value}).then(N=>{const y=N.body.getReader();let x=!0,P="";y.read().then(function D({done:k,value:U}){if(k){Fi.value=Ut.FINISH;return}y.read().then(D).catch(T);let W=dM(U);const z=W.endsWith(`
+`)+K+`return __p
+}`;var ke=Ff(function(){return et(R,fe+"return "+K).apply(n,O)});if(ke.source=K,Yc(ke))throw ke;return ke}function Wx(r){return nt(r).toLowerCase()}function Kx(r){return nt(r).toUpperCase()}function Qx(r,a,u){if(r=nt(r),r&&(u||a===n))return Vg(r);if(!r||!(a=_n(a)))return r;var m=xn(r),b=xn(a),R=Wg(m,b),O=Kg(m,b)+1;return Cr(m,R,O).join("")}function Xx(r,a,u){if(r=nt(r),r&&(u||a===n))return r.slice(0,Xg(r)+1);if(!r||!(a=_n(a)))return r;var m=xn(r),b=Kg(m,xn(a))+1;return Cr(m,0,b).join("")}function Zx(r,a,u){if(r=nt(r),r&&(u||a===n))return r.replace(da,"");if(!r||!(a=_n(a)))return r;var m=xn(r),b=Wg(m,xn(a));return Cr(m,b).join("")}function Jx(r,a){var u=q,m=W;if(Tt(a)){var b="separator"in a?a.separator:b;u="length"in a?Le(a.length):u,m="omission"in a?_n(a.omission):m}r=nt(r);var R=r.length;if(Ci(r)){var O=xn(r);R=O.length}if(u>=R)return r;var A=u-Ri(m);if(A<1)return m;var M=O?Cr(O,0,A).join(""):r.slice(0,A);if(b===n)return M+m;if(O&&(A+=M.length-A),qc(b)){if(r.slice(A).search(b)){var H,z=M;for(b.global||(b=ic(b.source,nt(uo.exec(b))+"g")),b.lastIndex=0;H=b.exec(z);)var K=H.index;M=M.slice(0,K===n?A:K)}}else if(r.indexOf(_n(b),A)!=A){var oe=M.lastIndexOf(b);oe>-1&&(M=M.slice(0,oe))}return M+m}function jx(r){return r=nt(r),r&&mt.test(r)?r.replace(wt,yO):r}var ew=xi(function(r,a,u){return r+(u?" ":"")+a.toUpperCase()}),zc=FE("toUpperCase");function Uf(r,a,u){return r=nt(r),a=u?n:a,a===n?CO(r)?xO(r):mO(r):r.match(a)||[]}var Ff=Fe(function(r,a){try{return un(r,n,a)}catch(u){return Yc(u)?u:new ye(u)}}),tw=or(function(r,a){return hn(a,function(u){u=$n(u),ir(r,u,Bc(r[u],r))}),r});function nw(r){var a=r==null?0:r.length,u=Te();return r=a?ft(r,function(m){if(typeof m[1]!="function")throw new Tn(l);return[u(m[0]),m[1]]}):[],Fe(function(m){for(var b=-1;++bX)return[];var u=he,m=Vt(r,he);a=Te(a),r-=he;for(var b=tc(m,a);++u0||a<0)?new ze(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),a!==n&&(a=Le(a),u=a<0?u.dropRight(-a):u.take(a-r)),u)},ze.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ze.prototype.toArray=function(){return this.take(he)},Yn(ze.prototype,function(r,a){var u=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),b=C[m?"take"+(a=="last"?"Right":""):a],R=m||/^find/.test(a);b&&(C.prototype[a]=function(){var O=this.__wrapped__,A=m?[1]:arguments,M=O instanceof ze,H=A[0],z=M||De(O),K=function(Ye){var Ke=b.apply(C,fr([Ye],A));return m&&oe?Ke[0]:Ke};z&&u&&typeof H=="function"&&H.length!=1&&(M=z=!1);var oe=this.__chain__,fe=!!this.__actions__.length,Re=R&&!oe,ke=M&&!fe;if(!R&&z){O=ke?O:new ze(this);var Ne=r.apply(O,A);return Ne.__actions__.push({func:ls,args:[K],thisArg:n}),new vn(Ne,oe)}return Re&&ke?r.apply(this,A):(Ne=this.thru(K),Re?m?Ne.value()[0]:Ne.value():Ne)})}),hn(["pop","push","shift","sort","splice","unshift"],function(r){var a=Lo[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);C.prototype[r]=function(){var b=arguments;if(m&&!this.__chain__){var R=this.value();return a.apply(De(R)?R:[],b)}return this[u](function(O){return a.apply(De(O)?O:[],b)})}}),Yn(ze.prototype,function(r,a){var u=C[a];if(u){var m=u.name+"";at.call(yi,m)||(yi[m]=[]),yi[m].push({name:a,func:u})}}),yi[ts(n,v).name]=[{name:"wrapper",func:n}],ze.prototype.clone=jO,ze.prototype.reverse=eA,ze.prototype.value=tA,C.prototype.at=DI,C.prototype.chain=xI,C.prototype.commit=wI,C.prototype.next=MI,C.prototype.plant=PI,C.prototype.reverse=kI,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=UI,C.prototype.first=C.prototype.head,Ta&&(C.prototype[Ta]=LI),C},Ni=wO();Fr?((Fr.exports=Ni)._=Ni,Wl._=Ni):qt._=Ni}).call(Pa)})($s,$s.exports);var Ir=$s.exports;class bq{constructor(e){Pi(this,"queue");Pi(this,"processing");Pi(this,"callback");Pi(this,"steps");Pi(this,"requestAnimationFrameId");this.queue=[],this.processing=!1,this.callback=e,this.steps=[],this.requestAnimationFrameId=null}registerCallback(e){this.callback=e}replaceCurrentStep(e,n){var i;this.queue.length=0,this.steps.splice(e,1,n),(i=this.callback)==null||i.call(this,this.steps)}clearQueue(){this.queue=[],this.processing=!1,this.callback=void 0,this.steps=[],this.requestAnimationFrameId&&(cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null)}pushToQueue(e){this.queue.push(e),this.requestAnimationFrameId||this.processQueueWithRAF()}processQueueWithRAF(){var e,n,i,o;if(!this.processing&&this.queue.length>0){this.processing=!0;const s=(l,c)=>Ir.isUndefined(c)?l:c;for(const l of this.queue){const c=this.steps[this.steps.length-1];if(l.id!==(c==null?void 0:c.id)){l.contents=l.content?[l.content]:[],this.steps.push(l);continue}if(Ir.assignWith(c,Ir.omit(l,"content"),s),!l.content)continue;const d=c.contents[c.contents.length-1];if(((e=l.content)==null?void 0:e.id)!==(d==null?void 0:d.id)||l.content.type!==(d==null?void 0:d.type)){c.contents.push(l.content);continue}if(Ir.assignWith(d,Ir.omit(l.content,"value"),s),((n=l.content)==null?void 0:n.type)===xr.IMAGE){const _=d.value.answer.endsWith(",");d.value.answer+=`${_?"":","}${(i=l.content)==null?void 0:i.value.answer}`}else d.value.answer+=((o=l.content)==null?void 0:o.value.answer)||""}this.queue=[],this.callback&&this.callback(this.steps),this.processing=!1}this.queue.length>0?this.requestAnimationFrameId=requestAnimationFrame(()=>{this.processQueueWithRAF()}):this.requestAnimationFrameId=null}}const Wr=ee(),Is=ee(!0),JS=ee(0),_N=()=>{const t=async i=>{const{behavior:o="auto",isAsync:s=!0,force:l=!1}=i||{};if(!Wr.value||!l&&!Is.value)return;s&&await Qs();const c=(i==null?void 0:i.top)||Wr.value.scrollHeight;if(o==="auto"){Wr.value.scrollTop=c;return}Is.value=!0,Wr.value.scrollTo({top:c,behavior:o})},e=(i=10)=>{const{scrollTop:o,clientHeight:s,scrollHeight:l}=Wr.value,c=o+s;return c<=l+i&&c>=l-i},n=()=>{const{scrollTop:i}=Wr.value,o=e();if(i{if(!ni.value||(t==null?void 0:t.id)===(e==null?void 0:e.id))return;const{renderPath:n,lastLeaf:i}=Sq(ni.value);Bm.value=n,Zr.value=i},{deep:!0,immediate:!0});const Kr=new bq,Yi=ee(),Hs=ee(null),nb=ee(!1),vq=t=>{Hs.value=new AbortController;const{query:e}=t;return fetch("/api/messages",{signal:Hs.value.signal,headers:{accept:"text/event-stream","content-type":"application/json"},body:JSON.stringify({query:e,config:{OPENAI_API_KEY:t.OPENAI_API_KEY,OPENAI_API_MODEL:t.OPENAI_API_MODEL}}),method:"POST",credentials:"include"})},oa=()=>{const{toBottom:t}=_N(),e=async E=>{Yi.value&&(Yi.value.steps=[...E]),t({behavior:"smooth"})},n=()=>{const E=Date.now()+Math.random()*1e3;return ln.value.has(E)?n():E},i=(E,f)=>{const S=[],T=n();return E||S.push({id:T,status:Xt.FINISH,contents:[{id:T,type:xr.TEXT,value:{answer:f}}]}),Um({user_id:0,role:"Product Manager",is_user_message:!E,chat_id:Fm.value,steps:S,id:T,created_at:Qa().format("YYYY-MM-DD HH:mm:ss")})},o=(E,f)=>{if(!Ga.value.has(f))return;const S=ln.value.get(f);ln.value.delete(f),Ga.value.delete(f),ln.value.set(S.id,S)},s=(E,f)=>{var y;const S=ln.value.get(f);S.created_at=E.timestamp,((y=Zr.value)==null?void 0:y.id)===f&&(Zr.value.created_at=E.timestamp);const T=E;if(console.log(T),!(T!=null&&T.chat_id))return;const h=S.parent;ln.value.delete(f),Ga.value.delete(f);const v=h.children.findIndex(x=>x.id===f);h.children.splice(v,1);const N={...T,children:[],parent:h};h.children.push(N),ln.value.set(N.id,N),ni.value=N,Yi.value=void 0,Kr.clearQueue()},l=(E,f)=>{let S=null;const T=i(!0);return Ou.value?S=ln.value.get(f):(S=i(!1,E),ZS(ln.value.get(f),S),ln.value.set(S.id,S),Ga.value.add(S.id)),ZS(S,T),ni.value=T,ln.value.set(T.id,T),Ga.value.add(T.id),{userMessage:S,agentMessage:T}},c=(E,f)=>{const T=ln.value.get(f).steps.findIndex(h=>h.id===E.id);T!==-1&&(Kr==null||Kr.replaceCurrentStep(T,{...E,contents:E.content?[E.content]:[]}))},d=async(E,f,S=!1)=>{if(!E||!Fm)return;Ou.value=S,Kr.registerCallback(e);const T=f!==void 0?f:Zr.value.id,{userMessage:h,agentMessage:v}=l(E,T);Yi.value=v,Gi.value=Ut.RUNNING;const N=y=>{if(y.name==="AbortError"){Gi.value=Ut.TERMINATE;return}Gi.value=Ut.FAILED};vq({query:E,OPENAI_API_KEY:jS.value,OPENAI_API_MODEL:eb.value}).then(y=>{const x=y.body.getReader();let P=!0,D="";x.read().then(function k({done:U,value:Z}){if(U){Gi.value=Ut.FINISH;return}x.read().then(k).catch(N);let q=pM(Z);const W=q.endsWith(`
-`),K=W.lastIndexOf(`
+`),_e=q.lastIndexOf(`
-`);if(z)W=P+W,P="";else if(K===-1){P+=W;return}else{const oe=W;W=P+W.slice(0,K),P=oe.slice(K)}W.split(`
+`);if(W)q=D+q,D="";else if(_e===-1){D+=q;return}else{const L=q;q=D+q.slice(0,_e),D=L.slice(_e)}q.split(`
-`).filter(oe=>oe).map(oe=>{try{return console.info("转码后",decodeURIComponent(oe)),JSON.parse(decodeURIComponent(oe))}catch(L){return console.info("转码失败",L),console.info("输出:",oe),""}}).filter(oe=>oe).forEach(oe=>{var re,G;const{step:L,role:J}=oe;if(L.role=J,!(oe!=null&&oe.qa_type)&&L&&Is.pushToQueue(L),o(oe,v.id),s(oe,h.id),x){if(L.status===Xt.FAILED)throw new Error(((G=(re=L.content)==null?void 0:re.value)==null?void 0:G.answer)||Km("未知错误"));x=!1}})}).catch(T)})};return{isRegen:Ou,isPreview:_N,globalStatus:Fi,chatTree:eb,chatTreeMap:gn,chatRenderPathList:Fm,lastLeafNode:Qr,activeTreeNode:ei,activeAgentNode:Bi,sendMessage:c,stopMessage:()=>{var g,E,f;(g=Hs.value)==null||g.abort(),Hs.value=null,(f=(E=Bi.value)==null?void 0:E.steps)==null||f.forEach(S=>{S.status===Xt.RUNNING&&(S.timestamp="",S.status=Xt.FINISH)})},regenMessage:async()=>{var S;let g=Qr.value;((S=Qr.value)==null?void 0:S.is_user_message)||(g=g.parent);const{contents:f}=g.steps[0];Is.clearQueue(),c(f[0].value.answer,g.id,!0)},genRootNode:async g=>{tb.value=!0;const E=km({id:0,is_user_message:!1,created_at:"",user_id:0,chat_id:0,steps:[{id:0,status:Xt.FINISH,contents:[{id:0,type:Dr.TEXT,value:{answer:g??""}}]}]});Fi.value=Ut.INIT;const{messageMap:f,root:S}=f2([],E);cN(S);const v=uN(S);eb.value=S,gn.value=f,ei.value=v,Fm.value=[],t({force:!0}),await Qs(),tb.value=!1},apiKey:JS,model:jS,shakeApiKeyInput:T2}},C2=()=>(Um.value=1,h2.value=0,_N.value=!1,aa());var Ar=(t=>(t.textToSpeech="text_to_speech",t.textToImage="text_to_image",t.aiCall="ai_call",t.dataAnalysis="data_analysis",t.crawler="crawler",t.knowledge="knowledge",t))(Ar||{});const R2={text_to_speech:"语音生成",text_to_image:"文生图",ai_call:"AI调用",data_analysis:"数据分析",crawler:"搜索",knowledge:"知识库"},N2={[Ar.textToSpeech]:()=>ue(GM,null,null),[Ar.textToImage]:()=>ue(bL,null,null),[Ar.aiCall]:()=>ue(ea,{iconId:"icon-ri-mental-health-line"},null),[Ar.dataAnalysis]:()=>ue(NL,null,null),[Ar.crawler]:()=>ue(xL,null,null),[Ar.knowledge]:()=>ue(_L,null,null)},O2=[Ar.knowledge],pN=[{job:"Product Manager",avatar:"role0",status:"Hired",tags:["PM"],color:["#8855F0","#D9CFF9"]},{job:"Project Manager",avatar:"role1",status:"Hired",tags:["PM"],color:["#E79400","#FCBED1"]},{job:"Architect",avatar:"role2",status:"Hired",tags:["CTO"],color:["#2E85F5","#BEE5FE"]},{job:"Engineer",avatar:"role3",status:"Hired",tags:["RD"],color:["#33C7BE","#C9F6EF"]},{job:"QA Engineer",avatar:"role4",status:"In recruitment",tags:["QA"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"},{job:"UI Designer",avatar:"role5",status:"In recruitment",tags:["UI"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"},{job:"Saler",avatar:"role6",status:"In recruitment",tags:["Saler"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"}],A2=t=>(Zi("data-v-dc72f28c"),t=t(),Ji(),t),y2={class:"roleListWrapper"},I2={class:"title"},D2=A2(()=>F("img",{src:Qq,alt:""},null,-1)),x2=["type"],w2={style:{width:"100%",padding:"0px 32px","box-sizing":"border-box"}},M2={class:"roleList"},L2={key:0,src:aN,alt:""},P2={key:1,src:oN,alt:""},k2={key:2,src:sN,alt:""},U2={key:3,src:lN,alt:""},F2={key:4,src:Xq,alt:""},B2={key:5,src:Zq,alt:""},G2={key:6,src:Jq,alt:""},Y2={class:"infomation"},q2={class:"job"},$2={class:"jobName"},H2={class:"jobStatus"},z2={class:"tags"},V2=be({__name:"roleList",setup(t){const e=ee(!1),n=()=>{e.value=!0},{apiKey:i,shakeApiKeyInput:o,model:s}=aa(),l=ee(),c=ee(!1),d=()=>{c.value=!0,Qs(()=>{var S;(S=l.value)==null||S.focus()})},_=ee(!1),p=()=>{_.value=!_.value},g=()=>{_.value=!0},E=()=>{_.value=!1},f=()=>{c.value=!1,E()};return(S,v)=>(V(),ae(st,null,[F("div",y2,[F("div",I2,[D2,F("span",null,$e(S.$t("My Software Team")),1)]),F("div",{class:It({keyFill:!0,keyFilled:q(i),shake:q(o)})},[!q(i)&&!q(c)?(V(),ae("div",{key:0,class:"placeholder",onClick:d},$e(S.$t("Please fill in your OpenAI API key to activate the hired software team.")),1)):Pn((V(),ae("input",{key:1,ref_key:"apiKeyInputRef",ref:l,"onUpdate:modelValue":v[0]||(v[0]=h=>wr(i)?i.value=h:null),type:q(_)?"text":"password",onFocus:g,onBlur:f},null,40,x2)),[[qw,q(i)]]),F("span",{class:"showPassword",onClick:p},[q(_)?(V(),ot(q(Xw),{key:0})):(V(),ot(q(Zw),{key:1}))])],2),ue(q(Jw),{modelValue:q(s),"onUpdate:modelValue":v[1]||(v[1]=h=>wr(s)?s.value=h:null),placeholder:"Please select a model",size:"large"},{default:dt(()=>[ue(q(gs),{label:"gpt-4-1106-preview",value:"gpt-4-1106-preview"}),ue(q(gs),{label:"gpt-4",value:"gpt-4"}),ue(q(gs),{label:"gpt-3.5-turbo",value:"gpt-3.5-turbo"}),ue(q(gs),{label:"gpt-3.5-turbo-16k",value:"gpt-3.5-turbo-16k"})]),_:1},8,["modelValue"]),F("div",w2,[ue(q(DC))]),ue(q(iN),{style:{flex:"1"}},{default:dt(()=>[F("div",M2,[(V(!0),ae(st,null,yn(q(pN),(h,T)=>(V(),ae("div",{key:T,class:"role"},[F("div",{class:"avatar",style:Bt({borderColor:` ${h.color[0]}`})},[F("div",{class:"innerPie",style:Bt({background:` ${h.color[1]}`})},null,4),T===0?(V(),ae("img",L2)):Ge("",!0),T===1?(V(),ae("img",P2)):Ge("",!0),T===2?(V(),ae("img",k2)):Ge("",!0),T===3?(V(),ae("img",U2)):Ge("",!0),T===4?(V(),ae("img",F2)):Ge("",!0),T===5?(V(),ae("img",B2)):Ge("",!0),T===6?(V(),ae("img",G2)):Ge("",!0),F("div",{class:It({rightPoint:!0,pointActive:!h.action})},null,2)],4),F("div",Y2,[F("div",q2,[F("div",$2,$e(h.job),1),F("div",H2,$e(h.status),1)]),F("div",z2,[(V(!0),ae(st,null,yn(h.tags,(N,y)=>(V(),ae("div",{key:y,class:"tagItem"},$e(N),1))),128)),h.action?(V(),ae("div",{key:0,class:"action",onClick:n},"I can build+")):Ge("",!0)])])]))),128))])]),_:1})]),ue(E2,{visible:q(e),"onUpdate:visible":v[2]||(v[2]=h=>wr(e)?e.value=h:null)},null,8,["visible"])],64))}});const W2=Dt(V2,[["__scopeId","data-v-dc72f28c"]]),K2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/btn0-e612db37.png",Q2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/btn1-25da2f4c.png",X2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/btn2-d21834a1.png",Z2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/btn3-cf765453.png",J2="https://public-frontend-1300249583.cos-website.ap-nanjing.myqcloud.com/cy_aps/assets/roundLogo-a63958eb.png",j2=t=>(Zi("data-v-491f84be"),t=t(),Ji(),t),e$=j2(()=>F("span",{class:"loading"},[F("span"),F("span"),F("span")],-1)),t$=[e$],n$=be({__name:"index",props:{color:{}},setup(t){const e=t,n=le(()=>({color:e.color}));return(i,o)=>(V(),ae("span",{class:"loading_wrap",style:Bt(q(n))},t$,4))}});const r$=Dt(n$,[["__scopeId","data-v-491f84be"]]),i$={class:"message_info"},a$={key:0,class:"avatar agentAvatar",src:J2,alt:""},o$={class:"item_info"},s$={class:"name"},l$={key:0,class:"responseSwitcher",size:[4,0]},c$={class:"time"},u$={class:"message_wrap"},d$=be({__name:"index",props:{renderNode:{},isRootNode:{type:Boolean}},setup(t){const e=t,n={[Xt.FINISH]:"#23C343",[Xt.RUNNING]:"transparent",[Xt.FAILED]:"#F53F3F",[Xt.TERMINATE]:"#23C343"},i=yt(e,"isRootNode"),o=yt(e,"renderNode"),s=yt(o.value,"activeNode"),{is_user_message:l,steps:c}=AC(s.value),{activeTreeNode:d,globalStatus:_}=aa(),p=le(()=>c.value.length?c.value[c.value.length-1].status:Xt.RUNNING),g=le(()=>{const T=l.value?Km("Me"):"MetaGPT",N=l.value?"/src/assets/role/me.svg":"/src/assets/heroPage/roundLogo.png";return{name:T,avatarUrl:N}}),E=le(()=>({color:l.value?"transparent":n[p.value],backgroundColor:g.value.avatarUrl?"transparent":"#3370ff"})),f=le(()=>l.value||i.value?!1:c.value.length===0&&p.value===Xt.RUNNING&&_.value===Ut.RUNNING),S=le(()=>o.value.current),v=le(()=>o.value.renderPath.length),h=T=>{const N=S.value+T;N<1||N>v.value||(d.value=o.value.renderPath[N-1])};return(T,N)=>(V(),ae("div",i$,[q(l)?Ge("",!0):(V(),ae("img",a$)),F("section",{class:It({info_box:!0,right_pos:q(l)})},[F("section",o$,[ue(q(aq),{style:{"max-width":"250px"}},{default:dt(()=>[F("span",s$,$e(q(g).name),1)]),_:1}),q(v)>1?(V(),ae("div",l$,[ue(q(jw),{class:It({disabled:q(S)===1}),onClick:N[0]||(N[0]=y=>h(-1))},null,8,["class"]),F("span",null,$e(q(S))+" / "+$e(q(v)),1),ue(q(eM),{class:It({disabled:q(S)===q(v)}),onClick:N[1]||(N[1]=y=>h(1))},null,8,["class"])])):Ge("",!0),q(f)?(V(),ot(r$,{key:1,color:"#165dff"})):Ge("",!0),F("span",c$,$e(q(Ka)(q(s).created_at).format("YYYY-MM-DD HH:mm:ss")),1)]),F("section",u$,[oi(T.$slots,"content",{},void 0,!0)])],2),q(l)?(V(),ot(q(tM),{key:1,class:"avatar",style:Bt(q(E)),"image-url":q(g).avatarUrl,size:40},{default:dt(()=>[St($e(q(g).name),1)]),_:1},8,["style","image-url"])):Ge("",!0)]))}});const _$=Dt(d$,[["__scopeId","data-v-9c433b71"]]),p$={class:"message_container"},m$={class:"user_message"},g$={class:"msg_wrap"},E$={key:1,class:"message"},f$={key:0,class:"btn_group"},S$=be({__name:"index",props:{activeNode:{}},setup(t){const n=yt(t,"activeNode"),{sendMessage:i,globalStatus:o}=aa(),s=le(()=>{var g;const p=n.value.steps[0];return(g=p==null?void 0:p.contents)==null?void 0:g[0]}),l=le(()=>{var p,g;return((g=(p=s.value)==null?void 0:p.value)==null?void 0:g.answer)||""}),c=ee(l.value),d=ee(!1),_=()=>{i(c.value),d.value=!1};return(p,g)=>(V(),ae("div",p$,[F("section",m$,[F("div",g$,[q(d)?(V(),ot(q(nM),{key:0,modelValue:q(c),"onUpdate:modelValue":g[0]||(g[0]=E=>wr(c)?c.value=E:null),"auto-size":""},null,8,["modelValue"])):(V(),ae("span",E$,$e(q(l)),1))]),q(d)?(V(),ae("div",f$,[ue(q(hm),{type:"outline",onClick:g[1]||(g[1]=Ps(E=>d.value=!1,["stop"]))},{default:dt(()=>[St($e(p.$t("取消")),1)]),_:1}),ue(q(hm),{disabled:q(o)===q(Ut).RUNNING,type:"primary",onClick:Ps(_,["stop"])},{default:dt(()=>[St($e(p.$t("保存并提交")),1)]),_:1},8,["disabled","onClick"])])):Ge("",!0)])]))}});const b$=Dt(S$,[["__scopeId","data-v-6f899d6f"]]),h$={class:"step_skill"},T$={class:"trigger"},v$={class:"link_group"},C$=be({__name:"skill",props:{skill:{},knowledgeBase:{},knowledgeLink:{}},setup(t){const e=t,{skill:n,knowledgeBase:i,knowledgeLink:o}=AC(e),s=l=>{console.log(l)};return(l,c)=>(V(),ae("div",h$,[F("span",T$,[ue(ea,{"icon-id":"icon-ri-check-double-line"}),St(" "+$e(l.$t(q(O2).includes(q(n))?"高级技能":"触发技能")),1)]),ue(q(rM),null,{default:dt(()=>[ue(q(xC),{align:"center",size:4},{default:dt(()=>[(V(),ot(ji(q(N2)[q(n)]))),St(" "+$e(q(R2)[q(n)]),1)]),_:1})]),_:1}),F("div",v$,[q(i)?(V(),ot(q(Gf),{key:0,type:"text"},{default:dt(()=>[St($e(l.$t("知识库"))+" ",1),F("span",{onClick:c[0]||(c[0]=Ps(d=>s("base"),["stop"]))},"("+$e(q(i).length)+")",1)]),_:1})):Ge("",!0),q(o)?(V(),ot(q(Gf),{key:1,type:"text"},{default:dt(()=>[St($e(l.$t("知识链接"))+" ",1),F("span",{onClick:c[1]||(c[1]=Ps(d=>s("link"),["stop"]))},"("+$e(q(o).length)+")",1)]),_:1})):Ge("",!0)])]))}});const R$=Dt(C$,[["__scopeId","data-v-17bf8a16"]]),N$={class:"step_item"},O$={class:"step_title_wrap"},A$={class:"title"},y$={key:0,class:"icon_loading"},I$={class:"description"},D$={class:"step_info"},x$={class:"step_content_wrap"},w$={class:"step_content"},M$=be({__name:"step",props:{description:{},status:{},title:{},skill:{}},setup(t){const e=t,n=le(()=>{const{status:i}=e;return i===Xt.FAILED?"error":i===Xt.RUNNING?"process":"finish"});return(i,o)=>(V(),ae("div",N$,[ue(q(iM),{class:"step",status:q(n)},{icon:dt(()=>[oi(i.$slots,"icon",{},void 0,!0)]),default:dt(()=>[F("div",O$,[F("span",A$,$e(e.title),1),e.status===q(Xt).RUNNING?(V(),ae("span",y$,[ue(ea,{class:"rotate",style:{color:"#165dff"},"icon-id":"icon-ri-loader-2-fill"})])):Ge("",!0),F("div",I$,$e(e.description),1)])]),_:3},8,["status"]),F("section",D$,[F("section",x$,[ue(q(DC),{direction:"vertical",class:It(["divider",{active:e.status===q(Xt).RUNNING}])},null,8,["class"]),F("div",w$,[oi(i.$slots,"default",{},void 0,!0)])]),e.skill?(V(),ot(R$,{key:0,skill:e.skill},null,8,["skill"])):Ge("",!0)])]))}});const L$=Dt(M$,[["__scopeId","data-v-690b1166"]]);var Je={};const P$="Á",k$="á",U$="Ă",F$="ă",B$="∾",G$="∿",Y$="∾̳",q$="Â",$$="â",H$="´",z$="А",V$="а",W$="Æ",K$="æ",Q$="",X$="𝔄",Z$="𝔞",J$="À",j$="à",eH="ℵ",tH="ℵ",nH="Α",rH="α",iH="Ā",aH="ā",oH="⨿",sH="&",lH="&",cH="⩕",uH="⩓",dH="∧",_H="⩜",pH="⩘",mH="⩚",gH="∠",EH="⦤",fH="∠",SH="⦨",bH="⦩",hH="⦪",TH="⦫",vH="⦬",CH="⦭",RH="⦮",NH="⦯",OH="∡",AH="∟",yH="⊾",IH="⦝",DH="∢",xH="Å",wH="⍼",MH="Ą",LH="ą",PH="𝔸",kH="𝕒",UH="⩯",FH="≈",BH="⩰",GH="≊",YH="≋",qH="'",$H="",HH="≈",zH="≊",VH="Å",WH="å",KH="𝒜",QH="𝒶",XH="≔",ZH="*",JH="≈",jH="≍",ez="Ã",tz="ã",nz="Ä",rz="ä",iz="∳",az="⨑",oz="≌",sz="϶",lz="‵",cz="∽",uz="⋍",dz="∖",_z="⫧",pz="⊽",mz="⌅",gz="⌆",Ez="⌅",fz="⎵",Sz="⎶",bz="≌",hz="Б",Tz="б",vz="„",Cz="∵",Rz="∵",Nz="∵",Oz="⦰",Az="϶",yz="ℬ",Iz="ℬ",Dz="Β",xz="β",wz="ℶ",Mz="≬",Lz="𝔅",Pz="𝔟",kz="⋂",Uz="◯",Fz="⋃",Bz="⨀",Gz="⨁",Yz="⨂",qz="⨆",$z="★",Hz="▽",zz="△",Vz="⨄",Wz="⋁",Kz="⋀",Qz="⤍",Xz="⧫",Zz="▪",Jz="▴",jz="▾",eV="◂",tV="▸",nV="␣",rV="▒",iV="░",aV="▓",oV="█",sV="=⃥",lV="≡⃥",cV="⫭",uV="⌐",dV="𝔹",_V="𝕓",pV="⊥",mV="⊥",gV="⋈",EV="⧉",fV="┐",SV="╕",bV="╖",hV="╗",TV="┌",vV="╒",CV="╓",RV="╔",NV="─",OV="═",AV="┬",yV="╤",IV="╥",DV="╦",xV="┴",wV="╧",MV="╨",LV="╩",PV="⊟",kV="⊞",UV="⊠",FV="┘",BV="╛",GV="╜",YV="╝",qV="└",$V="╘",HV="╙",zV="╚",VV="│",WV="║",KV="┼",QV="╪",XV="╫",ZV="╬",JV="┤",jV="╡",eW="╢",tW="╣",nW="├",rW="╞",iW="╟",aW="╠",oW="‵",sW="˘",lW="˘",cW="¦",uW="𝒷",dW="ℬ",_W="⁏",pW="∽",mW="⋍",gW="⧅",EW="\\",fW="⟈",SW="•",bW="•",hW="≎",TW="⪮",vW="≏",CW="≎",RW="≏",NW="Ć",OW="ć",AW="⩄",yW="⩉",IW="⩋",DW="∩",xW="⋒",wW="⩇",MW="⩀",LW="ⅅ",PW="∩︀",kW="⁁",UW="ˇ",FW="ℭ",BW="⩍",GW="Č",YW="č",qW="Ç",$W="ç",HW="Ĉ",zW="ĉ",VW="∰",WW="⩌",KW="⩐",QW="Ċ",XW="ċ",ZW="¸",JW="¸",jW="⦲",e3="¢",t3="·",n3="·",r3="𝔠",i3="ℭ",a3="Ч",o3="ч",s3="✓",l3="✓",c3="Χ",u3="χ",d3="ˆ",_3="≗",p3="↺",m3="↻",g3="⊛",E3="⊚",f3="⊝",S3="⊙",b3="®",h3="Ⓢ",T3="⊖",v3="⊕",C3="⊗",R3="○",N3="⧃",O3="≗",A3="⨐",y3="⫯",I3="⧂",D3="∲",x3="”",w3="’",M3="♣",L3="♣",P3=":",k3="∷",U3="⩴",F3="≔",B3="≔",G3=",",Y3="@",q3="∁",$3="∘",H3="∁",z3="ℂ",V3="≅",W3="⩭",K3="≡",Q3="∮",X3="∯",Z3="∮",J3="𝕔",j3="ℂ",eK="∐",tK="∐",nK="©",rK="©",iK="℗",aK="∳",oK="↵",sK="✗",lK="⨯",cK="𝒞",uK="𝒸",dK="⫏",_K="⫑",pK="⫐",mK="⫒",gK="⋯",EK="⤸",fK="⤵",SK="⋞",bK="⋟",hK="↶",TK="⤽",vK="⩈",CK="⩆",RK="≍",NK="∪",OK="⋓",AK="⩊",yK="⊍",IK="⩅",DK="∪︀",xK="↷",wK="⤼",MK="⋞",LK="⋟",PK="⋎",kK="⋏",UK="¤",FK="↶",BK="↷",GK="⋎",YK="⋏",qK="∲",$K="∱",HK="⌭",zK="†",VK="‡",WK="ℸ",KK="↓",QK="↡",XK="⇓",ZK="‐",JK="⫤",jK="⊣",eQ="⤏",tQ="˝",nQ="Ď",rQ="ď",iQ="Д",aQ="д",oQ="‡",sQ="⇊",lQ="ⅅ",cQ="ⅆ",uQ="⤑",dQ="⩷",_Q="°",pQ="∇",mQ="Δ",gQ="δ",EQ="⦱",fQ="⥿",SQ="𝔇",bQ="𝔡",hQ="⥥",TQ="⇃",vQ="⇂",CQ="´",RQ="˙",NQ="˝",OQ="`",AQ="˜",yQ="⋄",IQ="⋄",DQ="⋄",xQ="♦",wQ="♦",MQ="¨",LQ="ⅆ",PQ="ϝ",kQ="⋲",UQ="÷",FQ="÷",BQ="⋇",GQ="⋇",YQ="Ђ",qQ="ђ",$Q="⌞",HQ="⌍",zQ="$",VQ="𝔻",WQ="𝕕",KQ="¨",QQ="˙",XQ="⃜",ZQ="≐",JQ="≑",jQ="≐",e4="∸",t4="∔",n4="⊡",r4="⌆",i4="∯",a4="¨",o4="⇓",s4="⇐",l4="⇔",c4="⫤",u4="⟸",d4="⟺",_4="⟹",p4="⇒",m4="⊨",g4="⇑",E4="⇕",f4="∥",S4="⤓",b4="↓",h4="↓",T4="⇓",v4="⇵",C4="̑",R4="⇊",N4="⇃",O4="⇂",A4="⥐",y4="⥞",I4="⥖",D4="↽",x4="⥟",w4="⥗",M4="⇁",L4="↧",P4="⊤",k4="⤐",U4="⌟",F4="⌌",B4="𝒟",G4="𝒹",Y4="Ѕ",q4="ѕ",$4="⧶",H4="Đ",z4="đ",V4="⋱",W4="▿",K4="▾",Q4="⇵",X4="⥯",Z4="⦦",J4="Џ",j4="џ",e5="⟿",t5="É",n5="é",r5="⩮",i5="Ě",a5="ě",o5="Ê",s5="ê",l5="≖",c5="≕",u5="Э",d5="э",_5="⩷",p5="Ė",m5="ė",g5="≑",E5="ⅇ",f5="≒",S5="𝔈",b5="𝔢",h5="⪚",T5="È",v5="è",C5="⪖",R5="⪘",N5="⪙",O5="∈",A5="⏧",y5="ℓ",I5="⪕",D5="⪗",x5="Ē",w5="ē",M5="∅",L5="∅",P5="◻",k5="∅",U5="▫",F5=" ",B5=" ",G5=" ",Y5="Ŋ",q5="ŋ",$5=" ",H5="Ę",z5="ę",V5="𝔼",W5="𝕖",K5="⋕",Q5="⧣",X5="⩱",Z5="ε",J5="Ε",j5="ε",e6="ϵ",t6="≖",n6="≕",r6="≂",i6="⪖",a6="⪕",o6="⩵",s6="=",l6="≂",c6="≟",u6="⇌",d6="≡",_6="⩸",p6="⧥",m6="⥱",g6="≓",E6="ℯ",f6="ℰ",S6="≐",b6="⩳",h6="≂",T6="Η",v6="η",C6="Ð",R6="ð",N6="Ë",O6="ë",A6="€",y6="!",I6="∃",D6="∃",x6="ℰ",w6="ⅇ",M6="ⅇ",L6="≒",P6="Ф",k6="ф",U6="♀",F6="ffi",B6="ff",G6="ffl",Y6="𝔉",q6="𝔣",$6="fi",H6="◼",z6="▪",V6="fj",W6="♭",K6="fl",Q6="▱",X6="ƒ",Z6="𝔽",J6="𝕗",j6="∀",e9="∀",t9="⋔",n9="⫙",r9="ℱ",i9="⨍",a9="½",o9="⅓",s9="¼",l9="⅕",c9="⅙",u9="⅛",d9="⅔",_9="⅖",p9="¾",m9="⅗",g9="⅜",E9="⅘",f9="⅚",S9="⅝",b9="⅞",h9="⁄",T9="⌢",v9="𝒻",C9="ℱ",R9="ǵ",N9="Γ",O9="γ",A9="Ϝ",y9="ϝ",I9="⪆",D9="Ğ",x9="ğ",w9="Ģ",M9="Ĝ",L9="ĝ",P9="Г",k9="г",U9="Ġ",F9="ġ",B9="≥",G9="≧",Y9="⪌",q9="⋛",$9="≥",H9="≧",z9="⩾",V9="⪩",W9="⩾",K9="⪀",Q9="⪂",X9="⪄",Z9="⋛︀",J9="⪔",j9="𝔊",e8="𝔤",t8="≫",n8="⋙",r8="⋙",i8="ℷ",a8="Ѓ",o8="ѓ",s8="⪥",l8="≷",c8="⪒",u8="⪤",d8="⪊",_8="⪊",p8="⪈",m8="≩",g8="⪈",E8="≩",f8="⋧",S8="𝔾",b8="𝕘",h8="`",T8="≥",v8="⋛",C8="≧",R8="⪢",N8="≷",O8="⩾",A8="≳",y8="𝒢",I8="ℊ",D8="≳",x8="⪎",w8="⪐",M8="⪧",L8="⩺",P8=">",k8=">",U8="≫",F8="⋗",B8="⦕",G8="⩼",Y8="⪆",q8="⥸",$8="⋗",H8="⋛",z8="⪌",V8="≷",W8="≳",K8="≩︀",Q8="≩︀",X8="ˇ",Z8=" ",J8="½",j8="ℋ",e7="Ъ",t7="ъ",n7="⥈",r7="↔",i7="⇔",a7="↭",o7="^",s7="ℏ",l7="Ĥ",c7="ĥ",u7="♥",d7="♥",_7="…",p7="⊹",m7="𝔥",g7="ℌ",E7="ℋ",f7="⤥",S7="⤦",b7="⇿",h7="∻",T7="↩",v7="↪",C7="𝕙",R7="ℍ",N7="―",O7="─",A7="𝒽",y7="ℋ",I7="ℏ",D7="Ħ",x7="ħ",w7="≎",M7="≏",L7="⁃",P7="‐",k7="Í",U7="í",F7="",B7="Î",G7="î",Y7="И",q7="и",$7="İ",H7="Е",z7="е",V7="¡",W7="⇔",K7="𝔦",Q7="ℑ",X7="Ì",Z7="ì",J7="ⅈ",j7="⨌",eX="∭",tX="⧜",nX="℩",rX="IJ",iX="ij",aX="Ī",oX="ī",sX="ℑ",lX="ⅈ",cX="ℐ",uX="ℑ",dX="ı",_X="ℑ",pX="⊷",mX="Ƶ",gX="⇒",EX="℅",fX="∞",SX="⧝",bX="ı",hX="⊺",TX="∫",vX="∬",CX="ℤ",RX="∫",NX="⊺",OX="⋂",AX="⨗",yX="⨼",IX="",DX="",xX="Ё",wX="ё",MX="Į",LX="į",PX="𝕀",kX="𝕚",UX="Ι",FX="ι",BX="⨼",GX="¿",YX="𝒾",qX="ℐ",$X="∈",HX="⋵",zX="⋹",VX="⋴",WX="⋳",KX="∈",QX="",XX="Ĩ",ZX="ĩ",JX="І",jX="і",eZ="Ï",tZ="ï",nZ="Ĵ",rZ="ĵ",iZ="Й",aZ="й",oZ="𝔍",sZ="𝔧",lZ="ȷ",cZ="𝕁",uZ="𝕛",dZ="𝒥",_Z="𝒿",pZ="Ј",mZ="ј",gZ="Є",EZ="є",fZ="Κ",SZ="κ",bZ="ϰ",hZ="Ķ",TZ="ķ",vZ="К",CZ="к",RZ="𝔎",NZ="𝔨",OZ="ĸ",AZ="Х",yZ="х",IZ="Ќ",DZ="ќ",xZ="𝕂",wZ="𝕜",MZ="𝒦",LZ="𝓀",PZ="⇚",kZ="Ĺ",UZ="ĺ",FZ="⦴",BZ="ℒ",GZ="Λ",YZ="λ",qZ="⟨",$Z="⟪",HZ="⦑",zZ="⟨",VZ="⪅",WZ="ℒ",KZ="«",QZ="⇤",XZ="⤟",ZZ="←",JZ="↞",jZ="⇐",eJ="⤝",tJ="↩",nJ="↫",rJ="⤹",iJ="⥳",aJ="↢",oJ="⤙",sJ="⤛",lJ="⪫",cJ="⪭",uJ="⪭︀",dJ="⤌",_J="⤎",pJ="❲",mJ="{",gJ="[",EJ="⦋",fJ="⦏",SJ="⦍",bJ="Ľ",hJ="ľ",TJ="Ļ",vJ="ļ",CJ="⌈",RJ="{",NJ="Л",OJ="л",AJ="⤶",yJ="“",IJ="„",DJ="⥧",xJ="⥋",wJ="↲",MJ="≤",LJ="≦",PJ="⟨",kJ="⇤",UJ="←",FJ="←",BJ="⇐",GJ="⇆",YJ="↢",qJ="⌈",$J="⟦",HJ="⥡",zJ="⥙",VJ="⇃",WJ="⌊",KJ="↽",QJ="↼",XJ="⇇",ZJ="↔",JJ="↔",jJ="⇔",ej="⇆",tj="⇋",nj="↭",rj="⥎",ij="↤",aj="⊣",oj="⥚",sj="⋋",lj="⧏",cj="⊲",uj="⊴",dj="⥑",_j="⥠",pj="⥘",mj="↿",gj="⥒",Ej="↼",fj="⪋",Sj="⋚",bj="≤",hj="≦",Tj="⩽",vj="⪨",Cj="⩽",Rj="⩿",Nj="⪁",Oj="⪃",Aj="⋚︀",yj="⪓",Ij="⪅",Dj="⋖",xj="⋚",wj="⪋",Mj="⋚",Lj="≦",Pj="≶",kj="≶",Uj="⪡",Fj="≲",Bj="⩽",Gj="≲",Yj="⥼",qj="⌊",$j="𝔏",Hj="𝔩",zj="≶",Vj="⪑",Wj="⥢",Kj="↽",Qj="↼",Xj="⥪",Zj="▄",Jj="Љ",jj="љ",eee="⇇",tee="≪",nee="⋘",ree="⌞",iee="⇚",aee="⥫",oee="◺",see="Ŀ",lee="ŀ",cee="⎰",uee="⎰",dee="⪉",_ee="⪉",pee="⪇",mee="≨",gee="⪇",Eee="≨",fee="⋦",See="⟬",bee="⇽",hee="⟦",Tee="⟵",vee="⟵",Cee="⟸",Ree="⟷",Nee="⟷",Oee="⟺",Aee="⟼",yee="⟶",Iee="⟶",Dee="⟹",xee="↫",wee="↬",Mee="⦅",Lee="𝕃",Pee="𝕝",kee="⨭",Uee="⨴",Fee="∗",Bee="_",Gee="↙",Yee="↘",qee="◊",$ee="◊",Hee="⧫",zee="(",Vee="⦓",Wee="⇆",Kee="⌟",Qee="⇋",Xee="⥭",Zee="",Jee="⊿",jee="‹",ete="𝓁",tte="ℒ",nte="↰",rte="↰",ite="≲",ate="⪍",ote="⪏",ste="[",lte="‘",cte="‚",ute="Ł",dte="ł",_te="⪦",pte="⩹",mte="<",gte="<",Ete="≪",fte="⋖",Ste="⋋",bte="⋉",hte="⥶",Tte="⩻",vte="◃",Cte="⊴",Rte="◂",Nte="⦖",Ote="⥊",Ate="⥦",yte="≨︀",Ite="≨︀",Dte="¯",xte="♂",wte="✠",Mte="✠",Lte="↦",Pte="↦",kte="↧",Ute="↤",Fte="↥",Bte="▮",Gte="⨩",Yte="М",qte="м",$te="—",Hte="∺",zte="∡",Vte=" ",Wte="ℳ",Kte="𝔐",Qte="𝔪",Xte="℧",Zte="µ",Jte="*",jte="⫰",ene="∣",tne="·",nne="⊟",rne="−",ine="∸",ane="⨪",one="∓",sne="⫛",lne="…",cne="∓",une="⊧",dne="𝕄",_ne="𝕞",pne="∓",mne="𝓂",gne="ℳ",Ene="∾",fne="Μ",Sne="μ",bne="⊸",hne="⊸",Tne="∇",vne="Ń",Cne="ń",Rne="∠⃒",Nne="≉",One="⩰̸",Ane="≋̸",yne="ʼn",Ine="≉",Dne="♮",xne="ℕ",wne="♮",Mne=" ",Lne="≎̸",Pne="≏̸",kne="⩃",Une="Ň",Fne="ň",Bne="Ņ",Gne="ņ",Yne="≇",qne="⩭̸",$ne="⩂",Hne="Н",zne="н",Vne="–",Wne="⤤",Kne="↗",Qne="⇗",Xne="↗",Zne="≠",Jne="≐̸",jne="",ere="",tre="",nre="",rre="≢",ire="⤨",are="≂̸",ore="≫",sre="≪",lre=`
-`,cre="∄",ure="∄",dre="𝔑",_re="𝔫",pre="≧̸",mre="≱",gre="≱",Ere="≧̸",fre="⩾̸",Sre="⩾̸",bre="⋙̸",hre="≵",Tre="≫⃒",vre="≯",Cre="≯",Rre="≫̸",Nre="↮",Ore="⇎",Are="⫲",yre="∋",Ire="⋼",Dre="⋺",xre="∋",wre="Њ",Mre="њ",Lre="↚",Pre="⇍",kre="‥",Ure="≦̸",Fre="≰",Bre="↚",Gre="⇍",Yre="↮",qre="⇎",$re="≰",Hre="≦̸",zre="⩽̸",Vre="⩽̸",Wre="≮",Kre="⋘̸",Qre="≴",Xre="≪⃒",Zre="≮",Jre="⋪",jre="⋬",eie="≪̸",tie="∤",nie="",rie=" ",iie="𝕟",aie="ℕ",oie="⫬",sie="¬",lie="≢",cie="≭",uie="∦",die="∉",_ie="≠",pie="≂̸",mie="∄",gie="≯",Eie="≱",fie="≧̸",Sie="≫̸",bie="≹",hie="⩾̸",Tie="≵",vie="≎̸",Cie="≏̸",Rie="∉",Nie="⋵̸",Oie="⋹̸",Aie="∉",yie="⋷",Iie="⋶",Die="⧏̸",xie="⋪",wie="⋬",Mie="≮",Lie="≰",Pie="≸",kie="≪̸",Uie="⩽̸",Fie="≴",Bie="⪢̸",Gie="⪡̸",Yie="∌",qie="∌",$ie="⋾",Hie="⋽",zie="⊀",Vie="⪯̸",Wie="⋠",Kie="∌",Qie="⧐̸",Xie="⋫",Zie="⋭",Jie="⊏̸",jie="⋢",eae="⊐̸",tae="⋣",nae="⊂⃒",rae="⊈",iae="⊁",aae="⪰̸",oae="⋡",sae="≿̸",lae="⊃⃒",cae="⊉",uae="≁",dae="≄",_ae="≇",pae="≉",mae="∤",gae="∦",Eae="∦",fae="⫽⃥",Sae="∂̸",bae="⨔",hae="⊀",Tae="⋠",vae="⊀",Cae="⪯̸",Rae="⪯̸",Nae="⤳̸",Oae="↛",Aae="⇏",yae="↝̸",Iae="↛",Dae="⇏",xae="⋫",wae="⋭",Mae="⊁",Lae="⋡",Pae="⪰̸",kae="𝒩",Uae="𝓃",Fae="∤",Bae="∦",Gae="≁",Yae="≄",qae="≄",$ae="∤",Hae="∦",zae="⋢",Vae="⋣",Wae="⊄",Kae="⫅̸",Qae="⊈",Xae="⊂⃒",Zae="⊈",Jae="⫅̸",jae="⊁",eoe="⪰̸",toe="⊅",noe="⫆̸",roe="⊉",ioe="⊃⃒",aoe="⊉",ooe="⫆̸",soe="≹",loe="Ñ",coe="ñ",uoe="≸",doe="⋪",_oe="⋬",poe="⋫",moe="⋭",goe="Ν",Eoe="ν",foe="#",Soe="№",boe=" ",hoe="≍⃒",Toe="⊬",voe="⊭",Coe="⊮",Roe="⊯",Noe="≥⃒",Ooe=">⃒",Aoe="⤄",yoe="⧞",Ioe="⤂",Doe="≤⃒",xoe="<⃒",woe="⊴⃒",Moe="⤃",Loe="⊵⃒",Poe="∼⃒",koe="⤣",Uoe="↖",Foe="⇖",Boe="↖",Goe="⤧",Yoe="Ó",qoe="ó",$oe="⊛",Hoe="Ô",zoe="ô",Voe="⊚",Woe="О",Koe="о",Qoe="⊝",Xoe="Ő",Zoe="ő",Joe="⨸",joe="⊙",ese="⦼",tse="Œ",nse="œ",rse="⦿",ise="𝔒",ase="𝔬",ose="˛",sse="Ò",lse="ò",cse="⧁",use="⦵",dse="Ω",_se="∮",pse="↺",mse="⦾",gse="⦻",Ese="‾",fse="⧀",Sse="Ō",bse="ō",hse="Ω",Tse="ω",vse="Ο",Cse="ο",Rse="⦶",Nse="⊖",Ose="𝕆",Ase="𝕠",yse="⦷",Ise="“",Dse="‘",xse="⦹",wse="⊕",Mse="↻",Lse="⩔",Pse="∨",kse="⩝",Use="ℴ",Fse="ℴ",Bse="ª",Gse="º",Yse="⊶",qse="⩖",$se="⩗",Hse="⩛",zse="Ⓢ",Vse="𝒪",Wse="ℴ",Kse="Ø",Qse="ø",Xse="⊘",Zse="Õ",Jse="õ",jse="⨶",ele="⨷",tle="⊗",nle="Ö",rle="ö",ile="⌽",ale="‾",ole="⏞",sle="⎴",lle="⏜",cle="¶",ule="∥",dle="∥",_le="⫳",ple="⫽",mle="∂",gle="∂",Ele="П",fle="п",Sle="%",ble=".",hle="‰",Tle="⊥",vle="‱",Cle="𝔓",Rle="𝔭",Nle="Φ",Ole="φ",Ale="ϕ",yle="ℳ",Ile="☎",Dle="Π",xle="π",wle="⋔",Mle="ϖ",Lle="ℏ",Ple="ℎ",kle="ℏ",Ule="⨣",Fle="⊞",Ble="⨢",Gle="+",Yle="∔",qle="⨥",$le="⩲",Hle="±",zle="±",Vle="⨦",Wle="⨧",Kle="±",Qle="ℌ",Xle="⨕",Zle="𝕡",Jle="ℙ",jle="£",ece="⪷",tce="⪻",nce="≺",rce="≼",ice="⪷",ace="≺",oce="≼",sce="≺",lce="⪯",cce="≼",uce="≾",dce="⪯",_ce="⪹",pce="⪵",mce="⋨",gce="⪯",Ece="⪳",fce="≾",Sce="′",bce="″",hce="ℙ",Tce="⪹",vce="⪵",Cce="⋨",Rce="∏",Nce="∏",Oce="⌮",Ace="⌒",yce="⌓",Ice="∝",Dce="∝",xce="∷",wce="∝",Mce="≾",Lce="⊰",Pce="𝒫",kce="𝓅",Uce="Ψ",Fce="ψ",Bce=" ",Gce="𝔔",Yce="𝔮",qce="⨌",$ce="𝕢",Hce="ℚ",zce="⁗",Vce="𝒬",Wce="𝓆",Kce="ℍ",Qce="⨖",Xce="?",Zce="≟",Jce='"',jce='"',eue="⇛",tue="∽̱",nue="Ŕ",rue="ŕ",iue="√",aue="⦳",oue="⟩",sue="⟫",lue="⦒",cue="⦥",uue="⟩",due="»",_ue="⥵",pue="⇥",mue="⤠",gue="⤳",Eue="→",fue="↠",Sue="⇒",bue="⤞",hue="↪",Tue="↬",vue="⥅",Cue="⥴",Rue="⤖",Nue="↣",Oue="↝",Aue="⤚",yue="⤜",Iue="∶",Due="ℚ",xue="⤍",wue="⤏",Mue="⤐",Lue="❳",Pue="}",kue="]",Uue="⦌",Fue="⦎",Bue="⦐",Gue="Ř",Yue="ř",que="Ŗ",$ue="ŗ",Hue="⌉",zue="}",Vue="Р",Wue="р",Kue="⤷",Que="⥩",Xue="”",Zue="”",Jue="↳",jue="ℜ",ede="ℛ",tde="ℜ",nde="ℝ",rde="ℜ",ide="▭",ade="®",ode="®",sde="∋",lde="⇋",cde="⥯",ude="⥽",dde="⌋",_de="𝔯",pde="ℜ",mde="⥤",gde="⇁",Ede="⇀",fde="⥬",Sde="Ρ",bde="ρ",hde="ϱ",Tde="⟩",vde="⇥",Cde="→",Rde="→",Nde="⇒",Ode="⇄",Ade="↣",yde="⌉",Ide="⟧",Dde="⥝",xde="⥕",wde="⇂",Mde="⌋",Lde="⇁",Pde="⇀",kde="⇄",Ude="⇌",Fde="⇉",Bde="↝",Gde="↦",Yde="⊢",qde="⥛",$de="⋌",Hde="⧐",zde="⊳",Vde="⊵",Wde="⥏",Kde="⥜",Qde="⥔",Xde="↾",Zde="⥓",Jde="⇀",jde="˚",e_e="≓",t_e="⇄",n_e="⇌",r_e="",i_e="⎱",a_e="⎱",o_e="⫮",s_e="⟭",l_e="⇾",c_e="⟧",u_e="⦆",d_e="𝕣",__e="ℝ",p_e="⨮",m_e="⨵",g_e="⥰",E_e=")",f_e="⦔",S_e="⨒",b_e="⇉",h_e="⇛",T_e="›",v_e="𝓇",C_e="ℛ",R_e="↱",N_e="↱",O_e="]",A_e="’",y_e="’",I_e="⋌",D_e="⋊",x_e="▹",w_e="⊵",M_e="▸",L_e="⧎",P_e="⧴",k_e="⥨",U_e="℞",F_e="Ś",B_e="ś",G_e="‚",Y_e="⪸",q_e="Š",$_e="š",H_e="⪼",z_e="≻",V_e="≽",W_e="⪰",K_e="⪴",Q_e="Ş",X_e="ş",Z_e="Ŝ",J_e="ŝ",j_e="⪺",epe="⪶",tpe="⋩",npe="⨓",rpe="≿",ipe="С",ape="с",ope="⊡",spe="⋅",lpe="⩦",cpe="⤥",upe="↘",dpe="⇘",_pe="↘",ppe="§",mpe=";",gpe="⤩",Epe="∖",fpe="∖",Spe="✶",bpe="𝔖",hpe="𝔰",Tpe="⌢",vpe="♯",Cpe="Щ",Rpe="щ",Npe="Ш",Ope="ш",Ape="↓",ype="←",Ipe="∣",Dpe="∥",xpe="→",wpe="↑",Mpe="",Lpe="Σ",Ppe="σ",kpe="ς",Upe="ς",Fpe="∼",Bpe="⩪",Gpe="≃",Ype="≃",qpe="⪞",$pe="⪠",Hpe="⪝",zpe="⪟",Vpe="≆",Wpe="⨤",Kpe="⥲",Qpe="←",Xpe="∘",Zpe="∖",Jpe="⨳",jpe="⧤",eme="∣",tme="⌣",nme="⪪",rme="⪬",ime="⪬︀",ame="Ь",ome="ь",sme="⌿",lme="⧄",cme="/",ume="𝕊",dme="𝕤",_me="♠",pme="♠",mme="∥",gme="⊓",Eme="⊓︀",fme="⊔",Sme="⊔︀",bme="√",hme="⊏",Tme="⊑",vme="⊏",Cme="⊑",Rme="⊐",Nme="⊒",Ome="⊐",Ame="⊒",yme="□",Ime="□",Dme="⊓",xme="⊏",wme="⊑",Mme="⊐",Lme="⊒",Pme="⊔",kme="▪",Ume="□",Fme="▪",Bme="→",Gme="𝒮",Yme="𝓈",qme="∖",$me="⌣",Hme="⋆",zme="⋆",Vme="☆",Wme="★",Kme="ϵ",Qme="ϕ",Xme="¯",Zme="⊂",Jme="⋐",jme="⪽",ege="⫅",tge="⊆",nge="⫃",rge="⫁",ige="⫋",age="⊊",oge="⪿",sge="⥹",lge="⊂",cge="⋐",uge="⊆",dge="⫅",_ge="⊆",pge="⊊",mge="⫋",gge="⫇",Ege="⫕",fge="⫓",Sge="⪸",bge="≻",hge="≽",Tge="≻",vge="⪰",Cge="≽",Rge="≿",Nge="⪰",Oge="⪺",Age="⪶",yge="⋩",Ige="≿",Dge="∋",xge="∑",wge="∑",Mge="♪",Lge="¹",Pge="²",kge="³",Uge="⊃",Fge="⋑",Bge="⪾",Gge="⫘",Yge="⫆",qge="⊇",$ge="⫄",Hge="⊃",zge="⊇",Vge="⟉",Wge="⫗",Kge="⥻",Qge="⫂",Xge="⫌",Zge="⊋",Jge="⫀",jge="⊃",eEe="⋑",tEe="⊇",nEe="⫆",rEe="⊋",iEe="⫌",aEe="⫈",oEe="⫔",sEe="⫖",lEe="⤦",cEe="↙",uEe="⇙",dEe="↙",_Ee="⤪",pEe="ß",mEe=" ",gEe="⌖",EEe="Τ",fEe="τ",SEe="⎴",bEe="Ť",hEe="ť",TEe="Ţ",vEe="ţ",CEe="Т",REe="т",NEe="⃛",OEe="⌕",AEe="𝔗",yEe="𝔱",IEe="∴",DEe="∴",xEe="∴",wEe="Θ",MEe="θ",LEe="ϑ",PEe="ϑ",kEe="≈",UEe="∼",FEe=" ",BEe=" ",GEe=" ",YEe="≈",qEe="∼",$Ee="Þ",HEe="þ",zEe="˜",VEe="∼",WEe="≃",KEe="≅",QEe="≈",XEe="⨱",ZEe="⊠",JEe="×",jEe="⨰",efe="∭",tfe="⤨",nfe="⌶",rfe="⫱",ife="⊤",afe="𝕋",ofe="𝕥",sfe="⫚",lfe="⤩",cfe="‴",ufe="™",dfe="™",_fe="▵",pfe="▿",mfe="◃",gfe="⊴",Efe="≜",ffe="▹",Sfe="⊵",bfe="◬",hfe="≜",Tfe="⨺",vfe="⃛",Cfe="⨹",Rfe="⧍",Nfe="⨻",Ofe="⏢",Afe="𝒯",yfe="𝓉",Ife="Ц",Dfe="ц",xfe="Ћ",wfe="ћ",Mfe="Ŧ",Lfe="ŧ",Pfe="≬",kfe="↞",Ufe="↠",Ffe="Ú",Bfe="ú",Gfe="↑",Yfe="↟",qfe="⇑",$fe="⥉",Hfe="Ў",zfe="ў",Vfe="Ŭ",Wfe="ŭ",Kfe="Û",Qfe="û",Xfe="У",Zfe="у",Jfe="⇅",jfe="Ű",eSe="ű",tSe="⥮",nSe="⥾",rSe="𝔘",iSe="𝔲",aSe="Ù",oSe="ù",sSe="⥣",lSe="↿",cSe="↾",uSe="▀",dSe="⌜",_Se="⌜",pSe="⌏",mSe="◸",gSe="Ū",ESe="ū",fSe="¨",SSe="_",bSe="⏟",hSe="⎵",TSe="⏝",vSe="⋃",CSe="⊎",RSe="Ų",NSe="ų",OSe="𝕌",ASe="𝕦",ySe="⤒",ISe="↑",DSe="↑",xSe="⇑",wSe="⇅",MSe="↕",LSe="↕",PSe="⇕",kSe="⥮",USe="↿",FSe="↾",BSe="⊎",GSe="↖",YSe="↗",qSe="υ",$Se="ϒ",HSe="ϒ",zSe="Υ",VSe="υ",WSe="↥",KSe="⊥",QSe="⇈",XSe="⌝",ZSe="⌝",JSe="⌎",jSe="Ů",ebe="ů",tbe="◹",nbe="𝒰",rbe="𝓊",ibe="⋰",abe="Ũ",obe="ũ",sbe="▵",lbe="▴",cbe="⇈",ube="Ü",dbe="ü",_be="⦧",pbe="⦜",mbe="ϵ",gbe="ϰ",Ebe="∅",fbe="ϕ",Sbe="ϖ",bbe="∝",hbe="↕",Tbe="⇕",vbe="ϱ",Cbe="ς",Rbe="⊊︀",Nbe="⫋︀",Obe="⊋︀",Abe="⫌︀",ybe="ϑ",Ibe="⊲",Dbe="⊳",xbe="⫨",wbe="⫫",Mbe="⫩",Lbe="В",Pbe="в",kbe="⊢",Ube="⊨",Fbe="⊩",Bbe="⊫",Gbe="⫦",Ybe="⊻",qbe="∨",$be="⋁",Hbe="≚",zbe="⋮",Vbe="|",Wbe="‖",Kbe="|",Qbe="‖",Xbe="∣",Zbe="|",Jbe="❘",jbe="≀",ehe=" ",the="𝔙",nhe="𝔳",rhe="⊲",ihe="⊂⃒",ahe="⊃⃒",ohe="𝕍",she="𝕧",lhe="∝",che="⊳",uhe="𝒱",dhe="𝓋",_he="⫋︀",phe="⊊︀",mhe="⫌︀",ghe="⊋︀",Ehe="⊪",fhe="⦚",She="Ŵ",bhe="ŵ",hhe="⩟",The="∧",vhe="⋀",Che="≙",Rhe="℘",Nhe="𝔚",Ohe="𝔴",Ahe="𝕎",yhe="𝕨",Ihe="℘",Dhe="≀",xhe="≀",whe="𝒲",Mhe="𝓌",Lhe="⋂",Phe="◯",khe="⋃",Uhe="▽",Fhe="𝔛",Bhe="𝔵",Ghe="⟷",Yhe="⟺",qhe="Ξ",$he="ξ",Hhe="⟵",zhe="⟸",Vhe="⟼",Whe="⋻",Khe="⨀",Qhe="𝕏",Xhe="𝕩",Zhe="⨁",Jhe="⨂",jhe="⟶",eTe="⟹",tTe="𝒳",nTe="𝓍",rTe="⨆",iTe="⨄",aTe="△",oTe="⋁",sTe="⋀",lTe="Ý",cTe="ý",uTe="Я",dTe="я",_Te="Ŷ",pTe="ŷ",mTe="Ы",gTe="ы",ETe="¥",fTe="𝔜",STe="𝔶",bTe="Ї",hTe="ї",TTe="𝕐",vTe="𝕪",CTe="𝒴",RTe="𝓎",NTe="Ю",OTe="ю",ATe="ÿ",yTe="Ÿ",ITe="Ź",DTe="ź",xTe="Ž",wTe="ž",MTe="З",LTe="з",PTe="Ż",kTe="ż",UTe="ℨ",FTe="",BTe="Ζ",GTe="ζ",YTe="𝔷",qTe="ℨ",$Te="Ж",HTe="ж",zTe="⇝",VTe="𝕫",WTe="ℤ",KTe="𝒵",QTe="𝓏",XTe="",ZTe="",JTe={Aacute:P$,aacute:k$,Abreve:U$,abreve:F$,ac:B$,acd:G$,acE:Y$,Acirc:q$,acirc:$$,acute:H$,Acy:z$,acy:V$,AElig:W$,aelig:K$,af:Q$,Afr:X$,afr:Z$,Agrave:J$,agrave:j$,alefsym:eH,aleph:tH,Alpha:nH,alpha:rH,Amacr:iH,amacr:aH,amalg:oH,amp:sH,AMP:lH,andand:cH,And:uH,and:dH,andd:_H,andslope:pH,andv:mH,ang:gH,ange:EH,angle:fH,angmsdaa:SH,angmsdab:bH,angmsdac:hH,angmsdad:TH,angmsdae:vH,angmsdaf:CH,angmsdag:RH,angmsdah:NH,angmsd:OH,angrt:AH,angrtvb:yH,angrtvbd:IH,angsph:DH,angst:xH,angzarr:wH,Aogon:MH,aogon:LH,Aopf:PH,aopf:kH,apacir:UH,ap:FH,apE:BH,ape:GH,apid:YH,apos:qH,ApplyFunction:$H,approx:HH,approxeq:zH,Aring:VH,aring:WH,Ascr:KH,ascr:QH,Assign:XH,ast:ZH,asymp:JH,asympeq:jH,Atilde:ez,atilde:tz,Auml:nz,auml:rz,awconint:iz,awint:az,backcong:oz,backepsilon:sz,backprime:lz,backsim:cz,backsimeq:uz,Backslash:dz,Barv:_z,barvee:pz,barwed:mz,Barwed:gz,barwedge:Ez,bbrk:fz,bbrktbrk:Sz,bcong:bz,Bcy:hz,bcy:Tz,bdquo:vz,becaus:Cz,because:Rz,Because:Nz,bemptyv:Oz,bepsi:Az,bernou:yz,Bernoullis:Iz,Beta:Dz,beta:xz,beth:wz,between:Mz,Bfr:Lz,bfr:Pz,bigcap:kz,bigcirc:Uz,bigcup:Fz,bigodot:Bz,bigoplus:Gz,bigotimes:Yz,bigsqcup:qz,bigstar:$z,bigtriangledown:Hz,bigtriangleup:zz,biguplus:Vz,bigvee:Wz,bigwedge:Kz,bkarow:Qz,blacklozenge:Xz,blacksquare:Zz,blacktriangle:Jz,blacktriangledown:jz,blacktriangleleft:eV,blacktriangleright:tV,blank:nV,blk12:rV,blk14:iV,blk34:aV,block:oV,bne:sV,bnequiv:lV,bNot:cV,bnot:uV,Bopf:dV,bopf:_V,bot:pV,bottom:mV,bowtie:gV,boxbox:EV,boxdl:fV,boxdL:SV,boxDl:bV,boxDL:hV,boxdr:TV,boxdR:vV,boxDr:CV,boxDR:RV,boxh:NV,boxH:OV,boxhd:AV,boxHd:yV,boxhD:IV,boxHD:DV,boxhu:xV,boxHu:wV,boxhU:MV,boxHU:LV,boxminus:PV,boxplus:kV,boxtimes:UV,boxul:FV,boxuL:BV,boxUl:GV,boxUL:YV,boxur:qV,boxuR:$V,boxUr:HV,boxUR:zV,boxv:VV,boxV:WV,boxvh:KV,boxvH:QV,boxVh:XV,boxVH:ZV,boxvl:JV,boxvL:jV,boxVl:eW,boxVL:tW,boxvr:nW,boxvR:rW,boxVr:iW,boxVR:aW,bprime:oW,breve:sW,Breve:lW,brvbar:cW,bscr:uW,Bscr:dW,bsemi:_W,bsim:pW,bsime:mW,bsolb:gW,bsol:EW,bsolhsub:fW,bull:SW,bullet:bW,bump:hW,bumpE:TW,bumpe:vW,Bumpeq:CW,bumpeq:RW,Cacute:NW,cacute:OW,capand:AW,capbrcup:yW,capcap:IW,cap:DW,Cap:xW,capcup:wW,capdot:MW,CapitalDifferentialD:LW,caps:PW,caret:kW,caron:UW,Cayleys:FW,ccaps:BW,Ccaron:GW,ccaron:YW,Ccedil:qW,ccedil:$W,Ccirc:HW,ccirc:zW,Cconint:VW,ccups:WW,ccupssm:KW,Cdot:QW,cdot:XW,cedil:ZW,Cedilla:JW,cemptyv:jW,cent:e3,centerdot:t3,CenterDot:n3,cfr:r3,Cfr:i3,CHcy:a3,chcy:o3,check:s3,checkmark:l3,Chi:c3,chi:u3,circ:d3,circeq:_3,circlearrowleft:p3,circlearrowright:m3,circledast:g3,circledcirc:E3,circleddash:f3,CircleDot:S3,circledR:b3,circledS:h3,CircleMinus:T3,CirclePlus:v3,CircleTimes:C3,cir:R3,cirE:N3,cire:O3,cirfnint:A3,cirmid:y3,cirscir:I3,ClockwiseContourIntegral:D3,CloseCurlyDoubleQuote:x3,CloseCurlyQuote:w3,clubs:M3,clubsuit:L3,colon:P3,Colon:k3,Colone:U3,colone:F3,coloneq:B3,comma:G3,commat:Y3,comp:q3,compfn:$3,complement:H3,complexes:z3,cong:V3,congdot:W3,Congruent:K3,conint:Q3,Conint:X3,ContourIntegral:Z3,copf:J3,Copf:j3,coprod:eK,Coproduct:tK,copy:nK,COPY:rK,copysr:iK,CounterClockwiseContourIntegral:aK,crarr:oK,cross:sK,Cross:lK,Cscr:cK,cscr:uK,csub:dK,csube:_K,csup:pK,csupe:mK,ctdot:gK,cudarrl:EK,cudarrr:fK,cuepr:SK,cuesc:bK,cularr:hK,cularrp:TK,cupbrcap:vK,cupcap:CK,CupCap:RK,cup:NK,Cup:OK,cupcup:AK,cupdot:yK,cupor:IK,cups:DK,curarr:xK,curarrm:wK,curlyeqprec:MK,curlyeqsucc:LK,curlyvee:PK,curlywedge:kK,curren:UK,curvearrowleft:FK,curvearrowright:BK,cuvee:GK,cuwed:YK,cwconint:qK,cwint:$K,cylcty:HK,dagger:zK,Dagger:VK,daleth:WK,darr:KK,Darr:QK,dArr:XK,dash:ZK,Dashv:JK,dashv:jK,dbkarow:eQ,dblac:tQ,Dcaron:nQ,dcaron:rQ,Dcy:iQ,dcy:aQ,ddagger:oQ,ddarr:sQ,DD:lQ,dd:cQ,DDotrahd:uQ,ddotseq:dQ,deg:_Q,Del:pQ,Delta:mQ,delta:gQ,demptyv:EQ,dfisht:fQ,Dfr:SQ,dfr:bQ,dHar:hQ,dharl:TQ,dharr:vQ,DiacriticalAcute:CQ,DiacriticalDot:RQ,DiacriticalDoubleAcute:NQ,DiacriticalGrave:OQ,DiacriticalTilde:AQ,diam:yQ,diamond:IQ,Diamond:DQ,diamondsuit:xQ,diams:wQ,die:MQ,DifferentialD:LQ,digamma:PQ,disin:kQ,div:UQ,divide:FQ,divideontimes:BQ,divonx:GQ,DJcy:YQ,djcy:qQ,dlcorn:$Q,dlcrop:HQ,dollar:zQ,Dopf:VQ,dopf:WQ,Dot:KQ,dot:QQ,DotDot:XQ,doteq:ZQ,doteqdot:JQ,DotEqual:jQ,dotminus:e4,dotplus:t4,dotsquare:n4,doublebarwedge:r4,DoubleContourIntegral:i4,DoubleDot:a4,DoubleDownArrow:o4,DoubleLeftArrow:s4,DoubleLeftRightArrow:l4,DoubleLeftTee:c4,DoubleLongLeftArrow:u4,DoubleLongLeftRightArrow:d4,DoubleLongRightArrow:_4,DoubleRightArrow:p4,DoubleRightTee:m4,DoubleUpArrow:g4,DoubleUpDownArrow:E4,DoubleVerticalBar:f4,DownArrowBar:S4,downarrow:b4,DownArrow:h4,Downarrow:T4,DownArrowUpArrow:v4,DownBreve:C4,downdownarrows:R4,downharpoonleft:N4,downharpoonright:O4,DownLeftRightVector:A4,DownLeftTeeVector:y4,DownLeftVectorBar:I4,DownLeftVector:D4,DownRightTeeVector:x4,DownRightVectorBar:w4,DownRightVector:M4,DownTeeArrow:L4,DownTee:P4,drbkarow:k4,drcorn:U4,drcrop:F4,Dscr:B4,dscr:G4,DScy:Y4,dscy:q4,dsol:$4,Dstrok:H4,dstrok:z4,dtdot:V4,dtri:W4,dtrif:K4,duarr:Q4,duhar:X4,dwangle:Z4,DZcy:J4,dzcy:j4,dzigrarr:e5,Eacute:t5,eacute:n5,easter:r5,Ecaron:i5,ecaron:a5,Ecirc:o5,ecirc:s5,ecir:l5,ecolon:c5,Ecy:u5,ecy:d5,eDDot:_5,Edot:p5,edot:m5,eDot:g5,ee:E5,efDot:f5,Efr:S5,efr:b5,eg:h5,Egrave:T5,egrave:v5,egs:C5,egsdot:R5,el:N5,Element:O5,elinters:A5,ell:y5,els:I5,elsdot:D5,Emacr:x5,emacr:w5,empty:M5,emptyset:L5,EmptySmallSquare:P5,emptyv:k5,EmptyVerySmallSquare:U5,emsp13:F5,emsp14:B5,emsp:G5,ENG:Y5,eng:q5,ensp:$5,Eogon:H5,eogon:z5,Eopf:V5,eopf:W5,epar:K5,eparsl:Q5,eplus:X5,epsi:Z5,Epsilon:J5,epsilon:j5,epsiv:e6,eqcirc:t6,eqcolon:n6,eqsim:r6,eqslantgtr:i6,eqslantless:a6,Equal:o6,equals:s6,EqualTilde:l6,equest:c6,Equilibrium:u6,equiv:d6,equivDD:_6,eqvparsl:p6,erarr:m6,erDot:g6,escr:E6,Escr:f6,esdot:S6,Esim:b6,esim:h6,Eta:T6,eta:v6,ETH:C6,eth:R6,Euml:N6,euml:O6,euro:A6,excl:y6,exist:I6,Exists:D6,expectation:x6,exponentiale:w6,ExponentialE:M6,fallingdotseq:L6,Fcy:P6,fcy:k6,female:U6,ffilig:F6,fflig:B6,ffllig:G6,Ffr:Y6,ffr:q6,filig:$6,FilledSmallSquare:H6,FilledVerySmallSquare:z6,fjlig:V6,flat:W6,fllig:K6,fltns:Q6,fnof:X6,Fopf:Z6,fopf:J6,forall:j6,ForAll:e9,fork:t9,forkv:n9,Fouriertrf:r9,fpartint:i9,frac12:a9,frac13:o9,frac14:s9,frac15:l9,frac16:c9,frac18:u9,frac23:d9,frac25:_9,frac34:p9,frac35:m9,frac38:g9,frac45:E9,frac56:f9,frac58:S9,frac78:b9,frasl:h9,frown:T9,fscr:v9,Fscr:C9,gacute:R9,Gamma:N9,gamma:O9,Gammad:A9,gammad:y9,gap:I9,Gbreve:D9,gbreve:x9,Gcedil:w9,Gcirc:M9,gcirc:L9,Gcy:P9,gcy:k9,Gdot:U9,gdot:F9,ge:B9,gE:G9,gEl:Y9,gel:q9,geq:$9,geqq:H9,geqslant:z9,gescc:V9,ges:W9,gesdot:K9,gesdoto:Q9,gesdotol:X9,gesl:Z9,gesles:J9,Gfr:j9,gfr:e8,gg:t8,Gg:n8,ggg:r8,gimel:i8,GJcy:a8,gjcy:o8,gla:s8,gl:l8,glE:c8,glj:u8,gnap:d8,gnapprox:_8,gne:p8,gnE:m8,gneq:g8,gneqq:E8,gnsim:f8,Gopf:S8,gopf:b8,grave:h8,GreaterEqual:T8,GreaterEqualLess:v8,GreaterFullEqual:C8,GreaterGreater:R8,GreaterLess:N8,GreaterSlantEqual:O8,GreaterTilde:A8,Gscr:y8,gscr:I8,gsim:D8,gsime:x8,gsiml:w8,gtcc:M8,gtcir:L8,gt:P8,GT:k8,Gt:U8,gtdot:F8,gtlPar:B8,gtquest:G8,gtrapprox:Y8,gtrarr:q8,gtrdot:$8,gtreqless:H8,gtreqqless:z8,gtrless:V8,gtrsim:W8,gvertneqq:K8,gvnE:Q8,Hacek:X8,hairsp:Z8,half:J8,hamilt:j8,HARDcy:e7,hardcy:t7,harrcir:n7,harr:r7,hArr:i7,harrw:a7,Hat:o7,hbar:s7,Hcirc:l7,hcirc:c7,hearts:u7,heartsuit:d7,hellip:_7,hercon:p7,hfr:m7,Hfr:g7,HilbertSpace:E7,hksearow:f7,hkswarow:S7,hoarr:b7,homtht:h7,hookleftarrow:T7,hookrightarrow:v7,hopf:C7,Hopf:R7,horbar:N7,HorizontalLine:O7,hscr:A7,Hscr:y7,hslash:I7,Hstrok:D7,hstrok:x7,HumpDownHump:w7,HumpEqual:M7,hybull:L7,hyphen:P7,Iacute:k7,iacute:U7,ic:F7,Icirc:B7,icirc:G7,Icy:Y7,icy:q7,Idot:$7,IEcy:H7,iecy:z7,iexcl:V7,iff:W7,ifr:K7,Ifr:Q7,Igrave:X7,igrave:Z7,ii:J7,iiiint:j7,iiint:eX,iinfin:tX,iiota:nX,IJlig:rX,ijlig:iX,Imacr:aX,imacr:oX,image:sX,ImaginaryI:lX,imagline:cX,imagpart:uX,imath:dX,Im:_X,imof:pX,imped:mX,Implies:gX,incare:EX,in:"∈",infin:fX,infintie:SX,inodot:bX,intcal:hX,int:TX,Int:vX,integers:CX,Integral:RX,intercal:NX,Intersection:OX,intlarhk:AX,intprod:yX,InvisibleComma:IX,InvisibleTimes:DX,IOcy:xX,iocy:wX,Iogon:MX,iogon:LX,Iopf:PX,iopf:kX,Iota:UX,iota:FX,iprod:BX,iquest:GX,iscr:YX,Iscr:qX,isin:$X,isindot:HX,isinE:zX,isins:VX,isinsv:WX,isinv:KX,it:QX,Itilde:XX,itilde:ZX,Iukcy:JX,iukcy:jX,Iuml:eZ,iuml:tZ,Jcirc:nZ,jcirc:rZ,Jcy:iZ,jcy:aZ,Jfr:oZ,jfr:sZ,jmath:lZ,Jopf:cZ,jopf:uZ,Jscr:dZ,jscr:_Z,Jsercy:pZ,jsercy:mZ,Jukcy:gZ,jukcy:EZ,Kappa:fZ,kappa:SZ,kappav:bZ,Kcedil:hZ,kcedil:TZ,Kcy:vZ,kcy:CZ,Kfr:RZ,kfr:NZ,kgreen:OZ,KHcy:AZ,khcy:yZ,KJcy:IZ,kjcy:DZ,Kopf:xZ,kopf:wZ,Kscr:MZ,kscr:LZ,lAarr:PZ,Lacute:kZ,lacute:UZ,laemptyv:FZ,lagran:BZ,Lambda:GZ,lambda:YZ,lang:qZ,Lang:$Z,langd:HZ,langle:zZ,lap:VZ,Laplacetrf:WZ,laquo:KZ,larrb:QZ,larrbfs:XZ,larr:ZZ,Larr:JZ,lArr:jZ,larrfs:eJ,larrhk:tJ,larrlp:nJ,larrpl:rJ,larrsim:iJ,larrtl:aJ,latail:oJ,lAtail:sJ,lat:lJ,late:cJ,lates:uJ,lbarr:dJ,lBarr:_J,lbbrk:pJ,lbrace:mJ,lbrack:gJ,lbrke:EJ,lbrksld:fJ,lbrkslu:SJ,Lcaron:bJ,lcaron:hJ,Lcedil:TJ,lcedil:vJ,lceil:CJ,lcub:RJ,Lcy:NJ,lcy:OJ,ldca:AJ,ldquo:yJ,ldquor:IJ,ldrdhar:DJ,ldrushar:xJ,ldsh:wJ,le:MJ,lE:LJ,LeftAngleBracket:PJ,LeftArrowBar:kJ,leftarrow:UJ,LeftArrow:FJ,Leftarrow:BJ,LeftArrowRightArrow:GJ,leftarrowtail:YJ,LeftCeiling:qJ,LeftDoubleBracket:$J,LeftDownTeeVector:HJ,LeftDownVectorBar:zJ,LeftDownVector:VJ,LeftFloor:WJ,leftharpoondown:KJ,leftharpoonup:QJ,leftleftarrows:XJ,leftrightarrow:ZJ,LeftRightArrow:JJ,Leftrightarrow:jJ,leftrightarrows:ej,leftrightharpoons:tj,leftrightsquigarrow:nj,LeftRightVector:rj,LeftTeeArrow:ij,LeftTee:aj,LeftTeeVector:oj,leftthreetimes:sj,LeftTriangleBar:lj,LeftTriangle:cj,LeftTriangleEqual:uj,LeftUpDownVector:dj,LeftUpTeeVector:_j,LeftUpVectorBar:pj,LeftUpVector:mj,LeftVectorBar:gj,LeftVector:Ej,lEg:fj,leg:Sj,leq:bj,leqq:hj,leqslant:Tj,lescc:vj,les:Cj,lesdot:Rj,lesdoto:Nj,lesdotor:Oj,lesg:Aj,lesges:yj,lessapprox:Ij,lessdot:Dj,lesseqgtr:xj,lesseqqgtr:wj,LessEqualGreater:Mj,LessFullEqual:Lj,LessGreater:Pj,lessgtr:kj,LessLess:Uj,lesssim:Fj,LessSlantEqual:Bj,LessTilde:Gj,lfisht:Yj,lfloor:qj,Lfr:$j,lfr:Hj,lg:zj,lgE:Vj,lHar:Wj,lhard:Kj,lharu:Qj,lharul:Xj,lhblk:Zj,LJcy:Jj,ljcy:jj,llarr:eee,ll:tee,Ll:nee,llcorner:ree,Lleftarrow:iee,llhard:aee,lltri:oee,Lmidot:see,lmidot:lee,lmoustache:cee,lmoust:uee,lnap:dee,lnapprox:_ee,lne:pee,lnE:mee,lneq:gee,lneqq:Eee,lnsim:fee,loang:See,loarr:bee,lobrk:hee,longleftarrow:Tee,LongLeftArrow:vee,Longleftarrow:Cee,longleftrightarrow:Ree,LongLeftRightArrow:Nee,Longleftrightarrow:Oee,longmapsto:Aee,longrightarrow:yee,LongRightArrow:Iee,Longrightarrow:Dee,looparrowleft:xee,looparrowright:wee,lopar:Mee,Lopf:Lee,lopf:Pee,loplus:kee,lotimes:Uee,lowast:Fee,lowbar:Bee,LowerLeftArrow:Gee,LowerRightArrow:Yee,loz:qee,lozenge:$ee,lozf:Hee,lpar:zee,lparlt:Vee,lrarr:Wee,lrcorner:Kee,lrhar:Qee,lrhard:Xee,lrm:Zee,lrtri:Jee,lsaquo:jee,lscr:ete,Lscr:tte,lsh:nte,Lsh:rte,lsim:ite,lsime:ate,lsimg:ote,lsqb:ste,lsquo:lte,lsquor:cte,Lstrok:ute,lstrok:dte,ltcc:_te,ltcir:pte,lt:mte,LT:gte,Lt:Ete,ltdot:fte,lthree:Ste,ltimes:bte,ltlarr:hte,ltquest:Tte,ltri:vte,ltrie:Cte,ltrif:Rte,ltrPar:Nte,lurdshar:Ote,luruhar:Ate,lvertneqq:yte,lvnE:Ite,macr:Dte,male:xte,malt:wte,maltese:Mte,Map:"⤅",map:Lte,mapsto:Pte,mapstodown:kte,mapstoleft:Ute,mapstoup:Fte,marker:Bte,mcomma:Gte,Mcy:Yte,mcy:qte,mdash:$te,mDDot:Hte,measuredangle:zte,MediumSpace:Vte,Mellintrf:Wte,Mfr:Kte,mfr:Qte,mho:Xte,micro:Zte,midast:Jte,midcir:jte,mid:ene,middot:tne,minusb:nne,minus:rne,minusd:ine,minusdu:ane,MinusPlus:one,mlcp:sne,mldr:lne,mnplus:cne,models:une,Mopf:dne,mopf:_ne,mp:pne,mscr:mne,Mscr:gne,mstpos:Ene,Mu:fne,mu:Sne,multimap:bne,mumap:hne,nabla:Tne,Nacute:vne,nacute:Cne,nang:Rne,nap:Nne,napE:One,napid:Ane,napos:yne,napprox:Ine,natural:Dne,naturals:xne,natur:wne,nbsp:Mne,nbump:Lne,nbumpe:Pne,ncap:kne,Ncaron:Une,ncaron:Fne,Ncedil:Bne,ncedil:Gne,ncong:Yne,ncongdot:qne,ncup:$ne,Ncy:Hne,ncy:zne,ndash:Vne,nearhk:Wne,nearr:Kne,neArr:Qne,nearrow:Xne,ne:Zne,nedot:Jne,NegativeMediumSpace:jne,NegativeThickSpace:ere,NegativeThinSpace:tre,NegativeVeryThinSpace:nre,nequiv:rre,nesear:ire,nesim:are,NestedGreaterGreater:ore,NestedLessLess:sre,NewLine:lre,nexist:cre,nexists:ure,Nfr:dre,nfr:_re,ngE:pre,nge:mre,ngeq:gre,ngeqq:Ere,ngeqslant:fre,nges:Sre,nGg:bre,ngsim:hre,nGt:Tre,ngt:vre,ngtr:Cre,nGtv:Rre,nharr:Nre,nhArr:Ore,nhpar:Are,ni:yre,nis:Ire,nisd:Dre,niv:xre,NJcy:wre,njcy:Mre,nlarr:Lre,nlArr:Pre,nldr:kre,nlE:Ure,nle:Fre,nleftarrow:Bre,nLeftarrow:Gre,nleftrightarrow:Yre,nLeftrightarrow:qre,nleq:$re,nleqq:Hre,nleqslant:zre,nles:Vre,nless:Wre,nLl:Kre,nlsim:Qre,nLt:Xre,nlt:Zre,nltri:Jre,nltrie:jre,nLtv:eie,nmid:tie,NoBreak:nie,NonBreakingSpace:rie,nopf:iie,Nopf:aie,Not:oie,not:sie,NotCongruent:lie,NotCupCap:cie,NotDoubleVerticalBar:uie,NotElement:die,NotEqual:_ie,NotEqualTilde:pie,NotExists:mie,NotGreater:gie,NotGreaterEqual:Eie,NotGreaterFullEqual:fie,NotGreaterGreater:Sie,NotGreaterLess:bie,NotGreaterSlantEqual:hie,NotGreaterTilde:Tie,NotHumpDownHump:vie,NotHumpEqual:Cie,notin:Rie,notindot:Nie,notinE:Oie,notinva:Aie,notinvb:yie,notinvc:Iie,NotLeftTriangleBar:Die,NotLeftTriangle:xie,NotLeftTriangleEqual:wie,NotLess:Mie,NotLessEqual:Lie,NotLessGreater:Pie,NotLessLess:kie,NotLessSlantEqual:Uie,NotLessTilde:Fie,NotNestedGreaterGreater:Bie,NotNestedLessLess:Gie,notni:Yie,notniva:qie,notnivb:$ie,notnivc:Hie,NotPrecedes:zie,NotPrecedesEqual:Vie,NotPrecedesSlantEqual:Wie,NotReverseElement:Kie,NotRightTriangleBar:Qie,NotRightTriangle:Xie,NotRightTriangleEqual:Zie,NotSquareSubset:Jie,NotSquareSubsetEqual:jie,NotSquareSuperset:eae,NotSquareSupersetEqual:tae,NotSubset:nae,NotSubsetEqual:rae,NotSucceeds:iae,NotSucceedsEqual:aae,NotSucceedsSlantEqual:oae,NotSucceedsTilde:sae,NotSuperset:lae,NotSupersetEqual:cae,NotTilde:uae,NotTildeEqual:dae,NotTildeFullEqual:_ae,NotTildeTilde:pae,NotVerticalBar:mae,nparallel:gae,npar:Eae,nparsl:fae,npart:Sae,npolint:bae,npr:hae,nprcue:Tae,nprec:vae,npreceq:Cae,npre:Rae,nrarrc:Nae,nrarr:Oae,nrArr:Aae,nrarrw:yae,nrightarrow:Iae,nRightarrow:Dae,nrtri:xae,nrtrie:wae,nsc:Mae,nsccue:Lae,nsce:Pae,Nscr:kae,nscr:Uae,nshortmid:Fae,nshortparallel:Bae,nsim:Gae,nsime:Yae,nsimeq:qae,nsmid:$ae,nspar:Hae,nsqsube:zae,nsqsupe:Vae,nsub:Wae,nsubE:Kae,nsube:Qae,nsubset:Xae,nsubseteq:Zae,nsubseteqq:Jae,nsucc:jae,nsucceq:eoe,nsup:toe,nsupE:noe,nsupe:roe,nsupset:ioe,nsupseteq:aoe,nsupseteqq:ooe,ntgl:soe,Ntilde:loe,ntilde:coe,ntlg:uoe,ntriangleleft:doe,ntrianglelefteq:_oe,ntriangleright:poe,ntrianglerighteq:moe,Nu:goe,nu:Eoe,num:foe,numero:Soe,numsp:boe,nvap:hoe,nvdash:Toe,nvDash:voe,nVdash:Coe,nVDash:Roe,nvge:Noe,nvgt:Ooe,nvHarr:Aoe,nvinfin:yoe,nvlArr:Ioe,nvle:Doe,nvlt:xoe,nvltrie:woe,nvrArr:Moe,nvrtrie:Loe,nvsim:Poe,nwarhk:koe,nwarr:Uoe,nwArr:Foe,nwarrow:Boe,nwnear:Goe,Oacute:Yoe,oacute:qoe,oast:$oe,Ocirc:Hoe,ocirc:zoe,ocir:Voe,Ocy:Woe,ocy:Koe,odash:Qoe,Odblac:Xoe,odblac:Zoe,odiv:Joe,odot:joe,odsold:ese,OElig:tse,oelig:nse,ofcir:rse,Ofr:ise,ofr:ase,ogon:ose,Ograve:sse,ograve:lse,ogt:cse,ohbar:use,ohm:dse,oint:_se,olarr:pse,olcir:mse,olcross:gse,oline:Ese,olt:fse,Omacr:Sse,omacr:bse,Omega:hse,omega:Tse,Omicron:vse,omicron:Cse,omid:Rse,ominus:Nse,Oopf:Ose,oopf:Ase,opar:yse,OpenCurlyDoubleQuote:Ise,OpenCurlyQuote:Dse,operp:xse,oplus:wse,orarr:Mse,Or:Lse,or:Pse,ord:kse,order:Use,orderof:Fse,ordf:Bse,ordm:Gse,origof:Yse,oror:qse,orslope:$se,orv:Hse,oS:zse,Oscr:Vse,oscr:Wse,Oslash:Kse,oslash:Qse,osol:Xse,Otilde:Zse,otilde:Jse,otimesas:jse,Otimes:ele,otimes:tle,Ouml:nle,ouml:rle,ovbar:ile,OverBar:ale,OverBrace:ole,OverBracket:sle,OverParenthesis:lle,para:cle,parallel:ule,par:dle,parsim:_le,parsl:ple,part:mle,PartialD:gle,Pcy:Ele,pcy:fle,percnt:Sle,period:ble,permil:hle,perp:Tle,pertenk:vle,Pfr:Cle,pfr:Rle,Phi:Nle,phi:Ole,phiv:Ale,phmmat:yle,phone:Ile,Pi:Dle,pi:xle,pitchfork:wle,piv:Mle,planck:Lle,planckh:Ple,plankv:kle,plusacir:Ule,plusb:Fle,pluscir:Ble,plus:Gle,plusdo:Yle,plusdu:qle,pluse:$le,PlusMinus:Hle,plusmn:zle,plussim:Vle,plustwo:Wle,pm:Kle,Poincareplane:Qle,pointint:Xle,popf:Zle,Popf:Jle,pound:jle,prap:ece,Pr:tce,pr:nce,prcue:rce,precapprox:ice,prec:ace,preccurlyeq:oce,Precedes:sce,PrecedesEqual:lce,PrecedesSlantEqual:cce,PrecedesTilde:uce,preceq:dce,precnapprox:_ce,precneqq:pce,precnsim:mce,pre:gce,prE:Ece,precsim:fce,prime:Sce,Prime:bce,primes:hce,prnap:Tce,prnE:vce,prnsim:Cce,prod:Rce,Product:Nce,profalar:Oce,profline:Ace,profsurf:yce,prop:Ice,Proportional:Dce,Proportion:xce,propto:wce,prsim:Mce,prurel:Lce,Pscr:Pce,pscr:kce,Psi:Uce,psi:Fce,puncsp:Bce,Qfr:Gce,qfr:Yce,qint:qce,qopf:$ce,Qopf:Hce,qprime:zce,Qscr:Vce,qscr:Wce,quaternions:Kce,quatint:Qce,quest:Xce,questeq:Zce,quot:Jce,QUOT:jce,rAarr:eue,race:tue,Racute:nue,racute:rue,radic:iue,raemptyv:aue,rang:oue,Rang:sue,rangd:lue,range:cue,rangle:uue,raquo:due,rarrap:_ue,rarrb:pue,rarrbfs:mue,rarrc:gue,rarr:Eue,Rarr:fue,rArr:Sue,rarrfs:bue,rarrhk:hue,rarrlp:Tue,rarrpl:vue,rarrsim:Cue,Rarrtl:Rue,rarrtl:Nue,rarrw:Oue,ratail:Aue,rAtail:yue,ratio:Iue,rationals:Due,rbarr:xue,rBarr:wue,RBarr:Mue,rbbrk:Lue,rbrace:Pue,rbrack:kue,rbrke:Uue,rbrksld:Fue,rbrkslu:Bue,Rcaron:Gue,rcaron:Yue,Rcedil:que,rcedil:$ue,rceil:Hue,rcub:zue,Rcy:Vue,rcy:Wue,rdca:Kue,rdldhar:Que,rdquo:Xue,rdquor:Zue,rdsh:Jue,real:jue,realine:ede,realpart:tde,reals:nde,Re:rde,rect:ide,reg:ade,REG:ode,ReverseElement:sde,ReverseEquilibrium:lde,ReverseUpEquilibrium:cde,rfisht:ude,rfloor:dde,rfr:_de,Rfr:pde,rHar:mde,rhard:gde,rharu:Ede,rharul:fde,Rho:Sde,rho:bde,rhov:hde,RightAngleBracket:Tde,RightArrowBar:vde,rightarrow:Cde,RightArrow:Rde,Rightarrow:Nde,RightArrowLeftArrow:Ode,rightarrowtail:Ade,RightCeiling:yde,RightDoubleBracket:Ide,RightDownTeeVector:Dde,RightDownVectorBar:xde,RightDownVector:wde,RightFloor:Mde,rightharpoondown:Lde,rightharpoonup:Pde,rightleftarrows:kde,rightleftharpoons:Ude,rightrightarrows:Fde,rightsquigarrow:Bde,RightTeeArrow:Gde,RightTee:Yde,RightTeeVector:qde,rightthreetimes:$de,RightTriangleBar:Hde,RightTriangle:zde,RightTriangleEqual:Vde,RightUpDownVector:Wde,RightUpTeeVector:Kde,RightUpVectorBar:Qde,RightUpVector:Xde,RightVectorBar:Zde,RightVector:Jde,ring:jde,risingdotseq:e_e,rlarr:t_e,rlhar:n_e,rlm:r_e,rmoustache:i_e,rmoust:a_e,rnmid:o_e,roang:s_e,roarr:l_e,robrk:c_e,ropar:u_e,ropf:d_e,Ropf:__e,roplus:p_e,rotimes:m_e,RoundImplies:g_e,rpar:E_e,rpargt:f_e,rppolint:S_e,rrarr:b_e,Rrightarrow:h_e,rsaquo:T_e,rscr:v_e,Rscr:C_e,rsh:R_e,Rsh:N_e,rsqb:O_e,rsquo:A_e,rsquor:y_e,rthree:I_e,rtimes:D_e,rtri:x_e,rtrie:w_e,rtrif:M_e,rtriltri:L_e,RuleDelayed:P_e,ruluhar:k_e,rx:U_e,Sacute:F_e,sacute:B_e,sbquo:G_e,scap:Y_e,Scaron:q_e,scaron:$_e,Sc:H_e,sc:z_e,sccue:V_e,sce:W_e,scE:K_e,Scedil:Q_e,scedil:X_e,Scirc:Z_e,scirc:J_e,scnap:j_e,scnE:epe,scnsim:tpe,scpolint:npe,scsim:rpe,Scy:ipe,scy:ape,sdotb:ope,sdot:spe,sdote:lpe,searhk:cpe,searr:upe,seArr:dpe,searrow:_pe,sect:ppe,semi:mpe,seswar:gpe,setminus:Epe,setmn:fpe,sext:Spe,Sfr:bpe,sfr:hpe,sfrown:Tpe,sharp:vpe,SHCHcy:Cpe,shchcy:Rpe,SHcy:Npe,shcy:Ope,ShortDownArrow:Ape,ShortLeftArrow:ype,shortmid:Ipe,shortparallel:Dpe,ShortRightArrow:xpe,ShortUpArrow:wpe,shy:Mpe,Sigma:Lpe,sigma:Ppe,sigmaf:kpe,sigmav:Upe,sim:Fpe,simdot:Bpe,sime:Gpe,simeq:Ype,simg:qpe,simgE:$pe,siml:Hpe,simlE:zpe,simne:Vpe,simplus:Wpe,simrarr:Kpe,slarr:Qpe,SmallCircle:Xpe,smallsetminus:Zpe,smashp:Jpe,smeparsl:jpe,smid:eme,smile:tme,smt:nme,smte:rme,smtes:ime,SOFTcy:ame,softcy:ome,solbar:sme,solb:lme,sol:cme,Sopf:ume,sopf:dme,spades:_me,spadesuit:pme,spar:mme,sqcap:gme,sqcaps:Eme,sqcup:fme,sqcups:Sme,Sqrt:bme,sqsub:hme,sqsube:Tme,sqsubset:vme,sqsubseteq:Cme,sqsup:Rme,sqsupe:Nme,sqsupset:Ome,sqsupseteq:Ame,square:yme,Square:Ime,SquareIntersection:Dme,SquareSubset:xme,SquareSubsetEqual:wme,SquareSuperset:Mme,SquareSupersetEqual:Lme,SquareUnion:Pme,squarf:kme,squ:Ume,squf:Fme,srarr:Bme,Sscr:Gme,sscr:Yme,ssetmn:qme,ssmile:$me,sstarf:Hme,Star:zme,star:Vme,starf:Wme,straightepsilon:Kme,straightphi:Qme,strns:Xme,sub:Zme,Sub:Jme,subdot:jme,subE:ege,sube:tge,subedot:nge,submult:rge,subnE:ige,subne:age,subplus:oge,subrarr:sge,subset:lge,Subset:cge,subseteq:uge,subseteqq:dge,SubsetEqual:_ge,subsetneq:pge,subsetneqq:mge,subsim:gge,subsub:Ege,subsup:fge,succapprox:Sge,succ:bge,succcurlyeq:hge,Succeeds:Tge,SucceedsEqual:vge,SucceedsSlantEqual:Cge,SucceedsTilde:Rge,succeq:Nge,succnapprox:Oge,succneqq:Age,succnsim:yge,succsim:Ige,SuchThat:Dge,sum:xge,Sum:wge,sung:Mge,sup1:Lge,sup2:Pge,sup3:kge,sup:Uge,Sup:Fge,supdot:Bge,supdsub:Gge,supE:Yge,supe:qge,supedot:$ge,Superset:Hge,SupersetEqual:zge,suphsol:Vge,suphsub:Wge,suplarr:Kge,supmult:Qge,supnE:Xge,supne:Zge,supplus:Jge,supset:jge,Supset:eEe,supseteq:tEe,supseteqq:nEe,supsetneq:rEe,supsetneqq:iEe,supsim:aEe,supsub:oEe,supsup:sEe,swarhk:lEe,swarr:cEe,swArr:uEe,swarrow:dEe,swnwar:_Ee,szlig:pEe,Tab:mEe,target:gEe,Tau:EEe,tau:fEe,tbrk:SEe,Tcaron:bEe,tcaron:hEe,Tcedil:TEe,tcedil:vEe,Tcy:CEe,tcy:REe,tdot:NEe,telrec:OEe,Tfr:AEe,tfr:yEe,there4:IEe,therefore:DEe,Therefore:xEe,Theta:wEe,theta:MEe,thetasym:LEe,thetav:PEe,thickapprox:kEe,thicksim:UEe,ThickSpace:FEe,ThinSpace:BEe,thinsp:GEe,thkap:YEe,thksim:qEe,THORN:$Ee,thorn:HEe,tilde:zEe,Tilde:VEe,TildeEqual:WEe,TildeFullEqual:KEe,TildeTilde:QEe,timesbar:XEe,timesb:ZEe,times:JEe,timesd:jEe,tint:efe,toea:tfe,topbot:nfe,topcir:rfe,top:ife,Topf:afe,topf:ofe,topfork:sfe,tosa:lfe,tprime:cfe,trade:ufe,TRADE:dfe,triangle:_fe,triangledown:pfe,triangleleft:mfe,trianglelefteq:gfe,triangleq:Efe,triangleright:ffe,trianglerighteq:Sfe,tridot:bfe,trie:hfe,triminus:Tfe,TripleDot:vfe,triplus:Cfe,trisb:Rfe,tritime:Nfe,trpezium:Ofe,Tscr:Afe,tscr:yfe,TScy:Ife,tscy:Dfe,TSHcy:xfe,tshcy:wfe,Tstrok:Mfe,tstrok:Lfe,twixt:Pfe,twoheadleftarrow:kfe,twoheadrightarrow:Ufe,Uacute:Ffe,uacute:Bfe,uarr:Gfe,Uarr:Yfe,uArr:qfe,Uarrocir:$fe,Ubrcy:Hfe,ubrcy:zfe,Ubreve:Vfe,ubreve:Wfe,Ucirc:Kfe,ucirc:Qfe,Ucy:Xfe,ucy:Zfe,udarr:Jfe,Udblac:jfe,udblac:eSe,udhar:tSe,ufisht:nSe,Ufr:rSe,ufr:iSe,Ugrave:aSe,ugrave:oSe,uHar:sSe,uharl:lSe,uharr:cSe,uhblk:uSe,ulcorn:dSe,ulcorner:_Se,ulcrop:pSe,ultri:mSe,Umacr:gSe,umacr:ESe,uml:fSe,UnderBar:SSe,UnderBrace:bSe,UnderBracket:hSe,UnderParenthesis:TSe,Union:vSe,UnionPlus:CSe,Uogon:RSe,uogon:NSe,Uopf:OSe,uopf:ASe,UpArrowBar:ySe,uparrow:ISe,UpArrow:DSe,Uparrow:xSe,UpArrowDownArrow:wSe,updownarrow:MSe,UpDownArrow:LSe,Updownarrow:PSe,UpEquilibrium:kSe,upharpoonleft:USe,upharpoonright:FSe,uplus:BSe,UpperLeftArrow:GSe,UpperRightArrow:YSe,upsi:qSe,Upsi:$Se,upsih:HSe,Upsilon:zSe,upsilon:VSe,UpTeeArrow:WSe,UpTee:KSe,upuparrows:QSe,urcorn:XSe,urcorner:ZSe,urcrop:JSe,Uring:jSe,uring:ebe,urtri:tbe,Uscr:nbe,uscr:rbe,utdot:ibe,Utilde:abe,utilde:obe,utri:sbe,utrif:lbe,uuarr:cbe,Uuml:ube,uuml:dbe,uwangle:_be,vangrt:pbe,varepsilon:mbe,varkappa:gbe,varnothing:Ebe,varphi:fbe,varpi:Sbe,varpropto:bbe,varr:hbe,vArr:Tbe,varrho:vbe,varsigma:Cbe,varsubsetneq:Rbe,varsubsetneqq:Nbe,varsupsetneq:Obe,varsupsetneqq:Abe,vartheta:ybe,vartriangleleft:Ibe,vartriangleright:Dbe,vBar:xbe,Vbar:wbe,vBarv:Mbe,Vcy:Lbe,vcy:Pbe,vdash:kbe,vDash:Ube,Vdash:Fbe,VDash:Bbe,Vdashl:Gbe,veebar:Ybe,vee:qbe,Vee:$be,veeeq:Hbe,vellip:zbe,verbar:Vbe,Verbar:Wbe,vert:Kbe,Vert:Qbe,VerticalBar:Xbe,VerticalLine:Zbe,VerticalSeparator:Jbe,VerticalTilde:jbe,VeryThinSpace:ehe,Vfr:the,vfr:nhe,vltri:rhe,vnsub:ihe,vnsup:ahe,Vopf:ohe,vopf:she,vprop:lhe,vrtri:che,Vscr:uhe,vscr:dhe,vsubnE:_he,vsubne:phe,vsupnE:mhe,vsupne:ghe,Vvdash:Ehe,vzigzag:fhe,Wcirc:She,wcirc:bhe,wedbar:hhe,wedge:The,Wedge:vhe,wedgeq:Che,weierp:Rhe,Wfr:Nhe,wfr:Ohe,Wopf:Ahe,wopf:yhe,wp:Ihe,wr:Dhe,wreath:xhe,Wscr:whe,wscr:Mhe,xcap:Lhe,xcirc:Phe,xcup:khe,xdtri:Uhe,Xfr:Fhe,xfr:Bhe,xharr:Ghe,xhArr:Yhe,Xi:qhe,xi:$he,xlarr:Hhe,xlArr:zhe,xmap:Vhe,xnis:Whe,xodot:Khe,Xopf:Qhe,xopf:Xhe,xoplus:Zhe,xotime:Jhe,xrarr:jhe,xrArr:eTe,Xscr:tTe,xscr:nTe,xsqcup:rTe,xuplus:iTe,xutri:aTe,xvee:oTe,xwedge:sTe,Yacute:lTe,yacute:cTe,YAcy:uTe,yacy:dTe,Ycirc:_Te,ycirc:pTe,Ycy:mTe,ycy:gTe,yen:ETe,Yfr:fTe,yfr:STe,YIcy:bTe,yicy:hTe,Yopf:TTe,yopf:vTe,Yscr:CTe,yscr:RTe,YUcy:NTe,yucy:OTe,yuml:ATe,Yuml:yTe,Zacute:ITe,zacute:DTe,Zcaron:xTe,zcaron:wTe,Zcy:MTe,zcy:LTe,Zdot:PTe,zdot:kTe,zeetrf:UTe,ZeroWidthSpace:FTe,Zeta:BTe,zeta:GTe,zfr:YTe,Zfr:qTe,ZHcy:$Te,zhcy:HTe,zigrarr:zTe,zopf:VTe,Zopf:WTe,Zscr:KTe,zscr:QTe,zwj:XTe,zwnj:ZTe};var mN=JTe,gg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,oa={},nb={};function jTe(t){var e,n,i=nb[t];if(i)return i;for(i=nb[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),c=jTe(e),i=0,o=t.length;i=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1=56320&&l<=57343)){d+=encodeURIComponent(t[i]+t[i+1]),i++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(t[i])}return d}al.defaultChars=";/?:@&=+$,-_.!~*'()#";al.componentChars="-_.!~*'()";var eve=al,rb={};function tve(t){var e,n,i=rb[t];if(i)return i;for(i=rb[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),i.push(n);for(e=0;e=55296&&p<=57343?g+="���":g+=String.fromCharCode(p),o+=6;continue}if((l&248)===240&&o+91114111?g+="����":(p-=65536,g+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),o+=9;continue}g+="�"}return g})}ol.defaultChars=";/?:@&=+$,#";ol.componentChars="";var nve=ol,rve=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function zs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var ive=/^([a-z0-9.+-]+:)/i,ave=/:[0-9]*$/,ove=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,sve=["<",">",'"',"`"," ","\r",`
-`," "],lve=["{","}","|","\\","^","`"].concat(sve),cve=["'"].concat(lve),ib=["%","/","?",";","#"].concat(cve),ab=["/","?","#"],uve=255,ob=/^[+a-z0-9A-Z_-]{0,63}$/,dve=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,sb={javascript:!0,"javascript:":!0},lb={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _ve(t,e){if(t&&t instanceof zs)return t;var n=new zs;return n.parse(t,e),n}zs.prototype.parse=function(t,e){var n,i,o,s,l,c=t;if(c=c.trim(),!e&&t.split("#").length===1){var d=ove.exec(c);if(d)return this.pathname=d[1],d[2]&&(this.search=d[2]),this}var _=ive.exec(c);if(_&&(_=_[0],o=_.toLowerCase(),this.protocol=_,c=c.substr(_.length)),(e||_||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(l=c.substr(0,2)==="//",l&&!(_&&sb[_])&&(c=c.substr(2),this.slashes=!0)),!sb[_]&&(l||_&&!lb[_])){var p=-1;for(n=0;n127?T+="x":T+=h[N];if(!T.match(ob)){var x=v.slice(0,n),P=v.slice(n+1),D=h.match(dve);D&&(x.push(D[1]),P.unshift(D[2])),P.length&&(c=P.join(".")+c),this.hostname=x.join(".");break}}}}this.hostname.length>uve&&(this.hostname=""),S&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var k=c.indexOf("#");k!==-1&&(this.hash=c.substr(k),c=c.slice(0,k));var U=c.indexOf("?");return U!==-1&&(this.search=c.substr(U),c=c.slice(0,U)),c&&(this.pathname=c),lb[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};zs.prototype.parseHost=function(t){var e=ave.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var pve=_ve;oa.encode=eve;oa.decode=nve;oa.format=rve;oa.parse=pve;var Wr={},Au,cb;function gN(){return cb||(cb=1,Au=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Au}var yu,ub;function EN(){return ub||(ub=1,yu=/[\0-\x1F\x7F-\x9F]/),yu}var Iu,db;function mve(){return db||(db=1,Iu=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Iu}var Du,_b;function fN(){return _b||(_b=1,Du=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Du}var pb;function gve(){return pb||(pb=1,Wr.Any=gN(),Wr.Cc=EN(),Wr.Cf=mve(),Wr.P=gg,Wr.Z=fN()),Wr}(function(t){function e(L){return Object.prototype.toString.call(L)}function n(L){return e(L)==="[object String]"}var i=Object.prototype.hasOwnProperty;function o(L,J){return i.call(L,J)}function s(L){var J=Array.prototype.slice.call(arguments,1);return J.forEach(function(re){if(re){if(typeof re!="object")throw new TypeError(re+"must be object");Object.keys(re).forEach(function(G){L[G]=re[G]})}}),L}function l(L,J,re){return[].concat(L.slice(0,J),re,L.slice(J+1))}function c(L){return!(L>=55296&&L<=57343||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534||L>=0&&L<=8||L===11||L>=14&&L<=31||L>=127&&L<=159||L>1114111)}function d(L){if(L>65535){L-=65536;var J=55296+(L>>10),re=56320+(L&1023);return String.fromCharCode(J,re)}return String.fromCharCode(L)}var _=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,p=/&([a-z#][a-z0-9]{1,31});/gi,g=new RegExp(_.source+"|"+p.source,"gi"),E=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,f=mN;function S(L,J){var re=0;return o(f,J)?f[J]:J.charCodeAt(0)===35&&E.test(J)&&(re=J[1].toLowerCase()==="x"?parseInt(J.slice(2),16):parseInt(J.slice(1),10),c(re))?d(re):L}function v(L){return L.indexOf("\\")<0?L:L.replace(_,"$1")}function h(L){return L.indexOf("\\")<0&&L.indexOf("&")<0?L:L.replace(g,function(J,re,G){return re||S(J,G)})}var T=/[&<>"]/,N=/[&<>"]/g,y={"&":"&","<":"<",">":">",'"':"""};function x(L){return y[L]}function P(L){return T.test(L)?L.replace(N,x):L}var D=/[.?*+^$[\]\\(){}|-]/g;function k(L){return L.replace(D,"\\$&")}function U(L){switch(L){case 9:case 32:return!0}return!1}function W(L){if(L>=8192&&L<=8202)return!0;switch(L){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}var z=gg;function K(L){return z.test(L)}function Ee(L){switch(L){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 oe(L){return L=L.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(L=L.replace(/ẞ/g,"ß")),L.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=oa,t.lib.ucmicro=gve(),t.assign=s,t.isString=n,t.has=o,t.unescapeMd=v,t.unescapeAll=h,t.isValidEntityCode=c,t.fromCodePoint=d,t.escapeHtml=P,t.arrayReplaceAt=l,t.isSpace=U,t.isWhiteSpace=W,t.isMdAsciiPunct=Ee,t.isPunctChar=K,t.escapeRE=k,t.normalizeReference=oe})(Je);var sl={},Eve=function(e,n,i){var o,s,l,c,d=-1,_=e.posMax,p=e.pos;for(e.pos=n+1,o=1;e.pos<_;){if(l=e.src.charCodeAt(e.pos),l===93&&(o--,o===0)){s=!0;break}if(c=e.pos,e.md.inline.skipToken(e),l===91){if(c===e.pos-1)o++;else if(i)return e.pos=p,-1}}return s&&(d=e.pos),e.pos=p,d},mb=Je.unescapeAll,fve=function(e,n,i){var o,s,l=0,c=n,d={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n32))return d;if(o===41){if(s===0)break;s--}n++}return c===n||s!==0||(d.str=mb(e.slice(c,n)),d.lines=l,d.pos=n,d.ok=!0),d},Sve=Je.unescapeAll,bve=function(e,n,i){var o,s,l=0,c=n,d={ok:!1,pos:0,lines:0,str:""};if(n>=i||(s=e.charCodeAt(n),s!==34&&s!==39&&s!==40))return d;for(n++,s===40&&(s=41);n"+ci(t[e].content)+"
"};Zn.code_block=function(t,e,n,i,o){var s=t[e];return""+ci(t[e].content)+`
-`};Zn.fence=function(t,e,n,i,o){var s=t[e],l=s.info?Tve(s.info).trim():"",c="",d="",_,p,g,E,f;return l&&(g=l.split(/(\s+)/g),c=g[0],d=g.slice(2).join("")),n.highlight?_=n.highlight(s.content,c,d)||ci(s.content):_=ci(s.content),_.indexOf("L).map(L=>{try{return console.info("转码后",decodeURIComponent(L)),JSON.parse(decodeURIComponent(L))}catch(Q){return console.info("转码失败",Q),console.info("输出:",L),""}}).filter(L=>L).forEach(L=>{var G,X,ue;const{step:Q,role:re}=L;if(Q.role=re,!(L!=null&&L.qa_type)&&Q&&Kr.pushToQueue(Q),o(L,h.id),s(L,v.id),(G=Q.content)!=null&&G.is_finished){c(Q,v.id);return}if(P){if(Q.status===Xt.FAILED)throw new Error(((ue=(X=Q.content)==null?void 0:X.value)==null?void 0:ue.answer)||Qm("未知错误"));P=!1}})}).catch(N)})};return{isRegen:Ou,isPreview:pN,globalStatus:Gi,chatTree:tb,chatTreeMap:ln,chatRenderPathList:Bm,lastLeafNode:Zr,activeTreeNode:ni,activeAgentNode:Yi,sendMessage:d,stopMessage:()=>{var E,f,S;(E=Hs.value)==null||E.abort(),Hs.value=null,(S=(f=Yi.value)==null?void 0:f.steps)==null||S.forEach(T=>{T.status===Xt.RUNNING&&(T.timestamp="",T.status=Xt.FINISH)})},regenMessage:async()=>{var T;let E=Zr.value;((T=Zr.value)==null?void 0:T.is_user_message)||(E=E.parent);const{contents:S}=E.steps[0];Kr.clearQueue(),d(S[0].value.answer,E.id,!0)},genRootNode:async E=>{nb.value=!0;const f=Um({id:0,is_user_message:!1,created_at:"",user_id:0,chat_id:0,steps:[{id:0,status:Xt.FINISH,contents:[{id:0,type:xr.TEXT,value:{answer:E??""}}]}]});Gi.value=Ut.INIT;const{messageMap:S,root:T}=fq([],f);uN(T);const h=dN(T);tb.value=T,ln.value=S,ni.value=h,Bm.value=[],t({force:!0}),await Qs(),nb.value=!1},apiKey:jS,model:eb,shakeApiKeyInput:Tq}},Cq=()=>(Fm.value=1,hq.value=0,pN.value=!1,oa());var Ar=(t=>(t.textToSpeech="text_to_speech",t.textToImage="text_to_image",t.aiCall="ai_call",t.dataAnalysis="data_analysis",t.crawler="crawler",t.knowledge="knowledge",t))(Ar||{});const Rq={text_to_speech:"语音生成",text_to_image:"文生图",ai_call:"AI调用",data_analysis:"数据分析",crawler:"搜索",knowledge:"知识库"},Nq={[Ar.textToSpeech]:()=>ce(qM,null,null),[Ar.textToImage]:()=>ce(TL,null,null),[Ar.aiCall]:()=>ce(ta,{iconId:"icon-ri-mental-health-line"},null),[Ar.dataAnalysis]:()=>ce(AL,null,null),[Ar.crawler]:()=>ce(ML,null,null),[Ar.knowledge]:()=>ce(mL,null,null)},Oq=[Ar.knowledge],mN=[{job:"Product Manager",avatar:"role0",status:"Hired",tags:["PM"],color:["#8855F0","#D9CFF9"]},{job:"Project Manager",avatar:"role1",status:"Hired",tags:["PM"],color:["#E79400","#FCBED1"]},{job:"Architect",avatar:"role2",status:"Hired",tags:["CTO"],color:["#2E85F5","#BEE5FE"]},{job:"Engineer",avatar:"role3",status:"Hired",tags:["RD"],color:["#33C7BE","#C9F6EF"]},{job:"QA Engineer",avatar:"role4",status:"In recruitment",tags:["QA"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"},{job:"UI Designer",avatar:"role5",status:"In recruitment",tags:["UI"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"},{job:"Saler",avatar:"role6",status:"In recruitment",tags:["Saler"],color:["#C9CDD4","#E5E6EB"],action:"I can build+"}],Aq=t=>(Ji("data-v-dc72f28c"),t=t(),ji(),t),yq={class:"roleListWrapper"},Iq={class:"title"},Dq=Aq(()=>B("img",{src:Q2,alt:""},null,-1)),xq=["type"],wq={style:{width:"100%",padding:"0px 32px","box-sizing":"border-box"}},Mq={class:"roleList"},Lq={key:0,src:oN,alt:""},Pq={key:1,src:sN,alt:""},kq={key:2,src:lN,alt:""},Uq={key:3,src:cN,alt:""},Fq={key:4,src:X2,alt:""},Bq={key:5,src:Z2,alt:""},Gq={key:6,src:J2,alt:""},Yq={class:"infomation"},qq={class:"job"},$q={class:"jobName"},Hq={class:"jobStatus"},zq={class:"tags"},Vq=be({__name:"roleList",setup(t){const e=ee(!1),n=()=>{e.value=!0},{apiKey:i,shakeApiKeyInput:o,model:s}=oa(),l=ee(),c=ee(!1),d=()=>{c.value=!0,Qs(()=>{var S;(S=l.value)==null||S.focus()})},_=ee(!1),p=()=>{_.value=!_.value},g=()=>{_.value=!0},E=()=>{_.value=!1},f=()=>{c.value=!1,E()};return(S,T)=>(V(),ae(st,null,[B("div",yq,[B("div",Iq,[Dq,B("span",null,Qe(S.$t("My Software Team")),1)]),B("div",{class:It({keyFill:!0,keyFilled:$(i),shake:$(o)})},[!$(i)&&!$(c)?(V(),ae("div",{key:0,class:"placeholder",onClick:d},Qe(S.$t("Please fill in your OpenAI API key to activate the hired software team.")),1)):Pn((V(),ae("input",{key:1,ref_key:"apiKeyInputRef",ref:l,"onUpdate:modelValue":T[0]||(T[0]=h=>Mr(i)?i.value=h:null),type:$(_)?"text":"password",onFocus:g,onBlur:f},null,40,xq)),[[Hw,$(i)]]),B("span",{class:"showPassword",onClick:p},[$(_)?(V(),ot($(Jw),{key:0})):(V(),ot($(jw),{key:1}))])],2),ce($(eM),{modelValue:$(s),"onUpdate:modelValue":T[1]||(T[1]=h=>Mr(s)?s.value=h:null),placeholder:"Please select a model",size:"large"},{default:dt(()=>[ce($(Es),{label:"gpt-4-1106-preview",value:"gpt-4-1106-preview"}),ce($(Es),{label:"gpt-4",value:"gpt-4"}),ce($(Es),{label:"gpt-3.5-turbo",value:"gpt-3.5-turbo"}),ce($(Es),{label:"gpt-3.5-turbo-16k",value:"gpt-3.5-turbo-16k"})]),_:1},8,["modelValue"]),B("div",wq,[ce($(xC))]),ce($(aN),{style:{flex:"1"}},{default:dt(()=>[B("div",Mq,[(V(!0),ae(st,null,yn($(mN),(h,v)=>(V(),ae("div",{key:v,class:"role"},[B("div",{class:"avatar",style:Bt({borderColor:` ${h.color[0]}`})},[B("div",{class:"innerPie",style:Bt({background:` ${h.color[1]}`})},null,4),v===0?(V(),ae("img",Lq)):Ge("",!0),v===1?(V(),ae("img",Pq)):Ge("",!0),v===2?(V(),ae("img",kq)):Ge("",!0),v===3?(V(),ae("img",Uq)):Ge("",!0),v===4?(V(),ae("img",Fq)):Ge("",!0),v===5?(V(),ae("img",Bq)):Ge("",!0),v===6?(V(),ae("img",Gq)):Ge("",!0),B("div",{class:It({rightPoint:!0,pointActive:!h.action})},null,2)],4),B("div",Yq,[B("div",qq,[B("div",$q,Qe(h.job),1),B("div",Hq,Qe(h.status),1)]),B("div",zq,[(V(!0),ae(st,null,yn(h.tags,(N,y)=>(V(),ae("div",{key:y,class:"tagItem"},Qe(N),1))),128)),h.action?(V(),ae("div",{key:0,class:"action",onClick:n},"I can build+")):Ge("",!0)])])]))),128))])]),_:1})]),ce(Eq,{visible:$(e),"onUpdate:visible":T[2]||(T[2]=h=>Mr(e)?e.value=h:null)},null,8,["visible"])],64))}});const Wq=Dt(Vq,[["__scopeId","data-v-dc72f28c"]]),Kq="/static/assets/btn0-e612db37.png",Qq="/static/assets/btn1-25da2f4c.png",Xq="/static/assets/btn2-d21834a1.png",Zq="/static/assets/btn3-cf765453.png",Jq="/static/assets/roundLogo-9e67acc4.svg",jq=t=>(Ji("data-v-491f84be"),t=t(),ji(),t),e$=jq(()=>B("span",{class:"loading"},[B("span"),B("span"),B("span")],-1)),t$=[e$],n$=be({__name:"index",props:{color:{}},setup(t){const e=t,n=se(()=>({color:e.color}));return(i,o)=>(V(),ae("span",{class:"loading_wrap",style:Bt($(n))},t$,4))}});const r$=Dt(n$,[["__scopeId","data-v-491f84be"]]),i$={class:"message_info"},a$={key:0,class:"avatar",src:Jq,alt:""},o$={class:"item_info"},s$={class:"name"},l$={key:0,class:"responseSwitcher",size:[4,0]},c$={class:"time"},u$={class:"message_wrap"},d$=be({__name:"index",props:{renderNode:{},isRootNode:{type:Boolean}},setup(t){const e=t,n={[Xt.FINISH]:"#23C343",[Xt.RUNNING]:"transparent",[Xt.FAILED]:"#F53F3F",[Xt.TERMINATE]:"#23C343"},i=yt(e,"isRootNode"),o=yt(e,"renderNode"),s=yt(o.value,"activeNode"),{is_user_message:l,steps:c}=yC(s.value),{activeTreeNode:d,globalStatus:_}=oa(),p=se(()=>c.value.length?c.value[c.value.length-1].status:Xt.RUNNING),g=se(()=>{const v=l.value?Qm("Me"):"MetaGPT",N=l.value?"/src/assets/role/me.svg":"/src/assets/heroPage/roundLogo.svg";return{name:v,avatarUrl:N}}),E=se(()=>({color:l.value?"transparent":n[p.value],backgroundColor:g.value.avatarUrl?"transparent":"#3370ff"})),f=se(()=>l.value||i.value?!1:c.value.length===0&&p.value===Xt.RUNNING&&_.value===Ut.RUNNING),S=se(()=>o.value.current),T=se(()=>o.value.renderPath.length),h=v=>{const N=S.value+v;N<1||N>T.value||(d.value=o.value.renderPath[N-1])};return(v,N)=>(V(),ae("div",i$,[$(l)?Ge("",!0):(V(),ae("img",a$)),B("section",{class:It({info_box:!0,right_pos:$(l)})},[B("section",o$,[ce($(s2),{style:{"max-width":"250px"}},{default:dt(()=>[B("span",s$,Qe($(g).name),1)]),_:1}),$(T)>1?(V(),ae("div",l$,[ce($(tM),{class:It({disabled:$(S)===1}),onClick:N[0]||(N[0]=y=>h(-1))},null,8,["class"]),B("span",null,Qe($(S))+" / "+Qe($(T)),1),ce($(nM),{class:It({disabled:$(S)===$(T)}),onClick:N[1]||(N[1]=y=>h(1))},null,8,["class"])])):Ge("",!0),$(f)?(V(),ot(r$,{key:1,color:"#165dff"})):Ge("",!0),B("span",c$,Qe($(Qa)($(s).created_at).format("YYYY-MM-DD HH:mm:ss")),1)]),B("section",u$,[li(v.$slots,"content",{},void 0,!0)])],2),$(l)?(V(),ot($(rM),{key:1,class:"avatar",style:Bt($(E)),"image-url":$(g).avatarUrl,size:40},{default:dt(()=>[vt(Qe($(g).name),1)]),_:1},8,["style","image-url"])):Ge("",!0)]))}});const _$=Dt(d$,[["__scopeId","data-v-de77c762"]]),p$={class:"message_container"},m$={class:"user_message"},g$={class:"msg_wrap"},E$={key:1,class:"message"},f$={key:0,class:"btn_group"},S$=be({__name:"index",props:{activeNode:{}},setup(t){const n=yt(t,"activeNode"),{sendMessage:i,globalStatus:o}=oa(),s=se(()=>{var g;const p=n.value.steps[0];return(g=p==null?void 0:p.contents)==null?void 0:g[0]}),l=se(()=>{var p,g;return((g=(p=s.value)==null?void 0:p.value)==null?void 0:g.answer)||""}),c=ee(l.value),d=ee(!1),_=()=>{i(c.value),d.value=!1};return(p,g)=>(V(),ae("div",p$,[B("section",m$,[B("div",g$,[$(d)?(V(),ot($(iM),{key:0,modelValue:$(c),"onUpdate:modelValue":g[0]||(g[0]=E=>Mr(c)?c.value=E:null),"auto-size":""},null,8,["modelValue"])):(V(),ae("span",E$,Qe($(l)),1))]),$(d)?(V(),ae("div",f$,[ce($(Tm),{type:"outline",onClick:g[1]||(g[1]=Ps(E=>d.value=!1,["stop"]))},{default:dt(()=>[vt(Qe(p.$t("取消")),1)]),_:1}),ce($(Tm),{disabled:$(o)===$(Ut).RUNNING,type:"primary",onClick:Ps(_,["stop"])},{default:dt(()=>[vt(Qe(p.$t("保存并提交")),1)]),_:1},8,["disabled","onClick"])])):Ge("",!0)])]))}});const b$=Dt(S$,[["__scopeId","data-v-6f899d6f"]]),h$={class:"step_skill"},T$={class:"trigger"},v$={class:"link_group"},C$=be({__name:"skill",props:{skill:{},knowledgeBase:{},knowledgeLink:{}},setup(t){const e=t,{skill:n,knowledgeBase:i,knowledgeLink:o}=yC(e),s=l=>{console.log(l)};return(l,c)=>(V(),ae("div",h$,[B("span",T$,[ce(ta,{"icon-id":"icon-ri-check-double-line"}),vt(" "+Qe(l.$t($(Oq).includes($(n))?"高级技能":"触发技能")),1)]),ce($(aM),null,{default:dt(()=>[ce($(wC),{align:"center",size:4},{default:dt(()=>[(V(),ot(ea($(Nq)[$(n)]))),vt(" "+Qe($(Rq)[$(n)]),1)]),_:1})]),_:1}),B("div",v$,[$(i)?(V(),ot($(Yf),{key:0,type:"text"},{default:dt(()=>[vt(Qe(l.$t("知识库"))+" ",1),B("span",{onClick:c[0]||(c[0]=Ps(d=>s("base"),["stop"]))},"("+Qe($(i).length)+")",1)]),_:1})):Ge("",!0),$(o)?(V(),ot($(Yf),{key:1,type:"text"},{default:dt(()=>[vt(Qe(l.$t("知识链接"))+" ",1),B("span",{onClick:c[1]||(c[1]=Ps(d=>s("link"),["stop"]))},"("+Qe($(o).length)+")",1)]),_:1})):Ge("",!0)])]))}});const R$=Dt(C$,[["__scopeId","data-v-17bf8a16"]]),N$={class:"step_item"},O$={class:"step_title_wrap"},A$={class:"title"},y$={key:0,class:"icon_loading"},I$={class:"description"},D$={class:"step_info"},x$={class:"step_content_wrap"},w$={class:"step_content"},M$=be({__name:"step",props:{description:{},status:{},title:{},skill:{}},setup(t){const e=t,n=se(()=>{const{status:i}=e;return i===Xt.FAILED?"error":i===Xt.RUNNING?"process":"finish"});return(i,o)=>(V(),ae("div",N$,[ce($(oM),{class:"step",status:$(n)},{icon:dt(()=>[li(i.$slots,"icon",{},void 0,!0)]),default:dt(()=>[B("div",O$,[B("span",A$,Qe(e.title),1),e.status===$(Xt).RUNNING?(V(),ae("span",y$,[ce(ta,{class:"rotate",style:{color:"#165dff"},"icon-id":"icon-ri-loader-2-fill"})])):Ge("",!0),B("div",I$,Qe(e.description),1)])]),_:3},8,["status"]),B("section",D$,[B("section",x$,[ce($(xC),{direction:"vertical",class:It(["divider",{active:e.status===$(Xt).RUNNING}])},null,8,["class"]),B("div",w$,[li(i.$slots,"default",{},void 0,!0)])]),e.skill?(V(),ot(R$,{key:0,skill:e.skill},null,8,["skill"])):Ge("",!0)])]))}});const L$=Dt(M$,[["__scopeId","data-v-690b1166"]]);var Je={};const P$="Á",k$="á",U$="Ă",F$="ă",B$="∾",G$="∿",Y$="∾̳",q$="Â",$$="â",H$="´",z$="А",V$="а",W$="Æ",K$="æ",Q$="",X$="𝔄",Z$="𝔞",J$="À",j$="à",eH="ℵ",tH="ℵ",nH="Α",rH="α",iH="Ā",aH="ā",oH="⨿",sH="&",lH="&",cH="⩕",uH="⩓",dH="∧",_H="⩜",pH="⩘",mH="⩚",gH="∠",EH="⦤",fH="∠",SH="⦨",bH="⦩",hH="⦪",TH="⦫",vH="⦬",CH="⦭",RH="⦮",NH="⦯",OH="∡",AH="∟",yH="⊾",IH="⦝",DH="∢",xH="Å",wH="⍼",MH="Ą",LH="ą",PH="𝔸",kH="𝕒",UH="⩯",FH="≈",BH="⩰",GH="≊",YH="≋",qH="'",$H="",HH="≈",zH="≊",VH="Å",WH="å",KH="𝒜",QH="𝒶",XH="≔",ZH="*",JH="≈",jH="≍",ez="Ã",tz="ã",nz="Ä",rz="ä",iz="∳",az="⨑",oz="≌",sz="϶",lz="‵",cz="∽",uz="⋍",dz="∖",_z="⫧",pz="⊽",mz="⌅",gz="⌆",Ez="⌅",fz="⎵",Sz="⎶",bz="≌",hz="Б",Tz="б",vz="„",Cz="∵",Rz="∵",Nz="∵",Oz="⦰",Az="϶",yz="ℬ",Iz="ℬ",Dz="Β",xz="β",wz="ℶ",Mz="≬",Lz="𝔅",Pz="𝔟",kz="⋂",Uz="◯",Fz="⋃",Bz="⨀",Gz="⨁",Yz="⨂",qz="⨆",$z="★",Hz="▽",zz="△",Vz="⨄",Wz="⋁",Kz="⋀",Qz="⤍",Xz="⧫",Zz="▪",Jz="▴",jz="▾",eV="◂",tV="▸",nV="␣",rV="▒",iV="░",aV="▓",oV="█",sV="=⃥",lV="≡⃥",cV="⫭",uV="⌐",dV="𝔹",_V="𝕓",pV="⊥",mV="⊥",gV="⋈",EV="⧉",fV="┐",SV="╕",bV="╖",hV="╗",TV="┌",vV="╒",CV="╓",RV="╔",NV="─",OV="═",AV="┬",yV="╤",IV="╥",DV="╦",xV="┴",wV="╧",MV="╨",LV="╩",PV="⊟",kV="⊞",UV="⊠",FV="┘",BV="╛",GV="╜",YV="╝",qV="└",$V="╘",HV="╙",zV="╚",VV="│",WV="║",KV="┼",QV="╪",XV="╫",ZV="╬",JV="┤",jV="╡",eW="╢",tW="╣",nW="├",rW="╞",iW="╟",aW="╠",oW="‵",sW="˘",lW="˘",cW="¦",uW="𝒷",dW="ℬ",_W="⁏",pW="∽",mW="⋍",gW="⧅",EW="\\",fW="⟈",SW="•",bW="•",hW="≎",TW="⪮",vW="≏",CW="≎",RW="≏",NW="Ć",OW="ć",AW="⩄",yW="⩉",IW="⩋",DW="∩",xW="⋒",wW="⩇",MW="⩀",LW="ⅅ",PW="∩︀",kW="⁁",UW="ˇ",FW="ℭ",BW="⩍",GW="Č",YW="č",qW="Ç",$W="ç",HW="Ĉ",zW="ĉ",VW="∰",WW="⩌",KW="⩐",QW="Ċ",XW="ċ",ZW="¸",JW="¸",jW="⦲",e3="¢",t3="·",n3="·",r3="𝔠",i3="ℭ",a3="Ч",o3="ч",s3="✓",l3="✓",c3="Χ",u3="χ",d3="ˆ",_3="≗",p3="↺",m3="↻",g3="⊛",E3="⊚",f3="⊝",S3="⊙",b3="®",h3="Ⓢ",T3="⊖",v3="⊕",C3="⊗",R3="○",N3="⧃",O3="≗",A3="⨐",y3="⫯",I3="⧂",D3="∲",x3="”",w3="’",M3="♣",L3="♣",P3=":",k3="∷",U3="⩴",F3="≔",B3="≔",G3=",",Y3="@",q3="∁",$3="∘",H3="∁",z3="ℂ",V3="≅",W3="⩭",K3="≡",Q3="∮",X3="∯",Z3="∮",J3="𝕔",j3="ℂ",eK="∐",tK="∐",nK="©",rK="©",iK="℗",aK="∳",oK="↵",sK="✗",lK="⨯",cK="𝒞",uK="𝒸",dK="⫏",_K="⫑",pK="⫐",mK="⫒",gK="⋯",EK="⤸",fK="⤵",SK="⋞",bK="⋟",hK="↶",TK="⤽",vK="⩈",CK="⩆",RK="≍",NK="∪",OK="⋓",AK="⩊",yK="⊍",IK="⩅",DK="∪︀",xK="↷",wK="⤼",MK="⋞",LK="⋟",PK="⋎",kK="⋏",UK="¤",FK="↶",BK="↷",GK="⋎",YK="⋏",qK="∲",$K="∱",HK="⌭",zK="†",VK="‡",WK="ℸ",KK="↓",QK="↡",XK="⇓",ZK="‐",JK="⫤",jK="⊣",eQ="⤏",tQ="˝",nQ="Ď",rQ="ď",iQ="Д",aQ="д",oQ="‡",sQ="⇊",lQ="ⅅ",cQ="ⅆ",uQ="⤑",dQ="⩷",_Q="°",pQ="∇",mQ="Δ",gQ="δ",EQ="⦱",fQ="⥿",SQ="𝔇",bQ="𝔡",hQ="⥥",TQ="⇃",vQ="⇂",CQ="´",RQ="˙",NQ="˝",OQ="`",AQ="˜",yQ="⋄",IQ="⋄",DQ="⋄",xQ="♦",wQ="♦",MQ="¨",LQ="ⅆ",PQ="ϝ",kQ="⋲",UQ="÷",FQ="÷",BQ="⋇",GQ="⋇",YQ="Ђ",qQ="ђ",$Q="⌞",HQ="⌍",zQ="$",VQ="𝔻",WQ="𝕕",KQ="¨",QQ="˙",XQ="⃜",ZQ="≐",JQ="≑",jQ="≐",e4="∸",t4="∔",n4="⊡",r4="⌆",i4="∯",a4="¨",o4="⇓",s4="⇐",l4="⇔",c4="⫤",u4="⟸",d4="⟺",_4="⟹",p4="⇒",m4="⊨",g4="⇑",E4="⇕",f4="∥",S4="⤓",b4="↓",h4="↓",T4="⇓",v4="⇵",C4="̑",R4="⇊",N4="⇃",O4="⇂",A4="⥐",y4="⥞",I4="⥖",D4="↽",x4="⥟",w4="⥗",M4="⇁",L4="↧",P4="⊤",k4="⤐",U4="⌟",F4="⌌",B4="𝒟",G4="𝒹",Y4="Ѕ",q4="ѕ",$4="⧶",H4="Đ",z4="đ",V4="⋱",W4="▿",K4="▾",Q4="⇵",X4="⥯",Z4="⦦",J4="Џ",j4="џ",e5="⟿",t5="É",n5="é",r5="⩮",i5="Ě",a5="ě",o5="Ê",s5="ê",l5="≖",c5="≕",u5="Э",d5="э",_5="⩷",p5="Ė",m5="ė",g5="≑",E5="ⅇ",f5="≒",S5="𝔈",b5="𝔢",h5="⪚",T5="È",v5="è",C5="⪖",R5="⪘",N5="⪙",O5="∈",A5="⏧",y5="ℓ",I5="⪕",D5="⪗",x5="Ē",w5="ē",M5="∅",L5="∅",P5="◻",k5="∅",U5="▫",F5=" ",B5=" ",G5=" ",Y5="Ŋ",q5="ŋ",$5=" ",H5="Ę",z5="ę",V5="𝔼",W5="𝕖",K5="⋕",Q5="⧣",X5="⩱",Z5="ε",J5="Ε",j5="ε",e6="ϵ",t6="≖",n6="≕",r6="≂",i6="⪖",a6="⪕",o6="⩵",s6="=",l6="≂",c6="≟",u6="⇌",d6="≡",_6="⩸",p6="⧥",m6="⥱",g6="≓",E6="ℯ",f6="ℰ",S6="≐",b6="⩳",h6="≂",T6="Η",v6="η",C6="Ð",R6="ð",N6="Ë",O6="ë",A6="€",y6="!",I6="∃",D6="∃",x6="ℰ",w6="ⅇ",M6="ⅇ",L6="≒",P6="Ф",k6="ф",U6="♀",F6="ffi",B6="ff",G6="ffl",Y6="𝔉",q6="𝔣",$6="fi",H6="◼",z6="▪",V6="fj",W6="♭",K6="fl",Q6="▱",X6="ƒ",Z6="𝔽",J6="𝕗",j6="∀",e9="∀",t9="⋔",n9="⫙",r9="ℱ",i9="⨍",a9="½",o9="⅓",s9="¼",l9="⅕",c9="⅙",u9="⅛",d9="⅔",_9="⅖",p9="¾",m9="⅗",g9="⅜",E9="⅘",f9="⅚",S9="⅝",b9="⅞",h9="⁄",T9="⌢",v9="𝒻",C9="ℱ",R9="ǵ",N9="Γ",O9="γ",A9="Ϝ",y9="ϝ",I9="⪆",D9="Ğ",x9="ğ",w9="Ģ",M9="Ĝ",L9="ĝ",P9="Г",k9="г",U9="Ġ",F9="ġ",B9="≥",G9="≧",Y9="⪌",q9="⋛",$9="≥",H9="≧",z9="⩾",V9="⪩",W9="⩾",K9="⪀",Q9="⪂",X9="⪄",Z9="⋛︀",J9="⪔",j9="𝔊",e8="𝔤",t8="≫",n8="⋙",r8="⋙",i8="ℷ",a8="Ѓ",o8="ѓ",s8="⪥",l8="≷",c8="⪒",u8="⪤",d8="⪊",_8="⪊",p8="⪈",m8="≩",g8="⪈",E8="≩",f8="⋧",S8="𝔾",b8="𝕘",h8="`",T8="≥",v8="⋛",C8="≧",R8="⪢",N8="≷",O8="⩾",A8="≳",y8="𝒢",I8="ℊ",D8="≳",x8="⪎",w8="⪐",M8="⪧",L8="⩺",P8=">",k8=">",U8="≫",F8="⋗",B8="⦕",G8="⩼",Y8="⪆",q8="⥸",$8="⋗",H8="⋛",z8="⪌",V8="≷",W8="≳",K8="≩︀",Q8="≩︀",X8="ˇ",Z8=" ",J8="½",j8="ℋ",e7="Ъ",t7="ъ",n7="⥈",r7="↔",i7="⇔",a7="↭",o7="^",s7="ℏ",l7="Ĥ",c7="ĥ",u7="♥",d7="♥",_7="…",p7="⊹",m7="𝔥",g7="ℌ",E7="ℋ",f7="⤥",S7="⤦",b7="⇿",h7="∻",T7="↩",v7="↪",C7="𝕙",R7="ℍ",N7="―",O7="─",A7="𝒽",y7="ℋ",I7="ℏ",D7="Ħ",x7="ħ",w7="≎",M7="≏",L7="⁃",P7="‐",k7="Í",U7="í",F7="",B7="Î",G7="î",Y7="И",q7="и",$7="İ",H7="Е",z7="е",V7="¡",W7="⇔",K7="𝔦",Q7="ℑ",X7="Ì",Z7="ì",J7="ⅈ",j7="⨌",eX="∭",tX="⧜",nX="℩",rX="IJ",iX="ij",aX="Ī",oX="ī",sX="ℑ",lX="ⅈ",cX="ℐ",uX="ℑ",dX="ı",_X="ℑ",pX="⊷",mX="Ƶ",gX="⇒",EX="℅",fX="∞",SX="⧝",bX="ı",hX="⊺",TX="∫",vX="∬",CX="ℤ",RX="∫",NX="⊺",OX="⋂",AX="⨗",yX="⨼",IX="",DX="",xX="Ё",wX="ё",MX="Į",LX="į",PX="𝕀",kX="𝕚",UX="Ι",FX="ι",BX="⨼",GX="¿",YX="𝒾",qX="ℐ",$X="∈",HX="⋵",zX="⋹",VX="⋴",WX="⋳",KX="∈",QX="",XX="Ĩ",ZX="ĩ",JX="І",jX="і",eZ="Ï",tZ="ï",nZ="Ĵ",rZ="ĵ",iZ="Й",aZ="й",oZ="𝔍",sZ="𝔧",lZ="ȷ",cZ="𝕁",uZ="𝕛",dZ="𝒥",_Z="𝒿",pZ="Ј",mZ="ј",gZ="Є",EZ="є",fZ="Κ",SZ="κ",bZ="ϰ",hZ="Ķ",TZ="ķ",vZ="К",CZ="к",RZ="𝔎",NZ="𝔨",OZ="ĸ",AZ="Х",yZ="х",IZ="Ќ",DZ="ќ",xZ="𝕂",wZ="𝕜",MZ="𝒦",LZ="𝓀",PZ="⇚",kZ="Ĺ",UZ="ĺ",FZ="⦴",BZ="ℒ",GZ="Λ",YZ="λ",qZ="⟨",$Z="⟪",HZ="⦑",zZ="⟨",VZ="⪅",WZ="ℒ",KZ="«",QZ="⇤",XZ="⤟",ZZ="←",JZ="↞",jZ="⇐",eJ="⤝",tJ="↩",nJ="↫",rJ="⤹",iJ="⥳",aJ="↢",oJ="⤙",sJ="⤛",lJ="⪫",cJ="⪭",uJ="⪭︀",dJ="⤌",_J="⤎",pJ="❲",mJ="{",gJ="[",EJ="⦋",fJ="⦏",SJ="⦍",bJ="Ľ",hJ="ľ",TJ="Ļ",vJ="ļ",CJ="⌈",RJ="{",NJ="Л",OJ="л",AJ="⤶",yJ="“",IJ="„",DJ="⥧",xJ="⥋",wJ="↲",MJ="≤",LJ="≦",PJ="⟨",kJ="⇤",UJ="←",FJ="←",BJ="⇐",GJ="⇆",YJ="↢",qJ="⌈",$J="⟦",HJ="⥡",zJ="⥙",VJ="⇃",WJ="⌊",KJ="↽",QJ="↼",XJ="⇇",ZJ="↔",JJ="↔",jJ="⇔",ej="⇆",tj="⇋",nj="↭",rj="⥎",ij="↤",aj="⊣",oj="⥚",sj="⋋",lj="⧏",cj="⊲",uj="⊴",dj="⥑",_j="⥠",pj="⥘",mj="↿",gj="⥒",Ej="↼",fj="⪋",Sj="⋚",bj="≤",hj="≦",Tj="⩽",vj="⪨",Cj="⩽",Rj="⩿",Nj="⪁",Oj="⪃",Aj="⋚︀",yj="⪓",Ij="⪅",Dj="⋖",xj="⋚",wj="⪋",Mj="⋚",Lj="≦",Pj="≶",kj="≶",Uj="⪡",Fj="≲",Bj="⩽",Gj="≲",Yj="⥼",qj="⌊",$j="𝔏",Hj="𝔩",zj="≶",Vj="⪑",Wj="⥢",Kj="↽",Qj="↼",Xj="⥪",Zj="▄",Jj="Љ",jj="љ",eee="⇇",tee="≪",nee="⋘",ree="⌞",iee="⇚",aee="⥫",oee="◺",see="Ŀ",lee="ŀ",cee="⎰",uee="⎰",dee="⪉",_ee="⪉",pee="⪇",mee="≨",gee="⪇",Eee="≨",fee="⋦",See="⟬",bee="⇽",hee="⟦",Tee="⟵",vee="⟵",Cee="⟸",Ree="⟷",Nee="⟷",Oee="⟺",Aee="⟼",yee="⟶",Iee="⟶",Dee="⟹",xee="↫",wee="↬",Mee="⦅",Lee="𝕃",Pee="𝕝",kee="⨭",Uee="⨴",Fee="∗",Bee="_",Gee="↙",Yee="↘",qee="◊",$ee="◊",Hee="⧫",zee="(",Vee="⦓",Wee="⇆",Kee="⌟",Qee="⇋",Xee="⥭",Zee="",Jee="⊿",jee="‹",ete="𝓁",tte="ℒ",nte="↰",rte="↰",ite="≲",ate="⪍",ote="⪏",ste="[",lte="‘",cte="‚",ute="Ł",dte="ł",_te="⪦",pte="⩹",mte="<",gte="<",Ete="≪",fte="⋖",Ste="⋋",bte="⋉",hte="⥶",Tte="⩻",vte="◃",Cte="⊴",Rte="◂",Nte="⦖",Ote="⥊",Ate="⥦",yte="≨︀",Ite="≨︀",Dte="¯",xte="♂",wte="✠",Mte="✠",Lte="↦",Pte="↦",kte="↧",Ute="↤",Fte="↥",Bte="▮",Gte="⨩",Yte="М",qte="м",$te="—",Hte="∺",zte="∡",Vte=" ",Wte="ℳ",Kte="𝔐",Qte="𝔪",Xte="℧",Zte="µ",Jte="*",jte="⫰",ene="∣",tne="·",nne="⊟",rne="−",ine="∸",ane="⨪",one="∓",sne="⫛",lne="…",cne="∓",une="⊧",dne="𝕄",_ne="𝕞",pne="∓",mne="𝓂",gne="ℳ",Ene="∾",fne="Μ",Sne="μ",bne="⊸",hne="⊸",Tne="∇",vne="Ń",Cne="ń",Rne="∠⃒",Nne="≉",One="⩰̸",Ane="≋̸",yne="ʼn",Ine="≉",Dne="♮",xne="ℕ",wne="♮",Mne=" ",Lne="≎̸",Pne="≏̸",kne="⩃",Une="Ň",Fne="ň",Bne="Ņ",Gne="ņ",Yne="≇",qne="⩭̸",$ne="⩂",Hne="Н",zne="н",Vne="–",Wne="⤤",Kne="↗",Qne="⇗",Xne="↗",Zne="≠",Jne="≐̸",jne="",ere="",tre="",nre="",rre="≢",ire="⤨",are="≂̸",ore="≫",sre="≪",lre=`
+`,cre="∄",ure="∄",dre="𝔑",_re="𝔫",pre="≧̸",mre="≱",gre="≱",Ere="≧̸",fre="⩾̸",Sre="⩾̸",bre="⋙̸",hre="≵",Tre="≫⃒",vre="≯",Cre="≯",Rre="≫̸",Nre="↮",Ore="⇎",Are="⫲",yre="∋",Ire="⋼",Dre="⋺",xre="∋",wre="Њ",Mre="њ",Lre="↚",Pre="⇍",kre="‥",Ure="≦̸",Fre="≰",Bre="↚",Gre="⇍",Yre="↮",qre="⇎",$re="≰",Hre="≦̸",zre="⩽̸",Vre="⩽̸",Wre="≮",Kre="⋘̸",Qre="≴",Xre="≪⃒",Zre="≮",Jre="⋪",jre="⋬",eie="≪̸",tie="∤",nie="",rie=" ",iie="𝕟",aie="ℕ",oie="⫬",sie="¬",lie="≢",cie="≭",uie="∦",die="∉",_ie="≠",pie="≂̸",mie="∄",gie="≯",Eie="≱",fie="≧̸",Sie="≫̸",bie="≹",hie="⩾̸",Tie="≵",vie="≎̸",Cie="≏̸",Rie="∉",Nie="⋵̸",Oie="⋹̸",Aie="∉",yie="⋷",Iie="⋶",Die="⧏̸",xie="⋪",wie="⋬",Mie="≮",Lie="≰",Pie="≸",kie="≪̸",Uie="⩽̸",Fie="≴",Bie="⪢̸",Gie="⪡̸",Yie="∌",qie="∌",$ie="⋾",Hie="⋽",zie="⊀",Vie="⪯̸",Wie="⋠",Kie="∌",Qie="⧐̸",Xie="⋫",Zie="⋭",Jie="⊏̸",jie="⋢",eae="⊐̸",tae="⋣",nae="⊂⃒",rae="⊈",iae="⊁",aae="⪰̸",oae="⋡",sae="≿̸",lae="⊃⃒",cae="⊉",uae="≁",dae="≄",_ae="≇",pae="≉",mae="∤",gae="∦",Eae="∦",fae="⫽⃥",Sae="∂̸",bae="⨔",hae="⊀",Tae="⋠",vae="⊀",Cae="⪯̸",Rae="⪯̸",Nae="⤳̸",Oae="↛",Aae="⇏",yae="↝̸",Iae="↛",Dae="⇏",xae="⋫",wae="⋭",Mae="⊁",Lae="⋡",Pae="⪰̸",kae="𝒩",Uae="𝓃",Fae="∤",Bae="∦",Gae="≁",Yae="≄",qae="≄",$ae="∤",Hae="∦",zae="⋢",Vae="⋣",Wae="⊄",Kae="⫅̸",Qae="⊈",Xae="⊂⃒",Zae="⊈",Jae="⫅̸",jae="⊁",eoe="⪰̸",toe="⊅",noe="⫆̸",roe="⊉",ioe="⊃⃒",aoe="⊉",ooe="⫆̸",soe="≹",loe="Ñ",coe="ñ",uoe="≸",doe="⋪",_oe="⋬",poe="⋫",moe="⋭",goe="Ν",Eoe="ν",foe="#",Soe="№",boe=" ",hoe="≍⃒",Toe="⊬",voe="⊭",Coe="⊮",Roe="⊯",Noe="≥⃒",Ooe=">⃒",Aoe="⤄",yoe="⧞",Ioe="⤂",Doe="≤⃒",xoe="<⃒",woe="⊴⃒",Moe="⤃",Loe="⊵⃒",Poe="∼⃒",koe="⤣",Uoe="↖",Foe="⇖",Boe="↖",Goe="⤧",Yoe="Ó",qoe="ó",$oe="⊛",Hoe="Ô",zoe="ô",Voe="⊚",Woe="О",Koe="о",Qoe="⊝",Xoe="Ő",Zoe="ő",Joe="⨸",joe="⊙",ese="⦼",tse="Œ",nse="œ",rse="⦿",ise="𝔒",ase="𝔬",ose="˛",sse="Ò",lse="ò",cse="⧁",use="⦵",dse="Ω",_se="∮",pse="↺",mse="⦾",gse="⦻",Ese="‾",fse="⧀",Sse="Ō",bse="ō",hse="Ω",Tse="ω",vse="Ο",Cse="ο",Rse="⦶",Nse="⊖",Ose="𝕆",Ase="𝕠",yse="⦷",Ise="“",Dse="‘",xse="⦹",wse="⊕",Mse="↻",Lse="⩔",Pse="∨",kse="⩝",Use="ℴ",Fse="ℴ",Bse="ª",Gse="º",Yse="⊶",qse="⩖",$se="⩗",Hse="⩛",zse="Ⓢ",Vse="𝒪",Wse="ℴ",Kse="Ø",Qse="ø",Xse="⊘",Zse="Õ",Jse="õ",jse="⨶",ele="⨷",tle="⊗",nle="Ö",rle="ö",ile="⌽",ale="‾",ole="⏞",sle="⎴",lle="⏜",cle="¶",ule="∥",dle="∥",_le="⫳",ple="⫽",mle="∂",gle="∂",Ele="П",fle="п",Sle="%",ble=".",hle="‰",Tle="⊥",vle="‱",Cle="𝔓",Rle="𝔭",Nle="Φ",Ole="φ",Ale="ϕ",yle="ℳ",Ile="☎",Dle="Π",xle="π",wle="⋔",Mle="ϖ",Lle="ℏ",Ple="ℎ",kle="ℏ",Ule="⨣",Fle="⊞",Ble="⨢",Gle="+",Yle="∔",qle="⨥",$le="⩲",Hle="±",zle="±",Vle="⨦",Wle="⨧",Kle="±",Qle="ℌ",Xle="⨕",Zle="𝕡",Jle="ℙ",jle="£",ece="⪷",tce="⪻",nce="≺",rce="≼",ice="⪷",ace="≺",oce="≼",sce="≺",lce="⪯",cce="≼",uce="≾",dce="⪯",_ce="⪹",pce="⪵",mce="⋨",gce="⪯",Ece="⪳",fce="≾",Sce="′",bce="″",hce="ℙ",Tce="⪹",vce="⪵",Cce="⋨",Rce="∏",Nce="∏",Oce="⌮",Ace="⌒",yce="⌓",Ice="∝",Dce="∝",xce="∷",wce="∝",Mce="≾",Lce="⊰",Pce="𝒫",kce="𝓅",Uce="Ψ",Fce="ψ",Bce=" ",Gce="𝔔",Yce="𝔮",qce="⨌",$ce="𝕢",Hce="ℚ",zce="⁗",Vce="𝒬",Wce="𝓆",Kce="ℍ",Qce="⨖",Xce="?",Zce="≟",Jce='"',jce='"',eue="⇛",tue="∽̱",nue="Ŕ",rue="ŕ",iue="√",aue="⦳",oue="⟩",sue="⟫",lue="⦒",cue="⦥",uue="⟩",due="»",_ue="⥵",pue="⇥",mue="⤠",gue="⤳",Eue="→",fue="↠",Sue="⇒",bue="⤞",hue="↪",Tue="↬",vue="⥅",Cue="⥴",Rue="⤖",Nue="↣",Oue="↝",Aue="⤚",yue="⤜",Iue="∶",Due="ℚ",xue="⤍",wue="⤏",Mue="⤐",Lue="❳",Pue="}",kue="]",Uue="⦌",Fue="⦎",Bue="⦐",Gue="Ř",Yue="ř",que="Ŗ",$ue="ŗ",Hue="⌉",zue="}",Vue="Р",Wue="р",Kue="⤷",Que="⥩",Xue="”",Zue="”",Jue="↳",jue="ℜ",ede="ℛ",tde="ℜ",nde="ℝ",rde="ℜ",ide="▭",ade="®",ode="®",sde="∋",lde="⇋",cde="⥯",ude="⥽",dde="⌋",_de="𝔯",pde="ℜ",mde="⥤",gde="⇁",Ede="⇀",fde="⥬",Sde="Ρ",bde="ρ",hde="ϱ",Tde="⟩",vde="⇥",Cde="→",Rde="→",Nde="⇒",Ode="⇄",Ade="↣",yde="⌉",Ide="⟧",Dde="⥝",xde="⥕",wde="⇂",Mde="⌋",Lde="⇁",Pde="⇀",kde="⇄",Ude="⇌",Fde="⇉",Bde="↝",Gde="↦",Yde="⊢",qde="⥛",$de="⋌",Hde="⧐",zde="⊳",Vde="⊵",Wde="⥏",Kde="⥜",Qde="⥔",Xde="↾",Zde="⥓",Jde="⇀",jde="˚",e_e="≓",t_e="⇄",n_e="⇌",r_e="",i_e="⎱",a_e="⎱",o_e="⫮",s_e="⟭",l_e="⇾",c_e="⟧",u_e="⦆",d_e="𝕣",__e="ℝ",p_e="⨮",m_e="⨵",g_e="⥰",E_e=")",f_e="⦔",S_e="⨒",b_e="⇉",h_e="⇛",T_e="›",v_e="𝓇",C_e="ℛ",R_e="↱",N_e="↱",O_e="]",A_e="’",y_e="’",I_e="⋌",D_e="⋊",x_e="▹",w_e="⊵",M_e="▸",L_e="⧎",P_e="⧴",k_e="⥨",U_e="℞",F_e="Ś",B_e="ś",G_e="‚",Y_e="⪸",q_e="Š",$_e="š",H_e="⪼",z_e="≻",V_e="≽",W_e="⪰",K_e="⪴",Q_e="Ş",X_e="ş",Z_e="Ŝ",J_e="ŝ",j_e="⪺",epe="⪶",tpe="⋩",npe="⨓",rpe="≿",ipe="С",ape="с",ope="⊡",spe="⋅",lpe="⩦",cpe="⤥",upe="↘",dpe="⇘",_pe="↘",ppe="§",mpe=";",gpe="⤩",Epe="∖",fpe="∖",Spe="✶",bpe="𝔖",hpe="𝔰",Tpe="⌢",vpe="♯",Cpe="Щ",Rpe="щ",Npe="Ш",Ope="ш",Ape="↓",ype="←",Ipe="∣",Dpe="∥",xpe="→",wpe="↑",Mpe="",Lpe="Σ",Ppe="σ",kpe="ς",Upe="ς",Fpe="∼",Bpe="⩪",Gpe="≃",Ype="≃",qpe="⪞",$pe="⪠",Hpe="⪝",zpe="⪟",Vpe="≆",Wpe="⨤",Kpe="⥲",Qpe="←",Xpe="∘",Zpe="∖",Jpe="⨳",jpe="⧤",eme="∣",tme="⌣",nme="⪪",rme="⪬",ime="⪬︀",ame="Ь",ome="ь",sme="⌿",lme="⧄",cme="/",ume="𝕊",dme="𝕤",_me="♠",pme="♠",mme="∥",gme="⊓",Eme="⊓︀",fme="⊔",Sme="⊔︀",bme="√",hme="⊏",Tme="⊑",vme="⊏",Cme="⊑",Rme="⊐",Nme="⊒",Ome="⊐",Ame="⊒",yme="□",Ime="□",Dme="⊓",xme="⊏",wme="⊑",Mme="⊐",Lme="⊒",Pme="⊔",kme="▪",Ume="□",Fme="▪",Bme="→",Gme="𝒮",Yme="𝓈",qme="∖",$me="⌣",Hme="⋆",zme="⋆",Vme="☆",Wme="★",Kme="ϵ",Qme="ϕ",Xme="¯",Zme="⊂",Jme="⋐",jme="⪽",ege="⫅",tge="⊆",nge="⫃",rge="⫁",ige="⫋",age="⊊",oge="⪿",sge="⥹",lge="⊂",cge="⋐",uge="⊆",dge="⫅",_ge="⊆",pge="⊊",mge="⫋",gge="⫇",Ege="⫕",fge="⫓",Sge="⪸",bge="≻",hge="≽",Tge="≻",vge="⪰",Cge="≽",Rge="≿",Nge="⪰",Oge="⪺",Age="⪶",yge="⋩",Ige="≿",Dge="∋",xge="∑",wge="∑",Mge="♪",Lge="¹",Pge="²",kge="³",Uge="⊃",Fge="⋑",Bge="⪾",Gge="⫘",Yge="⫆",qge="⊇",$ge="⫄",Hge="⊃",zge="⊇",Vge="⟉",Wge="⫗",Kge="⥻",Qge="⫂",Xge="⫌",Zge="⊋",Jge="⫀",jge="⊃",eEe="⋑",tEe="⊇",nEe="⫆",rEe="⊋",iEe="⫌",aEe="⫈",oEe="⫔",sEe="⫖",lEe="⤦",cEe="↙",uEe="⇙",dEe="↙",_Ee="⤪",pEe="ß",mEe=" ",gEe="⌖",EEe="Τ",fEe="τ",SEe="⎴",bEe="Ť",hEe="ť",TEe="Ţ",vEe="ţ",CEe="Т",REe="т",NEe="⃛",OEe="⌕",AEe="𝔗",yEe="𝔱",IEe="∴",DEe="∴",xEe="∴",wEe="Θ",MEe="θ",LEe="ϑ",PEe="ϑ",kEe="≈",UEe="∼",FEe=" ",BEe=" ",GEe=" ",YEe="≈",qEe="∼",$Ee="Þ",HEe="þ",zEe="˜",VEe="∼",WEe="≃",KEe="≅",QEe="≈",XEe="⨱",ZEe="⊠",JEe="×",jEe="⨰",efe="∭",tfe="⤨",nfe="⌶",rfe="⫱",ife="⊤",afe="𝕋",ofe="𝕥",sfe="⫚",lfe="⤩",cfe="‴",ufe="™",dfe="™",_fe="▵",pfe="▿",mfe="◃",gfe="⊴",Efe="≜",ffe="▹",Sfe="⊵",bfe="◬",hfe="≜",Tfe="⨺",vfe="⃛",Cfe="⨹",Rfe="⧍",Nfe="⨻",Ofe="⏢",Afe="𝒯",yfe="𝓉",Ife="Ц",Dfe="ц",xfe="Ћ",wfe="ћ",Mfe="Ŧ",Lfe="ŧ",Pfe="≬",kfe="↞",Ufe="↠",Ffe="Ú",Bfe="ú",Gfe="↑",Yfe="↟",qfe="⇑",$fe="⥉",Hfe="Ў",zfe="ў",Vfe="Ŭ",Wfe="ŭ",Kfe="Û",Qfe="û",Xfe="У",Zfe="у",Jfe="⇅",jfe="Ű",eSe="ű",tSe="⥮",nSe="⥾",rSe="𝔘",iSe="𝔲",aSe="Ù",oSe="ù",sSe="⥣",lSe="↿",cSe="↾",uSe="▀",dSe="⌜",_Se="⌜",pSe="⌏",mSe="◸",gSe="Ū",ESe="ū",fSe="¨",SSe="_",bSe="⏟",hSe="⎵",TSe="⏝",vSe="⋃",CSe="⊎",RSe="Ų",NSe="ų",OSe="𝕌",ASe="𝕦",ySe="⤒",ISe="↑",DSe="↑",xSe="⇑",wSe="⇅",MSe="↕",LSe="↕",PSe="⇕",kSe="⥮",USe="↿",FSe="↾",BSe="⊎",GSe="↖",YSe="↗",qSe="υ",$Se="ϒ",HSe="ϒ",zSe="Υ",VSe="υ",WSe="↥",KSe="⊥",QSe="⇈",XSe="⌝",ZSe="⌝",JSe="⌎",jSe="Ů",ebe="ů",tbe="◹",nbe="𝒰",rbe="𝓊",ibe="⋰",abe="Ũ",obe="ũ",sbe="▵",lbe="▴",cbe="⇈",ube="Ü",dbe="ü",_be="⦧",pbe="⦜",mbe="ϵ",gbe="ϰ",Ebe="∅",fbe="ϕ",Sbe="ϖ",bbe="∝",hbe="↕",Tbe="⇕",vbe="ϱ",Cbe="ς",Rbe="⊊︀",Nbe="⫋︀",Obe="⊋︀",Abe="⫌︀",ybe="ϑ",Ibe="⊲",Dbe="⊳",xbe="⫨",wbe="⫫",Mbe="⫩",Lbe="В",Pbe="в",kbe="⊢",Ube="⊨",Fbe="⊩",Bbe="⊫",Gbe="⫦",Ybe="⊻",qbe="∨",$be="⋁",Hbe="≚",zbe="⋮",Vbe="|",Wbe="‖",Kbe="|",Qbe="‖",Xbe="∣",Zbe="|",Jbe="❘",jbe="≀",ehe=" ",the="𝔙",nhe="𝔳",rhe="⊲",ihe="⊂⃒",ahe="⊃⃒",ohe="𝕍",she="𝕧",lhe="∝",che="⊳",uhe="𝒱",dhe="𝓋",_he="⫋︀",phe="⊊︀",mhe="⫌︀",ghe="⊋︀",Ehe="⊪",fhe="⦚",She="Ŵ",bhe="ŵ",hhe="⩟",The="∧",vhe="⋀",Che="≙",Rhe="℘",Nhe="𝔚",Ohe="𝔴",Ahe="𝕎",yhe="𝕨",Ihe="℘",Dhe="≀",xhe="≀",whe="𝒲",Mhe="𝓌",Lhe="⋂",Phe="◯",khe="⋃",Uhe="▽",Fhe="𝔛",Bhe="𝔵",Ghe="⟷",Yhe="⟺",qhe="Ξ",$he="ξ",Hhe="⟵",zhe="⟸",Vhe="⟼",Whe="⋻",Khe="⨀",Qhe="𝕏",Xhe="𝕩",Zhe="⨁",Jhe="⨂",jhe="⟶",eTe="⟹",tTe="𝒳",nTe="𝓍",rTe="⨆",iTe="⨄",aTe="△",oTe="⋁",sTe="⋀",lTe="Ý",cTe="ý",uTe="Я",dTe="я",_Te="Ŷ",pTe="ŷ",mTe="Ы",gTe="ы",ETe="¥",fTe="𝔜",STe="𝔶",bTe="Ї",hTe="ї",TTe="𝕐",vTe="𝕪",CTe="𝒴",RTe="𝓎",NTe="Ю",OTe="ю",ATe="ÿ",yTe="Ÿ",ITe="Ź",DTe="ź",xTe="Ž",wTe="ž",MTe="З",LTe="з",PTe="Ż",kTe="ż",UTe="ℨ",FTe="",BTe="Ζ",GTe="ζ",YTe="𝔷",qTe="ℨ",$Te="Ж",HTe="ж",zTe="⇝",VTe="𝕫",WTe="ℤ",KTe="𝒵",QTe="𝓏",XTe="",ZTe="",JTe={Aacute:P$,aacute:k$,Abreve:U$,abreve:F$,ac:B$,acd:G$,acE:Y$,Acirc:q$,acirc:$$,acute:H$,Acy:z$,acy:V$,AElig:W$,aelig:K$,af:Q$,Afr:X$,afr:Z$,Agrave:J$,agrave:j$,alefsym:eH,aleph:tH,Alpha:nH,alpha:rH,Amacr:iH,amacr:aH,amalg:oH,amp:sH,AMP:lH,andand:cH,And:uH,and:dH,andd:_H,andslope:pH,andv:mH,ang:gH,ange:EH,angle:fH,angmsdaa:SH,angmsdab:bH,angmsdac:hH,angmsdad:TH,angmsdae:vH,angmsdaf:CH,angmsdag:RH,angmsdah:NH,angmsd:OH,angrt:AH,angrtvb:yH,angrtvbd:IH,angsph:DH,angst:xH,angzarr:wH,Aogon:MH,aogon:LH,Aopf:PH,aopf:kH,apacir:UH,ap:FH,apE:BH,ape:GH,apid:YH,apos:qH,ApplyFunction:$H,approx:HH,approxeq:zH,Aring:VH,aring:WH,Ascr:KH,ascr:QH,Assign:XH,ast:ZH,asymp:JH,asympeq:jH,Atilde:ez,atilde:tz,Auml:nz,auml:rz,awconint:iz,awint:az,backcong:oz,backepsilon:sz,backprime:lz,backsim:cz,backsimeq:uz,Backslash:dz,Barv:_z,barvee:pz,barwed:mz,Barwed:gz,barwedge:Ez,bbrk:fz,bbrktbrk:Sz,bcong:bz,Bcy:hz,bcy:Tz,bdquo:vz,becaus:Cz,because:Rz,Because:Nz,bemptyv:Oz,bepsi:Az,bernou:yz,Bernoullis:Iz,Beta:Dz,beta:xz,beth:wz,between:Mz,Bfr:Lz,bfr:Pz,bigcap:kz,bigcirc:Uz,bigcup:Fz,bigodot:Bz,bigoplus:Gz,bigotimes:Yz,bigsqcup:qz,bigstar:$z,bigtriangledown:Hz,bigtriangleup:zz,biguplus:Vz,bigvee:Wz,bigwedge:Kz,bkarow:Qz,blacklozenge:Xz,blacksquare:Zz,blacktriangle:Jz,blacktriangledown:jz,blacktriangleleft:eV,blacktriangleright:tV,blank:nV,blk12:rV,blk14:iV,blk34:aV,block:oV,bne:sV,bnequiv:lV,bNot:cV,bnot:uV,Bopf:dV,bopf:_V,bot:pV,bottom:mV,bowtie:gV,boxbox:EV,boxdl:fV,boxdL:SV,boxDl:bV,boxDL:hV,boxdr:TV,boxdR:vV,boxDr:CV,boxDR:RV,boxh:NV,boxH:OV,boxhd:AV,boxHd:yV,boxhD:IV,boxHD:DV,boxhu:xV,boxHu:wV,boxhU:MV,boxHU:LV,boxminus:PV,boxplus:kV,boxtimes:UV,boxul:FV,boxuL:BV,boxUl:GV,boxUL:YV,boxur:qV,boxuR:$V,boxUr:HV,boxUR:zV,boxv:VV,boxV:WV,boxvh:KV,boxvH:QV,boxVh:XV,boxVH:ZV,boxvl:JV,boxvL:jV,boxVl:eW,boxVL:tW,boxvr:nW,boxvR:rW,boxVr:iW,boxVR:aW,bprime:oW,breve:sW,Breve:lW,brvbar:cW,bscr:uW,Bscr:dW,bsemi:_W,bsim:pW,bsime:mW,bsolb:gW,bsol:EW,bsolhsub:fW,bull:SW,bullet:bW,bump:hW,bumpE:TW,bumpe:vW,Bumpeq:CW,bumpeq:RW,Cacute:NW,cacute:OW,capand:AW,capbrcup:yW,capcap:IW,cap:DW,Cap:xW,capcup:wW,capdot:MW,CapitalDifferentialD:LW,caps:PW,caret:kW,caron:UW,Cayleys:FW,ccaps:BW,Ccaron:GW,ccaron:YW,Ccedil:qW,ccedil:$W,Ccirc:HW,ccirc:zW,Cconint:VW,ccups:WW,ccupssm:KW,Cdot:QW,cdot:XW,cedil:ZW,Cedilla:JW,cemptyv:jW,cent:e3,centerdot:t3,CenterDot:n3,cfr:r3,Cfr:i3,CHcy:a3,chcy:o3,check:s3,checkmark:l3,Chi:c3,chi:u3,circ:d3,circeq:_3,circlearrowleft:p3,circlearrowright:m3,circledast:g3,circledcirc:E3,circleddash:f3,CircleDot:S3,circledR:b3,circledS:h3,CircleMinus:T3,CirclePlus:v3,CircleTimes:C3,cir:R3,cirE:N3,cire:O3,cirfnint:A3,cirmid:y3,cirscir:I3,ClockwiseContourIntegral:D3,CloseCurlyDoubleQuote:x3,CloseCurlyQuote:w3,clubs:M3,clubsuit:L3,colon:P3,Colon:k3,Colone:U3,colone:F3,coloneq:B3,comma:G3,commat:Y3,comp:q3,compfn:$3,complement:H3,complexes:z3,cong:V3,congdot:W3,Congruent:K3,conint:Q3,Conint:X3,ContourIntegral:Z3,copf:J3,Copf:j3,coprod:eK,Coproduct:tK,copy:nK,COPY:rK,copysr:iK,CounterClockwiseContourIntegral:aK,crarr:oK,cross:sK,Cross:lK,Cscr:cK,cscr:uK,csub:dK,csube:_K,csup:pK,csupe:mK,ctdot:gK,cudarrl:EK,cudarrr:fK,cuepr:SK,cuesc:bK,cularr:hK,cularrp:TK,cupbrcap:vK,cupcap:CK,CupCap:RK,cup:NK,Cup:OK,cupcup:AK,cupdot:yK,cupor:IK,cups:DK,curarr:xK,curarrm:wK,curlyeqprec:MK,curlyeqsucc:LK,curlyvee:PK,curlywedge:kK,curren:UK,curvearrowleft:FK,curvearrowright:BK,cuvee:GK,cuwed:YK,cwconint:qK,cwint:$K,cylcty:HK,dagger:zK,Dagger:VK,daleth:WK,darr:KK,Darr:QK,dArr:XK,dash:ZK,Dashv:JK,dashv:jK,dbkarow:eQ,dblac:tQ,Dcaron:nQ,dcaron:rQ,Dcy:iQ,dcy:aQ,ddagger:oQ,ddarr:sQ,DD:lQ,dd:cQ,DDotrahd:uQ,ddotseq:dQ,deg:_Q,Del:pQ,Delta:mQ,delta:gQ,demptyv:EQ,dfisht:fQ,Dfr:SQ,dfr:bQ,dHar:hQ,dharl:TQ,dharr:vQ,DiacriticalAcute:CQ,DiacriticalDot:RQ,DiacriticalDoubleAcute:NQ,DiacriticalGrave:OQ,DiacriticalTilde:AQ,diam:yQ,diamond:IQ,Diamond:DQ,diamondsuit:xQ,diams:wQ,die:MQ,DifferentialD:LQ,digamma:PQ,disin:kQ,div:UQ,divide:FQ,divideontimes:BQ,divonx:GQ,DJcy:YQ,djcy:qQ,dlcorn:$Q,dlcrop:HQ,dollar:zQ,Dopf:VQ,dopf:WQ,Dot:KQ,dot:QQ,DotDot:XQ,doteq:ZQ,doteqdot:JQ,DotEqual:jQ,dotminus:e4,dotplus:t4,dotsquare:n4,doublebarwedge:r4,DoubleContourIntegral:i4,DoubleDot:a4,DoubleDownArrow:o4,DoubleLeftArrow:s4,DoubleLeftRightArrow:l4,DoubleLeftTee:c4,DoubleLongLeftArrow:u4,DoubleLongLeftRightArrow:d4,DoubleLongRightArrow:_4,DoubleRightArrow:p4,DoubleRightTee:m4,DoubleUpArrow:g4,DoubleUpDownArrow:E4,DoubleVerticalBar:f4,DownArrowBar:S4,downarrow:b4,DownArrow:h4,Downarrow:T4,DownArrowUpArrow:v4,DownBreve:C4,downdownarrows:R4,downharpoonleft:N4,downharpoonright:O4,DownLeftRightVector:A4,DownLeftTeeVector:y4,DownLeftVectorBar:I4,DownLeftVector:D4,DownRightTeeVector:x4,DownRightVectorBar:w4,DownRightVector:M4,DownTeeArrow:L4,DownTee:P4,drbkarow:k4,drcorn:U4,drcrop:F4,Dscr:B4,dscr:G4,DScy:Y4,dscy:q4,dsol:$4,Dstrok:H4,dstrok:z4,dtdot:V4,dtri:W4,dtrif:K4,duarr:Q4,duhar:X4,dwangle:Z4,DZcy:J4,dzcy:j4,dzigrarr:e5,Eacute:t5,eacute:n5,easter:r5,Ecaron:i5,ecaron:a5,Ecirc:o5,ecirc:s5,ecir:l5,ecolon:c5,Ecy:u5,ecy:d5,eDDot:_5,Edot:p5,edot:m5,eDot:g5,ee:E5,efDot:f5,Efr:S5,efr:b5,eg:h5,Egrave:T5,egrave:v5,egs:C5,egsdot:R5,el:N5,Element:O5,elinters:A5,ell:y5,els:I5,elsdot:D5,Emacr:x5,emacr:w5,empty:M5,emptyset:L5,EmptySmallSquare:P5,emptyv:k5,EmptyVerySmallSquare:U5,emsp13:F5,emsp14:B5,emsp:G5,ENG:Y5,eng:q5,ensp:$5,Eogon:H5,eogon:z5,Eopf:V5,eopf:W5,epar:K5,eparsl:Q5,eplus:X5,epsi:Z5,Epsilon:J5,epsilon:j5,epsiv:e6,eqcirc:t6,eqcolon:n6,eqsim:r6,eqslantgtr:i6,eqslantless:a6,Equal:o6,equals:s6,EqualTilde:l6,equest:c6,Equilibrium:u6,equiv:d6,equivDD:_6,eqvparsl:p6,erarr:m6,erDot:g6,escr:E6,Escr:f6,esdot:S6,Esim:b6,esim:h6,Eta:T6,eta:v6,ETH:C6,eth:R6,Euml:N6,euml:O6,euro:A6,excl:y6,exist:I6,Exists:D6,expectation:x6,exponentiale:w6,ExponentialE:M6,fallingdotseq:L6,Fcy:P6,fcy:k6,female:U6,ffilig:F6,fflig:B6,ffllig:G6,Ffr:Y6,ffr:q6,filig:$6,FilledSmallSquare:H6,FilledVerySmallSquare:z6,fjlig:V6,flat:W6,fllig:K6,fltns:Q6,fnof:X6,Fopf:Z6,fopf:J6,forall:j6,ForAll:e9,fork:t9,forkv:n9,Fouriertrf:r9,fpartint:i9,frac12:a9,frac13:o9,frac14:s9,frac15:l9,frac16:c9,frac18:u9,frac23:d9,frac25:_9,frac34:p9,frac35:m9,frac38:g9,frac45:E9,frac56:f9,frac58:S9,frac78:b9,frasl:h9,frown:T9,fscr:v9,Fscr:C9,gacute:R9,Gamma:N9,gamma:O9,Gammad:A9,gammad:y9,gap:I9,Gbreve:D9,gbreve:x9,Gcedil:w9,Gcirc:M9,gcirc:L9,Gcy:P9,gcy:k9,Gdot:U9,gdot:F9,ge:B9,gE:G9,gEl:Y9,gel:q9,geq:$9,geqq:H9,geqslant:z9,gescc:V9,ges:W9,gesdot:K9,gesdoto:Q9,gesdotol:X9,gesl:Z9,gesles:J9,Gfr:j9,gfr:e8,gg:t8,Gg:n8,ggg:r8,gimel:i8,GJcy:a8,gjcy:o8,gla:s8,gl:l8,glE:c8,glj:u8,gnap:d8,gnapprox:_8,gne:p8,gnE:m8,gneq:g8,gneqq:E8,gnsim:f8,Gopf:S8,gopf:b8,grave:h8,GreaterEqual:T8,GreaterEqualLess:v8,GreaterFullEqual:C8,GreaterGreater:R8,GreaterLess:N8,GreaterSlantEqual:O8,GreaterTilde:A8,Gscr:y8,gscr:I8,gsim:D8,gsime:x8,gsiml:w8,gtcc:M8,gtcir:L8,gt:P8,GT:k8,Gt:U8,gtdot:F8,gtlPar:B8,gtquest:G8,gtrapprox:Y8,gtrarr:q8,gtrdot:$8,gtreqless:H8,gtreqqless:z8,gtrless:V8,gtrsim:W8,gvertneqq:K8,gvnE:Q8,Hacek:X8,hairsp:Z8,half:J8,hamilt:j8,HARDcy:e7,hardcy:t7,harrcir:n7,harr:r7,hArr:i7,harrw:a7,Hat:o7,hbar:s7,Hcirc:l7,hcirc:c7,hearts:u7,heartsuit:d7,hellip:_7,hercon:p7,hfr:m7,Hfr:g7,HilbertSpace:E7,hksearow:f7,hkswarow:S7,hoarr:b7,homtht:h7,hookleftarrow:T7,hookrightarrow:v7,hopf:C7,Hopf:R7,horbar:N7,HorizontalLine:O7,hscr:A7,Hscr:y7,hslash:I7,Hstrok:D7,hstrok:x7,HumpDownHump:w7,HumpEqual:M7,hybull:L7,hyphen:P7,Iacute:k7,iacute:U7,ic:F7,Icirc:B7,icirc:G7,Icy:Y7,icy:q7,Idot:$7,IEcy:H7,iecy:z7,iexcl:V7,iff:W7,ifr:K7,Ifr:Q7,Igrave:X7,igrave:Z7,ii:J7,iiiint:j7,iiint:eX,iinfin:tX,iiota:nX,IJlig:rX,ijlig:iX,Imacr:aX,imacr:oX,image:sX,ImaginaryI:lX,imagline:cX,imagpart:uX,imath:dX,Im:_X,imof:pX,imped:mX,Implies:gX,incare:EX,in:"∈",infin:fX,infintie:SX,inodot:bX,intcal:hX,int:TX,Int:vX,integers:CX,Integral:RX,intercal:NX,Intersection:OX,intlarhk:AX,intprod:yX,InvisibleComma:IX,InvisibleTimes:DX,IOcy:xX,iocy:wX,Iogon:MX,iogon:LX,Iopf:PX,iopf:kX,Iota:UX,iota:FX,iprod:BX,iquest:GX,iscr:YX,Iscr:qX,isin:$X,isindot:HX,isinE:zX,isins:VX,isinsv:WX,isinv:KX,it:QX,Itilde:XX,itilde:ZX,Iukcy:JX,iukcy:jX,Iuml:eZ,iuml:tZ,Jcirc:nZ,jcirc:rZ,Jcy:iZ,jcy:aZ,Jfr:oZ,jfr:sZ,jmath:lZ,Jopf:cZ,jopf:uZ,Jscr:dZ,jscr:_Z,Jsercy:pZ,jsercy:mZ,Jukcy:gZ,jukcy:EZ,Kappa:fZ,kappa:SZ,kappav:bZ,Kcedil:hZ,kcedil:TZ,Kcy:vZ,kcy:CZ,Kfr:RZ,kfr:NZ,kgreen:OZ,KHcy:AZ,khcy:yZ,KJcy:IZ,kjcy:DZ,Kopf:xZ,kopf:wZ,Kscr:MZ,kscr:LZ,lAarr:PZ,Lacute:kZ,lacute:UZ,laemptyv:FZ,lagran:BZ,Lambda:GZ,lambda:YZ,lang:qZ,Lang:$Z,langd:HZ,langle:zZ,lap:VZ,Laplacetrf:WZ,laquo:KZ,larrb:QZ,larrbfs:XZ,larr:ZZ,Larr:JZ,lArr:jZ,larrfs:eJ,larrhk:tJ,larrlp:nJ,larrpl:rJ,larrsim:iJ,larrtl:aJ,latail:oJ,lAtail:sJ,lat:lJ,late:cJ,lates:uJ,lbarr:dJ,lBarr:_J,lbbrk:pJ,lbrace:mJ,lbrack:gJ,lbrke:EJ,lbrksld:fJ,lbrkslu:SJ,Lcaron:bJ,lcaron:hJ,Lcedil:TJ,lcedil:vJ,lceil:CJ,lcub:RJ,Lcy:NJ,lcy:OJ,ldca:AJ,ldquo:yJ,ldquor:IJ,ldrdhar:DJ,ldrushar:xJ,ldsh:wJ,le:MJ,lE:LJ,LeftAngleBracket:PJ,LeftArrowBar:kJ,leftarrow:UJ,LeftArrow:FJ,Leftarrow:BJ,LeftArrowRightArrow:GJ,leftarrowtail:YJ,LeftCeiling:qJ,LeftDoubleBracket:$J,LeftDownTeeVector:HJ,LeftDownVectorBar:zJ,LeftDownVector:VJ,LeftFloor:WJ,leftharpoondown:KJ,leftharpoonup:QJ,leftleftarrows:XJ,leftrightarrow:ZJ,LeftRightArrow:JJ,Leftrightarrow:jJ,leftrightarrows:ej,leftrightharpoons:tj,leftrightsquigarrow:nj,LeftRightVector:rj,LeftTeeArrow:ij,LeftTee:aj,LeftTeeVector:oj,leftthreetimes:sj,LeftTriangleBar:lj,LeftTriangle:cj,LeftTriangleEqual:uj,LeftUpDownVector:dj,LeftUpTeeVector:_j,LeftUpVectorBar:pj,LeftUpVector:mj,LeftVectorBar:gj,LeftVector:Ej,lEg:fj,leg:Sj,leq:bj,leqq:hj,leqslant:Tj,lescc:vj,les:Cj,lesdot:Rj,lesdoto:Nj,lesdotor:Oj,lesg:Aj,lesges:yj,lessapprox:Ij,lessdot:Dj,lesseqgtr:xj,lesseqqgtr:wj,LessEqualGreater:Mj,LessFullEqual:Lj,LessGreater:Pj,lessgtr:kj,LessLess:Uj,lesssim:Fj,LessSlantEqual:Bj,LessTilde:Gj,lfisht:Yj,lfloor:qj,Lfr:$j,lfr:Hj,lg:zj,lgE:Vj,lHar:Wj,lhard:Kj,lharu:Qj,lharul:Xj,lhblk:Zj,LJcy:Jj,ljcy:jj,llarr:eee,ll:tee,Ll:nee,llcorner:ree,Lleftarrow:iee,llhard:aee,lltri:oee,Lmidot:see,lmidot:lee,lmoustache:cee,lmoust:uee,lnap:dee,lnapprox:_ee,lne:pee,lnE:mee,lneq:gee,lneqq:Eee,lnsim:fee,loang:See,loarr:bee,lobrk:hee,longleftarrow:Tee,LongLeftArrow:vee,Longleftarrow:Cee,longleftrightarrow:Ree,LongLeftRightArrow:Nee,Longleftrightarrow:Oee,longmapsto:Aee,longrightarrow:yee,LongRightArrow:Iee,Longrightarrow:Dee,looparrowleft:xee,looparrowright:wee,lopar:Mee,Lopf:Lee,lopf:Pee,loplus:kee,lotimes:Uee,lowast:Fee,lowbar:Bee,LowerLeftArrow:Gee,LowerRightArrow:Yee,loz:qee,lozenge:$ee,lozf:Hee,lpar:zee,lparlt:Vee,lrarr:Wee,lrcorner:Kee,lrhar:Qee,lrhard:Xee,lrm:Zee,lrtri:Jee,lsaquo:jee,lscr:ete,Lscr:tte,lsh:nte,Lsh:rte,lsim:ite,lsime:ate,lsimg:ote,lsqb:ste,lsquo:lte,lsquor:cte,Lstrok:ute,lstrok:dte,ltcc:_te,ltcir:pte,lt:mte,LT:gte,Lt:Ete,ltdot:fte,lthree:Ste,ltimes:bte,ltlarr:hte,ltquest:Tte,ltri:vte,ltrie:Cte,ltrif:Rte,ltrPar:Nte,lurdshar:Ote,luruhar:Ate,lvertneqq:yte,lvnE:Ite,macr:Dte,male:xte,malt:wte,maltese:Mte,Map:"⤅",map:Lte,mapsto:Pte,mapstodown:kte,mapstoleft:Ute,mapstoup:Fte,marker:Bte,mcomma:Gte,Mcy:Yte,mcy:qte,mdash:$te,mDDot:Hte,measuredangle:zte,MediumSpace:Vte,Mellintrf:Wte,Mfr:Kte,mfr:Qte,mho:Xte,micro:Zte,midast:Jte,midcir:jte,mid:ene,middot:tne,minusb:nne,minus:rne,minusd:ine,minusdu:ane,MinusPlus:one,mlcp:sne,mldr:lne,mnplus:cne,models:une,Mopf:dne,mopf:_ne,mp:pne,mscr:mne,Mscr:gne,mstpos:Ene,Mu:fne,mu:Sne,multimap:bne,mumap:hne,nabla:Tne,Nacute:vne,nacute:Cne,nang:Rne,nap:Nne,napE:One,napid:Ane,napos:yne,napprox:Ine,natural:Dne,naturals:xne,natur:wne,nbsp:Mne,nbump:Lne,nbumpe:Pne,ncap:kne,Ncaron:Une,ncaron:Fne,Ncedil:Bne,ncedil:Gne,ncong:Yne,ncongdot:qne,ncup:$ne,Ncy:Hne,ncy:zne,ndash:Vne,nearhk:Wne,nearr:Kne,neArr:Qne,nearrow:Xne,ne:Zne,nedot:Jne,NegativeMediumSpace:jne,NegativeThickSpace:ere,NegativeThinSpace:tre,NegativeVeryThinSpace:nre,nequiv:rre,nesear:ire,nesim:are,NestedGreaterGreater:ore,NestedLessLess:sre,NewLine:lre,nexist:cre,nexists:ure,Nfr:dre,nfr:_re,ngE:pre,nge:mre,ngeq:gre,ngeqq:Ere,ngeqslant:fre,nges:Sre,nGg:bre,ngsim:hre,nGt:Tre,ngt:vre,ngtr:Cre,nGtv:Rre,nharr:Nre,nhArr:Ore,nhpar:Are,ni:yre,nis:Ire,nisd:Dre,niv:xre,NJcy:wre,njcy:Mre,nlarr:Lre,nlArr:Pre,nldr:kre,nlE:Ure,nle:Fre,nleftarrow:Bre,nLeftarrow:Gre,nleftrightarrow:Yre,nLeftrightarrow:qre,nleq:$re,nleqq:Hre,nleqslant:zre,nles:Vre,nless:Wre,nLl:Kre,nlsim:Qre,nLt:Xre,nlt:Zre,nltri:Jre,nltrie:jre,nLtv:eie,nmid:tie,NoBreak:nie,NonBreakingSpace:rie,nopf:iie,Nopf:aie,Not:oie,not:sie,NotCongruent:lie,NotCupCap:cie,NotDoubleVerticalBar:uie,NotElement:die,NotEqual:_ie,NotEqualTilde:pie,NotExists:mie,NotGreater:gie,NotGreaterEqual:Eie,NotGreaterFullEqual:fie,NotGreaterGreater:Sie,NotGreaterLess:bie,NotGreaterSlantEqual:hie,NotGreaterTilde:Tie,NotHumpDownHump:vie,NotHumpEqual:Cie,notin:Rie,notindot:Nie,notinE:Oie,notinva:Aie,notinvb:yie,notinvc:Iie,NotLeftTriangleBar:Die,NotLeftTriangle:xie,NotLeftTriangleEqual:wie,NotLess:Mie,NotLessEqual:Lie,NotLessGreater:Pie,NotLessLess:kie,NotLessSlantEqual:Uie,NotLessTilde:Fie,NotNestedGreaterGreater:Bie,NotNestedLessLess:Gie,notni:Yie,notniva:qie,notnivb:$ie,notnivc:Hie,NotPrecedes:zie,NotPrecedesEqual:Vie,NotPrecedesSlantEqual:Wie,NotReverseElement:Kie,NotRightTriangleBar:Qie,NotRightTriangle:Xie,NotRightTriangleEqual:Zie,NotSquareSubset:Jie,NotSquareSubsetEqual:jie,NotSquareSuperset:eae,NotSquareSupersetEqual:tae,NotSubset:nae,NotSubsetEqual:rae,NotSucceeds:iae,NotSucceedsEqual:aae,NotSucceedsSlantEqual:oae,NotSucceedsTilde:sae,NotSuperset:lae,NotSupersetEqual:cae,NotTilde:uae,NotTildeEqual:dae,NotTildeFullEqual:_ae,NotTildeTilde:pae,NotVerticalBar:mae,nparallel:gae,npar:Eae,nparsl:fae,npart:Sae,npolint:bae,npr:hae,nprcue:Tae,nprec:vae,npreceq:Cae,npre:Rae,nrarrc:Nae,nrarr:Oae,nrArr:Aae,nrarrw:yae,nrightarrow:Iae,nRightarrow:Dae,nrtri:xae,nrtrie:wae,nsc:Mae,nsccue:Lae,nsce:Pae,Nscr:kae,nscr:Uae,nshortmid:Fae,nshortparallel:Bae,nsim:Gae,nsime:Yae,nsimeq:qae,nsmid:$ae,nspar:Hae,nsqsube:zae,nsqsupe:Vae,nsub:Wae,nsubE:Kae,nsube:Qae,nsubset:Xae,nsubseteq:Zae,nsubseteqq:Jae,nsucc:jae,nsucceq:eoe,nsup:toe,nsupE:noe,nsupe:roe,nsupset:ioe,nsupseteq:aoe,nsupseteqq:ooe,ntgl:soe,Ntilde:loe,ntilde:coe,ntlg:uoe,ntriangleleft:doe,ntrianglelefteq:_oe,ntriangleright:poe,ntrianglerighteq:moe,Nu:goe,nu:Eoe,num:foe,numero:Soe,numsp:boe,nvap:hoe,nvdash:Toe,nvDash:voe,nVdash:Coe,nVDash:Roe,nvge:Noe,nvgt:Ooe,nvHarr:Aoe,nvinfin:yoe,nvlArr:Ioe,nvle:Doe,nvlt:xoe,nvltrie:woe,nvrArr:Moe,nvrtrie:Loe,nvsim:Poe,nwarhk:koe,nwarr:Uoe,nwArr:Foe,nwarrow:Boe,nwnear:Goe,Oacute:Yoe,oacute:qoe,oast:$oe,Ocirc:Hoe,ocirc:zoe,ocir:Voe,Ocy:Woe,ocy:Koe,odash:Qoe,Odblac:Xoe,odblac:Zoe,odiv:Joe,odot:joe,odsold:ese,OElig:tse,oelig:nse,ofcir:rse,Ofr:ise,ofr:ase,ogon:ose,Ograve:sse,ograve:lse,ogt:cse,ohbar:use,ohm:dse,oint:_se,olarr:pse,olcir:mse,olcross:gse,oline:Ese,olt:fse,Omacr:Sse,omacr:bse,Omega:hse,omega:Tse,Omicron:vse,omicron:Cse,omid:Rse,ominus:Nse,Oopf:Ose,oopf:Ase,opar:yse,OpenCurlyDoubleQuote:Ise,OpenCurlyQuote:Dse,operp:xse,oplus:wse,orarr:Mse,Or:Lse,or:Pse,ord:kse,order:Use,orderof:Fse,ordf:Bse,ordm:Gse,origof:Yse,oror:qse,orslope:$se,orv:Hse,oS:zse,Oscr:Vse,oscr:Wse,Oslash:Kse,oslash:Qse,osol:Xse,Otilde:Zse,otilde:Jse,otimesas:jse,Otimes:ele,otimes:tle,Ouml:nle,ouml:rle,ovbar:ile,OverBar:ale,OverBrace:ole,OverBracket:sle,OverParenthesis:lle,para:cle,parallel:ule,par:dle,parsim:_le,parsl:ple,part:mle,PartialD:gle,Pcy:Ele,pcy:fle,percnt:Sle,period:ble,permil:hle,perp:Tle,pertenk:vle,Pfr:Cle,pfr:Rle,Phi:Nle,phi:Ole,phiv:Ale,phmmat:yle,phone:Ile,Pi:Dle,pi:xle,pitchfork:wle,piv:Mle,planck:Lle,planckh:Ple,plankv:kle,plusacir:Ule,plusb:Fle,pluscir:Ble,plus:Gle,plusdo:Yle,plusdu:qle,pluse:$le,PlusMinus:Hle,plusmn:zle,plussim:Vle,plustwo:Wle,pm:Kle,Poincareplane:Qle,pointint:Xle,popf:Zle,Popf:Jle,pound:jle,prap:ece,Pr:tce,pr:nce,prcue:rce,precapprox:ice,prec:ace,preccurlyeq:oce,Precedes:sce,PrecedesEqual:lce,PrecedesSlantEqual:cce,PrecedesTilde:uce,preceq:dce,precnapprox:_ce,precneqq:pce,precnsim:mce,pre:gce,prE:Ece,precsim:fce,prime:Sce,Prime:bce,primes:hce,prnap:Tce,prnE:vce,prnsim:Cce,prod:Rce,Product:Nce,profalar:Oce,profline:Ace,profsurf:yce,prop:Ice,Proportional:Dce,Proportion:xce,propto:wce,prsim:Mce,prurel:Lce,Pscr:Pce,pscr:kce,Psi:Uce,psi:Fce,puncsp:Bce,Qfr:Gce,qfr:Yce,qint:qce,qopf:$ce,Qopf:Hce,qprime:zce,Qscr:Vce,qscr:Wce,quaternions:Kce,quatint:Qce,quest:Xce,questeq:Zce,quot:Jce,QUOT:jce,rAarr:eue,race:tue,Racute:nue,racute:rue,radic:iue,raemptyv:aue,rang:oue,Rang:sue,rangd:lue,range:cue,rangle:uue,raquo:due,rarrap:_ue,rarrb:pue,rarrbfs:mue,rarrc:gue,rarr:Eue,Rarr:fue,rArr:Sue,rarrfs:bue,rarrhk:hue,rarrlp:Tue,rarrpl:vue,rarrsim:Cue,Rarrtl:Rue,rarrtl:Nue,rarrw:Oue,ratail:Aue,rAtail:yue,ratio:Iue,rationals:Due,rbarr:xue,rBarr:wue,RBarr:Mue,rbbrk:Lue,rbrace:Pue,rbrack:kue,rbrke:Uue,rbrksld:Fue,rbrkslu:Bue,Rcaron:Gue,rcaron:Yue,Rcedil:que,rcedil:$ue,rceil:Hue,rcub:zue,Rcy:Vue,rcy:Wue,rdca:Kue,rdldhar:Que,rdquo:Xue,rdquor:Zue,rdsh:Jue,real:jue,realine:ede,realpart:tde,reals:nde,Re:rde,rect:ide,reg:ade,REG:ode,ReverseElement:sde,ReverseEquilibrium:lde,ReverseUpEquilibrium:cde,rfisht:ude,rfloor:dde,rfr:_de,Rfr:pde,rHar:mde,rhard:gde,rharu:Ede,rharul:fde,Rho:Sde,rho:bde,rhov:hde,RightAngleBracket:Tde,RightArrowBar:vde,rightarrow:Cde,RightArrow:Rde,Rightarrow:Nde,RightArrowLeftArrow:Ode,rightarrowtail:Ade,RightCeiling:yde,RightDoubleBracket:Ide,RightDownTeeVector:Dde,RightDownVectorBar:xde,RightDownVector:wde,RightFloor:Mde,rightharpoondown:Lde,rightharpoonup:Pde,rightleftarrows:kde,rightleftharpoons:Ude,rightrightarrows:Fde,rightsquigarrow:Bde,RightTeeArrow:Gde,RightTee:Yde,RightTeeVector:qde,rightthreetimes:$de,RightTriangleBar:Hde,RightTriangle:zde,RightTriangleEqual:Vde,RightUpDownVector:Wde,RightUpTeeVector:Kde,RightUpVectorBar:Qde,RightUpVector:Xde,RightVectorBar:Zde,RightVector:Jde,ring:jde,risingdotseq:e_e,rlarr:t_e,rlhar:n_e,rlm:r_e,rmoustache:i_e,rmoust:a_e,rnmid:o_e,roang:s_e,roarr:l_e,robrk:c_e,ropar:u_e,ropf:d_e,Ropf:__e,roplus:p_e,rotimes:m_e,RoundImplies:g_e,rpar:E_e,rpargt:f_e,rppolint:S_e,rrarr:b_e,Rrightarrow:h_e,rsaquo:T_e,rscr:v_e,Rscr:C_e,rsh:R_e,Rsh:N_e,rsqb:O_e,rsquo:A_e,rsquor:y_e,rthree:I_e,rtimes:D_e,rtri:x_e,rtrie:w_e,rtrif:M_e,rtriltri:L_e,RuleDelayed:P_e,ruluhar:k_e,rx:U_e,Sacute:F_e,sacute:B_e,sbquo:G_e,scap:Y_e,Scaron:q_e,scaron:$_e,Sc:H_e,sc:z_e,sccue:V_e,sce:W_e,scE:K_e,Scedil:Q_e,scedil:X_e,Scirc:Z_e,scirc:J_e,scnap:j_e,scnE:epe,scnsim:tpe,scpolint:npe,scsim:rpe,Scy:ipe,scy:ape,sdotb:ope,sdot:spe,sdote:lpe,searhk:cpe,searr:upe,seArr:dpe,searrow:_pe,sect:ppe,semi:mpe,seswar:gpe,setminus:Epe,setmn:fpe,sext:Spe,Sfr:bpe,sfr:hpe,sfrown:Tpe,sharp:vpe,SHCHcy:Cpe,shchcy:Rpe,SHcy:Npe,shcy:Ope,ShortDownArrow:Ape,ShortLeftArrow:ype,shortmid:Ipe,shortparallel:Dpe,ShortRightArrow:xpe,ShortUpArrow:wpe,shy:Mpe,Sigma:Lpe,sigma:Ppe,sigmaf:kpe,sigmav:Upe,sim:Fpe,simdot:Bpe,sime:Gpe,simeq:Ype,simg:qpe,simgE:$pe,siml:Hpe,simlE:zpe,simne:Vpe,simplus:Wpe,simrarr:Kpe,slarr:Qpe,SmallCircle:Xpe,smallsetminus:Zpe,smashp:Jpe,smeparsl:jpe,smid:eme,smile:tme,smt:nme,smte:rme,smtes:ime,SOFTcy:ame,softcy:ome,solbar:sme,solb:lme,sol:cme,Sopf:ume,sopf:dme,spades:_me,spadesuit:pme,spar:mme,sqcap:gme,sqcaps:Eme,sqcup:fme,sqcups:Sme,Sqrt:bme,sqsub:hme,sqsube:Tme,sqsubset:vme,sqsubseteq:Cme,sqsup:Rme,sqsupe:Nme,sqsupset:Ome,sqsupseteq:Ame,square:yme,Square:Ime,SquareIntersection:Dme,SquareSubset:xme,SquareSubsetEqual:wme,SquareSuperset:Mme,SquareSupersetEqual:Lme,SquareUnion:Pme,squarf:kme,squ:Ume,squf:Fme,srarr:Bme,Sscr:Gme,sscr:Yme,ssetmn:qme,ssmile:$me,sstarf:Hme,Star:zme,star:Vme,starf:Wme,straightepsilon:Kme,straightphi:Qme,strns:Xme,sub:Zme,Sub:Jme,subdot:jme,subE:ege,sube:tge,subedot:nge,submult:rge,subnE:ige,subne:age,subplus:oge,subrarr:sge,subset:lge,Subset:cge,subseteq:uge,subseteqq:dge,SubsetEqual:_ge,subsetneq:pge,subsetneqq:mge,subsim:gge,subsub:Ege,subsup:fge,succapprox:Sge,succ:bge,succcurlyeq:hge,Succeeds:Tge,SucceedsEqual:vge,SucceedsSlantEqual:Cge,SucceedsTilde:Rge,succeq:Nge,succnapprox:Oge,succneqq:Age,succnsim:yge,succsim:Ige,SuchThat:Dge,sum:xge,Sum:wge,sung:Mge,sup1:Lge,sup2:Pge,sup3:kge,sup:Uge,Sup:Fge,supdot:Bge,supdsub:Gge,supE:Yge,supe:qge,supedot:$ge,Superset:Hge,SupersetEqual:zge,suphsol:Vge,suphsub:Wge,suplarr:Kge,supmult:Qge,supnE:Xge,supne:Zge,supplus:Jge,supset:jge,Supset:eEe,supseteq:tEe,supseteqq:nEe,supsetneq:rEe,supsetneqq:iEe,supsim:aEe,supsub:oEe,supsup:sEe,swarhk:lEe,swarr:cEe,swArr:uEe,swarrow:dEe,swnwar:_Ee,szlig:pEe,Tab:mEe,target:gEe,Tau:EEe,tau:fEe,tbrk:SEe,Tcaron:bEe,tcaron:hEe,Tcedil:TEe,tcedil:vEe,Tcy:CEe,tcy:REe,tdot:NEe,telrec:OEe,Tfr:AEe,tfr:yEe,there4:IEe,therefore:DEe,Therefore:xEe,Theta:wEe,theta:MEe,thetasym:LEe,thetav:PEe,thickapprox:kEe,thicksim:UEe,ThickSpace:FEe,ThinSpace:BEe,thinsp:GEe,thkap:YEe,thksim:qEe,THORN:$Ee,thorn:HEe,tilde:zEe,Tilde:VEe,TildeEqual:WEe,TildeFullEqual:KEe,TildeTilde:QEe,timesbar:XEe,timesb:ZEe,times:JEe,timesd:jEe,tint:efe,toea:tfe,topbot:nfe,topcir:rfe,top:ife,Topf:afe,topf:ofe,topfork:sfe,tosa:lfe,tprime:cfe,trade:ufe,TRADE:dfe,triangle:_fe,triangledown:pfe,triangleleft:mfe,trianglelefteq:gfe,triangleq:Efe,triangleright:ffe,trianglerighteq:Sfe,tridot:bfe,trie:hfe,triminus:Tfe,TripleDot:vfe,triplus:Cfe,trisb:Rfe,tritime:Nfe,trpezium:Ofe,Tscr:Afe,tscr:yfe,TScy:Ife,tscy:Dfe,TSHcy:xfe,tshcy:wfe,Tstrok:Mfe,tstrok:Lfe,twixt:Pfe,twoheadleftarrow:kfe,twoheadrightarrow:Ufe,Uacute:Ffe,uacute:Bfe,uarr:Gfe,Uarr:Yfe,uArr:qfe,Uarrocir:$fe,Ubrcy:Hfe,ubrcy:zfe,Ubreve:Vfe,ubreve:Wfe,Ucirc:Kfe,ucirc:Qfe,Ucy:Xfe,ucy:Zfe,udarr:Jfe,Udblac:jfe,udblac:eSe,udhar:tSe,ufisht:nSe,Ufr:rSe,ufr:iSe,Ugrave:aSe,ugrave:oSe,uHar:sSe,uharl:lSe,uharr:cSe,uhblk:uSe,ulcorn:dSe,ulcorner:_Se,ulcrop:pSe,ultri:mSe,Umacr:gSe,umacr:ESe,uml:fSe,UnderBar:SSe,UnderBrace:bSe,UnderBracket:hSe,UnderParenthesis:TSe,Union:vSe,UnionPlus:CSe,Uogon:RSe,uogon:NSe,Uopf:OSe,uopf:ASe,UpArrowBar:ySe,uparrow:ISe,UpArrow:DSe,Uparrow:xSe,UpArrowDownArrow:wSe,updownarrow:MSe,UpDownArrow:LSe,Updownarrow:PSe,UpEquilibrium:kSe,upharpoonleft:USe,upharpoonright:FSe,uplus:BSe,UpperLeftArrow:GSe,UpperRightArrow:YSe,upsi:qSe,Upsi:$Se,upsih:HSe,Upsilon:zSe,upsilon:VSe,UpTeeArrow:WSe,UpTee:KSe,upuparrows:QSe,urcorn:XSe,urcorner:ZSe,urcrop:JSe,Uring:jSe,uring:ebe,urtri:tbe,Uscr:nbe,uscr:rbe,utdot:ibe,Utilde:abe,utilde:obe,utri:sbe,utrif:lbe,uuarr:cbe,Uuml:ube,uuml:dbe,uwangle:_be,vangrt:pbe,varepsilon:mbe,varkappa:gbe,varnothing:Ebe,varphi:fbe,varpi:Sbe,varpropto:bbe,varr:hbe,vArr:Tbe,varrho:vbe,varsigma:Cbe,varsubsetneq:Rbe,varsubsetneqq:Nbe,varsupsetneq:Obe,varsupsetneqq:Abe,vartheta:ybe,vartriangleleft:Ibe,vartriangleright:Dbe,vBar:xbe,Vbar:wbe,vBarv:Mbe,Vcy:Lbe,vcy:Pbe,vdash:kbe,vDash:Ube,Vdash:Fbe,VDash:Bbe,Vdashl:Gbe,veebar:Ybe,vee:qbe,Vee:$be,veeeq:Hbe,vellip:zbe,verbar:Vbe,Verbar:Wbe,vert:Kbe,Vert:Qbe,VerticalBar:Xbe,VerticalLine:Zbe,VerticalSeparator:Jbe,VerticalTilde:jbe,VeryThinSpace:ehe,Vfr:the,vfr:nhe,vltri:rhe,vnsub:ihe,vnsup:ahe,Vopf:ohe,vopf:she,vprop:lhe,vrtri:che,Vscr:uhe,vscr:dhe,vsubnE:_he,vsubne:phe,vsupnE:mhe,vsupne:ghe,Vvdash:Ehe,vzigzag:fhe,Wcirc:She,wcirc:bhe,wedbar:hhe,wedge:The,Wedge:vhe,wedgeq:Che,weierp:Rhe,Wfr:Nhe,wfr:Ohe,Wopf:Ahe,wopf:yhe,wp:Ihe,wr:Dhe,wreath:xhe,Wscr:whe,wscr:Mhe,xcap:Lhe,xcirc:Phe,xcup:khe,xdtri:Uhe,Xfr:Fhe,xfr:Bhe,xharr:Ghe,xhArr:Yhe,Xi:qhe,xi:$he,xlarr:Hhe,xlArr:zhe,xmap:Vhe,xnis:Whe,xodot:Khe,Xopf:Qhe,xopf:Xhe,xoplus:Zhe,xotime:Jhe,xrarr:jhe,xrArr:eTe,Xscr:tTe,xscr:nTe,xsqcup:rTe,xuplus:iTe,xutri:aTe,xvee:oTe,xwedge:sTe,Yacute:lTe,yacute:cTe,YAcy:uTe,yacy:dTe,Ycirc:_Te,ycirc:pTe,Ycy:mTe,ycy:gTe,yen:ETe,Yfr:fTe,yfr:STe,YIcy:bTe,yicy:hTe,Yopf:TTe,yopf:vTe,Yscr:CTe,yscr:RTe,YUcy:NTe,yucy:OTe,yuml:ATe,Yuml:yTe,Zacute:ITe,zacute:DTe,Zcaron:xTe,zcaron:wTe,Zcy:MTe,zcy:LTe,Zdot:PTe,zdot:kTe,zeetrf:UTe,ZeroWidthSpace:FTe,Zeta:BTe,zeta:GTe,zfr:YTe,Zfr:qTe,ZHcy:$Te,zhcy:HTe,zigrarr:zTe,zopf:VTe,Zopf:WTe,Zscr:KTe,zscr:QTe,zwj:XTe,zwnj:ZTe};var gN=JTe,Eg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,sa={},rb={};function jTe(t){var e,n,i=rb[t];if(i)return i;for(i=rb[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),c=jTe(e),i=0,o=t.length;i=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1=56320&&l<=57343)){d+=encodeURIComponent(t[i]+t[i+1]),i++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(t[i])}return d}al.defaultChars=";/?:@&=+$,-_.!~*'()#";al.componentChars="-_.!~*'()";var eve=al,ib={};function tve(t){var e,n,i=ib[t];if(i)return i;for(i=ib[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),i.push(n);for(e=0;e=55296&&p<=57343?g+="���":g+=String.fromCharCode(p),o+=6;continue}if((l&248)===240&&o+91114111?g+="����":(p-=65536,g+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),o+=9;continue}g+="�"}return g})}ol.defaultChars=";/?:@&=+$,#";ol.componentChars="";var nve=ol,rve=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function zs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var ive=/^([a-z0-9.+-]+:)/i,ave=/:[0-9]*$/,ove=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,sve=["<",">",'"',"`"," ","\r",`
+`," "],lve=["{","}","|","\\","^","`"].concat(sve),cve=["'"].concat(lve),ab=["%","/","?",";","#"].concat(cve),ob=["/","?","#"],uve=255,sb=/^[+a-z0-9A-Z_-]{0,63}$/,dve=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,lb={javascript:!0,"javascript:":!0},cb={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _ve(t,e){if(t&&t instanceof zs)return t;var n=new zs;return n.parse(t,e),n}zs.prototype.parse=function(t,e){var n,i,o,s,l,c=t;if(c=c.trim(),!e&&t.split("#").length===1){var d=ove.exec(c);if(d)return this.pathname=d[1],d[2]&&(this.search=d[2]),this}var _=ive.exec(c);if(_&&(_=_[0],o=_.toLowerCase(),this.protocol=_,c=c.substr(_.length)),(e||_||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(l=c.substr(0,2)==="//",l&&!(_&&lb[_])&&(c=c.substr(2),this.slashes=!0)),!lb[_]&&(l||_&&!cb[_])){var p=-1;for(n=0;n127?v+="x":v+=h[N];if(!v.match(sb)){var x=T.slice(0,n),P=T.slice(n+1),D=h.match(dve);D&&(x.push(D[1]),P.unshift(D[2])),P.length&&(c=P.join(".")+c),this.hostname=x.join(".");break}}}}this.hostname.length>uve&&(this.hostname=""),S&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var k=c.indexOf("#");k!==-1&&(this.hash=c.substr(k),c=c.slice(0,k));var U=c.indexOf("?");return U!==-1&&(this.search=c.substr(U),c=c.slice(0,U)),c&&(this.pathname=c),cb[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};zs.prototype.parseHost=function(t){var e=ave.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var pve=_ve;sa.encode=eve;sa.decode=nve;sa.format=rve;sa.parse=pve;var Qr={},Au,ub;function EN(){return ub||(ub=1,Au=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Au}var yu,db;function fN(){return db||(db=1,yu=/[\0-\x1F\x7F-\x9F]/),yu}var Iu,_b;function mve(){return _b||(_b=1,Iu=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Iu}var Du,pb;function SN(){return pb||(pb=1,Du=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Du}var mb;function gve(){return mb||(mb=1,Qr.Any=EN(),Qr.Cc=fN(),Qr.Cf=mve(),Qr.P=Eg,Qr.Z=SN()),Qr}(function(t){function e(L){return Object.prototype.toString.call(L)}function n(L){return e(L)==="[object String]"}var i=Object.prototype.hasOwnProperty;function o(L,Q){return i.call(L,Q)}function s(L){var Q=Array.prototype.slice.call(arguments,1);return Q.forEach(function(re){if(re){if(typeof re!="object")throw new TypeError(re+"must be object");Object.keys(re).forEach(function(G){L[G]=re[G]})}}),L}function l(L,Q,re){return[].concat(L.slice(0,Q),re,L.slice(Q+1))}function c(L){return!(L>=55296&&L<=57343||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534||L>=0&&L<=8||L===11||L>=14&&L<=31||L>=127&&L<=159||L>1114111)}function d(L){if(L>65535){L-=65536;var Q=55296+(L>>10),re=56320+(L&1023);return String.fromCharCode(Q,re)}return String.fromCharCode(L)}var _=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,p=/&([a-z#][a-z0-9]{1,31});/gi,g=new RegExp(_.source+"|"+p.source,"gi"),E=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,f=gN;function S(L,Q){var re=0;return o(f,Q)?f[Q]:Q.charCodeAt(0)===35&&E.test(Q)&&(re=Q[1].toLowerCase()==="x"?parseInt(Q.slice(2),16):parseInt(Q.slice(1),10),c(re))?d(re):L}function T(L){return L.indexOf("\\")<0?L:L.replace(_,"$1")}function h(L){return L.indexOf("\\")<0&&L.indexOf("&")<0?L:L.replace(g,function(Q,re,G){return re||S(Q,G)})}var v=/[&<>"]/,N=/[&<>"]/g,y={"&":"&","<":"<",">":">",'"':"""};function x(L){return y[L]}function P(L){return v.test(L)?L.replace(N,x):L}var D=/[.?*+^$[\]\\(){}|-]/g;function k(L){return L.replace(D,"\\$&")}function U(L){switch(L){case 9:case 32:return!0}return!1}function Z(L){if(L>=8192&&L<=8202)return!0;switch(L){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}var q=Eg;function W(L){return q.test(L)}function _e(L){switch(L){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 Ee(L){return L=L.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(L=L.replace(/ẞ/g,"ß")),L.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=sa,t.lib.ucmicro=gve(),t.assign=s,t.isString=n,t.has=o,t.unescapeMd=T,t.unescapeAll=h,t.isValidEntityCode=c,t.fromCodePoint=d,t.escapeHtml=P,t.arrayReplaceAt=l,t.isSpace=U,t.isWhiteSpace=Z,t.isMdAsciiPunct=_e,t.isPunctChar=W,t.escapeRE=k,t.normalizeReference=Ee})(Je);var sl={},Eve=function(e,n,i){var o,s,l,c,d=-1,_=e.posMax,p=e.pos;for(e.pos=n+1,o=1;e.pos<_;){if(l=e.src.charCodeAt(e.pos),l===93&&(o--,o===0)){s=!0;break}if(c=e.pos,e.md.inline.skipToken(e),l===91){if(c===e.pos-1)o++;else if(i)return e.pos=p,-1}}return s&&(d=e.pos),e.pos=p,d},gb=Je.unescapeAll,fve=function(e,n,i){var o,s,l=0,c=n,d={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n32))return d;if(o===41){if(s===0)break;s--}n++}return c===n||s!==0||(d.str=gb(e.slice(c,n)),d.lines=l,d.pos=n,d.ok=!0),d},Sve=Je.unescapeAll,bve=function(e,n,i){var o,s,l=0,c=n,d={ok:!1,pos:0,lines:0,str:""};if(n>=i||(s=e.charCodeAt(n),s!==34&&s!==39&&s!==40))return d;for(n++,s===40&&(s=41);n"+di(t[e].content)+"
"};Zn.code_block=function(t,e,n,i,o){var s=t[e];return""+di(t[e].content)+`
+`};Zn.fence=function(t,e,n,i,o){var s=t[e],l=s.info?Tve(s.info).trim():"",c="",d="",_,p,g,E,f;return l&&(g=l.split(/(\s+)/g),c=g[0],d=g.slice(2).join("")),n.highlight?_=n.highlight(s.content,c,d)||di(s.content):_=di(s.content),_.indexOf(""+_+`
`):""+_+`
`};Zn.image=function(t,e,n,i,o){var s=t[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,n,i),o.renderToken(t,e,n)};Zn.hardbreak=function(t,e,n){return n.xhtmlOut?`