@next-bricks/ai-portal 0.20.13 → 0.20.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,31 +2,31 @@
2
2
  "ai-portal.chat-box": {
3
3
  "doc": "构件 `ai-portal.chat-box`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-box\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-box>Hello world</ai-portal.chat-box>\n# \n```\n\n### With cruise canvas\n\n```yaml preview minHeight=\"600px\"\nbrick: div\nproperties:\n style:\n width: 100vw\n height: 100vh\n position: fixed\n top: 0\n left: 0\ncontext:\n - name: task\nchildren:\n - brick: ai-portal.chat-box\n if: <%= !CTX.task %>\n properties:\n style:\n position: absolute\n width: 500px\n maxWidth: 90vw\n maxHeight: 90vh\n top: 50%\n left: 50%\n transform: translate(-50%, -50%)\n events:\n message.submit:\n useProvider: basic.http-request\n args:\n - \"<% `${BASE_URL}/api/gateway/logic.llm.aiops_service/api/v1/llm/agent/flow/create` %>\"\n # - /api/mocks/task/send\n # - \"http://localhost:8888/.netlify/functions/task-send\"\n # - \"https://serverless-mocks.netlify.app/.netlify/functions/task-send\"\n - method: POST\n body: |\n <%\n JSON.stringify({\n input: EVENT.detail\n })\n %>\n headers:\n Content-Type: application/json\n callback:\n error:\n action: handleHttpError\n success:\n action: context.replace\n args:\n - task\n - <% EVENT.detail %>\n - brick: ai-portal.cruise-canvas\n if: <%= !!CTX.task %>\n properties:\n taskId: <% CTX.task.id %>\n# -- YAML DELIMITER (1nbbm8) --\n# <div style=\"width: 100vw; height: 100vh; position: fixed; top: 0; left: 0\">\n# <ai-portal.chat-box\n# style=\"\n# position: absolute;\n# width: 500px;\n# max-width: 90vw;\n# max-height: 90vh;\n# top: 50%;\n# left: 50%;\n# transform: translate(-50%, -50%);\n# \"\n# id=\"brick-1\"\n# ></ai-portal.chat-box>\n# <ai-portal.cruise-canvas\n# task-id=\"&lt;% CTX.task.id %&gt;\"\n# ></ai-portal.cruise-canvas>\n# </div>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.addEventListener(\"message.submit\", (e) => {\n# const provider = document.createElement(\"basic.http-request\");\n# const promise = Promise.resolve(\n# provider.resolve(\n# /* WARN: incompatible expressions in HTML, please try YAML: */\n# \"<% `${BASE_URL}/api/gateway/logic.llm.aiops_service/api/v1/llm/agent/flow/create` %>\",\n# {\n# method: \"POST\",\n# body: \"<%\\n JSON.stringify({\\n input: EVENT.detail\\n })\\n%>\\n\",\n# headers: { \"Content-Type\": \"application/json\" },\n# }\n# )\n# );\n# promise.then((r) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# promise.catch((r) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# });\n# </script>\n# \n```\n"
4
4
  },
5
- "ai-portal.cruise-canvas": {
6
- "doc": "构件 `ai-portal.cruise-canvas`\n\n## Examples\n\n### Basic\n\n```yaml preview minHeight=\"600px\"\nbrick: div\nproperties:\n style:\n width: 100vw\n height: 100vh\n position: fixed\n top: 0\n left: 0\nchildren:\n - brick: ai-portal.cruise-canvas\n properties:\n task:\n state: completed\n requirement: |-\n 帮我在CMDB中完成手机银行系统的资源纳管\n plan:\n - id: \"2\"\n state: completed\n instruction: |-\n 深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\n - id: \"8\"\n state: completed\n instruction: |-\n 深度搜素CMDB给出资源的纳管现状\n - id: \"10\"\n state: completed\n instruction: |-\n 利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\n - id: \"12\"\n state: completed\n instruction: |-\n 在CMDB中完成手机银行系统的资源纳管\n - id: \"14\"\n state: completed\n instruction: |-\n 生成纳管后手机银行系统的逻辑架构和部署架构图\n jobs:\n - id: \"2\"\n state: completed\n instruction: |-\n 深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\n - id: \"4\"\n upstream: [\"2\"]\n toolCall:\n name: online_search\n originalArguments: |-\n {\"keywords\":\"手机银行系统\"}\n state: completed\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n {\"content\":\"手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\"}\n - role: assistant\n parts:\n - type: text\n text: |-\n 《手机银行系统》\n\n 依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\n - id: \"5\"\n upstream: [\"2\"]\n state: completed\n toolCall:\n name: online_search\n originalArguments: |-\n {\"keywords\":\"XX公司运维管理文件\"}\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 《XX公司运维管理文件》\n\n 依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\n - role: tool\n parts:\n - type: data\n data:\n type: cmdb_instance_detail\n objectId: HOST\n detail:\n hostname: dev-01\n env:\n - id: prod\n name: 生产\n - id: test\n name: 测试\n backupOwners:\n - username: Jerry\n email: jerry@example.com\n - username: Lucy\n email: lucy@example.com\n - username: Mark\n email: mark@example.com\n owner:\n username: Jim\n email: jim@example.com\n - id: dev\n name: 开发\n owner:\n username: Tom\n email: tom@example.com\n system:\n id: web\n name: Web\n outputSchema:\n type: object\n properties:\n hostname:\n description: 主机名\n type: string\n system:\n type: object\n properties:\n id:\n type: string\n description: ID\n name:\n type: string\n env:\n type: array\n description: 环境\n items:\n type: object\n properties:\n id:\n description: ID\n type: string\n name:\n description: 环境名称\n type: string\n owner:\n type: object\n properties:\n username:\n type: string\n description: 用户名\n email:\n type: string\n description: 邮箱\n backupOwners:\n type: array\n items:\n type: object\n properties:\n username:\n type: string\n description: 用户名\n email:\n type: string\n description: 邮箱\n - id: \"7\"\n upstream: [\"4\", \"5\"]\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\n - id: \"8\"\n upstream: [\"7\"]\n instruction: |-\n 深度搜素CMDB给出资源的纳管现状\n state: completed\n toolCall:\n name: create_view\n originalArguments: |-\n {\"requirement\":\"创建一个 XX 视图\"}\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n <%\n JSON.stringify({\n \"viewId\": \"view-123\",\n \"code\": `// 调用监控数据查询接口查询该主机该时间段内的 CPU 使用率、磁盘使用率和网络流量的指标数据\n defineDataSource(\"hostMetrics\", {\n api: \"easyops.api.data_exchange.olap@Query\",\n objectId: \"HOST\",\n params: {\n model: \"easyops.HOST\",\n filters: [\n {\n name: \"ip\",\n operator: \"==\",\n value: \"1.2.3.4\"\n },\n {\n name: \"time\",\n operator: \">=\",\n value: \"now-2d\"\n },\n {\n name: \"time\",\n operator: \"<=\",\n value: \"now-1s\"\n }\n ],\n dims: [\"time(auto)\"],\n measures: [\n {\n function: {\n args: [\"system_cpu_total_norm_pct\"],\n expression: \"avg\"\n },\n name: \"system_cpu_total_norm_pct\"\n },\n {\n function: {\n args: [\"system_filesystem_usage_pct\"],\n expression: \"avg\"\n },\n name: \"system_filesystem_usage_pct\"\n },\n {\n function: {\n args: [\"system_network_in_bits_per_sec\"],\n expression: \"avg\"\n },\n name: \"system_network_in_bits_per_sec\"\n },\n {\n function: {\n args: [\"system_network_out_bits_per_sec\"],\n expression: \"avg\"\n },\n name: \"system_network_out_bits_per_sec\"\n }\n ]\n }\n });\n\n export default (\n <eo-view title=\"主机 1.2.3.4 监控趋势\">\n <eo-dashboard\n dataSource={CTX.hostMetrics}\n widgets={[\n {\n widget: \"chart\",\n type: \"line\",\n title: \"CPU 使用率\",\n metric: {\n id: \"system_cpu_total_norm_pct\",\n unit: \"percent(1)\"\n }\n },\n {\n widget: \"chart\",\n type: \"area\",\n title: \"磁盘使用率\",\n metric: {\n id: \"system_filesystem_usage_pct\",\n unit: \"percent(1)\"\n }\n },\n {\n widget: \"chart\",\n type: \"line\",\n title: \"网络流量 (入)\",\n metric: {\n id: \"system_network_in_bits_per_sec\",\n unit: \"bits/sec\"\n }\n },\n {\n widget: \"chart\",\n type: \"line\",\n title: \"网络流量 (出)\",\n metric: {\n id: \"system_network_out_bits_per_sec\",\n unit: \"bits/sec\"\n }\n }\n ]}\n />\n </eo-view>\n );`\n })\n %>\n - role: assistant\n parts:\n - type: text\n text: |-\n 基于CMDB查询手机银行的资源纳管情况,纳管现状总结如下:\n\n 实例数据的完整性\n 1. 系统录入(已完成)\n 2. 模块录入(部分完成),交易接入模块未录入\n 3. 环境录入(已完成)\n 4. 主机录入(部分完成),交易接入模块主机未录入\n 5. 部署实例录入(部分完成),交易接入模块的部署实例未录入\n\n 关系数据的完整性\n 1. 系统和模块(部分完成),系统和交易接入模块的关系未建立\n 2. 系统和环境(√)\n 3. 模块和主机(部分完成)\n 4. ...\n - id: \"10\"\n upstream: [\"8\"]\n toolCall:\n name: ask_human\n arguments:\n command: ask_user_more\n question: |-\n - 交易接入模块的录入;\n - 系统和交易接入模块的关系创建 ;\n - 部署实例自动采集特征录入。\n instruction: |-\n 利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\n state: completed\n messages:\n - role: user\n parts:\n - type: text\n text: |-\n 我补充下...\n - id: \"12\"\n upstream: [\"10\"]\n instruction: |-\n 在CMDB中完成手机银行系统的资源纳管\n toolCall:\n name: ask_human\n arguments:\n command: ask_user_confirm\n question: |-\n 方案执行的过程信息\n state: completed\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n 确认\n - id: \"14\"\n upstream: [\"12\"]\n instruction: |-\n 生成纳管后手机银行系统的逻辑架构和部署架构图\n tag: topology\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n https://example.com/topology\n - id: \"16\"\n upstream: [\"14\"]\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 该手机银行系统的资源纳管已经完成,本次纳管新增了交易接入模块和该模块相关的主机,以及部署实例信息,模块的纳管建议和架构管理平台打通,部署实例的纳管建议和自动发布平台打通,以便自动完成数据变更,确保数据的准确性,降低架构维护成本。\n# -- YAML DELIMITER (1nbbm8) --\n# <div style=\"width: 100vw; height: 100vh; position: fixed; top: 0; left: 0\">\n# <ai-portal.cruise-canvas id=\"brick-1\"></ai-portal.cruise-canvas>\n# </div>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.task = {\n# state: \"completed\",\n# requirement: \"帮我在CMDB中完成手机银行系统的资源纳管\",\n# plan: [\n# {\n# id: \"2\",\n# state: \"completed\",\n# instruction:\n# \"深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\",\n# },\n# {\n# id: \"8\",\n# state: \"completed\",\n# instruction: \"深度搜素CMDB给出资源的纳管现状\",\n# },\n# {\n# id: \"10\",\n# state: \"completed\",\n# instruction:\n# \"利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\",\n# },\n# {\n# id: \"12\",\n# state: \"completed\",\n# instruction: \"在CMDB中完成手机银行系统的资源纳管\",\n# },\n# {\n# id: \"14\",\n# state: \"completed\",\n# instruction: \"生成纳管后手机银行系统的逻辑架构和部署架构图\",\n# },\n# ],\n# };\n# brick_1.jobs = [\n# {\n# id: \"2\",\n# state: \"completed\",\n# instruction:\n# \"深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\",\n# },\n# {\n# id: \"4\",\n# upstream: [\"2\"],\n# toolCall: {\n# name: \"online_search\",\n# originalArguments: '{\"keywords\":\"手机银行系统\"}',\n# },\n# state: \"completed\",\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: '{\"content\":\"手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\"}',\n# },\n# ],\n# },\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"《手机银行系统》\\n\\n依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"5\",\n# upstream: [\"2\"],\n# state: \"completed\",\n# toolCall: {\n# name: \"online_search\",\n# originalArguments: '{\"keywords\":\"XX公司运维管理文件\"}',\n# },\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"《XX公司运维管理文件》\\n\\n依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\",\n# },\n# ],\n# },\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"data\",\n# data: {\n# type: \"cmdb_instance_detail\",\n# objectId: \"HOST\",\n# detail: {\n# hostname: \"dev-01\",\n# env: [\n# {\n# id: \"prod\",\n# name: \"生产\",\n# },\n# {\n# id: \"test\",\n# name: \"测试\",\n# backupOwners: [\n# {\n# username: \"Jerry\",\n# email: \"jerry@example.com\",\n# },\n# {\n# username: \"Lucy\",\n# email: \"lucy@example.com\",\n# },\n# {\n# username: \"Mark\",\n# email: \"mark@example.com\",\n# },\n# ],\n# owner: {\n# username: \"Jim\",\n# email: \"jim@example.com\",\n# },\n# },\n# {\n# id: \"dev\",\n# name: \"开发\",\n# owner: {\n# username: \"Tom\",\n# email: \"tom@example.com\",\n# },\n# },\n# ],\n# system: {\n# id: \"web\",\n# name: \"Web\",\n# },\n# },\n# outputSchema: {\n# type: \"object\",\n# properties: {\n# hostname: {\n# description: \"主机名\",\n# type: \"string\",\n# },\n# system: {\n# type: \"object\",\n# properties: {\n# id: {\n# type: \"string\",\n# description: \"ID\",\n# },\n# name: {\n# type: \"string\",\n# },\n# },\n# },\n# env: {\n# type: \"array\",\n# description: \"环境\",\n# items: {\n# type: \"object\",\n# properties: {\n# id: {\n# description: \"ID\",\n# type: \"string\",\n# },\n# name: {\n# description: \"环境名称\",\n# type: \"string\",\n# },\n# owner: {\n# type: \"object\",\n# properties: {\n# username: {\n# type: \"string\",\n# description: \"用户名\",\n# },\n# email: {\n# type: \"string\",\n# description: \"邮箱\",\n# },\n# },\n# },\n# backupOwners: {\n# type: \"array\",\n# items: {\n# type: \"object\",\n# properties: {\n# username: {\n# type: \"string\",\n# description: \"用户名\",\n# },\n# email: {\n# type: \"string\",\n# description: \"邮箱\",\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"7\",\n# upstream: [\"4\", \"5\"],\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"8\",\n# upstream: [\"7\"],\n# instruction: \"深度搜素CMDB给出资源的纳管现状\",\n# state: \"completed\",\n# toolCall: {\n# name: \"create_view\",\n# originalArguments: '{\"requirement\":\"创建一个 XX 视图\"}',\n# },\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: '<%\\n JSON.stringify({\\n \"viewId\": \"view-123\",\\n \"code\": `// 调用监控数据查询接口查询该主机该时间段内的 CPU 使用率、磁盘使用率和网络流量的指标数据\\ndefineDataSource(\"hostMetrics\", {\\n api: \"easyops.api.data_exchange.olap@Query\",\\n objectId: \"HOST\",\\n params: {\\n model: \"easyops.HOST\",\\n filters: [\\n {\\n name: \"ip\",\\n operator: \"==\",\\n value: \"1.2.3.4\"\\n },\\n {\\n name: \"time\",\\n operator: \">=\",\\n value: \"now-2d\"\\n },\\n {\\n name: \"time\",\\n operator: \"<=\",\\n value: \"now-1s\"\\n }\\n ],\\n dims: [\"time(auto)\"],\\n measures: [\\n {\\n function: {\\n args: [\"system_cpu_total_norm_pct\"],\\n expression: \"avg\"\\n },\\n name: \"system_cpu_total_norm_pct\"\\n },\\n {\\n function: {\\n args: [\"system_filesystem_usage_pct\"],\\n expression: \"avg\"\\n },\\n name: \"system_filesystem_usage_pct\"\\n },\\n {\\n function: {\\n args: [\"system_network_in_bits_per_sec\"],\\n expression: \"avg\"\\n },\\n name: \"system_network_in_bits_per_sec\"\\n },\\n {\\n function: {\\n args: [\"system_network_out_bits_per_sec\"],\\n expression: \"avg\"\\n },\\n name: \"system_network_out_bits_per_sec\"\\n }\\n ]\\n }\\n});\\n\\nexport default (\\n <eo-view title=\"主机 1.2.3.4 监控趋势\">\\n <eo-dashboard\\n dataSource={CTX.hostMetrics}\\n widgets={[\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"CPU 使用率\",\\n metric: {\\n id: \"system_cpu_total_norm_pct\",\\n unit: \"percent(1)\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"area\",\\n title: \"磁盘使用率\",\\n metric: {\\n id: \"system_filesystem_usage_pct\",\\n unit: \"percent(1)\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"网络流量 (入)\",\\n metric: {\\n id: \"system_network_in_bits_per_sec\",\\n unit: \"bits/sec\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"网络流量 (出)\",\\n metric: {\\n id: \"system_network_out_bits_per_sec\",\\n unit: \"bits/sec\"\\n }\\n }\\n ]}\\n />\\n </eo-view>\\n);`\\n })\\n%>',\n# },\n# ],\n# },\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"基于CMDB查询手机银行的资源纳管情况,纳管现状总结如下:\\n\\n实例数据的完整性\\n1. 系统录入(已完成)\\n2. 模块录入(部分完成),交易接入模块未录入\\n3. 环境录入(已完成)\\n4. 主机录入(部分完成),交易接入模块主机未录入\\n5. 部署实例录入(部分完成),交易接入模块的部署实例未录入\\n\\n关系数据的完整性\\n1. 系统和模块(部分完成),系统和交易接入模块的关系未建立\\n2. 系统和环境(√)\\n3. 模块和主机(部分完成)\\n4. ...\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"10\",\n# upstream: [\"8\"],\n# toolCall: {\n# name: \"ask_human\",\n# arguments: {\n# command: \"ask_user_more\",\n# question:\n# \"- 交易接入模块的录入;\\n- 系统和交易接入模块的关系创建 ;\\n- 部署实例自动采集特征录入。\",\n# },\n# },\n# instruction:\n# \"利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\",\n# state: \"completed\",\n# messages: [\n# {\n# role: \"user\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"我补充下...\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"12\",\n# upstream: [\"10\"],\n# instruction: \"在CMDB中完成手机银行系统的资源纳管\",\n# toolCall: {\n# name: \"ask_human\",\n# arguments: {\n# command: \"ask_user_confirm\",\n# question: \"方案执行的过程信息\",\n# },\n# },\n# state: \"completed\",\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"确认\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"14\",\n# upstream: [\"12\"],\n# instruction: \"生成纳管后手机银行系统的逻辑架构和部署架构图\",\n# tag: \"topology\",\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"https://example.com/topology\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"16\",\n# upstream: [\"14\"],\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"该手机银行系统的资源纳管已经完成,本次纳管新增了交易接入模块和该模块相关的主机,以及部署实例信息,模块的纳管建议和架构管理平台打通,部署实例的纳管建议和自动发布平台打通,以便自动完成数据变更,确保数据的准确性,降低架构维护成本。\",\n# },\n# ],\n# },\n# ],\n# },\n# ];\n# </script>\n# \n```\n"
7
- },
8
5
  "ai-portal.chat-history": {
9
6
  "doc": "构件 `ai-portal.chat-history`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.chat-history\nproperties:\n list:\n - id: task_x\n url: /task_x\n title: 纳管 X 系统\n startTime: <% (+moment()) / 1000 %>\n state: working\n - id: task_y\n url: /task_y\n title: 纳管 Y 系统\n startTime: <% (+moment().subtract(2, \"hours\")) / 1000 %>\n state: completed\n - id: task_z\n url: /task_z\n title: 纳管 Z 系统\n startTime: <% (+moment().subtract(1, \"days\")) / 1000 %>\n state: completed\n actions:\n - icon:\n lib: antd\n icon: upload\n text: 分享\n isDropdown: true\n event: share\n - icon:\n lib: antd\n icon: edit\n text: 重命名\n isDropdown: true\n event: rename\n - icon:\n lib: antd\n icon: delete\n text: 删除\n isDropdown: true\n danger: true\n event: delete\nevents:\n action.click:\n - action: console.log\n - if: <% EVENT.detail.action.event === \"delete\" %>\n useProvider: basic.show-dialog\n args:\n - type: delete\n title: 确定删除这一条任务记录吗?\n content: 删除后任务记录无法恢复,请谨慎操作\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.chat-history id=\"brick-1\"></ai-portal.chat-history>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.list = [\n# {\n# id: \"task_x\",\n# url: \"/task_x\",\n# title: \"纳管 X 系统\",\n# startTime: \"<% (+moment()) / 1000 %>\",\n# state: \"working\",\n# },\n# {\n# id: \"task_y\",\n# url: \"/task_y\",\n# title: \"纳管 Y 系统\",\n# startTime: '<% (+moment().subtract(2, \"hours\")) / 1000 %>',\n# state: \"completed\",\n# },\n# {\n# id: \"task_z\",\n# url: \"/task_z\",\n# title: \"纳管 Z 系统\",\n# startTime: '<% (+moment().subtract(1, \"days\")) / 1000 %>',\n# state: \"completed\",\n# },\n# ];\n# brick_1.actions = [\n# {\n# icon: {\n# lib: \"antd\",\n# icon: \"upload\",\n# },\n# text: \"分享\",\n# isDropdown: true,\n# event: \"share\",\n# },\n# {\n# icon: {\n# lib: \"antd\",\n# icon: \"edit\",\n# },\n# text: \"重命名\",\n# isDropdown: true,\n# event: \"rename\",\n# },\n# {\n# icon: {\n# lib: \"antd\",\n# icon: \"delete\",\n# },\n# text: \"删除\",\n# isDropdown: true,\n# danger: true,\n# event: \"delete\",\n# },\n# ];\n# brick_1.addEventListener(\"action.click\", (e) => {\n# console.log(e.detail);\n# });\n# brick_1.addEventListener(\"action.click\", (e) => {\n# const provider = document.createElement(\"basic.show-dialog\");\n# provider.resolve({\n# type: \"delete\",\n# title: \"确定删除这一条任务记录吗?\",\n# content: \"删除后任务记录无法恢复,请谨慎操作\",\n# });\n# });\n# </script>\n# \n```\n"
10
7
  },
8
+ "ai-portal.cruise-canvas": {
9
+ "doc": "构件 `ai-portal.cruise-canvas`\n\n## Examples\n\n### Basic\n\n```yaml preview minHeight=\"600px\"\nbrick: div\nproperties:\n style:\n width: 100vw\n height: 100vh\n position: fixed\n top: 0\n left: 0\nchildren:\n - brick: ai-portal.cruise-canvas\n properties:\n task:\n state: completed\n requirement: |-\n 帮我在CMDB中完成手机银行系统的资源纳管\n plan:\n - id: \"2\"\n state: completed\n instruction: |-\n 深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\n - id: \"8\"\n state: completed\n instruction: |-\n 深度搜素CMDB给出资源的纳管现状\n - id: \"10\"\n state: completed\n instruction: |-\n 利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\n - id: \"12\"\n state: completed\n instruction: |-\n 在CMDB中完成手机银行系统的资源纳管\n - id: \"14\"\n state: completed\n instruction: |-\n 生成纳管后手机银行系统的逻辑架构和部署架构图\n jobs:\n - id: \"2\"\n state: completed\n instruction: |-\n 深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\n - id: \"4\"\n upstream: [\"2\"]\n toolCall:\n name: online_search\n originalArguments: |-\n {\"keywords\":\"手机银行系统\"}\n state: completed\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n {\"content\":\"手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\"}\n - role: assistant\n parts:\n - type: text\n text: |-\n 《手机银行系统》\n\n 依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\n - id: \"5\"\n upstream: [\"2\"]\n state: completed\n toolCall:\n name: online_search\n originalArguments: |-\n {\"keywords\":\"XX公司运维管理文件\"}\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 《XX公司运维管理文件》\n\n 依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\n - role: tool\n parts:\n - type: data\n data:\n type: cmdb_instance_detail\n objectId: HOST\n detail:\n hostname: dev-01\n env:\n - id: prod\n name: 生产\n - id: test\n name: 测试\n backupOwners:\n - username: Jerry\n email: jerry@example.com\n - username: Lucy\n email: lucy@example.com\n - username: Mark\n email: mark@example.com\n owner:\n username: Jim\n email: jim@example.com\n - id: dev\n name: 开发\n owner:\n username: Tom\n email: tom@example.com\n system:\n id: web\n name: Web\n outputSchema:\n type: object\n properties:\n hostname:\n description: 主机名\n type: string\n system:\n type: object\n properties:\n id:\n type: string\n description: ID\n name:\n type: string\n env:\n type: array\n description: 环境\n items:\n type: object\n properties:\n id:\n description: ID\n type: string\n name:\n description: 环境名称\n type: string\n owner:\n type: object\n properties:\n username:\n type: string\n description: 用户名\n email:\n type: string\n description: 邮箱\n backupOwners:\n type: array\n items:\n type: object\n properties:\n username:\n type: string\n description: 用户名\n email:\n type: string\n description: 邮箱\n - id: \"7\"\n upstream: [\"4\", \"5\"]\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\n - id: \"8\"\n upstream: [\"7\"]\n instruction: |-\n 深度搜素CMDB给出资源的纳管现状\n state: completed\n toolCall:\n name: create_view\n originalArguments: |-\n {\"requirement\":\"创建一个 XX 视图\"}\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n <%\n JSON.stringify({\n \"viewId\": \"view-123\",\n \"code\": `// 调用监控数据查询接口查询该主机该时间段内的 CPU 使用率、磁盘使用率和网络流量的指标数据\n defineDataSource(\"hostMetrics\", {\n api: \"easyops.api.data_exchange.olap@Query\",\n objectId: \"HOST\",\n params: {\n model: \"easyops.HOST\",\n filters: [\n {\n name: \"ip\",\n operator: \"==\",\n value: \"1.2.3.4\"\n },\n {\n name: \"time\",\n operator: \">=\",\n value: \"now-2d\"\n },\n {\n name: \"time\",\n operator: \"<=\",\n value: \"now-1s\"\n }\n ],\n dims: [\"time(auto)\"],\n measures: [\n {\n function: {\n args: [\"system_cpu_total_norm_pct\"],\n expression: \"avg\"\n },\n name: \"system_cpu_total_norm_pct\"\n },\n {\n function: {\n args: [\"system_filesystem_usage_pct\"],\n expression: \"avg\"\n },\n name: \"system_filesystem_usage_pct\"\n },\n {\n function: {\n args: [\"system_network_in_bits_per_sec\"],\n expression: \"avg\"\n },\n name: \"system_network_in_bits_per_sec\"\n },\n {\n function: {\n args: [\"system_network_out_bits_per_sec\"],\n expression: \"avg\"\n },\n name: \"system_network_out_bits_per_sec\"\n }\n ]\n }\n });\n\n export default (\n <eo-view title=\"主机 1.2.3.4 监控趋势\">\n <eo-dashboard\n dataSource={CTX.hostMetrics}\n widgets={[\n {\n widget: \"chart\",\n type: \"line\",\n title: \"CPU 使用率\",\n metric: {\n id: \"system_cpu_total_norm_pct\",\n unit: \"percent(1)\"\n }\n },\n {\n widget: \"chart\",\n type: \"area\",\n title: \"磁盘使用率\",\n metric: {\n id: \"system_filesystem_usage_pct\",\n unit: \"percent(1)\"\n }\n },\n {\n widget: \"chart\",\n type: \"line\",\n title: \"网络流量 (入)\",\n metric: {\n id: \"system_network_in_bits_per_sec\",\n unit: \"bits/sec\"\n }\n },\n {\n widget: \"chart\",\n type: \"line\",\n title: \"网络流量 (出)\",\n metric: {\n id: \"system_network_out_bits_per_sec\",\n unit: \"bits/sec\"\n }\n }\n ]}\n />\n </eo-view>\n );`\n })\n %>\n - role: assistant\n parts:\n - type: text\n text: |-\n 基于CMDB查询手机银行的资源纳管情况,纳管现状总结如下:\n\n 实例数据的完整性\n 1. 系统录入(已完成)\n 2. 模块录入(部分完成),交易接入模块未录入\n 3. 环境录入(已完成)\n 4. 主机录入(部分完成),交易接入模块主机未录入\n 5. 部署实例录入(部分完成),交易接入模块的部署实例未录入\n\n 关系数据的完整性\n 1. 系统和模块(部分完成),系统和交易接入模块的关系未建立\n 2. 系统和环境(√)\n 3. 模块和主机(部分完成)\n 4. ...\n - id: \"10\"\n upstream: [\"8\"]\n toolCall:\n name: ask_human\n arguments:\n command: ask_user_more\n question: |-\n - 交易接入模块的录入;\n - 系统和交易接入模块的关系创建 ;\n - 部署实例自动采集特征录入。\n instruction: |-\n 利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\n state: completed\n messages:\n - role: user\n parts:\n - type: text\n text: |-\n 我补充下...\n - id: \"12\"\n upstream: [\"10\"]\n instruction: |-\n 在CMDB中完成手机银行系统的资源纳管\n toolCall:\n name: ask_human\n arguments:\n command: ask_user_confirm\n question: |-\n 方案执行的过程信息\n state: completed\n messages:\n - role: tool\n parts:\n - type: text\n text: |-\n 确认\n - id: \"14\"\n upstream: [\"12\"]\n instruction: |-\n 生成纳管后手机银行系统的逻辑架构和部署架构图\n tag: topology\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n https://example.com/topology\n - id: \"16\"\n upstream: [\"14\"]\n state: completed\n messages:\n - role: assistant\n parts:\n - type: text\n text: |-\n 该手机银行系统的资源纳管已经完成,本次纳管新增了交易接入模块和该模块相关的主机,以及部署实例信息,模块的纳管建议和架构管理平台打通,部署实例的纳管建议和自动发布平台打通,以便自动完成数据变更,确保数据的准确性,降低架构维护成本。\n# -- YAML DELIMITER (1nbbm8) --\n# <div style=\"width: 100vw; height: 100vh; position: fixed; top: 0; left: 0\">\n# <ai-portal.cruise-canvas id=\"brick-1\"></ai-portal.cruise-canvas>\n# </div>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.task = {\n# state: \"completed\",\n# requirement: \"帮我在CMDB中完成手机银行系统的资源纳管\",\n# plan: [\n# {\n# id: \"2\",\n# state: \"completed\",\n# instruction:\n# \"深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\",\n# },\n# {\n# id: \"8\",\n# state: \"completed\",\n# instruction: \"深度搜素CMDB给出资源的纳管现状\",\n# },\n# {\n# id: \"10\",\n# state: \"completed\",\n# instruction:\n# \"利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\",\n# },\n# {\n# id: \"12\",\n# state: \"completed\",\n# instruction: \"在CMDB中完成手机银行系统的资源纳管\",\n# },\n# {\n# id: \"14\",\n# state: \"completed\",\n# instruction: \"生成纳管后手机银行系统的逻辑架构和部署架构图\",\n# },\n# ],\n# };\n# brick_1.jobs = [\n# {\n# id: \"2\",\n# state: \"completed\",\n# instruction:\n# \"深度搜素内部知识库,确认手机银行系统包含的逻辑组件和部署要求\",\n# },\n# {\n# id: \"4\",\n# upstream: [\"2\"],\n# toolCall: {\n# name: \"online_search\",\n# originalArguments: '{\"keywords\":\"手机银行系统\"}',\n# },\n# state: \"completed\",\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: '{\"content\":\"手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\"}',\n# },\n# ],\n# },\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"《手机银行系统》\\n\\n依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"5\",\n# upstream: [\"2\"],\n# state: \"completed\",\n# toolCall: {\n# name: \"online_search\",\n# originalArguments: '{\"keywords\":\"XX公司运维管理文件\"}',\n# },\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"《XX公司运维管理文件》\\n\\n依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\",\n# },\n# ],\n# },\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"data\",\n# data: {\n# type: \"cmdb_instance_detail\",\n# objectId: \"HOST\",\n# detail: {\n# hostname: \"dev-01\",\n# env: [\n# {\n# id: \"prod\",\n# name: \"生产\",\n# },\n# {\n# id: \"test\",\n# name: \"测试\",\n# backupOwners: [\n# {\n# username: \"Jerry\",\n# email: \"jerry@example.com\",\n# },\n# {\n# username: \"Lucy\",\n# email: \"lucy@example.com\",\n# },\n# {\n# username: \"Mark\",\n# email: \"mark@example.com\",\n# },\n# ],\n# owner: {\n# username: \"Jim\",\n# email: \"jim@example.com\",\n# },\n# },\n# {\n# id: \"dev\",\n# name: \"开发\",\n# owner: {\n# username: \"Tom\",\n# email: \"tom@example.com\",\n# },\n# },\n# ],\n# system: {\n# id: \"web\",\n# name: \"Web\",\n# },\n# },\n# outputSchema: {\n# type: \"object\",\n# properties: {\n# hostname: {\n# description: \"主机名\",\n# type: \"string\",\n# },\n# system: {\n# type: \"object\",\n# properties: {\n# id: {\n# type: \"string\",\n# description: \"ID\",\n# },\n# name: {\n# type: \"string\",\n# },\n# },\n# },\n# env: {\n# type: \"array\",\n# description: \"环境\",\n# items: {\n# type: \"object\",\n# properties: {\n# id: {\n# description: \"ID\",\n# type: \"string\",\n# },\n# name: {\n# description: \"环境名称\",\n# type: \"string\",\n# },\n# owner: {\n# type: \"object\",\n# properties: {\n# username: {\n# type: \"string\",\n# description: \"用户名\",\n# },\n# email: {\n# type: \"string\",\n# description: \"邮箱\",\n# },\n# },\n# },\n# backupOwners: {\n# type: \"array\",\n# items: {\n# type: \"object\",\n# properties: {\n# username: {\n# type: \"string\",\n# description: \"用户名\",\n# },\n# email: {\n# type: \"string\",\n# description: \"邮箱\",\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"7\",\n# upstream: [\"4\", \"5\"],\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"依据内部知识库,手机银行系统的逻辑组件包含用户认证,交易接入和理财中心三个模块组成。依据《XX公司运维管理文件》该系统的重要等级为一级,可用性要求99.999%,MTTR为小于3分钟,该系统部署需要实现异地容灾,建议采用双中心部署,且单中心内核心模块无单点。\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"8\",\n# upstream: [\"7\"],\n# instruction: \"深度搜素CMDB给出资源的纳管现状\",\n# state: \"completed\",\n# toolCall: {\n# name: \"create_view\",\n# originalArguments: '{\"requirement\":\"创建一个 XX 视图\"}',\n# },\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: '<%\\n JSON.stringify({\\n \"viewId\": \"view-123\",\\n \"code\": `// 调用监控数据查询接口查询该主机该时间段内的 CPU 使用率、磁盘使用率和网络流量的指标数据\\ndefineDataSource(\"hostMetrics\", {\\n api: \"easyops.api.data_exchange.olap@Query\",\\n objectId: \"HOST\",\\n params: {\\n model: \"easyops.HOST\",\\n filters: [\\n {\\n name: \"ip\",\\n operator: \"==\",\\n value: \"1.2.3.4\"\\n },\\n {\\n name: \"time\",\\n operator: \">=\",\\n value: \"now-2d\"\\n },\\n {\\n name: \"time\",\\n operator: \"<=\",\\n value: \"now-1s\"\\n }\\n ],\\n dims: [\"time(auto)\"],\\n measures: [\\n {\\n function: {\\n args: [\"system_cpu_total_norm_pct\"],\\n expression: \"avg\"\\n },\\n name: \"system_cpu_total_norm_pct\"\\n },\\n {\\n function: {\\n args: [\"system_filesystem_usage_pct\"],\\n expression: \"avg\"\\n },\\n name: \"system_filesystem_usage_pct\"\\n },\\n {\\n function: {\\n args: [\"system_network_in_bits_per_sec\"],\\n expression: \"avg\"\\n },\\n name: \"system_network_in_bits_per_sec\"\\n },\\n {\\n function: {\\n args: [\"system_network_out_bits_per_sec\"],\\n expression: \"avg\"\\n },\\n name: \"system_network_out_bits_per_sec\"\\n }\\n ]\\n }\\n});\\n\\nexport default (\\n <eo-view title=\"主机 1.2.3.4 监控趋势\">\\n <eo-dashboard\\n dataSource={CTX.hostMetrics}\\n widgets={[\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"CPU 使用率\",\\n metric: {\\n id: \"system_cpu_total_norm_pct\",\\n unit: \"percent(1)\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"area\",\\n title: \"磁盘使用率\",\\n metric: {\\n id: \"system_filesystem_usage_pct\",\\n unit: \"percent(1)\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"网络流量 (入)\",\\n metric: {\\n id: \"system_network_in_bits_per_sec\",\\n unit: \"bits/sec\"\\n }\\n },\\n {\\n widget: \"chart\",\\n type: \"line\",\\n title: \"网络流量 (出)\",\\n metric: {\\n id: \"system_network_out_bits_per_sec\",\\n unit: \"bits/sec\"\\n }\\n }\\n ]}\\n />\\n </eo-view>\\n);`\\n })\\n%>',\n# },\n# ],\n# },\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"基于CMDB查询手机银行的资源纳管情况,纳管现状总结如下:\\n\\n实例数据的完整性\\n1. 系统录入(已完成)\\n2. 模块录入(部分完成),交易接入模块未录入\\n3. 环境录入(已完成)\\n4. 主机录入(部分完成),交易接入模块主机未录入\\n5. 部署实例录入(部分完成),交易接入模块的部署实例未录入\\n\\n关系数据的完整性\\n1. 系统和模块(部分完成),系统和交易接入模块的关系未建立\\n2. 系统和环境(√)\\n3. 模块和主机(部分完成)\\n4. ...\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"10\",\n# upstream: [\"8\"],\n# toolCall: {\n# name: \"ask_human\",\n# arguments: {\n# command: \"ask_user_more\",\n# question:\n# \"- 交易接入模块的录入;\\n- 系统和交易接入模块的关系创建 ;\\n- 部署实例自动采集特征录入。\",\n# },\n# },\n# instruction:\n# \"利用深度思考能力,给出手机银行系统的资源纳管优化方案,该方案用户可以微调或确认\",\n# state: \"completed\",\n# messages: [\n# {\n# role: \"user\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"我补充下...\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"12\",\n# upstream: [\"10\"],\n# instruction: \"在CMDB中完成手机银行系统的资源纳管\",\n# toolCall: {\n# name: \"ask_human\",\n# arguments: {\n# command: \"ask_user_confirm\",\n# question: \"方案执行的过程信息\",\n# },\n# },\n# state: \"completed\",\n# messages: [\n# {\n# role: \"tool\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"确认\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"14\",\n# upstream: [\"12\"],\n# instruction: \"生成纳管后手机银行系统的逻辑架构和部署架构图\",\n# tag: \"topology\",\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"https://example.com/topology\",\n# },\n# ],\n# },\n# ],\n# },\n# {\n# id: \"16\",\n# upstream: [\"14\"],\n# state: \"completed\",\n# messages: [\n# {\n# role: \"assistant\",\n# parts: [\n# {\n# type: \"text\",\n# text: \"该手机银行系统的资源纳管已经完成,本次纳管新增了交易接入模块和该模块相关的主机,以及部署实例信息,模块的纳管建议和架构管理平台打通,部署实例的纳管建议和自动发布平台打通,以便自动完成数据变更,确保数据的准确性,降低架构维护成本。\",\n# },\n# ],\n# },\n# ],\n# },\n# ];\n# </script>\n# \n```\n"
10
+ },
11
11
  "ai-portal.stat-with-mini-chart": {
12
12
  "doc": "构件 `ai-portal.stat-with-mini-chart`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n\n### Size\n\n```yaml preview\nbrick: ai-portal.stat-with-mini-chart\nproperties:\n label: 请求数\n value: \"563.5\"\n size: small\n xField: time\n yField: request_total\n lineColor: \"#295DFF\"\n data:\n - request_total: 642.2\n time: 1730597995.403\n - request_total: 621.3\n time: 1730599200\n - request_total: 600.2\n time: 1730601000\n - request_total: 601.9666666666667\n time: 1730602800\n - request_total: 592.4\n time: 1730604600\n - request_total: 567.8666666666667\n time: 1730606400\n - request_total: 651.3333333333334\n time: 1730608200\n - request_total: 571.9677419354839\n time: 1730610000\n - request_total: 550.2\n time: 1730611800\n - request_total: 556.5666666666667\n time: 1730613600\n - request_total: 565.6333333333333\n time: 1730615400\n - request_total: 586.5666666666667\n time: 1730617200\n - request_total: 611.7\n time: 1730619000\n - request_total: 540.0645161290323\n time: 1730620800\n - request_total: 595.9333333333333\n time: 1730622600\n - request_total: 560.0333333333333\n time: 1730624400\n - request_total: 565.2333333333333\n time: 1730626200\n - request_total: 609.5806451612904\n time: 1730628000\n - request_total: 598.8\n time: 1730629800\n - request_total: 594.5333333333333\n time: 1730631600\n - request_total: 525.7\n time: 1730633400\n - request_total: 602.3666666666667\n time: 1730635200\n - request_total: 557.7333333333333\n time: 1730637000\n - request_total: 595.8666666666667\n time: 1730638800\n - request_total: 638.7\n time: 1730640600\n - request_total: 635.8333333333334\n time: 1730642400\n - request_total: 563.9\n time: 1730644200\n - request_total: 606.4516129032259\n time: 1730646000\n - request_total: 660.1\n time: 1730647800\n - request_total: 606.2666666666667\n time: 1730649600\n - request_total: 504.43333333333334\n time: 1730651400\n - request_total: 651.7333333333333\n time: 1730653200\n - request_total: 583.5\n time: 1730655000\n - request_total: 566.2333333333333\n time: 1730656800\n - request_total: 519.2333333333333\n time: 1730658600\n - request_total: 621.6333333333333\n time: 1730660400\n - request_total: 530.9333333333333\n time: 1730662200\n - request_total: 685.3\n time: 1730664000\n - request_total: 616.3333333333334\n time: 1730665800\n - request_total: 580.3333333333334\n time: 1730667600\n - request_total: 568.5666666666667\n time: 1730669400\n - request_total: 619.3\n time: 1730671200\n - request_total: 636.2333333333333\n time: 1730673000\n - request_total: 630.4666666666667\n time: 1730674800\n - request_total: 621.4666666666667\n time: 1730676600\n - request_total: 587.5333333333333\n time: 1730678400\n - request_total: 542.8666666666667\n time: 1730680200\n - request_total: 579\n time: 1730682000\n - request_total: 563.5\n time: 1730683800\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.stat-with-mini-chart\n# label=\"请求数\"\n# value=\"563.5\"\n# size=\"small\"\n# x-field=\"time\"\n# y-field=\"request_total\"\n# line-color=\"#295DFF\"\n# id=\"brick-1\"\n# ></ai-portal.stat-with-mini-chart>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.data = [\n# {\n# request_total: 642.2,\n# time: 1730597995.403,\n# },\n# {\n# request_total: 621.3,\n# time: 1730599200,\n# },\n# {\n# request_total: 600.2,\n# time: 1730601000,\n# },\n# {\n# request_total: 601.9666666666667,\n# time: 1730602800,\n# },\n# {\n# request_total: 592.4,\n# time: 1730604600,\n# },\n# {\n# request_total: 567.8666666666667,\n# time: 1730606400,\n# },\n# {\n# request_total: 651.3333333333334,\n# time: 1730608200,\n# },\n# {\n# request_total: 571.9677419354839,\n# time: 1730610000,\n# },\n# {\n# request_total: 550.2,\n# time: 1730611800,\n# },\n# {\n# request_total: 556.5666666666667,\n# time: 1730613600,\n# },\n# {\n# request_total: 565.6333333333333,\n# time: 1730615400,\n# },\n# {\n# request_total: 586.5666666666667,\n# time: 1730617200,\n# },\n# {\n# request_total: 611.7,\n# time: 1730619000,\n# },\n# {\n# request_total: 540.0645161290323,\n# time: 1730620800,\n# },\n# {\n# request_total: 595.9333333333333,\n# time: 1730622600,\n# },\n# {\n# request_total: 560.0333333333333,\n# time: 1730624400,\n# },\n# {\n# request_total: 565.2333333333333,\n# time: 1730626200,\n# },\n# {\n# request_total: 609.5806451612904,\n# time: 1730628000,\n# },\n# {\n# request_total: 598.8,\n# time: 1730629800,\n# },\n# {\n# request_total: 594.5333333333333,\n# time: 1730631600,\n# },\n# {\n# request_total: 525.7,\n# time: 1730633400,\n# },\n# {\n# request_total: 602.3666666666667,\n# time: 1730635200,\n# },\n# {\n# request_total: 557.7333333333333,\n# time: 1730637000,\n# },\n# {\n# request_total: 595.8666666666667,\n# time: 1730638800,\n# },\n# {\n# request_total: 638.7,\n# time: 1730640600,\n# },\n# {\n# request_total: 635.8333333333334,\n# time: 1730642400,\n# },\n# {\n# request_total: 563.9,\n# time: 1730644200,\n# },\n# {\n# request_total: 606.4516129032259,\n# time: 1730646000,\n# },\n# {\n# request_total: 660.1,\n# time: 1730647800,\n# },\n# {\n# request_total: 606.2666666666667,\n# time: 1730649600,\n# },\n# {\n# request_total: 504.43333333333334,\n# time: 1730651400,\n# },\n# {\n# request_total: 651.7333333333333,\n# time: 1730653200,\n# },\n# {\n# request_total: 583.5,\n# time: 1730655000,\n# },\n# {\n# request_total: 566.2333333333333,\n# time: 1730656800,\n# },\n# {\n# request_total: 519.2333333333333,\n# time: 1730658600,\n# },\n# {\n# request_total: 621.6333333333333,\n# time: 1730660400,\n# },\n# {\n# request_total: 530.9333333333333,\n# time: 1730662200,\n# },\n# {\n# request_total: 685.3,\n# time: 1730664000,\n# },\n# {\n# request_total: 616.3333333333334,\n# time: 1730665800,\n# },\n# {\n# request_total: 580.3333333333334,\n# time: 1730667600,\n# },\n# {\n# request_total: 568.5666666666667,\n# time: 1730669400,\n# },\n# {\n# request_total: 619.3,\n# time: 1730671200,\n# },\n# {\n# request_total: 636.2333333333333,\n# time: 1730673000,\n# },\n# {\n# request_total: 630.4666666666667,\n# time: 1730674800,\n# },\n# {\n# request_total: 621.4666666666667,\n# time: 1730676600,\n# },\n# {\n# request_total: 587.5333333333333,\n# time: 1730678400,\n# },\n# {\n# request_total: 542.8666666666667,\n# time: 1730680200,\n# },\n# {\n# request_total: 579,\n# time: 1730682000,\n# },\n# {\n# request_total: 563.5,\n# time: 1730683800,\n# },\n# ];\n# </script>\n# \n```\n"
13
13
  },
14
- "ai-portal.home-container": {
15
- "doc": "构件 `ai-portal.home-container`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>Hello world</ai-portal.home-container>\n# \n```\n"
16
- },
17
14
  "ai-portal.elevo-logo": {
18
15
  "doc": "构件 `ai-portal.elevo-logo`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.elevo-logo\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.elevo-logo></ai-portal.elevo-logo>\n# \n```\n"
19
16
  },
17
+ "ai-portal.home-container": {
18
+ "doc": "构件 `ai-portal.home-container`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.home-container\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.home-container>Hello world</ai-portal.home-container>\n# \n```\n"
19
+ },
20
20
  "ai-portal.elevo-sidebar": {
21
21
  "doc": "构件 `ai-portal.elevo-sidebar`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.elevo-sidebar\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.elevo-sidebar></ai-portal.elevo-sidebar>\n# \n```\n"
22
22
  },
23
23
  "ai-portal.icon-button": {
24
24
  "doc": "构件 `ai-portal.icon-button`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.icon-button\nproperties:\n icon:\n lib: antd\n icon: download\n tooltip: Go to homepage\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.icon-button\n# tooltip=\"Go to homepage\"\n# id=\"brick-1\"\n# ></ai-portal.icon-button>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.icon = {\n# lib: \"antd\",\n# icon: \"download\",\n# };\n# </script>\n# \n```\n"
25
25
  },
26
- "ai-portal.show-cases": {
27
- "doc": "构件 `ai-portal.show-cases`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.show-cases\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.show-cases>Hello world</ai-portal.show-cases>\n# \n```\n"
28
- },
29
26
  "ai-portal.mcp-tools": {
30
27
  "doc": "构件 `ai-portal.mcp-tools`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.mcp-tools\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.mcp-tools>Hello world</ai-portal.mcp-tools>\n# \n```\n"
28
+ },
29
+ "ai-portal.show-cases": {
30
+ "doc": "构件 `ai-portal.show-cases`\n\n## Examples\n\n### Basic\n\n```yaml preview\nbrick: ai-portal.show-cases\nproperties:\n textContent: Hello world\n# -- YAML DELIMITER (1nbbm8) --\n# <ai-portal.show-cases>Hello world</ai-portal.show-cases>\n# \n```\n"
31
31
  }
32
32
  }
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e,t,r,a,n,o,l,i,c,s,d,u,f,h,m,p,b,v,g,x,y,P,w,k={51092:(e,t,r)=>{var a={"./chat-box":()=>Promise.all([r.e(1165),r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(9435),r.e(6573)]).then((()=>()=>r(67707))),"./cruise-canvas":()=>Promise.all([r.e(1165),r.e(4410),r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(7732),r.e(7372),r.e(9435),r.e(102),r.e(3081),r.e(8377),r.e(580),r.e(3362),r.e(2267)]).then((()=>()=>r(16185))),"./chat-history":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(1750)]).then((()=>()=>r(25704))),"./stat-with-mini-chart":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(7345)]).then((()=>()=>r(57687))),"./home-container":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(3172)]).then((()=>()=>r(67494))),"./elevo-logo":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(5064)]).then((()=>()=>r(76722))),"./elevo-sidebar":()=>Promise.all([r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(7372),r.e(7771)]).then((()=>()=>r(86833))),"./icon-button":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(1541)]).then((()=>()=>r(99011))),"./show-cases":()=>Promise.all([r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(3081),r.e(4332)]).then((()=>()=>r(32118))),"./mcp-tools":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(79),r.e(7087)]).then((()=>()=>r(72789)))},n=(e,t)=>(r.R=t,t=r.o(a,e)?a[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var a="default",n=r.S[a];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[a]=e,r.I(a,t)}};r.d(t,{get:()=>n,init:()=>o})}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=k,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+({1541:"icon-button",1750:"chat-history",2267:"cruise-canvas",3172:"home-container",4332:"show-cases",5064:"elevo-logo",6573:"chat-box",7087:"mcp-tools",7345:"stat-with-mini-chart",7771:"elevo-sidebar"}[e]||e)+"."+{114:"86e10cdd",721:"f43de0ef",726:"392de709",843:"9b7325c3",871:"4a339fab",879:"a469d051",1045:"0906fc23",1122:"95231c39",1165:"9f35625d",1370:"e6adbca3",1541:"62a7f33f",1750:"73bb371f",1889:"218ea7ea",1931:"2abee15e",1940:"afcdea49",2052:"ef23d12a",2260:"9564eb16",2267:"0f61fbbc",2277:"b026624f",2432:"352ae272",2508:"15c05669",2966:"30d4dbdb",3003:"a607b32b",3144:"4088b5d1",3171:"1b784ef4",3172:"a6b3f647",3208:"0796f5be",3331:"bb7b4c1c",3362:"90a6e017",3419:"28287d23",3744:"1c2c9ded",3816:"fc867cd4",3935:"3b6a2f5d",4041:"6b503155",4228:"fb9278c3",4281:"ddad94d5",4306:"27789c20",4332:"cac0e03e",4410:"14ec23d5",4474:"5fd3e9c8",4491:"539d30f8",4658:"18d5ee4d",4765:"0d4af568",4837:"5b90ffe2",5064:"c20b185a",5191:"ce5dfec4",5250:"5294dc23",5307:"28ab7643",5384:"564ae2e4",5399:"501fc322",5548:"498b312d",5552:"02ddc385",5727:"93a1388d",5807:"0b926b80",5936:"5bba7f2f",6023:"843ea4a1",6029:"6fe4c192",6161:"d7e3ea42",6519:"2e968600",6530:"dd7ab536",6573:"2fbc1947",6773:"afd27a30",7087:"1dea514a",7146:"9e1f38b0",7218:"893a0ad4",7302:"3117acc5",7345:"0c308dd8",7353:"02afd00b",7721:"c985db03",7733:"0615ed85",7771:"859a89ed",7842:"d5a94411",8231:"89b65f56",8348:"2fbb3b7e",8588:"0bce58e7",8633:"1b8bb39e",8755:"1525c38d",8936:"b9a73775",8989:"9db8c4fb",9034:"7ff08734",9140:"5bed5052",9263:"affcdb7b",9515:"468a8527",9559:"3db56cb0",9634:"71192f72",9831:"f659ce60",9844:"c3062a6b",9848:"ab8ad988"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/ai-portal:",S.l=(r,a,n,o)=>{if(e[r])e[r].push(a);else{var l,i;if(void 0!==n)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+n){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+n),l.src=r),e[r]=[a];var u=(t,a)=>{l.onerror=l.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(a))),t)return t(a)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,a)=>{a||(a=[]);var n=t[r];if(n||(n=t[r]={}),!(a.indexOf(n)>=0)){if(a.push(n),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/ai-portal",i=(e,t,r,a)=>{var n=o[e]=o[e]||{},i=n[t];(!i||!i.loaded&&(!a!=!i.eager?a:l>i.from))&&(n[t]={get:r,from:l,eager:!!a})},c=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(46773))))),i("@easyops-cn/brick-next-pipes","0.7.2",(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),i("@next-core/cook","2.5.9",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),i("@next-core/easyops-runtime","0.15.1",(()=>Promise.all([S.e(2966),S.e(1030),S.e(79),S.e(7732),S.e(9933),S.e(7372),S.e(1321),S.e(102),S.e(3081),S.e(1732),S.e(5310),S.e(9848)]).then((()=>()=>S(92966))))),i("@next-core/element","1.2.18",(()=>S.e(1045).then((()=>()=>S(21045))))),i("@next-core/http","1.2.13",(()=>S.e(8989).then((()=>()=>S(48989))))),i("@next-core/i18n","1.0.81",(()=>Promise.all([S.e(79),S.e(7732),S.e(671),S.e(5552)]).then((()=>()=>S(75552))))),i("@next-core/inject","1.0.57",(()=>Promise.all([S.e(1030),S.e(9933),S.e(2277)]).then((()=>()=>S(72277))))),i("@next-core/loader","1.6.16",(()=>S.e(5399).then((()=>()=>S(35399))))),i("@next-core/pipes","2.0.33",(()=>Promise.all([S.e(8377),S.e(6519)]).then((()=>()=>S(76519))))),i("@next-core/react-element","1.0.37",(()=>Promise.all([S.e(8769),S.e(7921),S.e(9435),S.e(114)]).then((()=>()=>S(20114))))),i("@next-core/react-runtime","1.7.22",(()=>Promise.all([S.e(8769),S.e(1030),S.e(1280),S.e(3081),S.e(4837)]).then((()=>()=>S(64837))))),i("@next-core/runtime","1.65.0",(()=>Promise.all([S.e(9140),S.e(1030),S.e(79),S.e(1302),S.e(7732),S.e(7372),S.e(1321),S.e(102),S.e(1732),S.e(9718)]).then((()=>()=>S(19140))))),i("@next-core/supply","2.3.6",(()=>Promise.all([S.e(1030),S.e(1302),S.e(9933),S.e(9559)]).then((()=>()=>S(49559))))),i("@next-core/theme","1.6.0",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(51889))))),i("@next-core/utils/general","1.8.2",(()=>S.e(871).then((()=>()=>S(40871))))),i("@next-core/utils/storyboard","1.8.2",(()=>Promise.all([S.e(1030),S.e(7732),S.e(1321),S.e(7146)]).then((()=>()=>S(97146))))),i("history","4.10.1",(()=>S.e(3003).then((()=>()=>S(65384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(50726))))),i("i18next","22.5.1",(()=>S.e(843).then((()=>()=>S(20843))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(19515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(45250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(43144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(14041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=r[1]?t(r[1]):[];return r[2]&&(a.length++,a.push.apply(a,t(r[2]))),r[3]&&(a.push([]),a.push.apply(a,t(r[3]))),a},a=(e,t)=>{e=r(e),t=r(t);for(var a=0;;){if(a>=e.length)return a<t.length&&"u"!=(typeof t[a])[0];var n=e[a],o=(typeof n)[0];if(a>=t.length)return"u"==o;var l=t[a],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&n!=l)return n<l;a++}},n=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,r+="u"==(typeof(i=e[o]))[0]?"-":(a>0?".":"")+(a=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():n(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var a=e[0],n=a<0;n&&(a=-a-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==u?i>a&&!n:""==u!=n);if("u"==d){if(!c||"u"!=u)return!1}else if(c)if(u==d)if(i<=a){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=u&&"n"!=u){if(n||i<=a)return!1;c=!1,i--}else{if(i<=a||d<u!=n)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var m=e[l];f.push(1==m?h()|h():2==m?h()&h():m?o(m,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,n)=>{var l=n?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!a(e,t)?e:t),0))&&l[t]},d=(e,t,r)=>{var n=r?c(e[t]):e[t];return Object.keys(n).reduce(((e,t)=>!e||!n[e].loaded&&a(e,t)?t:e),0)},u=(e,t,r,a)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+n(a)+")",f=(e,t,r,a,o)=>{var l=e[r];return"No satisfying version ("+n(a)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(p=e=>function(t,r,a,n,o){var l=S.I(t);return l&&l.then&&!a?l.then(e.bind(e,t,S.S[t],r,!1,n,o)):e(t,S.S[t],r,a,n,o)})(((e,t,r,a,n,o)=>{if(!l(t,r))return b(e,r,o);var c=s(t,r,n,a);return c?i(c):o?o():void h(f(t,e,r,n,a))})),g=p(((e,t,r,a,n,c)=>{if(!l(t,r))return b(e,r,c);var s=d(t,r,a);return o(n,s)||m(u(t,r,s,n)),i(t[r][s])})),x={},y={41030:()=>g("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(45250))))),21302:()=>g("default","moment",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),55310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(19515))))),40580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(46773))))),90079:()=>g("default","@next-core/i18n",!1,[1,1,0,81],(()=>Promise.all([S.e(7732),S.e(671),S.e(3171)]).then((()=>()=>S(75552))))),37732:()=>g("default","@next-core/utils/general",!1,[1,1,8,2],(()=>S.e(871).then((()=>()=>S(40871))))),59933:()=>g("default","@next-core/pipes",!1,[0],(()=>Promise.all([S.e(8377),S.e(6519)]).then((()=>()=>S(76519))))),57372:()=>g("default","@next-core/http",!1,[1,1,2,13],(()=>S.e(1370).then((()=>()=>S(48989))))),71321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),10102:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,2],(()=>Promise.all([S.e(1321),S.e(4765)]).then((()=>()=>S(97146))))),23081:()=>g("default","@next-core/runtime",!1,[1,1,65,0],(()=>Promise.all([S.e(9140),S.e(79),S.e(1302),S.e(7732),S.e(7372),S.e(1321),S.e(102),S.e(1732),S.e(9718)]).then((()=>()=>S(19140))))),11732:()=>g("default","history",!1,[0],(()=>S.e(3003).then((()=>()=>S(65384))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(50726))))),75630:()=>g("default","i18next",!1,[0],(()=>S.e(843).then((()=>()=>S(20843))))),58377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),18769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(14041))))),7921:()=>v("default","@next-core/element",!1,[1,1,2,18],(()=>S.e(1045).then((()=>()=>S(21045))))),59435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(43144))))),11280:()=>v("default","@next-core/react-element",!1,[1,1,0,37],(()=>Promise.all([S.e(7921),S.e(9435),S.e(7733)]).then((()=>()=>S(20114))))),26036:()=>g("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),29283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(72277))))),45599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(35399))))),94167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(49559))))),65168:()=>g("default","@next-core/theme",!1,[1,1,6,0],(()=>S.e(1889).then((()=>()=>S(51889))))),4273:()=>v("default","@next-core/react-runtime",!1,[1,1,7,22],(()=>S.e(7218).then((()=>()=>S(64837))))),29384:()=>g("default","@next-core/easyops-runtime",!1,[2,0,15,1],(()=>Promise.all([S.e(2966),S.e(9933),S.e(1321),S.e(1732),S.e(5310)]).then((()=>()=>S(92966)))))},P={79:[90079],102:[10102],580:[40580],671:[848,75630],1030:[41030],1280:[11280],1302:[21302],1321:[71321],1732:[11732],3081:[23081],3362:[4273,29384],5168:[65168],5310:[55310],7372:[57372],7732:[37732],7921:[7921],8377:[58377],8769:[18769],9435:[59435],9718:[26036,29283,45599,94167],9933:[59933]},w={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!w[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var a=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var n=y[e]();n.then?t.push(x[e]=n.then(r).catch(a)):r(n)}catch(e){a(e)}}}))},(()=>{S.b=document.baseURI||self.location.href;var e={2641:0};S.f.j=(t,r)=>{var a=S.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(1((0|30|73)2|030|280|321)|5(168|310|80)|7(372|732|9|921)|9(435|718|933)|3081|671|8377|8769)$/.test(t))e[t]=0;else{var n=new Promise(((r,n)=>a=e[t]=[r,n]));r.push(a[2]=n);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+o+")",l.name="ChunkLoadError",l.type=n,l.request=o,a[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var a,n,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(a in l)S.o(l,a)&&(S.m[a]=l[a]);i&&i(S)}for(t&&t(r);c<o.length;c++)n=o[c],S.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0;var E=S(51092);window["bricks/ai-portal"]=E})();
2
- //# sourceMappingURL=index.975dc931.js.map
1
+ (()=>{"use strict";var e,t,r,a,n,o,l,i,c,s,d,u,f,h,m,p,b,v,g,x,y,P,w,k={57240:(e,t,r)=>{var a={"./chat-box":()=>Promise.all([r.e(1165),r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(9435),r.e(6573)]).then((()=>()=>r(67707))),"./chat-history":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(1750)]).then((()=>()=>r(25704))),"./cruise-canvas":()=>Promise.all([r.e(1165),r.e(4410),r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(7732),r.e(7372),r.e(9435),r.e(102),r.e(3081),r.e(8377),r.e(580),r.e(3362),r.e(2267)]).then((()=>()=>r(16185))),"./stat-with-mini-chart":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(7345)]).then((()=>()=>r(57687))),"./elevo-logo":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(5064)]).then((()=>()=>r(76722))),"./home-container":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(3172)]).then((()=>()=>r(67494))),"./elevo-sidebar":()=>Promise.all([r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(1302),r.e(7372),r.e(7771)]).then((()=>()=>r(86833))),"./icon-button":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(1541)]).then((()=>()=>r(99011))),"./mcp-tools":()=>Promise.all([r.e(8769),r.e(7921),r.e(1280),r.e(5168),r.e(79),r.e(7087)]).then((()=>()=>r(72789))),"./show-cases":()=>Promise.all([r.e(8769),r.e(7921),r.e(1030),r.e(1280),r.e(5168),r.e(79),r.e(3081),r.e(4332)]).then((()=>()=>r(32118)))},n=(e,t)=>(r.R=t,t=r.o(a,e)?a[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var a="default",n=r.S[a];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[a]=e,r.I(a,t)}};r.d(t,{get:()=>n,init:()=>o})}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=k,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+({1541:"icon-button",1750:"chat-history",2267:"cruise-canvas",3172:"home-container",4332:"show-cases",5064:"elevo-logo",6573:"chat-box",7087:"mcp-tools",7345:"stat-with-mini-chart",7771:"elevo-sidebar"}[e]||e)+"."+{114:"86e10cdd",721:"f43de0ef",726:"392de709",843:"9b7325c3",871:"4a339fab",879:"a469d051",1045:"0906fc23",1122:"95231c39",1165:"9f35625d",1370:"e6adbca3",1541:"62a7f33f",1750:"73bb371f",1889:"218ea7ea",1931:"2abee15e",1940:"afcdea49",2052:"ef23d12a",2260:"9564eb16",2267:"0f61fbbc",2277:"b026624f",2432:"352ae272",2508:"15c05669",2966:"30d4dbdb",3003:"a607b32b",3144:"4088b5d1",3171:"1b784ef4",3172:"a6b3f647",3208:"0796f5be",3331:"bb7b4c1c",3362:"6c6c0c0c",3419:"28287d23",3744:"1c2c9ded",3816:"fc867cd4",3935:"3b6a2f5d",4041:"6b503155",4228:"fb9278c3",4281:"ddad94d5",4306:"27789c20",4332:"cac0e03e",4410:"14ec23d5",4474:"5fd3e9c8",4491:"539d30f8",4658:"18d5ee4d",4765:"0d4af568",4837:"5b90ffe2",5064:"c20b185a",5191:"ce5dfec4",5250:"5294dc23",5307:"28ab7643",5384:"564ae2e4",5399:"501fc322",5548:"498b312d",5552:"02ddc385",5727:"93a1388d",5807:"0b926b80",5936:"5bba7f2f",6023:"843ea4a1",6029:"6fe4c192",6161:"d7e3ea42",6519:"2e968600",6530:"dd7ab536",6573:"2fbc1947",6773:"afd27a30",7087:"1dea514a",7146:"9e1f38b0",7218:"893a0ad4",7302:"3117acc5",7345:"0c308dd8",7353:"02afd00b",7721:"c985db03",7733:"0615ed85",7771:"566893c2",7842:"d5a94411",8231:"89b65f56",8348:"2fbb3b7e",8588:"0bce58e7",8633:"1b8bb39e",8755:"1525c38d",8936:"b9a73775",8989:"9db8c4fb",9034:"7ff08734",9140:"5bed5052",9263:"affcdb7b",9515:"468a8527",9559:"3db56cb0",9634:"71192f72",9831:"f659ce60",9844:"c3062a6b",9848:"ab8ad988"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/ai-portal:",S.l=(r,a,n,o)=>{if(e[r])e[r].push(a);else{var l,i;if(void 0!==n)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var d=c[s];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+n){l=d;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+n),l.src=r),e[r]=[a];var u=(t,a)=>{l.onerror=l.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(a))),t)return t(a)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,a)=>{a||(a=[]);var n=t[r];if(n||(n=t[r]={}),!(a.indexOf(n)>=0)){if(a.push(n),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/ai-portal",i=(e,t,r,a)=>{var n=o[e]=o[e]||{},i=n[t];(!i||!i.loaded&&(!a!=!i.eager?a:l>i.from))&&(n[t]={get:r,from:l,eager:!!a})},c=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(46773))))),i("@easyops-cn/brick-next-pipes","0.7.2",(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),i("@next-core/cook","2.5.9",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),i("@next-core/easyops-runtime","0.15.1",(()=>Promise.all([S.e(2966),S.e(1030),S.e(79),S.e(7732),S.e(9933),S.e(7372),S.e(1321),S.e(102),S.e(3081),S.e(1732),S.e(5310),S.e(9848)]).then((()=>()=>S(92966))))),i("@next-core/element","1.2.18",(()=>S.e(1045).then((()=>()=>S(21045))))),i("@next-core/http","1.2.13",(()=>S.e(8989).then((()=>()=>S(48989))))),i("@next-core/i18n","1.0.81",(()=>Promise.all([S.e(79),S.e(7732),S.e(671),S.e(5552)]).then((()=>()=>S(75552))))),i("@next-core/inject","1.0.57",(()=>Promise.all([S.e(1030),S.e(9933),S.e(2277)]).then((()=>()=>S(72277))))),i("@next-core/loader","1.6.16",(()=>S.e(5399).then((()=>()=>S(35399))))),i("@next-core/pipes","2.0.33",(()=>Promise.all([S.e(8377),S.e(6519)]).then((()=>()=>S(76519))))),i("@next-core/react-element","1.0.37",(()=>Promise.all([S.e(8769),S.e(7921),S.e(9435),S.e(114)]).then((()=>()=>S(20114))))),i("@next-core/react-runtime","1.7.22",(()=>Promise.all([S.e(8769),S.e(1030),S.e(1280),S.e(3081),S.e(4837)]).then((()=>()=>S(64837))))),i("@next-core/runtime","1.65.0",(()=>Promise.all([S.e(9140),S.e(1030),S.e(79),S.e(1302),S.e(7732),S.e(7372),S.e(1321),S.e(102),S.e(1732),S.e(9718)]).then((()=>()=>S(19140))))),i("@next-core/supply","2.3.6",(()=>Promise.all([S.e(1030),S.e(1302),S.e(9933),S.e(9559)]).then((()=>()=>S(49559))))),i("@next-core/theme","1.6.0",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(51889))))),i("@next-core/utils/general","1.8.2",(()=>S.e(871).then((()=>()=>S(40871))))),i("@next-core/utils/storyboard","1.8.2",(()=>Promise.all([S.e(1030),S.e(7732),S.e(1321),S.e(7146)]).then((()=>()=>S(97146))))),i("history","4.10.1",(()=>S.e(3003).then((()=>()=>S(65384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(50726))))),i("i18next","22.5.1",(()=>S.e(843).then((()=>()=>S(20843))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(19515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(45250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(43144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(14041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=r[1]?t(r[1]):[];return r[2]&&(a.length++,a.push.apply(a,t(r[2]))),r[3]&&(a.push([]),a.push.apply(a,t(r[3]))),a},a=(e,t)=>{e=r(e),t=r(t);for(var a=0;;){if(a>=e.length)return a<t.length&&"u"!=(typeof t[a])[0];var n=e[a],o=(typeof n)[0];if(a>=t.length)return"u"==o;var l=t[a],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&n!=l)return n<l;a++}},n=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,r+="u"==(typeof(i=e[o]))[0]?"-":(a>0?".":"")+(a=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():n(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var a=e[0],n=a<0;n&&(a=-a-1);for(var l=0,i=1,c=!0;;i++,l++){var s,d,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(d=(typeof(s=t[l]))[0]))return!c||("u"==u?i>a&&!n:""==u!=n);if("u"==d){if(!c||"u"!=u)return!1}else if(c)if(u==d)if(i<=a){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=u&&"n"!=u){if(n||i<=a)return!1;c=!1,i--}else{if(i<=a||d<u!=n)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var m=e[l];f.push(1==m?h()|h():2==m?h()&h():m?o(m,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,n)=>{var l=n?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!a(e,t)?e:t),0))&&l[t]},d=(e,t,r)=>{var n=r?c(e[t]):e[t];return Object.keys(n).reduce(((e,t)=>!e||!n[e].loaded&&a(e,t)?t:e),0)},u=(e,t,r,a)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+n(a)+")",f=(e,t,r,a,o)=>{var l=e[r];return"No satisfying version ("+n(a)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(p=e=>function(t,r,a,n,o){var l=S.I(t);return l&&l.then&&!a?l.then(e.bind(e,t,S.S[t],r,!1,n,o)):e(t,S.S[t],r,a,n,o)})(((e,t,r,a,n,o)=>{if(!l(t,r))return b(e,r,o);var c=s(t,r,n,a);return c?i(c):o?o():void h(f(t,e,r,n,a))})),g=p(((e,t,r,a,n,c)=>{if(!l(t,r))return b(e,r,c);var s=d(t,r,a);return o(n,s)||m(u(t,r,s,n)),i(t[r][s])})),x={},y={41030:()=>g("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(45250))))),21302:()=>g("default","moment",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(99420))))),55310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(19515))))),40580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(46773))))),90079:()=>g("default","@next-core/i18n",!1,[1,1,0,81],(()=>Promise.all([S.e(7732),S.e(671),S.e(3171)]).then((()=>()=>S(75552))))),37732:()=>g("default","@next-core/utils/general",!1,[1,1,8,2],(()=>S.e(871).then((()=>()=>S(40871))))),59933:()=>g("default","@next-core/pipes",!1,[0],(()=>Promise.all([S.e(8377),S.e(6519)]).then((()=>()=>S(76519))))),57372:()=>g("default","@next-core/http",!1,[1,1,2,13],(()=>S.e(1370).then((()=>()=>S(48989))))),71321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(61122))))),10102:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,2],(()=>Promise.all([S.e(1321),S.e(4765)]).then((()=>()=>S(97146))))),23081:()=>g("default","@next-core/runtime",!1,[1,1,65,0],(()=>Promise.all([S.e(9140),S.e(79),S.e(1302),S.e(7732),S.e(7372),S.e(1321),S.e(102),S.e(1732),S.e(9718)]).then((()=>()=>S(19140))))),11732:()=>g("default","history",!1,[0],(()=>S.e(3003).then((()=>()=>S(65384))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(50726))))),75630:()=>g("default","i18next",!1,[0],(()=>S.e(843).then((()=>()=>S(20843))))),58377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(1030),S.e(1302),S.e(5310)]).then((()=>()=>S(34306))))),18769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(14041))))),7921:()=>v("default","@next-core/element",!1,[1,1,2,18],(()=>S.e(1045).then((()=>()=>S(21045))))),59435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(43144))))),11280:()=>v("default","@next-core/react-element",!1,[1,1,0,37],(()=>Promise.all([S.e(7921),S.e(9435),S.e(7733)]).then((()=>()=>S(20114))))),26036:()=>g("default","moment/locale/zh-cn.js",!1,[1,2,30,1],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(61329))))),29283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(72277))))),45599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(35399))))),94167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(49559))))),65168:()=>g("default","@next-core/theme",!1,[1,1,6,0],(()=>S.e(1889).then((()=>()=>S(51889))))),4273:()=>v("default","@next-core/react-runtime",!1,[1,1,7,22],(()=>S.e(7218).then((()=>()=>S(64837))))),29384:()=>g("default","@next-core/easyops-runtime",!1,[2,0,15,1],(()=>Promise.all([S.e(2966),S.e(9933),S.e(1321),S.e(1732),S.e(5310)]).then((()=>()=>S(92966)))))},P={79:[90079],102:[10102],580:[40580],671:[848,75630],1030:[41030],1280:[11280],1302:[21302],1321:[71321],1732:[11732],3081:[23081],3362:[4273,29384],5168:[65168],5310:[55310],7372:[57372],7732:[37732],7921:[7921],8377:[58377],8769:[18769],9435:[59435],9718:[26036,29283,45599,94167],9933:[59933]},w={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!w[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var a=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var n=y[e]();n.then?t.push(x[e]=n.then(r).catch(a)):r(n)}catch(e){a(e)}}}))},(()=>{S.b=document.baseURI||self.location.href;var e={2641:0};S.f.j=(t,r)=>{var a=S.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(1((0|30|73)2|030|280|321)|5(168|310|80)|7(372|732|9|921)|9(435|718|933)|3081|671|8377|8769)$/.test(t))e[t]=0;else{var n=new Promise(((r,n)=>a=e[t]=[r,n]));r.push(a[2]=n);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+o+")",l.name="ChunkLoadError",l.type=n,l.request=o,a[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var a,n,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(a in l)S.o(l,a)&&(S.m[a]=l[a]);i&&i(S)}for(t&&t(r);c<o.length;c++)n=o[c],S.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0;var E=S(57240);window["bricks/ai-portal"]=E})();
2
+ //# sourceMappingURL=index.0a56f8fb.js.map