diff --git "a/.output/public/assets/_plugin-vue_export-helper-Cd8NMA_g.js" "b/.output/public/assets/_plugin-vue_export-helper-Cd8NMA_g.js"
new file mode 100644--- /dev/null
+++ "b/.output/public/assets/_plugin-vue_export-helper-Cd8NMA_g.js"
@@ -0,0 +1,33 @@
+var e=Object.defineProperty,t=(t,a,o)=>((t,a,o)=>a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o)(t,"symbol"!=typeof a?a+"":a,o);import{d as a,c as o}from"./pinia-C7G8hpVd.js";import{c as i}from"./pinia-plugin-persistedstate-DyrI1rJI.js";import{f as n,v as s,A as l,y as r,ag as c,P as p,l as d,K as h}from"./@vue-DrGkbxkU.js";import{b as m}from"./tvision-color-YYaNBBLy.js";import{m as u,d as f}from"./lodash-VDnThKtA.js";import{E as g}from"./eventsource-parser-BEY8Dpg-.js";import{k as w,z as _}from"./tdesign-vue-next-2RIRnCqA.js";import{a as y,u as v}from"./@vueuse-FQfBVMrt.js";import{c as A}from"./vue-i18n-CzQ2NKaR.js";import{r as k}from"./@mozilla-BD532_dh.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const a of e)if("childList"===a.type)for(const e of a.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const B={lang:"English",layout:{header:{code:"Code Repository",help:"Document",start:"Dialog",setting:"Setting"},sideNav:{tabConversation:"Conversation",tabFavorite:"Favorites",confirmDelete:"Are you sure you want to delete?",deleteSuccessMsg:"Deleted successfully",deleteAction:"Delete",pinnedAction:"Pin",unpinnedAction:"Unpin",conversationDeleteDialogTitle:"Delete Conversation",conversationDeleteDialogMsg:"Are you sure you want to delete {name}?"}},pages:{note:{detail:"Details",delete:"Delete",tableTitleName:"Title",tableOperation:"Operation",deleteMsgSuccess:"Deletion successful",notePlaceholder:"Enter your note",noteEmptyError:"Note cannot be empty",noteCopySuccess:"Copy successful",noteDeleteConfirm:"Confirm to delete this round of records?",noteRenameTooltip:"Rename",noteCopyTooltip:"Copy",noteDeleteTooltip:"Delete"},setting:{theme:{mode:"Theme Mode",color:"Theme Color",options:{light:"Light",dark:"Dark ",auto:"Follow System"}},element:{showHeader:"Show Header",showNav:"Show Navigation",showBreadcrumb:"Show Breadcrumb",showFooter:"Show Footer"},tips:"Please copy and manually modify the configuration file: /src/config/style.ts",copy:{title:"Copy",success:"copied",fail:"fail to copy"},user:{basic_settings:"Basic Settings",username:"Username",enter_username:"Enter Username",language:"Language",shortcut:"Shortcut",enter_shortcut:"Enter Shortcut",assist_model:"Assist Model",assist_model_tips:"Do not select a model that requires setting the agent id",open_at_login:"Open at Login",minimize_to_bottom_right:"Minimize to Bottom Right",toolbar_settings:"Toolbar Settings",confirm_delete:"Confirm Delete?",import_config:"Import Config",import_local_config:"Import Local Config",import_remote_config:"Import Remote Config",import_success:"Import Successful",import_failed:"Import Failed",theme_settings:"Theme Settings"},model:{add_model:"Create Model",editor_model:"Editor Model",confirm_delete_selected_model:"Confirm Delete Selected Model?",confirm_delete_model:"Are you sure you want to delete {modelName}?",delete_success:"Delete Successful",login_and_close:"Login and close",login_to_get_token:"Login to get Token",model_name:"Name",enter_model_name:"Enter Model Name",model_description:"Description",model_interface:"Interface",login_and_wait:"Login and wait patiently",click_to_enter_auth_code:"Click to enter authorization code, then wait patiently",get_auth_code:"Code",getTokenButtonText:"Get",model_address:"API Base",model_key:"API Key",model:"Model",model_prompt:"Prompt",prompt_tips:"This prompt will be appended to each user message sent",cancel:"Cancel",confirm:"Confirm",submit_success:"Submit Successful",update_success:"Update Successful",get_token_failed:"Failed to get token",get_auth_code_failed:"Failed to get authorization code",get_auth_code_success:"Authorization Success",model_provider_not_exist:"Model provider does not exist, it is recommended to delete it!"},agent:{add_agent:"Create Agent",editor_agent:"Editor Agent",confirm_delete_selected_agent:"Confirm Delete Selected Agent?",confirm_delete_agent:"Are you sure you want to delete {agentName}?",delete_success:"Delete Successful",agent_name:"Agent Name",enter_agent_name:"Enter Agent Name",agent_description:"Agent Description",enter_agent_description:"Enter Agent Description",cancel:"Cancel",confirm:"Confirm",submit_success:"Submit Successful",update_success:"Update Successful"}},conversation:{switchAgent:"Switch Agent",modelTips:"Select models, you can choose 1-{max_model_num} models to start a conversation",emptyModelTips:"No models available, please create a model first",createModel:"Create Model",noSelectModelMsg:"Please select at least one model",edit_current_conversation:"Edit Current Conversation",confirm_delete_all_chat_records:"Are you sure you want to delete all model chat records?",delete_all_chat_records:"Delete All Model Chat Records",confirm_clear_all_context:"Are you sure you want to clear all model context?",clear_all_context:"Clear All Model Context",inherit_model_dialog:"Inherit Model Dialog",api_conversation_settings:"API Conversation Settings",api_agent:"API Agent",api_conversation_id:"API Conversation ID",remarks:"Remarks",question_cannot_be_empty:"Question cannot be empty",please_start_question_again:"Please start the question again",context_cleared:"Context cleared",context_cleared_success:"Context Cleared Successfully",copy_api:"Copy Local API",maximize_minimize:"Maximize/Minimize",stop_answering:"Stop Answering",regenerate_last_conversation:"Regenerate Last Conversation",confirm_delete_chat_history:"Are you sure you want to delete the chat history?",delete_chat_history:"Delete Chat History",confirm_clear_context:"Are you sure you want to clear the context?",clear_context:"Clear Context",inherit_other_model_conversation:"Inherit Other Model Conversation",favorite_failed:"Favorite Failed",favorite_success:"Favorite Successful",extract_core_conversation:"Extract the core of the conversation to form a note title. The format of the answer is: ###This is a concise title###\r\n=====question======\r\n{question}\r\n=====answer======\r\n{answer}",button_tooltip_favourite:"Favourite",button_tooltip_delete:"Delete",button_tooltip_like:"Like",button_tooltip_copy:"Copy",button_tooltip_refresh:"Refresh",dialog_confirm_delete_record:"Confirm to delete this round of record?",current_conversation:"Current Conversation",agent:"Agent",conversation_name:"Conversation Name",conversation_description:"Description",rollback_from_agent:"Rollback from Agent",model:"Model",randomness:"Randomness",context_rounds:"Context Rounds",save_to_agent:"Save to Agent",save_conversation:"Save",save_as_new_agent:"Save as New Agent",create_new_agent:"Create New Agent",agent_name:"Agent Name",save_conversation_success:"Save Successful",enter_agent_name:"Please Enter Agent Name",create_agent_success:"Create Successful",toggle_artifacts:"Toggle Artifacts"}},components:{isSetup:{on:"Enabled",off:"Disabled"},manage:"Manage",delete:"Delete",chatInput:{placeholder:"Please enter your question...",send:"Send"},toolBar:{dialog:"Chat",copy:"Copy",copySuccessMsg:"Copied to clipboard",handing:"Processing...",noAssistModel:"No assist model set",faviorite:"Faviorite"}},componentsLocale:u({},w,{})},M=Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}),x={lang:"简体中文",layout:{header:{code:"代码仓库",help:"帮助文档",start:"添加对话",setting:"应用设置"},sideNav:{tabConversation:"对话",tabFavorite:"笔记",confirmDelete:"确认删除吗?",deleteSuccessMsg:"删除成功",deleteAction:"删除",pinnedAction:"置顶",unpinnedAction:"取消置顶",conversationDeleteDialogTitle:"删除会话",conversationDeleteDialogMsg:"确认删除 {name} 吗?"}},pages:{note:{detail:"详情",delete:"删除",tableTitleName:"标题",tableOperation:"操作",deleteMsgSuccess:"删除成功",noteCopySuccess:"复制成功",notePlaceholder:"输入你的笔记,@+模型名 可以进行对话,@ai使用辅助模型",noteEmptyError:"笔记不能为空",noteDeleteConfirm:"确认删除该轮记录吗?",noteRenameTooltip:"重命名",noteCopyTooltip:"复制",noteDeleteTooltip:"删除"},setting:{theme:{mode:"主题模式",color:"主题色",options:{light:"明亮",dark:"暗黑",auto:"跟随系统"}},element:{showHeader:"显示顶栏",showNav:"显示顶栏菜单",showBreadcrumb:"显示面包屑",showFooter:"显示页脚"},tips:"请复制后手动修改配置文件: /src/config/style.ts",copy:{title:"复制配置项",success:"复制成功",fail:"复制失败"},user:{basic_settings:"基础设置",username:"用户名",enter_username:"请输入用户名",language:"语言",shortcut:"快捷键",enter_shortcut:"请输入快捷键",assist_model:"辅助模型",assist_model_tips:"辅助模型,工具条和搜索框的模型",open_at_login:"开机启动",remoteHost:"远程服务器",minimize_to_bottom_right:"关闭最小化到右下角",toolbar_settings:"工具条设置",confirm_delete:"确认删除吗?",import_config:"导入配置",import_local_config:"导入本地配置",import_remote_config:"导入文件(缓存)",import_success:"导入成功",import_failed:"导入失败",theme_settings:"主题设置",export_local_config:"导出本地配置",write_config_to_host:"将配置写入缓存",write_config_success:"保存成功",write_config_failed:"保存失败",server_pwd:"服务器密钥"},model:{add_model:"新建模型",editor_model:"编辑模型",confirm_delete_selected_model:"确认删除所选模型?",confirm_delete_model:"确认删除{modelName}吗?",delete_success:"删除模型成功",login_and_close:"登录后,关闭即可",login_to_get_token:"登录获取Token",model_name:"模型名称",enter_model_name:"请输入模型名称",model_description:"模型简介",model_interface:"模型接口",login_and_wait:"登录后耐心等���",click_to_enter_auth_code:"点击输入授权码,然后耐心等待",get_auth_code:"获取授权码",model_address:"模型地址",model_key:"模型密钥",model:"模型",getTokenButtonText:"获取",cleanTokenButtonText:"清除",model_prompt:"模型PROMPT",prompt_tips:"该prompt会附加到每次发送的用户消息上",cancel:"取消",confirm:"确定",submit_success:"提交成功",update_success:"修改成功",get_token_failed:"获取token失败",get_auth_code_failed:"获取认证码失败",get_auth_code_success:"获取认证码成功",model_provider_not_exist:"模型提供器不存在,建议删除!"},agent:{add_agent:"新建智能体",editor_agent:"编辑智能体",confirm_delete_selected_agent:"确认删除所选智能体吗?",confirm_delete_agent:"确认删除{agentName}吗?",delete_success:"删除成功",agent_name:"角色名称",enter_agent_name:"请输入智能体名称",agent_description:"设定描述",enter_agent_description:"请输入智能体内容",cancel:"取消",confirm:"确定",submit_success:"提交成功",update_success:"修改成功"}},conversation:{switchAgent:"更换智能体",modelTips:"选择模型,可选择1-{max_model_num}个模型开始对话",emptyModelTips:"暂无模型,请先创建模型",createModel:"创建模型",noSelectModelMsg:"请至少选择一个模型",edit_current_conversation:"编辑当前会话",confirm_delete_all_chat_records:"确认删除所有模型聊天记录吗?",delete_all_chat_records:"删除所有模型聊天记录",confirm_clear_all_context:"确认清除所有模型上下文吗?",clear_all_context:"清除所有模型上下文",inherit_model_dialog:"继承模型对话",api_conversation_settings:"API会话设置",api_agent:"API的智能体",api_conversation_id:"API的会话ID",api_conversation_id_random:"生成",remarks:"备注",question_cannot_be_empty:"问题不能为空",please_start_question_again:"请重新开始提问",context_cleared:"上下文已清除",context_cleared_success:"上下文已清除",copy_api:"复制LocalAPI",maximize_minimize:"放大缩小",stop_answering:"停止回答",internet_search:"联网搜索",regenerate_last_conversation:"重新生成最后一次对话",confirm_delete_chat_history:"确认删除聊天记录吗?",delete_chat_history:"删除聊天记录",confirm_clear_context:"确认清除上下文吗?",clear_context:"清除上下文",inherit_other_model_conversation:"继承其他大模型对话",favorite_failed:"收藏失败",favorite_success:"收藏成功",extract_core_conversation:"提炼对话核心,形成笔记标题.回答的格式为: ###这是一个精简后的标题### \r\n=====用户的问题======\r\n{question}\r\n=====问题的答案======\r\n{answer}",button_tooltip_favourite:"收藏",button_tooltip_delete:"删除",button_tooltip_like:"点赞",button_tooltip_copy:"复制",button_tooltip_refresh:"重新生成",button_tooltip_editor:"编辑",dialog_confirm_delete_record:"确认删除该轮记录吗?",current_conversation:"当前会话",agent:"智能体",conversation_name:"会话名称",conversation_description:"设定描述",rollback_from_agent:"从智能体恢复",model:"模型",temperature:"随机性",stream:"stream",maxTokens:"响应长度",topP:"topP",context_rounds:"携带上下文轮数",save_to_agent:"同时保存到智能体",save_conversation:"保存",save_as_new_agent:"保存为新的智能体",create_new_agent:"新建智能体",agent_name:"智能体名称",save_conversation_success:"保存成功",enter_agent_name:"请输入智能体名称",create_agent_success:"创建成功",toggle_artifacts:"显示制品"}},components:{isSetup:{on:"已启用",off:"已停用"},manage:"管理",delete:"删除",chatInput:{placeholder:"请输入你想问的问题...",send:"发送"},toolBar:{dialog:"对话",copy:"复制",copySuccessMsg:"已复制到剪贴板",handing:"处理中...",noAssistModel:"未设置辅助模型",faviorite:"收藏"}},componentsLocale:_},b=Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"}),C=Object.assign({"./lang/en_US/index.ts":M,"./lang/zh_CN/index.ts":b}),D=new Map,F=[],K="tdesign-starter-locale",E=y(),S=()=>{Object.keys(C).forEach((e=>{const t=e.replace("./lang",""),a=t.lastIndexOf("/"),o=t.substring(1,a);F.push(o),D.set(o,C[e])}))},z=n((()=>{S();const e={};return D.forEach(((t,a)=>{e[a]=t.default})),e})),U=A({legacy:!1,locale:v(K,"zh_CN").value||E.value[0]||"zh_CN",fallbackLocale:"zh_CN",messages:z.value,globalInjection:!0}),q=n((()=>{0===D.size&&S();const e=[];return D.forEach(((t,a)=>{e.push({content:t.default.lang,value:a})})),e})),{t:L}=U.global,I={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const P={render:function(e,t){return r(),s("svg",I,t[0]||(t[0]=[l("path",{d:"M21.55 10.004a5.42 5.42 0 0 0-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.6 5.6 0 0 0 10.831 1C8.39.995 6.224 2.546 5.473 4.838A5.55 5.55 0 0 0 1.76 7.496a5.49 5.49 0 0 0 .691 6.5 5.42 5.42 0 0 0 .477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.59 5.59 0 0 0 13.168 23c2.443.006 4.61-1.546 5.361-3.84a5.55 5.55 0 0 0 3.715-2.66 5.49 5.49 0 0 0-.693-6.497zm-8.381 11.558a4.2 4.2 0 0 1-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 0 0 .364-.623v-6.176l1.877 1.069q.03.017.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123M4.192 17.78a4.06 4.06 0 0 1-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.07.07 0 0 1-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 0 1 5.198 6.41l-.002.151v5.06a.71.71 0 0 0 .364.624l5.42 3.087-1.876 1.07a.07.07 0 0 1-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54-5.42-3.088L14.896 7.6a.07.07 0 0 1 .063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.16 4.16 0 0 1-2.174 1.807V12.38a.71.71 0 0 0-.363-.623zm1.867-2.773-.132-.078-4.44-2.53a.73.73 0 0 0-.729 0l-5.42 3.088V7.325a.07.07 0 0 1 .027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757zm-11.741 3.81-1.877-1.068a.07.07 0 0 1-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 0 0-.365.623zv.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375z"},null,-1)]))}},T={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const O={render:function(e,t){return r(),s("svg",T,t[0]||(t[0]=[l("path",{d:"M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.38 4.38 0 0 1-3.033-1.252l-1.851 1.818A7 7 0 0 0 12.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2"},null,-1)]))}},R={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const G={render:function(e,t){return r(),s("svg",R,t[0]||(t[0]=[l("path",{fill:"#3859FF",d:"M11.991 23.503a.24.24 0 0 0-.244.248.24.24 0 0 0 .244.249.24.24 0 0 0 .245-.249.24.24 0 0 0-.22-.247zM9.671 5.365a1.697 1.697 0 0 1 1.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.66 1.66 0 0 1-2.077 1.102 1.7 1.7 0 0 1-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 0 0-1.954.746 1.66 1.66 0 0 1-1.065.764 1.677 1.677 0 0 1-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.5 1.5 0 0 1 .296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.3 1.3 0 0 0-.227-.693 2.5 2.5 0 0 1-.366-1.403 2.4 2.4 0 0 1 .366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.4 1.4 0 0 1-.299-.07l-.05-.019a1.7 1.7 0 0 1-1.047-2.114 1.68 1.68 0 0 1 2.094-1.101m-5.575 10.11c.26-.264.639-.367.994-.27s.633.379.728.74c.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.06 1.06 0 0 1 0-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025s-.396.634-.756.718c-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 0 1 .757-1.26zm-.064-4.39c.314.32.49.753.49 1.206s-.176.886-.49 1.206c-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 0 1 0-2.412 1.654 1.654 0 0 1 2.369 0m-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 0 1-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 0 1 1.33-1.038 1.66 1.66 0 0 1 1.547.652m11.545-4.221c.368 0 .708.2.892.524s.184.724 0 1.048a1.03 1.03 0 0 1-.892.524 1.04 1.04 0 0 1-1.03-1.048 1.04 1.04 0 0 1 1.03-1.048m-14.358 0c.368 0 .707.2.891.524s.184.724 0 1.048a1.03 1.03 0 0 1-.891.524 1.04 1.04 0 0 1-1.03-1.048c0-.579.461-1.048 1.03-1.048m10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705.75-1.706 1.674-1.706m-2.626-.684c.362-.082.653-.356.761-.718a1.06 1.06 0 0 0-.238-1.028 1.02 1.02 0 0 0-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783m0 16.876c.359-.087.644-.36.75-.72a1.06 1.06 0 0 0-.237-1.019 1.02 1.02 0 0 0-.985-.301 1.04 1.04 0 0 0-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305zM17.19 3.5a.63.63 0 0 0 .628-.64.63.63 0 0 0-.628-.64.63.63 0 0 0-.628.64c0 .355.28.64.628.64m-10.38 0a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64a.63.63 0 0 0-.628.64c0 .355.279.64.628.64m-5.182 7.852a.63.63 0 0 0-.628.64c0 .354.28.639.628.639a.63.63 0 0 0 .627-.606l.001-.034a.62.62 0 0 0-.628-.64zm5.182 9.13a.63.63 0 0 0-.628.64c0 .355.279.64.628.64a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64m10.38.018a.63.63 0 0 0-.628.64c0 .355.28.64.628.64a.63.63 0 0 0 .628-.64.63.63 0 0 0-.628-.64m5.182-9.148a.63.63 0 0 0-.628.64c0 .354.279.639.628.639a.63.63 0 0 0 .628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 0 0 .244-.249.24.24 0 0 0-.244-.249.24.24 0 0 0-.244.249c0 .142.122.249.244.249M11.991.497a.24.24 0 0 0 .245-.248A.24.24 0 0 0 11.99 0a.24.24 0 0 0-.244.249c0 .133.108.236.223.247zM2.011 6.36a.24.24 0 0 0 .245-.249.24.24 0 0 0-.244-.249.24.24 0 0 0-.244.249.24.24 0 0 0 .244.249zm0 11.263a.24.24 0 0 0-.243.248.24.24 0 0 0 .244.249.24.24 0 0 0 .244-.249.25.25 0 0 0-.244-.248zm19.995-.018a.24.24 0 0 0-.245.248.24.24 0 0 0 .245.25.24.24 0 0 0 .244-.25.25.25 0 0 0-.244-.248"},null,-1)]))}},N={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd"}};const j={render:function(e,t){return r(),s("svg",N,t[0]||(t[0]=[c('',8)]))}},Q={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const V={render:function(e,t){return r(),s("svg",Q,t[0]||(t[0]=[l("path",{d:"M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.12 1.12 0 0 1-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128zM16.59 3.052a1.094 1.094 0 0 1 1.562-.129c.466.404.522 1.116.126 1.59l-5.938 7.111v9.147c0 .624-.496 1.129-1.108 1.129a1.12 1.12 0 0 1-1.108-1.129v-9.477l.003-.088.01-.087a1.14 1.14 0 0 1 .261-.654zM2.906 2.256a1.094 1.094 0 0 1 1.559.157l4.387 5.45a1.14 1.14 0 0 1-.155 1.587 1.094 1.094 0 0 1-1.559-.157l-4.387-5.45a1.144 1.144 0 0 1 .06-1.498l.095-.09z"},null,-1),l("ellipse",{cx:"20.146",cy:"10.692",fill:"#00FF25",rx:"1.354",ry:"1.379"},null,-1)]))}},H={xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none"};const W={render:function(e,t){return r(),s("svg",H,t[0]||(t[0]=[c('',6)]))}},J={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const Y={render:function(e,t){return r(),s("svg",J,t[0]||(t[0]=[l("g",{fill:"none","fill-rule":"evenodd"},[l("path",{fill:"#F38020",d:"M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.15.15 0 0 1-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.43 2.43 0 0 0-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164z"}),l("path",{fill:"#FCAD32",d:"M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777"})],-1)]))}},Z={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const X={render:function(e,t){return r(),s("svg",Z,t[0]||(t[0]=[c('',1)]))}},$={width:"64",height:"64",viewBox:"0 0 32 32"};const ee={render:function(e,t){return r(),s("svg",$,t[0]||(t[0]=[c('',23)]))}},te={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ae={render:function(e,t){return r(),s("svg",te,t[0]||(t[0]=[l("path",{fill:"#3DC8F9",d:"M2 13.08C2 9.182 4.772 6.367 9.32 2.122c-.65 7.883 6.41 8.272 5.023 12.214-.99 2.815-4.244 1.949-4.59 1.342 0 0 1.212.347 1.385-.866s-2.252-1.862-3.81-4.937c-2.6 2.988-.954 9.008 4.2 9.008 4.764 0 6.583-4.937 4.894-8.099 0 0 4.071.693 4.418 3.811.346 3.119-3.638 8.533-9.095 8.403S2 18.84 2 13.08"},null,-1),l("path",{fill:"#EA0100",d:"M17.852 6.107 11.615 0c-.52 5.933.866 8.374 4.894 9.485 2.729.753 3.307 1.04 4.504 2.772-.338-2.407-.78-3.812-3.161-6.15"},null,-1),l("path",{fill:"#1652D8","fill-rule":"evenodd",d:"M9.033 18.323c.709.354 1.542.56 2.495.56 4.764 0 6.583-4.937 4.894-8.099 0 0 4.071.693 4.418 3.811.156 1.403-.565 3.27-1.902 4.89-3.458 1.57-7.29.84-9.905-1.162","clip-rule":"evenodd"},null,-1)]))}},oe={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ie={render:function(e,t){return r(),s("svg",oe,t[0]||(t[0]=[c('',2)]))}},ne={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const se={render:function(e,t){return r(),s("svg",ne,t[0]||(t[0]=[l("defs",null,[l("linearGradient",{id:"a",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[l("stop",{offset:"0%","stop-color":"#00055F","stop-opacity":".84"}),l("stop",{offset:"100%","stop-color":"#6F69F7","stop-opacity":".84"})])],-1),l("path",{fill:"url(#a)",d:"M12.604 1.34q.59 1.035 1.174 2.075a.18.18 0 0 0 .157.091h5.552q.26 0 .446.327l1.454 2.57c.19.337.24.478.024.837q-.39.646-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77q-.656 1.177-1.335 2.34c-.159.272-.352.375-.68.37a43 43 0 0 0-2.327.016.1.1 0 0 0-.081.05 575 575 0 0 1-2.705 4.74c-.169.293-.38.363-.725.364q-1.495.005-3.017.002a.54.54 0 0 1-.465-.271l-1.335-2.323a.09.09 0 0 0-.083-.049H4.982a1.8 1.8 0 0 1-.805-.092l-1.603-2.77a.54.54 0 0 1-.002-.54l1.207-2.12a.2.2 0 0 0 0-.197 551 551 0 0 1-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965q.697-1.22 1.387-2.436c.132-.234.304-.334.584-.335a338 338 0 0 1 2.589-.001.12.12 0 0 0 .107-.063l2.806-4.895a.49.49 0 0 1 .422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34m-3.432.403a.06.06 0 0 0-.052.03L6.254 6.788a.16.16 0 0 1-.135.078H3.253q-.084 0-.041.074l5.81 10.156q.037.062-.034.063l-2.795.015a.22.22 0 0 0-.2.116l-1.32 2.31q-.066.117.068.118l5.716.008q.068 0 .104.061l1.403 2.454q.069.122.139 0l5.006-8.76.783-1.382a.055.055 0 0 1 .096 0l1.424 2.53a.12.12 0 0 0 .107.062l2.763-.02a.04.04 0 0 0 .035-.02.04.04 0 0 0 0-.04l-2.9-5.086a.11.11 0 0 1 0-.113l.293-.507 1.12-1.977q.036-.062-.035-.062H9.2q-.088 0-.043-.077l1.434-2.505a.11.11 0 0 0 0-.114L9.225 1.774a.06.06 0 0 0-.053-.031m6.29 8.02q.07 0 .034.06l-.832 1.465-2.613 4.585a.06.06 0 0 1-.05.029.06.06 0 0 1-.05-.029L8.498 9.841q-.03-.051.028-.054l.216-.012 6.722-.012z"},null,-1)]))}},le={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const re={render:function(e,t){return r(),s("svg",le,t[0]||(t[0]=[l("path",{fill:"#D97757",d:"m4.709 15.955 4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a3 3 0 0 1-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312z"},null,-1)]))}},ce={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 80 80"};const pe={render:function(e,t){return r(),s("svg",ce,t[0]||(t[0]=[l("path",{fill:"#8359F6",d:"m19.019 2.839 3.1-.03c1.65-.01 1.65-.01 3.34-.01 1.13-.01 2.27-.01 3.44-.02 2.4-.01 4.81-.02 7.21-.02 3.68-.01 7.35-.04 11.03-.07 2.33-.01 4.67-.01 7.01-.02l3.32-.03c5.58.01 9.76.11 14.53 3.36 3.91 4.23 5.12 7.33 5.16 13.02l.03 3.1c.01 1.1.01 2.2.01 3.34.01 1.13.02 2.27.02 3.44.01 2.4.02 4.81.02 7.21.01 3.68.04 7.35.07 11.03.01 2.33.02 4.67.02 7.01.01 1.09.02 2.19.04 3.32-.02 5.58-.12 9.76-3.37 14.53-4.23 3.91-7.33 5.12-13.02 5.16l-3.09.03c-1.66.01-1.66.01-3.35.01-1.13.01-2.27.02-3.44.02-2.4.01-4.81.02-7.21.02-3.68.01-7.35.04-11.02.07-2.34.01-4.68.02-7.01.02-1.1.01-2.2.02-3.33.04-5.58-.02-9.76-.12-14.53-3.37-3.91-4.23-5.12-7.33-5.16-13.02l-.03-3.09c0-1.11-.01-2.21-.01-3.35-.01-1.13-.01-2.27-.02-3.44-.01-2.4-.02-4.81-.02-7.21-.01-3.68-.04-7.35-.07-11.02-.01-2.34-.01-4.68-.02-7.01l-.03-3.33c.01-5.58.11-9.76 3.36-14.53 4.23-3.91 7.33-5.12 13.02-5.16"},null,-1),l("path",{fill:"#FCFBFE",d:"M55 8.625c1.07-.04 1.07-.04 2.16-.07 3.52-.02 5.46.16 8.31 2.31 1.53 2.14 1.53 2.14 2.03 4.64-.5 2.5-.5 2.5-1.81 4.74-3.04 1.98-4.56 2.04-8.13 2.26-3.55.22-5.45.44-8.68 2.06-2.67 3.47-2.66 6.1-2.88 10.44 1.1-.05 2.19-.1 3.32-.15 1.46-.03 2.91-.07 4.37-.11.72-.03 1.44-.06 2.18-.1 3.86-.07 5.74.12 9.15 2.15 1.98 2.21 1.98 2.21 2.04 5.77-1.19 3.86-1.57 4.59-5.06 6.44-2.83.21-5.43.28-8.25.18-.75-.01-1.49-.02-2.26-.04-1.83-.03-3.66-.09-5.49-.14q.09.825.18 1.68c.37 6.4-.96 10.46-5.18 15.32-6.42 5-12.04 5.81-20 5-4.89-2.36-7.81-5.72-11-10-2-5.99-2.08-12.73.62-18.44 7.81-8.42 7.81-8.42 13.86-8.66 1.34.01 1.34.01 2.71.03l2.73.03c.69.01 1.37.02 2.08.04-.12-1.43-.12-1.43-.25-2.88.04-5.86 2.04-11.62 5.93-16.03 1.72-1.51 3.4-2.85 5.32-4.09.57-.38 1.13-.75 1.72-1.14 3.38-1.28 6.71-1.23 10.28-1.24"},null,-1),l("path",{fill:"#885FF6",d:"M31 48c2 2 2 2 2.31 4.44C33 55 33 55 31.94 56.88c-3.06 1.77-5.6.81-8.94.12-1.33-6.39-1.33-6.39.06-9 2.91-1.5 4.86-.85 7.94 0"},null,-1)]))}},de={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const he={render:function(e,t){return r(),s("svg",de,t[0]||(t[0]=[l("path",{fill:"url(#a)","fill-rule":"evenodd",d:"M22.012 0h1.032v.927H24v.968h-.956V3.78h-1.032V1.896h-1.878v-.97h1.878zM2.6 12.371V1.87h.969v10.502zm10.423.66h10.95v.918h-6.208v9.579h-4.742V13.03zM5.629 3.333v12.356H0v4.51h10.386V8h10.473l-.003-4.668z"},null,-1),l("defs",null,[l("linearGradient",{id:"a",x1:"1.646",x2:"18.342",y1:"1.916",y2:"22.091",gradientUnits:"userSpaceOnUse"},[l("stop",{"stop-color":"#01A9FF"}),l("stop",{offset:"1","stop-color":"#0160FF"})])],-1)]))}},me={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ue={render:function(e,t){return r(),s("svg",me,t[0]||(t[0]=[l("path",{d:"m1.052 16.916 9.539 2.552a21 21 0 0 0 .06 2.033l5.956 1.593a12 12 0 0 1-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01-.157-.02-.107-.014-.11-.016a12 12 0 0 1-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024-.044-.015-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027-.041-.018-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032-.046-.026-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035-.054-.036-.044-.03-.044-.03-.04-.028-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039-.043-.037-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084-.099-.097-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a7 7 0 0 1-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056-.027-.033-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a12 12 0 0 1-1.44-2.402m-1.02-5.794 11.353 3.037a21 21 0 0 0-.469 2.011l10.817 2.894a12 12 0 0 1-1.845 2.005L.657 15.923l-.016-.046-.035-.104-.05-.153-.007-.023a12 12 0 0 1-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094q-.04-.212-.071-.426l-.017-.118-.011-.083-.013-.102-.019-.161-.005-.047a12 12 0 0 1-.034-2.145m1.593-5.15 11.948 3.196a21 21 0 0 0-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098q.04-.222.088-.442l.028-.124.02-.085.024-.097q.033-.135.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a12 12 0 0 1 1.01-2.232zm4.442-4.4L17.352 4.59a21 21 0 0 0-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12 12 0 0 1 2.272-1.677M12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017q.081.055.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035q.17-.068.341-.131l.096-.035.093-.033.084-.03.096-.031A8 8 0 0 1 8.49.525l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01q.14-.015.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z"},null,-1)]))}},fe={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ge={render:function(e,t){return r(),s("svg",fe,t[0]||(t[0]=[l("defs",null,[l("linearGradient",{id:"a",x1:"0%",x2:"100.182%",y1:"50.057%",y2:"50.057%"},[l("stop",{offset:"0%","stop-color":"#E2167E"}),l("stop",{offset:"100%","stop-color":"#FE603C"})])],-1),l("path",{fill:"url(#a)",d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 0 0 .744.709.74.74 0 0 0 .743-.709V9.099a2.06 2.06 0 0 1 2.071-2.049A2.06 2.06 0 0 1 24 9.1v6.561a.65.65 0 0 1-.652.645.65.65 0 0 1-.653-.645V9.1a.76.76 0 0 0-.766-.758.76.76 0 0 0-.766.758v7.472a2.037 2.037 0 0 1-2.048 2.026 2.037 2.037 0 0 1-2.048-2.026v-12.5a.785.785 0 0 0-.788-.753.785.785 0 0 0-.789.752l-.001 15.904A2.037 2.037 0 0 1 13.441 22a2.037 2.037 0 0 1-2.048-2.026V18.04c0-.356.292-.645.652-.645s.652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.73.73 0 0 0 .372-.638V4.07c0-1.143.937-2.07 2.093-2.07m-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.65.65 0 0 1-.652.645.65.65 0 0 1-.652-.645V4.07a.785.785 0 0 0-.789-.78.785.785 0 0 0-.789.78v14.013a2.06 2.06 0 0 1-2.07 2.048 2.06 2.06 0 0 1-2.071-2.048V9.1a.76.76 0 0 0-.766-.758.76.76 0 0 0-.766.758v3.8a2.06 2.06 0 0 1-2.071 2.049A2.06 2.06 0 0 1 0 12.9v-1.378c0-.357.292-.646.652-.646s.653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 0 1 2.07-2.048 2.06 2.06 0 0 1 2.071 2.048v8.984c0 .419.343.758.767.758a.76.76 0 0 0 .766-.758V4.07c0-1.143.937-2.07 2.093-2.07"},null,-1)]))}},we={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const _e={render:function(e,t){return r(),s("svg",we,t[0]||(t[0]=[c('',2)]))}},ye={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ve={render:function(e,t){return r(),s("svg",ye,t[0]||(t[0]=[l("g",{"clip-path":"url(#a)"},[l("path",{fill:"#4D6BFE",d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.5 5.5 0 0 1-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11 11 0 0 0-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428s-1.67.295-2.687.684a3 3 0 0 1-.465.137 9.6 9.6 0 0 0-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.2 4.2 0 0 0 1.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.7 4.7 0 0 1 1.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614m1-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .2.288.306.306 0 0 1-.31.307.303.303 0 0 1-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.552-.758a1.7 1.7 0 0 1 .016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.56.56 0 0 1-.254-.078.253.253 0 0 1-.114-.358c.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452"})],-1),l("defs",null,[l("clipPath",{id:"a"},[l("path",{fill:"#fff",d:"M0 0h24v24H0z"})])],-1)]))}},Ae={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const ke={render:function(e,t){return r(),s("svg",Ae,t[0]||(t[0]=[l("path",{fill:"#39594D","fill-rule":"evenodd",d:"M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0 0 18.1 1H7.549A6.55 6.55 0 0 0 1 7.55c0 3.617 2.745 6.549 7.128 6.549","clip-rule":"evenodd"},null,-1),l("path",{fill:"#D18EE2","fill-rule":"evenodd",d:"M9.912 18.61a4.39 4.39 0 0 1 2.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 0 1-5.105 5.104l-3.597-.001a4.386 4.386 0 0 1-4.386-4.387z","clip-rule":"evenodd"},null,-1),l("path",{fill:"#FF7759",d:"M4.776 14.962A3.775 3.775 0 0 0 1 18.738v.489a3.776 3.776 0 0 0 7.551 0v-.49a3.775 3.775 0 0 0-3.775-3.775"},null,-1)]))}},Be={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const Me={render:function(e,t){return r(),s("svg",Be,t[0]||(t[0]=[l("path",{d:"M13.827 3.52h3.603L24 20h-3.603zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"},null,-1)]))}},xe={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const be={render:function(e,t){return r(),s("svg",xe,t[0]||(t[0]=[l("g",{fill:"none","fill-rule":"evenodd"},[l("path",{fill:"#3762FF",d:"M6.075 10.494C7.6 9.446 9.768 8.759 12.222 8.759c2.453 0 4.622.687 6.147 1.735.77.53 1.352 1.133 1.74 1.77C20 10 20 10 20.687 9.362a9 9 0 0 0-1.008-.8c-1.958-1.347-4.598-2.143-7.457-2.143s-5.499.796-7.457 2.144C2.81 9.908 1.44 11.885 1.44 14.21s1.37 4.303 3.322 5.646C6.721 21.205 9.362 22 12.22 22s5.5-.795 7.457-2.144C21.63 18.513 23 16.538 23 14.21c0-1.48-.554-2.817-1.46-3.94-.046 1.036-.41 2.03-1.012 2.937.099.325.149.663.15 1.003 0 1.33-.782 2.664-2.313 3.717-1.524 1.048-3.692 1.735-6.146 1.735s-4.623-.687-6.147-1.735C4.544 16.874 3.76 15.54 3.76 14.21c.003-1.33.785-2.663 2.315-3.716"}),l("path",{fill:"#1041F3",d:"M3.747 11.494c-.62 1.77-.473 3.365.332 4.51.806 1.144 2.254 1.813 4.117 1.813 1.86 0 4.029-.68 6.021-2.1 1.993-1.42 3.35-3.251 3.967-5.017.62-1.769.473-3.364-.332-4.51-.806-1.143-2.254-1.812-4.117-1.812-1.86 0-4.029.68-6.021 2.099-1.993 1.42-3.35 3.252-3.967 5.017m-2.228-.79c.8-2.28 2.487-4.498 4.83-6.167C8.691 2.866 11.33 2 13.734 2c2.4 0 4.678.874 6.045 2.817s1.431 4.394.633 6.674c-.8 2.282-2.487 4.499-4.83 6.168s-4.981 2.536-7.387 2.537c-2.4 0-4.678-.874-6.045-2.817-1.368-1.943-1.431-4.396-.633-6.674z"})],-1)]))}},Ce={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor","fill-rule":"evenodd",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const De={render:function(e,t){return r(),s("svg",Ce,t[0]||(t[0]=[l("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864m-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a66 66 0 0 0-.063 2.884l-.002.48q-.002.844-.013 1.69c.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.85.85 0 0 0 .51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108a10 10 0 0 0-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 0 1-.976-.95v-1.752c0-.525.437-.951.976-.951m5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 0 1-.976-.95v-1.752c0-.525.437-.951.976-.951M7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394m6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394M12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a3 3 0 0 1-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9 9 0 0 0-.84-.044"},null,-1)]))}},Fe={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const Ke={render:function(e,t){return r(),s("svg",Fe,t[0]||(t[0]=[c('',1)]))}},Ee={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const Se={render:function(e,t){return r(),s("svg",Ee,t[0]||(t[0]=[c('',1)]))}},ze={xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none"};const Ue={render:function(e,t){return r(),s("svg",ze,t[0]||(t[0]=[c('',3)]))}},qe={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",style:{flex:"0 0 auto","line-height":"1"},viewBox:"0 0 24 24"};const Le={render:function(e,t){return r(),s("svg",qe,t[0]||(t[0]=[l("defs",null,[l("linearGradient",{id:"a",x1:"17.764%",x2:"100%",y1:"8.678%",y2:"91.322%"},[l("stop",{offset:"0%","stop-color":"#FEC13E"}),l("stop",{offset:"100%","stop-color":"#FF6933"})])],-1),l("path",{fill:"url(#a)",d:"M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2zm7.334 0h-5.2v20h5.2zM16.8 7.733H22V22h-5.2zM22 2h-5.2v4.133H22z"},null,-1)]))}},Ie={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"currentColor",class:"logo",viewBox:"0 0 1000 1000"};const Pe={render:function(e,t){return r(),s("svg",Ie,t[0]||(t[0]=[l("path",{d:"M1000 427.6v113H603.4V1000H477V427.6z"},null,-1),l("path",{d:"M1000 213.8V327H364.8v673H238.4V213.8z"},null,-1),l("path",{d:"M1000 0v113.2H126.4V1000H0V0z"},null,-1)]))}},Te={xmlns:"http://www.w3.org/2000/svg","aria-label":"Fireworks AI Home",class:"fill-foreground h-5 w-5",viewBox:"0 0 638 315"};const Oe={render:function(e,t){return r(),s("svg",Te,t[0]||(t[0]=[l("path",{fill:"rgb(80 25 197)",d:"M318.563 221.755c-17.7 0-33.584-10.508-40.357-26.777L196.549 0h47.793l74.5 178.361L393.273 0h47.793L358.92 195.048c-6.808 16.199-22.657 26.707-40.357 26.707M425.111 314.933c-17.63 0-33.444-10.439-40.287-26.567-6.877-16.269-3.317-34.842 9.112-47.445l148.721-150.64 18.572 43.813-136.153 137.654 194.071-1.082 18.573 43.813-212.574.524-.07-.07z",class:"fill-foreground h-5 w-5"},null,-1),l("path",{fill:"rgb(80 25 197)",d:"m0 314.408 18.573-43.813 194.07 1.082L76.525 133.988l18.573-43.813 148.721 150.641c12.428 12.568 16.024 31.21 9.111 47.444-6.842 16.164-22.727 26.567-40.287 26.567L.07 314.339z"},null,-1)]))}},Re={xmlns:"http://www.w3.org/2000/svg",width:"59.242",height:"47.271"};const Ge={render:function(e,t){return r(),s("svg",Re,t[0]||(t[0]=[l("path",{fill:"#0072c6",d:"M32.368 0 14.9 15.145 0 41.895h13.437Zm2.323 3.543-7.454 21.008 14.291 17.956L13.8 47.271h45.442Z"},null,-1)]))}},Ne=""+new URL("sambanova-35TLgnML.webp",import.meta.url).href,je=d({name:"DynamicImg",props:{src:{type:[String,Function],required:!0},alt:{type:String,default:""}},data:()=>({resolvedSrc:""}),mounted(){this.resolveSrc()},methods:{async resolveSrc(){if("function"==typeof this.src){const e=await this.src();this.resolvedSrc=e.default}else this.resolvedSrc=this.src}},render(){return p("img",{src:this.resolvedSrc,alt:this.alt})}});const Qe=new class{constructor(){t(this,"worker"),this.worker=new Worker(new URL(
+/* @vite-ignore */
+""+new URL("scraper.worker-C5ikRwpu.js",import.meta.url).href,import.meta.url),{type:"module"})}scrapeUrls(e,t=1e4){return new Promise(((a,o)=>{this.worker.onmessage=e=>{const t=e.data.map(this.extractContent).filter(Boolean);a(t)},this.worker.onerror=e=>{o(e)},this.worker.postMessage({urls:e,timeout:t})}))}extractContent({url:e,html:t}){if(t){const a=document.implementation.createHTMLDocument("");a.documentElement.innerHTML=t;const o=new k.Readability(a).parse();if(o){const t=a.querySelector('link[rel="icon"], link[rel="shortcut icon"]');let i=t.getAttribute("href");const n=new URL(e),s=n.protocol+"//"+n.hostname;let l="";return l=t&&i?i.startsWith("http://")||i.startsWith("https://")?i:i.startsWith("//")?n.protocol+i:i.startsWith("/")?s+i:new URL(i,e).href:`${s}/favicon.ico`,{url:e,icon:l,siteName:o.siteName||"",title:o.title||"",content:o.textContent||"",excerpt:!o.excerpt||o.excerpt.length>140?o.textContent.slice(0,140):o.excerpt}}}return null}};const Ve="tdesign-starter",He=.1,We=4096,Je=1,Ye=e=>{e.text="",e.think="",e.files=[],e.images=[],e.webs=[]},Ze=e=>({text:e,think:"",files:[],images:[],webs:[]}),Xe=window.fetch,$e=async(e,t)=>{if(e.toString().includes("/local/")){const e=(null==t?void 0:t.headers)||{},a={};return Object.entries(e).forEach((([e,t])=>{a[e.toLowerCase()]=t})),void JSON.parse(null==t?void 0:t.body.toString())}return await Xe(e,t)};function et(e){return e.startsWith("/app/")?tt()+e:e}function tt(){const e=kt().remoteHost;if(e&&e.startsWith("http"))return e;const t=window.location.origin;return window.isElectron||t.includes("localhost")?`http://localhost:${window.serverPort||3e3}`:t}async function at(e,t,a){var o,i;let n=(e,t=!1)=>{};try{const s=t.chat.chats[t.chat.chats.length-1],l=f(((e,t)=>{t?s.content.think=e:s.content.text=e}),100,{maxWait:500});n=(e,t=!1)=>{l(e,t)};const r=e=>{l.cancel(),s.content.text=e},c=e=>{l.cancel(),s.content.images=e},p=ut.dict[t.model.type];if(!p)return void n(L("pages.setting.model.model_provider_not_exist"));const d=[];d.push({role:"system",content:Ze(e.content),id:"",liked:!1,model:""});const h=t.chat.chats.slice(t.chat.startContext).filter((e=>"verbose"!==e.role)),m=2*Math.max(e.maxContextSize,1),u=Math.min(m,h.length);for(let e=h.length-u;e({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images}}))),t.model.prompt&&(g[g.length-1].content.text=`${t.model.prompt}\n${g[g.length-1].content.text}`),a&&(g[g.length-1].content.text=`\n 使用提供的网络搜索结果,对给定的查询写一个全面的回复。\n 如果提供的搜索结果涉及多个同名主题,请为每个主题分别写答案。\n \n 网络搜索json结果:\n """\n ${a}\n """\n\n 查询:\n """\n ${g[g.length-1].content.text}\n """ \n `);for(let e=0;e0)for(let e=0;e0){const e=t.content.images.length,o=[{type:"text",text:a}];for(let a=0;at.chat.status.stop),r);A=e.id,k=e.model}else{if(!v.ok)return void(r&&r(await v.text()));const e=await v.json();"chat.images"==e.object?c&&c(e.choices):e.choices?r&&r(e.choices[0].message.content):r&&r(await v.text()),A=e.id,k=e.model}t.chat.chats[t.chat.chats.length-1].id=A,t.chat.chats[t.chat.chats.length-1].model=k||ut.getModelItemModel(t.model)}catch(s){n(`${s.message}`)}finally{t.chat.status.chating=!1,t.chat.status.stop=!1,t.chat.status.responseWating=!1}}function ot(e){if(e.keys&&e.keys.length>0){const t=e.keys.filter((e=>e.enabled));if(t.length>0)return t[Math.floor(Math.random()*t.length)].key}return e.apiKey}async function it(e,t,a=null,o=null){const i=e.body.pipeThrough(new TextDecoderStream).pipeThrough(new g).getReader();let n="",s="",l="",r=!1,c=!1;for(;;)try{const{value:e,done:p}=await i.read();if(p||a&&a()||"[DONE]"===e.data){o&&o(n);break}if(!e)continue;const d=JSON.parse(e.data);if(!d.choices||0===d.choices.length)continue;s=d.id,l=d.model;const h=d.choices[0].delta,m=h.content||h.reasoning_content;if(!m)continue;if(m.includes("")){c=!0;continue}if(m.includes("")){c=!1;continue}c&&(h.type="thinking"),"thinking"==h.type||h.reasoning_content?r||(r=!0):r&&(n="",r=!1),n+=m,t(n,r)}catch(p){throw p}return{id:s,model:l}}const nt=async(e,t,a=null)=>{const o=kt(),i=bt().find(o.assistModel);return new Promise(((a,o)=>{let n="";lt(i,e,((e,t)=>{t||(n=e)}),(()=>!1)).then((()=>{t&&t(n),a(n)})).catch((e=>{o(e)}))}))},st=async(e,t,a=null)=>{const o=kt(),i=bt().find(o.assistModel);await lt(i,e,t,a)},lt=async(e,t,a,o=null)=>{try{const i=ut.dict[e.type];if(!i)return void a(L("pages.setting.model.model_provider_not_exist"));const n={model:e.apiModel,stream:!0,temperature:.1,messages:[{role:"user",content:t}]},s=et(e.apiBase||i.apiBase),l=await $e(s,{method:"POST",headers:{Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${ot(e)}`},body:JSON.stringify(n)});if(!l.ok){const e=l.headers.get("content-type");if(e)if(null==e?void 0:e.includes("application/json")){const e=await l.json();a(JSON.stringify(e))}else{a(await l.text())}else a(l.statusText);return}await it(l,a,o)}catch(i){a(`${i.message}`)}},rt=async e=>{try{let t=null;const a=tt(),o=/(https?:\/\/[^\s]+)/g,i=e.match(o)||[];if(i.length>0)t={urls:i,keywords:[]};else{const a=(await nt(`\n 你是一个专门用于提取搜索关键词的AI助手。你的任务是从用户的查询中提取最重要的关键词或短语,这些关键词将被用于执行网络搜索。。\n \n 请注意:\n 1. 提取3-10个最相关和重要的关键词或短语。\n 2. 关键词应该简洁明了,避免提取常见词或无意义词\n 3. 如果查询涉及时间范围,请包含相关的时间信息。\n 4. ��果查询中包含人名、地名、专有名词或技术术语,优先提取这些\n 5. 如果有网址,将网址作为一个关键词返回\n 6. 以JSON格式返回结果,包含两个字段:"urls"(数组)和"keywords"(数组),且不要包含任何其他文字。\n 用户查询: ${e}\n \n 请以下面的JSON格式返回结果:\n {\n "urls": [],\n "keywords": []\n }\n `,null)).match(/\{[\s\S]*\}/);if(a.length<=0)throw new Error("未找到关键词");t=JSON.parse(a[0])}if(t.keywords.length>0){const e=await $e(`${a}/search?service=google&&results=10&&q=${encodeURIComponent(t.keywords.join(","))}`),o=await e.json();for(let a=0;act(e)===i))||t.urls.push(e.link)}}}performance.now();let n=t.urls;n=n.map((e=>a+"/crawler?url="+encodeURIComponent(e)));const s=await async function(e,t=1024,a=1e4){try{return(await Qe.scrapeUrls(e,a)).map((e=>({...e,content:e.content.slice(0,t)})))}catch(o){}return[]}(n,8192/n.length,2e3);performance.now();return s}catch(t){}return[]};function ct(e){try{const t=new URL(e).hostname;return t.split(".").slice(-2).join(".")}catch(t){return null}}const pt=":";let dt=[{name:"openai",title:"OpenAI",icon:P,apiBase:"",tokenUrl:"",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}},{name:"anthropic",title:"Anthropic",icon:Me,apiBase:"/app/anthropic",tokenUrl:"https://console.anthropic.com/settings/keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["claude-instant-1.2","claude-2.0","claude-2.1","claude-3-haiku","claude-3-sonnet","claude-3-opus"]},{name:"azure",title:"Azure",icon:Ge,apiBase:"/app/azure?api-version=2024-05-13&resource=",tokenUrl:"https://ai.azure.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o-mini","gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"baichuan",title:"百川",icon:Le,apiBase:"https://api.baichuan-ai.com/v1/chat/completions",tokenUrl:"https://platform.baichuan-ai.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["Baichuan4","Baichuan3-Turbo","Baichuan3-Turbo-128k","Baichuan2-Turbo","Baichuan2-Turbo-192k"]},{name:"chatgpt",title:"ChatGPT",icon:P,apiBase:"https://api.openai.com/v1/chat/completions",tokenUrl:"https://platform.openai.com/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"cloudflare",title:"Cloudflare",icon:Y,apiBase:"/app/cloudflare",tokenUrl:"https://dash.cloudflare.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`accountID${pt}apiToken`,apiModel:""},models:["@cf/meta/llama-2-7b-chat-fp16","@cf/meta/llama-2-7b-chat-int8","@cf/mistral/mistral-7b-instruct-v0.1","@hf/thebloke/deepseek-coder-6.7b-base-awq","@hf/thebloke/deepseek-coder-6.7b-instruct-awq","@cf/deepseek-ai/deepseek-math-7b-base","@cf/deepseek-ai/deepseek-math-7b-instruct","@cf/thebloke/discolm-german-7b-v1-awq","@cf/tiiuae/falcon-7b-instruct","@cf/google/gemma-2b-it-lora","@hf/google/gemma-7b-it","@cf/google/gemma-7b-it-lora","@hf/nousresearch/hermes-2-pro-mistral-7b","@hf/thebloke/llama-2-13b-chat-awq","@cf/meta-llama/llama-2-7b-chat-hf-lora","@cf/meta/llama-3-8b-instruct","@hf/thebloke/llamaguard-7b-awq","@hf/thebloke/mistral-7b-instruct-v0.1-awq","@hf/mistralai/mistral-7b-instruct-v0.2","@cf/mistral/mistral-7b-instruct-v0.2-lora","@hf/thebloke/neural-chat-7b-v3-1-awq","@cf/openchat/openchat-3.5-0106","@hf/thebloke/openhermes-2.5-mistral-7b-awq","@cf/microsoft/phi-2","@cf/qwen/qwen1.5-0.5b-chat","@cf/qwen/qwen1.5-1.8b-chat","@cf/qwen/qwen1.5-14b-chat-awq","@cf/qwen/qwen1.5-7b-chat-awq","@cf/defog/sqlcoder-7b-2","@hf/nexusflow/starling-lm-7b-beta","@cf/tinyllama/tinyllama-1.1b-chat-v1.0","@hf/thebloke/zephyr-7b-beta-awq"]},{name:"cloudflare.image",title:"Cloudflare.image",icon:Y,apiBase:"/app/cloudflare-image",tokenUrl:"https://dash.cloudflare.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`accountID${pt}apiToken`,apiModel:""},models:["@cf/black-forest-labs/flux-1-schnell","@cf/bytedance/stable-diffusion-xl-lightning","@cf/lykon/dreamshaper-8-lcm","@cf/runwayml/stable-diffusion-v1-5-inpainting"]},{name:"cohere",title:"Cohere",icon:ke,apiBase:"/app/cohere",tokenUrl:"https://dashboard.cohere.com/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["command","command-nightly","command-light","command-light-nightly","command-r","command-r-plus"]},{name:"cozecn",title:"CozeCn",icon:W,apiBase:"/app/cozecn",tokenUrl:"https://www.coze.cn/open/api",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:"bot_id"},onChat:async(e,t,a,o)=>{a.meta.data.useConversationSetting=t.model.additionalData.useConversationSetting}},{name:"cozecom",title:"CozeCom",icon:W,apiBase:"/app/cozecom",tokenUrl:"https://www.coze.com/open/api",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:"bot_id"},onChat:async(e,t,a,o)=>{a.meta.data.useConversationSetting=t.model.additionalData.useConversationSetting}},{name:"deepseek",title:"Deepseek",icon:ve,apiBase:"/app/deepseek",tokenUrl:"https://platform.deepseek.com/api_keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["deepseek-chat","deepseek-coder","deepseek-r1","deepseek-v3"]},{name:"doubao",title:"豆包",icon:j,apiBase:window.isElectron?"https://ark.cn-beijing.volces.com/api/v3/chat/completions":"/app/doubao",tokenUrl:"https://console.volcengine.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}},{name:"ernie",title:"Ernie",icon:ie,apiBase:"/app/ernie",tokenUrl:"https://console.bce.baidu.com/qianfan/ais/console/onlineService",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`API_KEY${pt}Secret_Key`,apiModel:""},models:{"ernie-bot":"ernie-3.5-4k-0205","ernie-bot-4":"completions_pro","ernie-bot-8k":"completions","ernie-bot-turbo":"eb-instant","ernie-3.5-8k":"completions","ernie-3.5-8k-0205":"ernie-3.5-8k-0205","ernie-3.5-8k-1222":"ernie-3.5-8k-1222","ernie-3.5-4k-0205":"ernie-3.5-4k-0205","ernie-3.5-128k":"ernie-3.5-128k","ernie-4.0-8k":"completions_pro","ernie-4.0-8k-latest":"completions_pro","ernie-speed-8k":"ernie_speed","ernie-speed-128k":"ernie-speed-128k","ernie-speed-appbuilder":"ai_apaas","ernie-lite-8k-0922":"eb-instant","ernie-lite-8k":"ernie-lite-8k","ernie-character-8k-0321":"ernie-char-8k"}},{name:"fireworks.ai",title:"fireworks.ai",icon:Oe,apiBase:"/app/fireworks",tokenUrl:"https://fireworks.ai/account/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["accounts/fireworks/models/llama-v3p1-405b-instruct"]},{name:"gemini",title:"Gemini",icon:_e,apiBase:"/app/gemini",tokenUrl:"https://aistudio.google.com/app/apikey",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gemini-exp-1114","gemini-pro","gemini-1.0-pro-001","gemini-1.5-pro","gemini-1.5-flash","gemini-pro-vision","gemini-1.0-pro-vision-001","embedding-001","text-embedding-004"]},{name:"github",title:"github",icon:De,apiBase:"https://models.inference.ai.azure.com/chat/completions",tokenUrl:"https://github.com/marketplace/models",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["cohere-command-r-plus","meta-llama-3.1-405b-instruct","Mistral-large","gpt-4o","Phi-3-medium-128k-instruct"]},{name:"glm",title:"GLM",icon:G,apiBase:"https://open.bigmodel.cn/api/paas/v4/chat/completions",tokenUrl:"https://open.bigmodel.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["glm-4-0520","glm-4","glm-4-air","glm-4-airx","glm-4-flash"]},{name:"groq",title:"Groq",icon:O,apiBase:"https://api.groq.com/openai/v1/chat/completions",tokenUrl:"https://console.groq.com/keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["llama-3.1-405b-reasoning","llama-3.1-70b-versatile","llama-3.1-8b-instant","llama3-70b-8192","llama3-8b-8192"]},{name:"hunyuan",title:"混元",icon:X,apiBase:"/app/hunyuan",tokenUrl:"https://cloud.tencent.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`SECRET_ID${pt}SECRET_KEY`,apiModel:""},models:["hunyuan-lite","hunyuan-standard","hunyuan-standard-256K","hunyuan-pro"]},{name:"minimax",title:"MiniMax",icon:ge,apiBase:"https://api.minimax.chat/v1/text/chatcompletion_v2",tokenUrl:"https://platform.minimaxi.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["abab6.5-chat","abab6.5s-chat","abab6-chat","abab5.5-chat","abab5.5s-chat"]},{name:"mistral",title:"Mistral",icon:Se,apiBase:"https://api.mistral.ai/v1/chat/completions",tokenUrl:"https://console.mistral.ai/api-keys/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["open-mistral-7b","open-mixtral-8x7b","open-mixtral-8x22b","mistral-small-latest","mistral-medium-latest","mistral-large-latest","mistral-embed","codestral-latest"]},{name:"mistral-code",title:"Mistral Code",icon:Se,apiBase:window.isElectron?"https://codestral.mistral.ai/v1/chat/completions":"/app/mistral-code",tokenUrl:"https://console.mistral.ai/codestral",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["codestral-latest"]},{name:"moonshot",title:"Moonshot",icon:ue,apiBase:"https://api.moonshot.cn/v1/chat/completions",tokenUrl:"https://platform.moonshot.cn/console/api-keys",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k"]},{name:"qwen",title:"千问",icon:se,apiBase:window.isElectron?"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions":"/app/qwen",tokenUrl:"https://dashscope.console.aliyun.com/apiKey",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["qwen-turbo","qwen-plus","qwen-max","qwen-max-longcontext","qwen-vl-plus","qwen-vl-max"],onChat:async(e,t,a,o)=>{a.model.includes("vl")&&delete a.temperature}},{name:"sambanova",title:"sambanova",icon:((e,t="")=>p(je,{src:e,alt:t}))(Ne,"sambanova"),apiBase:"https://api.sambanova.ai/v1/chat/completions",tokenUrl:"https://community.sambanova.ai/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["Meta-Llama-3.1-8B-Instruct","Meta-Llama-3.1-70B-Instruct","Meta-Llama-3.1-405B-Instruct","Meta-Llama-3.1-8B-Instruct-8k"]},{name:"siliconflow",title:"Siliconflow",icon:pe,apiBase:"https://api.siliconflow.cn/v1/chat/completions",tokenUrl:"https://cloud.siliconflow.cn/account/ak",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["deepseek-ai/deepseek-v2-chat","deepseek-ai/DeepSeek-Coder-V2-Instruct","deepseek-ai/deepseek-Ilm-67b-chat","alibaba/Qwen2-72B-Instruct","alibaba/Qwen2-7B-Instruct","alibaba/Qwen2-57B-A14B-Instruct","alibaba/Qwen1.5-110B-Chat","alibaba/Qwen1.5-32B-Chat","alibaba/Qwen1.5-14B-Chat","alibaba/Qwen1.5-7B-Chat","01-ai/Yi-1.5-34B-Chat","01-ai/Yi-1.5-9B-Chat","01-ai/Yi-1.5-6B-Chat","zhipuai/chatglm3-6B","zhipuai/glm4-9B-chat","mixtralai/Mixtral-8x7B-Instruct-v0.1","mixtralai/Mistral-7B-Instruct-v0.2","google/gemma-7b-it","google/gemma-2b-it"]},{name:"stepfun",title:"Stepfun",icon:he,apiBase:"https://api.stepfun.com/v1/chat/completions",tokenUrl:"https://platform.stepfun.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["step-1-8k","step-1v-8k","step-1-32k","step-1v-32k","step-1-128k","step-1-256k"]},{name:"spark-api-open",title:"Spark OpenAPI",icon:ae,apiBase:window.isElectron?"https://spark-api-open.xf-yun.com/v1/chat/completions":"/app/spark-api-open",tokenUrl:"https://console.xfyun.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`APIKey${pt}APISecret`,apiModel:""},models:{"spark4.0-ultra":"4.0Ultra","spark-max":"generalv3.5","spark-pro":"generalv3","spark-2":"generalv2","spark-lite":"general"}},{name:"spark",title:"Spark WS",icon:ae,apiBase:"/app/spark",tokenUrl:"https://console.xfyun.cn/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:`APPID${pt}APIKey${pt}APISecret`,apiModel:""},models:{"spark4.0-ultra":"4.0Ultra","spark-max":"generalv3.5","spark-pro":"generalv3","spark-2":"generalv2","spark-lite":"general"}},{name:"anthropic_vertex",title:"Vertex Anthropic",icon:ee,apiBase:"/app/anthropic-vertex?location=us-east5&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'europe-west1' | 'us-east5'",apiKey:`key: client_id${pt}client_secret${pt}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["claude-3-5-sonnet","claude-3-opus"]},{name:"gemini_vertex",title:"Vertex Gemini",icon:ee,apiBase:"/app/gemini-vertex?location=asia-east2&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'europe-west1' | 'us-east5'",apiKey:`key: client_id${pt}client_secret${pt}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["gemini-pro","gemini-1.5-pro","gemini-1.5-flash","gemini-experimental"]},{name:"mistralai_vertex",title:"Vertex Mistralai",icon:ee,apiBase:"/app/mistralai-vertex?location=us-central1&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'us-central1' | 'europe-west4' ",apiKey:`key: client_id${pt}client_secret${pt}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["mistral-large@2407","mistral-nemo@2407","codestral@2405"]},{name:"openai_vertex",title:"Vertex OpenAI",icon:ee,apiBase:"/app/openai-vertex?location=us-central1&project=",tokenUrl:"https://console.cloud.google.com/vertex-ai",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"note: projectid and location, locations: 'us-central1'",apiKey:`key: client_id${pt}client_secret${pt}refresh_token, command: gcloud auth application-default login | gcloud init | gcloud auth login --update-adc | cat $env:APPDATAgcloudapplication_default_credentials.json `,apiModel:""},models:["meta/llama3-405b-instruct-maas"]},{name:"siliconflow.image",title:"siliconflow.image",icon:pe,apiBase:"/app/siliconflow-image",tokenUrl:"https://cloud.siliconflow.cn/account/ak",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["stabilityai/stable-diffusion-xl-base-1.0","stabilityai/stable-diffusion-3-medium","stabilityai/stable-diffusion-3-5-large","stabilityai/stable-diffusion-3-5-large-turbo","black-forest-labs/FLUX.1-schnell","black-forest-labs/FLUX.1-dev"]},{name:"yi",title:"Yi",icon:V,apiBase:"https://api.lingyiwanwu.com/v1/chat/completions",tokenUrl:"https://platform.lingyiwanwu.com/",isApi:!0,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["yi-large","yi-large-turbo","yi-medium","yi-vision","yi-spark"],onChat:async(e,t,a,o)=>{a.model.includes("vision")&&"system"===a.messages[0].role&&a.messages.shift()}}],ht=[{name:"bing.image",title:"bing.image",icon:P,apiBase:"/app/bing-image",tokenUrl:"https://www.bing.com/images/create",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"",apiModel:""},models:[]},{name:"blackbox",title:"blackbox.ai",icon:P,apiBase:"/app/blackbox",tokenUrl:"https://www.blackbox.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gemini-pro","claude-sonnet-3.5","blackboxai"]},{name:"chatglm",title:"chatglm.cn",icon:be,apiBase:"/app/chatglm",tokenUrl:"https://chatglm.cn/main/detail",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"cookie: chatglm_refresh_token",apiModel:""}},{name:"chatgpt.com",title:"chatgpt.com",icon:P,apiBase:"/app/chatgpt-com",tokenUrl:"https://chatgpt.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["auto","gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"],onMessage:(e,t,a)=>a.map((e=>({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images},id:e.id}))),playground:{apiKey:""},onChat:async function(e,t,a,o){if(window.isElectron)if(this.playground.apiKey)o.Authorization=`Bearer ${this.playground.apiKey}`;else try{const e=await window.ipcRenderer.invoke("login-get-token",{url:this.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});this.playground.apiKey=e.token,o.Authorization=`Bearer ${this.playground.apiKey}`}catch{this.playground.apiKey=""}}},{name:"claude.ai",title:"claude.ai",icon:re,apiBase:"/app/claude",tokenUrl:"https://claude.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'cookie:{\n "__ssid": "",\n "sessionKey": "",\n "activitySessionId":"",\n "lastActiveOrg":""\n}',apiModel:""}},{name:"cursor",title:"cursor",icon:De,apiBase:"/app/cursor",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3.5-sonnet"]},{name:"deepinfra.com",title:"deepinfra.com",icon:P,apiBase:"/app/deepinfra",tokenUrl:"https://deepinfra.com/chat",isApi:!1,show:{apiBase:!0,apiKey:!1,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["meta-llama/Meta-Llama-3.1-405B-Instruct","meta-llama/Meta-Llama-3.1-70B-Instruct","meta-llama/Meta-Llama-3.1-8B-Instruct","nvidia/Nemotron-4-340B-Instruct","mistralai/Mixtral-8x22B-Instruct-v0.1","mistralai/Mixtral-8x7B-Instruct-v0.1","microsoft/WizardLM-2-8x22B","microsoft/WizardLM-2-7B","Qwen/Qwen2-72B-Instruct","Qwen/Qwen2-7B-Instruct","microsoft/Phi-3-medium-4k-instruct","google/gemma-2-27b-it","llava-hf/llava-1.5-7b-hf","mistralai/Mistral-7B-Instruct-v0.3","lizpreciatior/lzlv_70b_fp16_hf","openchat/openchat_3.5","openchat/openchat-3.6-8b","Phind/Phind-CodeLlama-34B-v2","Gryphe/MythoMax-L2-13b","cognitivecomputations/dolphin-2.9.1-llama-3-70b"]},{name:"deepseek-com",title:"deepseek.com",icon:ve,apiBase:"/app/deepseek-com",tokenUrl:"https://chat.deepseek.com/",show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"userToken.value",apiModel:""},models:["deepseek-chat","deepseek-reasoner"]},{name:"designer",title:"designer",icon:De,apiBase:"/app/designer",tokenUrl:"https://designer.microsoft.com/image-creator",show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"",apiModel:""},models:[]},{name:"firefly",title:"firefly",icon:_e,apiBase:"/app/firefly",tokenUrl:"https://firefly.adobe.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["image3_fast","image3"]},{name:"genspark",title:"genspark",icon:P,apiBase:"/app/genspark",tokenUrl:"https://www.genspark.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3-5-sonnet"],onChat:async function(e,t,a,o){if(window.isElectron)try{const e=JSON.parse(t.model.apiKey),a=await window.ipcRenderer.invoke("genspark-token");if(!a)return;e.token=a,o.Authorization=`Bearer ${JSON.stringify(e)}`}catch{}}},{name:"genspark-image",title:"genspark.image",icon:P,apiBase:"/app/genspark-image",tokenUrl:"https://www.genspark.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["mixture","flux","flux-pro/ultra","ideogram","recraft-v3","dalle-3"],onChat:async function(e,t,a,o){if(window.isElectron)try{const e=JSON.parse(t.model.apiKey),a=await window.ipcRenderer.invoke("genspark-token",!0);if(!a)return;e.token=a,o.Authorization=`Bearer ${JSON.stringify(e)}`}catch{}}},{name:"github-copilot",title:"github.copilot",icon:De,apiBase:"/app/github-copilot",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","gpt-4-turbo","gpt-4","gpt-3.5-turbo"]},{name:"grok",title:"grok",icon:P,apiBase:"/app/grok",tokenUrl:"https://grok.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["grok-3","grok-3-reasoning","grok-3-image","grok-latest","grok-latest-image"]},{name:"huggingface",title:"huggingface.co.chat",icon:Ke,apiBase:"/app/huggingface",tokenUrl:"https://huggingface.co/chat",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:'cookie:{\n "token": "",\n "hf-chat":"",\n }',apiModel:""},models:["meta-llama/Meta-Llama-3.1-70B-Instruct","meta-llama/Meta-Llama-3.1-405B-Instruct-FP8","CohereForAI/c4ai-command-r-plus","mistralai/Mixtral-8x7B-Instruct-v0.1","NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO","01-ai/Yi-1.5-34B-Chat","mistralai/Mistral-7B-Instruct-v0.3","microsoft/Phi-3-mini-4k-instruct"]},{name:"imagefx",title:"imagefx",icon:_e,apiBase:"/app/imagefx",tokenUrl:"https://labs.google/fx/zh/tools/image-fx",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["IMAGEN_3_1"]},{name:"juchats",title:"juchats",icon:ue,apiBase:"https://juchats-z.deno.dev/v1/chat/completions",tokenUrl:"https://www.juchats.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["o1-preview","claude-3-5-sonnet","claude-3-7-sonnet","deepseek-r1"]},{name:"kimi",title:"kimi.moonshot.cn",icon:ue,apiBase:"/app/kimi",tokenUrl:"https://kimi.moonshot.cn/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'localStroage: {"access_token":"","refresh_token":""}',apiModel:""}},{name:"llmplayground",title:"llmplayground.net",icon:ue,apiBase:"https://api.airforce/chat/completions",tokenUrl:"https://llmplayground.net/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["gpt-4o","claude-3-5-sonnet-20240620","gemini-1.5-pro","llama-3.1-405b-turbo"],onChat:async(e,t,a,o)=>{if(a.model.includes("claude")&&"system"===a.messages[0].role){const e=a.messages.shift();a.messages[0].content=e.content+"\n"+a.messages[0].content}}},{name:"lyihub",title:"lyihub.com",icon:P,apiBase:"/app/lyihub",tokenUrl:"https://lyihub.com/wxlogin",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"localStroage: authorization-storage",apiModel:""},models:{"Baichuan3-Turbo":"gAAAAABmkUr786qEqgAKuopO-ykNvw6f1JbqHVYX6r6J7zvBC9_13imWRt1mnDw2-oiSAVWsnFRJlsj18Hma9pOUbeYx8jQbQ0oKEyMnmjMQzP6luuGnxpVRke-OK9H8dJVwMQStknGRK70dxGhbxIq5carIcdXSeNn4Gdcr1JoO5PbcbTrTf4LgNo-i7cjlMPR3mxvHQ5k-Crz1G239g_FxqQYWEF94rQ==",Baichuan4:"gAAAAABmkUsg0WjZolCgbNx0jihTXL4ubR9a1bngI5P2Kt0PkQYBnEm0KkUVKUrIkWCNwK6KR0Rrl77-nbSCyRzzZ2BMDHoC5iUjSxqy1WTPusTJoNZaa4ZrVnNBNoUQOvjF_sWXGF4JPn_uia8ZVxDFMqKmJks6tQf5xioi_TcJb6eIvG9222Os-jIaOM7-NqJiXcMGLr2hC6yrrc68B_GR0rayEgjNaQ==",SparkLite:"gAAAAABmkUsf0r1NLLKqke8EKGHdJf2LQ4RzjKDwGTjU31c5sHp9BnjTqyNbpmEXMBMIqu2TMkSIIR_Cqumb8xqC7j9PiCUtzjz9Rhkof7-5BKoA6dACw-DB0Np5cJ_7FM71nd3WN7Tft5PZr86SrvQ96HkbU6Q_slVxDGsM8iIu9eXR36gYsmMfvFcDodOfu0rn58LuQdterkoVClGCg7-usNImSyKKyg==",SparkMax:"gAAAAABmkUsMRi5bzp0M11u9FLuAuJ0VxxNKpQSn-aomvhqx0j9TfYwoADpPq1G_xDBvivmKzcbPEHQTAIXWQIKnhJ6sVVl8Olyk_MPPUDuKt6NGepK6xdasixRdg3xdBdiAMTQDHWqzjpdP_LEoXECAN0AgvvWVY35dIDhpOtvkiYF74TlxhfxWlHaaRHbVTDM_49pwa_yFhF9Mar8xHU8VS6qYlGdVSw==",SparkPro:"gAAAAABmkUsdwNyW0LQ17OVrAqoeU8ZL-F-UuC48c8_nQMkrUtBwuMl8kOBW9qFWEOcc-FayMUJbz5aDvRsNq511264XAxrmaLtlDsvjqHoIv453v1ZBYFuju42pGAqjBFGwKF9ON3mFtq0KpEoAW3MAt5Zw9eLqSDk38NS7oR8C5VoKlPGQk1gRT4kxi-CcEU37OPAJvBM0HA9pH9tIWI4lnTrXStVzIQ==","abab6.5-chat":"gAAAAABmkUsKmYEvM_ro-8_jeR9orKz4QY30oIoCzMacq-jtD6P5SDR2VIFoRlMi4Xoh8UeXg45DLloigCniJ8-ERJVJbuHNNlj3XTD0evKSJnjP07IpwLCo8QIH4NK0jftKe3p14cT7IlDF_DiQUJKyTADJ688QQs8736256wFil4CKqNcAO2H3uJBKQkAGGS7HM9PCDuwQftpPMwb26uAv7UPDIL90sA==","abab6.5s-chat":"gAAAAABmkUsaU-3CQ1GIJwUQvAKgvgQKiZ_4jCZ33POdIw3uvO0Q8xAxbZGyIv7hS4EtkvUW8UTWHHleLEiQ-Z-hjgmSedc9UhPS2tw96X1LrhKD4YjLkJfpqgI_O9DMibtdujTPPYliM_FNU_gAxPCMBPAftYhBxmiWQxP0Zf_cQYqd4z7dVFtYUdYSzGLGeJdi2Jss5ToH4jDY_NVT9CEm_bJT_2airQ==","abab6.5t-chat":"gAAAAABmkUse98gzQAge7XTH42qucLTZItdI4RFbCi96mFHce4eOcmyDkGrWKDixO2TAOZRfA0P6rxY0nSHPUinL6uozLW9ar7wFSQghs3LBPyGh3FS0rueHYCjz7J8x8MkLiqHzRQH6IMvn6wRfUbPdRIdOCLLfpUys3n2jp6doS5ueE2Tt37yL0Geby9Ad-q8vugeBqPQNB2fsoVdWIuWuBaiFYX20Rw==","claude-3-haiku-20240307":"gAAAAABmkUsTnySxBy3AhFX5Br0_WABDUrQTf83XhJFtMPBrVGvu_BEs9PVzDDeLqUvgW7coFJ3_eIjbLr1uzxfcxH7-PzMjitN_cPTOWQ7CumAFktE6REFHHuziYLl3jwwfoEfSfZmuyvVQAnAVBUPe6909T4RtDXeUHy-gkp6E219TbxJ_OQllYGFMaVU_wX_JbpKyIrbdYh6gtcU3vDt6bCWaRId0fA==","claude-3-opus-20240229":"gAAAAABmkUsgC_qdgQaMVPYp0kFFeoyhdpc3yCVl5eLg5JDBCQYqgnLJZY3kYeoNf841_qioqhAf-4oMMzfsAD-azWGKzPS37NZlT3KXzWl59_KVVolhfOPW5vxsz366eqoDfRKjf9lfQmiJCYUfJpRGHK8u9r4w92vLN3nbd5zGn04iDY78j67iiBJOImiDt_K5cmGDWl51JHyvvmbka6LLfVPw8UOgVw==","claude-3-sonnet-20240229":"gAAAAABmkUsMW9zAtkBYGTku1wrcBJuxgSgDWY3hah3TLxgKNHLCY7UTn82mpo8SlnwT3zxy00knyAJpbKnKdW0bGTXjkvrawUPg05jKdP3D_O6mX6Y9JVIa_Fq9gTNQnt19mG7wELRbwTcPaKFHr06lZFaBy5qfA57n3C39pAHZ9feCwi5VOfxbRseA7KRCQ1eJ12X1RASsAPqimk1IdXLVe1K87yoZNQ==","claude-3.5-sonnet-20240620":"gAAAAABmkUsRasCzMpjf-DFX-nQyDdFYcdkOR0P-Ue-7u3gYN52gOq_WDMPZqIf57ccteAyKbBhl63u3QWGM8TuGDXvNi0RPSt_36DdeIlwDKKIB1XaOrI0V0e9cT9BLBwRuDmjYPUnqSGxjhOFgklHIEi5QY478BnRJpbtVfOBEbAOIjCDVn5kzl87pOABhjNmJ5NTBFgqbJ7NKf-DZqOguLc-RHOD2Fg==","command-r-plus":"gAAAAABmkUsVrFcjAJGh2k0OLWqEy4z3yZa6tKRNJgrTSim2FCnDWyVgweghb9rncWJdypnbCTbJsKz_ov2PfovsTfyZBQJjQxgwMAkvqOmfOfqyFCfSKDrYg5pAGwH-iUr0tOO5MLWp1HclybeWAdc_25cMysDDQZLpQMx0ST9gnNZ086tn0zeIwcxh3jax-Ff9accpKWB6c1s_ktMX6nAQcrgejOGzCA==","doubao-lite-32k":"gAAAAABmkUsBs9Z3LA_Udf15mc-ELk6_3cnUWwXTqIiAVLdAVELH8lzer7Fn4K3X5su1Si4w3LWiCn7Qe35RUf6zVazmilwuJ5wEQgLLdn5dFjVDlkJ9oGJyyLOf8dyTCeP3o5d-UnhMeIdO3SlXJYm10bMvpr5DL-REPHiBlulGYCiiGymhiIVBWYnBqcs4sWWKfKZKY6_YjZVLR25Yomd0ERO0kAy2Vg==","doubao-pro-32k":"gAAAAABmkUsCCRw3AuS-2pB6ydsVFKgq93IPRjYbmb9N1VJoZITLOqxTX6WcUa8Jr1rf5iWih_F5Dd6EH66IbzCJfM3Y03RcfvyIWaE8D-WZxRiCj-qCQ72qBuzkV0giBXH-wJymCDHW9ICCjVDyLhM5Hi0iAfNEg-ARs0MdJ7PFc9xMKu14BPNnJCCSjXjEWzHrot9wQ1nq2CvKWFI4A8z3pH0Ya2CCYg==","gemini-1.5-flash":"gAAAAABmkUsNrqX7wwFHNRNAXV6uAtxMjXXtFfJlRW09_aDjoDxFWiwdFxLZBetkE_fzOrwwsTyxt2y7nrNzWHafLWNMwTJ_x_-93L11Os_09LnjRFjv5nci5wBr4gpGeXwVrXYMzAyLYAPgzhySBSIFtJ6i7TcV9gUlpFf-UM02ae2n06vJXu0dxVnD--qnOLUDd1k2BFDM-3rcU5zcXYlYcwIQPU94BQ==","gemini-1.5-pro":"gAAAAABmkUsYgSxS8eoptqAqLL-YKWUfgNdCqOpqW4PkZYnjysnzDfL25ubw3TSp8vswu5iQiocf3l72ijpKZVyl62uN7dsMYe6FgG_UDMicybXhsUpudaU4sUGYsQMiZ8w5JyXD5csD-xMYFnLpL66XAHrmaSClP5hNQi695Go24o3kGYHrWg5wZeBKTJqasJvERzsFYXdWocIXnuncjioLNSt0xr5Aeg==","glm-3-turbo":"gAAAAABmkUsFS3OGk5nB5dMhxtaAR-8U98y_aSqgHJkQYI_7vjQcE-JavPS2WRQivodWCEVjHTp5FsC-7pP6RDv5VEYm1wd58RoCCI4Oz2iJw03l6r0VcfdX_yW07WZTedAW9ud3IYnPaFZ2OxrMHO4tkUWlKT2O1Wn6scEi-5KhhDXM_hW4XgOtJ-NwBZy9c87pfauMqtCjj9goclUYPmxNj1n2db6scw==","glm-4":"gAAAAABmkUsT4W7B0He5oVSue2Iq_DpZkiBWRYYj5J90qeB2F3XZnYRMw8bRB-nMA3eECs2C2-fhvIpYtUsH7SKgV9oDRkLRO0GQYkZC5UlE_nOmr3_dhAP1cgLVxfE4nIQESAa3cNqLjXUoG3f5gP3FM-6-hurBf9WwdNXR0qoA0OMe-BYFASrGZj0gTetkFeFdAsTykbkDvCFEaE9wanLuN4oYYeqdVA==","glm-4-0520":"gAAAAABmkUsKJZBBKaKzQ7_hxIqiddZ-vAdtxQUk0_ZHsSFysvyQ1d-eik-F_if_21KmGdtKpaZwBP1N2Oa1TTE2SsgE2oqIOR1UnECrzMJiaNQdJOgIbwDTWxL2vqNqoqekJvpI-YSLBGAyGcHdYoVzLQ6u8W5KPj-PQp7-Nnlm2_WWRidkmAVKP8FKvKHgmY7u7VYpu94O5PKU3k42osJh6w3eEWoqDA==","glm-4-air":"gAAAAABmkUsL_N7Xj5keQtO3LUqh1bRVms3_wXxHwSKM0uvwlRB1MiL-iis_OvZGgZ6BzS9SPFZWt6J0tzATGqboUNOx7UMc31KKxm3DgdWC7XsnCJRakc9_KeTzNgS_wuJSMxfKmODLKO1fnRCVpUDHuYuqGESujjfofqQo4TrbAb_cz6p9Gv99gf_-sp10qewTaa5rYKQ5CGklzb8XjD7kJCdsCqohoA==","glm-4-airx":"gAAAAABmkUsViaU9KgeMfhYrGMw7FCPCw-9wAwlNUJ3kI22o0FRmX1M6rpmoc9H_14mbhXubeQjWwG1LCm8FRdniEibvKNGfmp1HXiOGWBF66nPZNbqACaxhLNpnhQaXEOnZfnYBwJ_EDnzgWZAOXEE118qYxuvE-1WrhlyqEAVykIQr42ioClJEpI0JQZFIH-Hlw8KHG3sfxNqbgUzmZ3p3-L5lmuJZbA==","glm-4-flash":"gAAAAABmkUsLR-_pYi-8bqgPqUQ7PdR-gFTLROqmZsQs7xLYfZtPtck-oKPALQ2i11iAKp7C5jFgQ3kXtcgDqCXU1XAQWup7PvKFvMIHzPQCNEbdwoaZYCSahHnwRd8dTk9MPRZjX3VECJoP5fKTDAzq8C3E2nguZIOEY01NvOPmLiNUP6IA5iEWCH4ywhFGXeG9FUnkKmOoOOnmSaTm747nGxk9hq4W0g==","gpt-3.5-turbo-0125":"gAAAAABmkUsR8DatvsPN7Rrmn2HxFvP4SzZk2wZALsWUfyJIwSaEKDxU6zvzLpQf7-0Cw3esdOpnTERTgMIuvKW9nYAxEXv9TLehsPSQ3vBOxg-XemQdvPxov7ncQEXttXfKs8RX_Uzfi5P6NHqhs1-Xr4E6r0tGCMrqj_xhTPbJFmzztFyo8y445Xc0E53kP6aAO73ffl_WfD04Mv5foWgzutYNA9rI1w==","gpt-4-turbo-2024-04-09":"gAAAAABmkUsZ7IiuppXTadJ-PnHy4GbvaL_CpzlsULbQJdMJpJ9a79sCKXTyvsdbrNrE8pASwRnA0EYaoIkaVYRo9ad_Yk-LXl5y64UtMQ9J5gFYPD80jhNePAso9VTVwhQlam46xiX3qkknZM3GFvHBFNqfDQz3RbsvC4SqLfB5qj8WAQHk_n0ZZ8DvukJtRdSSSSNzMe2-pZbzQcDHdhP5lVGjQN9S9g==","gpt-4o-2024-05-13":"gAAAAABmkUsa4Q-5CCeVEHzt-T0SA4GUU2-QEdx8uhQM4qgPXpzD6Xwrvb-EmxpP_ggKwVMc6kLjJmZSQBZdxHtp5UAchCZCKpMpaCnrubOfwuVEcj3aTmyiYqUlXCs6CUeyc18pp5CqYIBIbStr15FNVpaRTUnAZfywVvtS70UB7L5_pVV-uzIv-hR18ylqf5tCCcaolheYswoRfeHXWrl3jUKUYO9C-g==","llama3-70b-8192":"gAAAAABmkUsZJqLlp6hY9gAhX7Fu4e26HZCjt-j6AGgZh2Cx1iXsDTmCau2Gi46TiA784071qOq1Y3glnE_XLvB4IBg6i5y3EblUXL8Q7DvEyAOlfgl89BtTnZPh6O12pJsGSbOy-5XRIdPP5y0fME52eWBNFld9ZFqL-dUOJZoytHEluTCKBNQkG20QRF11rL43hr7UxF_DkkG9JS18QkAq2lLoan-ydA==","mixtral-8x7b-32768":"gAAAAABmkUsHL5e9Nbruz6e0nfR0iEBkHSBQRSRiBZkhRdd6P4O634nM-cFqLAGToLu_jkmnCmgtDlhmBLoNI0CqzeO5QOLkZyaxOOI-QlmSd3jRhDOMXWCnBZAapTAhPl5LVtxBOzbRc6ESUucqAp7YcWyN5PXUdMGFcx7Mjs0oiqsG6n3x71A7JjvcL9zeF4C9JuGtjBPwXoB56BfuJM2VfimQ_7GU1w==","moonshot-v1-32k":"gAAAAABmkUroGHbpX8E_-l8zoz_mfmhLkrzgkWPn-YTA9gCcyvfkeJHF2UHQB7sY3QWZCKcQ9H6m46sEoCHnysUM6mL8RlFLbvdOq3OGpPEwrRJCqcK2LfhBzEibO00QG0kmmBSavcFtmVHc8QKpdd-EITGeFAlZ10uN8TYU6z7umVDvt2wt6rzpCQXDZ6IQVgSJj9cwuVIIqG7J9e7_2LpE3-K-VElh3g==","qwen-max-0428":"gAAAAABmkUse_kCYLL-Z81qc6ukTxx5eFD9RM89crG53wz-Mnoq8p0X4PkywzBsbi-srvJem-eBUOqfN5rqTGymCJiErWB4FzuUesEip8vnT6P5inzE-AIoPk0ivNOj6MkGvNUKXLdLCsBYJC1R4tKmNmTmZDjNL9Kaj27rx8qGUORz-hmRDWlfDn7tefsWNfuTGmeo1HJhYQH0CXW0W6P7BLhV_ZIoE7g==","qwen-turbo":"gAAAAABmkUsYy67utPnhoy_plfFAA2lff9hCbotB7DQHXv16H5Ec4gaB8bLy_CGEwT6OmrsBFLVE-7BOEF13V9zE-QIrt2UVlu-0NzsknzZ2F8xMDgqk9rfD9Ja1d4zXqkZpEh-Iv9GG5SqlyqUFo9Xc7YNqgWcDwKVbANKL4iyHkK8_xlYXYSYqY3MG_S7_5mpB3YFO0MHh_MNIT4Z0PLNGCWQ8DxIa5Q==","step-1-32k":"gAAAAABmkUsWjxLbRQfwr4oEm4S3uQmMPD7fOGQceOCUjEN1AkrUPCPZLlcarD5g5q5QHQrc0eqX2arwgmpgMHcbhZ4Vmv_1-SsHiPQWPqaTkpKXMLOoRnVWIQnqkQ3-Jk5XdpoFINNJyWh9R1nLa-AWDzNFhzweU0zPbhyzs0MqZHNnR3yj4O1-nhWa5srt_UELeeQG65l1S2A3bnqy0M2a_134W7XUtw==","yi-large":"gAAAAABmkUsXiLrI0v1pzdoyELoOtTBOwMMMUZgh70sFf6Vkj-xLWhw7rqI4JI1jU5VpK7Ct-qNtBWz8WCPaagFzTFRGVLUA_55bivqH7KFg5vH098b0t32EGEodIsL7_6zg6nRhRE6ajdLl7zLNo3AIeGYsXEGztUoKEMrAuljgA2mEnqZ06CUVKxyNiYZy8C57XfSBbhnOBE9P7vgGw6fjaABa8f57BQ==","yi-large-turbo":"gAAAAABmkUr9aYevIzuxP_7rujgPkbaORAftG09SacPqP-ApIZUDA1pGuKb3R_oQa7K09wEdH63hFTabEEcexKzPd7DcWzll8NkPrcWPoQnw6WWDPBpi9Rdhz5DYPdcY2ONSrMsvNa8FCDmxeaDJzrh0bDRaAKdROJl0xZCfviQeqPXZ0Z2-HtuLmTtUppu88NXVGJfYTV7do3z_On4z_IdWs5W9YDQDSw==","yi-spark":"gAAAAABmkUsJj-PEk2frld-nl1blME-iTRjmf-xrqKbQ-xH7BaFsqvkN_2A4Pr8PRK5cjtJPj9MFWANbuW32OHj8kqA6KnHkDKiJD5o4v4AozhT0O1ZKPKDxcnEgzNvRW3B2l-7Rn5kDIQYpzgffVhZOOwyo1xpKAF30WLqSWhr5auswl4eqFg-n4wNjD3eF67bCe8DH-ykd_26hPwjqu6OkQ4c9_uUyLw=="}},{name:"mistral.ai",title:"mistral.ai",icon:Se,apiBase:"/app/mistral-ai",tokenUrl:"https://chat.mistral.ai/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"cookie: ory_session_coolcurranfxxxx:xxxx",apiModel:""},models:["codestral","mistral-large","mistral-next","mistral-small"]},{name:"n",title:"纳米",icon:ue,apiBase:"/app/n",tokenUrl:"https://bot.n.cn",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:{"deepseek-r1":"a0c817f8d3f097b5263048b29bfb5737"}},{name:"pieces",title:"pieces",icon:De,apiBase:"/app/pieces",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["claude-3-5-sonnet-latest"]},{name:"qodo",title:"qodo",icon:De,apiBase:"/app/qodo",tokenUrl:"https://auth.qodo.ai/?extensionId=Codium.codium&extensionQuery=windowId=1&uriScheme=vscode",
+// "https://auth.codium.ai//pre_login.html?redir_url=https://auth.codium.ai/%3FextensionId%3DCodium.codium%26extensionQuery%3DwindowId%3D2%26uriScheme%3Dvscode",//"https://api.qodo.ai/v1/auth/send-sign-in-link-email/vscode/Codium.codium/windowId=1?email=",
+isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:'{"email":"xxx@xxx","oobCode":"xxx"}',apiModel:""},models:["claude-3-5-sonnet"],onChat:async(e,t,a,o)=>{const i=a.messages,n=i[i.length-1],s=n.content;n.content=await nt(`用英语翻译以下内容,只返回翻译结果.: ${s}`,null),n.content+="\nRespond in the following locale: zh-cn"}},{name:"qwenlm",title:"qwenlm",icon:se,apiBase:"/app/qwenlm",tokenUrl:"https://chat.qwenlm.ai/",show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"token",apiModel:""},models:["qwen-max-latest","qwen-plus-latest","qvq-72b-preview","qwen2.5-coder-32b-instruct","qwen-vl-max-latest","qwen-image-latest"]},{name:"replicate.com",title:"replicate.com",icon:Pe,apiBase:"/app/replicate",tokenUrl:"https://replicate.com/meta/meta-llama-3.1-405b-instruct",isApi:!1,show:{apiBase:!0,apiKey:!1,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""},models:["meta/meta-llama-3.1-405b-instruct"]},{name:"tongyi",title:"tongyi.aliyun.com",icon:se,apiBase:"/app/tongyi",tokenUrl:"https://tongyi.aliyun.com/qianwen",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:'cookie: {login_tongyi_ticket:"",tongyi_sso_ticket:"",tongyi_guest_ticket:"",login_aliyunid_ticket:""}',apiModel:""},onMessage:(e,t,a)=>a.map((e=>({role:e.role,content:{text:e.content.text,files:e.content.files,images:e.content.images},id:e.id})))},{name:"wanzhi",title:"wanzhi.com",icon:Ue,apiBase:"/app/wanzhi",tokenUrl:"https://www.wanzhi.com/",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!1},tips:{apiBase:"",apiKey:"localStroage: authorization-storage",apiModel:""}},{name:"yuanbao",title:"元宝",icon:Ue,apiBase:"/app/yuanbao",tokenUrl:"https://yuanbao.tencent.com",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},models:["hunyuan_gpt_175B_0404","hunyuan_t1","deep_seek","deep_seek_v3"],tips:{apiBase:"",apiKey:"",apiModel:""}}];const mt=class e{constructor(){t(this,"_providers"),t(this,"_icons"),t(this,"_dict"),t(this,"_options"),
+// 新增计算属性缓存
+t(this,"_availableModels",n((()=>bt().enableModels.filter((e=>this.dict[e.type])))))}static getInstance(){return this.instance||(this.instance=new e),this.instance}initialize(){if(!this._providers){const e=kt();this._providers=[...dt,...e.isPro?ht:[]],this._icons=this._providers.reduce(((e,t)=>(e[t.name]=t.icon,e)),{}),this._dict=this._providers.reduce(((e,t)=>(e[t.name]=t,e)),{}),this._options=this._providers.map((e=>({label:e.title,value:e.name,...e})))}}
+// 属性访问器
+get providers(){return this.checkInitialized(),this._providers}get icons(){return this.checkInitialized(),this._icons}get dict(){return this.checkInitialized(),this._dict}get options(){return this.checkInitialized(),this._options}get availableModels(){return this.checkInitialized(),this._availableModels}
+// 新增方法
+getModelItemTitle(e){let t="";return e.apiModel&&(t=`(${this.getModelItemModel(e)})`),`${e.name}${t}`}getModelItemModel(e){var t;if(this.dict[e.type]){let a=this.dict[e.type].models;if((null==(t=e.additionalData)?void 0:t.models)&&(a=e.additionalData.models),a&&"object"==typeof a&&!Array.isArray(a))for(const t in a)if(Object.prototype.hasOwnProperty.call(a,t)&&a[t]===e.apiModel)return t}return e.apiModel}checkInitialized(){if(!this._providers)throw new Error("ModelProviderManager must be initialized before use")}};t(mt,"instance");const ut=mt.getInstance(),ft={textColor:"rgba(0, 0, 0, 0.9)",placeholderColor:"rgba(0, 0, 0, 0.35)",borderColor:"#dcdcdc",containerColor:"#fff"},gt={textColor:"rgba(255, 255, 255, 0.9)",placeholderColor:"rgba(255, 255, 255, 0.35)",borderColor:"#5e5e5e",containerColor:"#242424"},wt=["#0052D9","#0594FA","#00A870","#EBB105","#ED7B2F","#E34D59","#ED49B4","#834EC2"],_t={showFooter:!1,isSidebarCompact:!1,showBreadcrumb:!1,mode:"light",showHeader:!1,showNav:!1,brandTheme:"#0594FA"};const yt={..._t,colorList:{},chartColors:ft,isCompact:!1,
+//和sidebar的compact不一样的是.sidebar的compact是可以通过点击按钮改变..而这个只能通过窗口大小改变
+drivers:{currentDriver:"cloudflareKVHTTP",cloudflareKVHTTP:{apiURL:"https://api.cloudflare.com",accountId:"",namespaceId:"",apiToken:""}},version:""},vt=a("setting",{state:()=>yt,getters:{displayMode:e=>{if("auto"===e.mode){return window.matchMedia("(prefers-color-scheme:dark)").matches?"dark":"light"}return e.mode},showLayoutHeader:e=>e.showHeader||e.isCompact},actions:{async changeMode(e){let t=e;"auto"===e&&(t=this.getMediaColor());const a="dark"===t;document.documentElement.setAttribute("theme-mode",a?"dark":""),this.chartColors=a?gt:ft},getMediaColor:()=>window.matchMedia("(prefers-color-scheme:dark)").matches?"dark":"light",changeBrandTheme(e){const t=this.displayMode,a=`${e}[${t}]`;let o=this.colorList[a];if(void 0===o){const[{colors:i,primary:n}]=m.getColorGradations({colors:[e],step:10,remainInput:!1});o=function(e,t,a,o){return"dark"===a&&(t.reverse().map((e=>{const[t,a,o]=m.colorTransform(e,"hex","hsl");return m.colorTransform([t,Number(a)-4,o],"hsl","hex")})),o=5,t[0]=`${t[o]}20`),{"--td-brand-color":t[o],
+// 主题色
+"--td-brand-color-1":t[0],
+// light
+"--td-brand-color-2":t[1],
+// focus
+"--td-brand-color-3":t[2],
+// disabled
+"--td-brand-color-4":t[3],"--td-brand-color-5":t[4],"--td-brand-color-6":t[5],"--td-brand-color-7":o>0?t[o-1]:e,
+// hover
+"--td-brand-color-8":t[o],
+// 主题色
+"--td-brand-color-9":o>8?e:t[o+1],
+// click
+"--td-brand-color-10":t[9]}}(e,i,t,n),this.colorList[a]=o}!function(e,t,a){const o="dark"===a?`:root[theme-color='${e}'][theme-mode='dark']`:`:root[theme-color='${e}']`,i=document.createElement("style");i.type="text/css",i.innerText=`${o}{\n --td-brand-color: ${t["--td-brand-color"]};\n --td-brand-color-1: ${t["--td-brand-color-1"]};\n --td-brand-color-2: ${t["--td-brand-color-2"]};\n --td-brand-color-3: ${t["--td-brand-color-3"]};\n --td-brand-color-4: ${t["--td-brand-color-4"]};\n --td-brand-color-5: ${t["--td-brand-color-5"]};\n --td-brand-color-6: ${t["--td-brand-color-6"]};\n --td-brand-color-7: ${t["--td-brand-color-7"]};\n --td-brand-color-8: ${t["--td-brand-color-8"]};\n --td-brand-color-9: ${t["--td-brand-color-9"]};\n --td-brand-color-10: ${t["--td-brand-color-10"]};\n }`,document.head.appendChild(i)}(e,o,t),document.documentElement.setAttribute("theme-color",e)},updateConfig(e){for(const t in e)void 0!==e[t]&&(this[t]=e[t]),"mode"===t&&this.changeMode(e[t]),"brandTheme"===t&&this.changeBrandTheme(e[t])},updateDriverSettings(e,t){this.drivers[e]=t,this.drivers.currentDriver=e}},persist:{afterHydrate:e=>{e.store.updateConfig({mode:e.store.displayMode,brandTheme:e.store.brandTheme})}}}),At={name:"SeedChat",
+// 用户名,用于展示在页面右上角头像处
+proKey:"",remoteHost:"",openAtLogin:!1,shortcut:"CTRL+TAB",assistModel:"",minimizeToBottomRight:!0,toolBarButtons:[{name:"翻译",icon:null,prompt:"根据输入的语言进行中英文翻译,直接给出翻译答案,不需要任何解释:{{text}}",show:!0},{name:"解释",icon:null,prompt:"用简洁的语言解释以下的文本: {{text}}",show:!0}],avatar:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20440%20440%22%20fill%3D%22none%22%20shape-rendering%3D%22auto%22%3E%3Cmetadata%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20xmlns%3Adcterms%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%22%3E%3Crdf%3ARDF%3E%3Crdf%3ADescription%3E%3Cdc%3Atitle%3EFace%20Generator%3C%2Fdc%3Atitle%3E%3Cdc%3Acreator%3EThe%20Visual%20Team%3C%2Fdc%3Acreator%3E%3Cdc%3Asource%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fwww.figma.com%2Fcommunity%2Ffile%2F986078800058673824%3C%2Fdc%3Asource%3E%3Cdcterms%3Alicense%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F4.0%2F%3C%2Fdcterms%3Alicense%3E%3Cdc%3Arights%3ERemix%20of%20%E2%80%9EFace%20Generator%E2%80%9D%20(https%3A%2F%2Fwww.figma.com%2Fcommunity%2Ffile%2F986078800058673824)%20by%20%E2%80%9EThe%20Visual%20Team%E2%80%9D%2C%20licensed%20under%20%E2%80%9ECC%20BY%204.0%E2%80%9D%20(https%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F4.0%2F)%3C%2Fdc%3Arights%3E%3C%2Frdf%3ADescription%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cmask%20id%3D%22viewboxMask%22%3E%3Crect%20width%3D%22440%22%20height%3D%22440%22%20rx%3D%220%22%20ry%3D%220%22%20x%3D%220%22%20y%3D%220%22%20fill%3D%22%23fff%22%20%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23viewboxMask)%22%3E%3Cg%20transform%3D%22matrix(.71048%200%200%20.71048%2024%202)%22%3E%3Cpath%20d%3D%22m275.5%2051%2040.3%2049%2057.5-26.7%2015%2061.6%2063.5%201-13.2%2062%2056.7%2028.4-38.7%2050.2%2038.7%2050.2-56.7%2028.4%2013.2%2062-63.4%201-15%2061.6-57.6-26.7-40.3%2049-40.3-49-57.5%2026.7-15-61.6-63.5-1%2013.2-62-56.7-28.4%2038.7-50.2-38.7-50.2%2056.7-28.4-13.2-62%2063.4-1%2015-61.6%2057.6%2026.7%2040.3-49Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(81.7%20150.7)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M325%20213v-1.6C325%20139.8%20264.6%2055%20190%2055S55%20139.8%2055%20211.4a128.6%20128.6%200%200%200%200%203.2c0%2071.5%2060.4%20129.5%20135%20129.5s135-58%20135-129.5V213Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M324.6%20204.8c-5.1%2067-63.4%20119.8-134.6%20119.8-71.2%200-129.5-52.8-134.6-119.8-.3%203.3-.4%206.6-.4%209.8%200%2071.5%2060.4%20129.5%20135%20129.5s135-58%20135-129.5c0-3.2-.1-6.5-.4-9.8Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(199.5%20333.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M59.7%2022.8a57%2057%200%200%201-31%208.8c-17%200-33-7.3-31-8.8%200-17.1%203.2%200%2030%200%2029%200%2032-17.1%2032%200Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(280.7%20235.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M24%2043.3C24%2031.5%2033.5%2022%2045.3%2022h37.2c11.8%200%2021.4%209.5%2021.4%2021.3v37.3c0%2011.8-9.6%2021.4-21.4%2021.4H45.3A21.3%2021.3%200%200%201%2024%2080.6V43.3Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M32.9%2062A31%2031%200%201%201%2095%2062a31%2031%200%201%201-62.1%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(-.71856%200%200%20.71856%20161.5%20235.4)%22%3E%3Cpath%20d%3D%22M24%2043.3C24%2031.5%2033.5%2022%2045.3%2022h37.2c11.8%200%2021.4%209.5%2021.4%2021.3v37.3c0%2011.8-9.6%2021.4-21.4%2021.4H45.3A21.3%2021.3%200%200%201%2024%2080.6V43.3Z%22%20fill%3D%22%23c07f50%22%2F%3E%3Cpath%20d%3D%22M32.9%2062A31%2031%200%201%201%2095%2062a31%2031%200%201%201-62.1%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.2%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(114.8%20215.5)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M76%2052.4c3.6-2.8%209-8.4%2019.8-8.4a25%2025%200%200%201%2018%208.4M180%2052.4c3.6-2.8%209-8.4%2019.8-8.4a25%2025%200%200%201%2018%208.4%22%20stroke%3D%22%23000%22%20stroke-width%3D%223.7%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%2271%22%20y%3D%2261.5%22%20width%3D%2249.6%22%20height%3D%2260.6%22%20rx%3D%2214.4%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20x%3D%22173%22%20y%3D%2261.5%22%20width%3D%2249.6%22%20height%3D%2260.6%22%20rx%3D%2214.4%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20x%3D%2282%22%20y%3D%2269.7%22%20width%3D%2230.3%22%20height%3D%2246.9%22%20rx%3D%229.6%22%20fill%3D%22%23000%22%2F%3E%3Crect%20x%3D%22181.3%22%20y%3D%2269.7%22%20width%3D%2230.3%22%20height%3D%2246.9%22%20rx%3D%229.6%22%20fill%3D%22%23000%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(127.7%20288.7)%20scale(.71856)%22%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(193%20279.4)%20scale(.71856)%22%3E%3Cpath%20d%3D%22M37%2014v27c-3.7.7-11%204-11%2010.5%200%208.2%207.3%2010.5%2011%2011.7%22%20stroke%3D%22%23000%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(.52237%200%200%20.52237%20122.9%20244.8)%22%3E%3Cpath%20d%3D%22M11%20103V7.5h40L11%20103Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(-.52237%200%200%20.52237%20315.7%20244.8)%22%3E%3Cpath%20d%3D%22M11%20103V7.5h40L11%20103Z%22%20fill%3D%22%232c1b18%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22matrix(.52237%200%200%20.52237%20108.7%20145.6)%22%3E%3Cg%20fill%3D%22%232c1b18%22%3E%3Cpath%20d%3D%22m292.5%20119.2-39-41.2h-95l-36%2049.3L164%20115l-5.5%2073.7L192%20165l16.5%2036.9%2022.5-36.9%2033%2021.6-10.5-67.5h39Z%22%2F%3E%3Cpath%20d%3D%22M374%20130c6.5%2015.9%2011.5%2034.5%2011.5%2070-11%200-38.5%2011-92.5-18-54.8-29.5-68.9-59.5-82-79-13%2027-37%2051.3-72.5%2073.5-35.5%2022.2-83.8%2022.5-100%2025%200-23.1%201.5-47.5%2010.4-68.9A176%20176%200%200%201%20211%2024a175%20175%200%200%201%20124%2051.5c16.4%2016.4%2030.2%2033.1%2039%2054.5Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"},kt=a("user",{state:()=>At,getters:{isPro:e=>!0},actions:{},persist:{key:"user"}});const Bt=function(){let e=!1,t=0;return{getItem:e=>window.ipcRenderer.sendSync("GetConfig","conversation.json",e)||null,setItem:(t,a)=>{e||window.ipcRenderer.send("SaveConfig","conversation.json",t,a)},setPause:a=>{a?(t++,e=!0):(t=Math.max(0,t-1),e=t>0)}}}(),Mt=a("conversation",{state:()=>({list:[],showEditorDrawer:!1}),getters:{data(){return this.list}},actions:{add(e){this.list.push(e)},remove(e){this.list=this.list.filter((t=>t.id!==e))},update(e){const t=this.list.findIndex((t=>t.id===e.id));-1!==t&&(this.list[t]=e)},find(e){return this.list.find((t=>t.id===e))}},persist:{
+// 在这里进行自定义配置
+storage:window.ipcRenderer?Bt:localStorage,debug:!0}}),xt=h({data:null,setData(e){this.data=e}}),bt=a("model",{state:()=>({models:[]}),getters:{
+// 计算属性,获取已完成和未完成的Todo数量
+enableModels:e=>e.models.filter((e=>!0===e.status))},actions:{add(e){this.models.push(e)},remove(e){this.models=this.models.filter((t=>t.id!==e))},update(e){const t=this.models.findIndex((t=>t.id===e.id));-1!==t&&(this.models[t]=e)},find(e){return this.models.find((t=>t.id===e))}}});const Ct=o();Ct.use(i({storage:window.ipcRenderer?{getItem:e=>window.ipcRenderer.sendSync("GetConfig","config.json",e)||null,setItem:(e,t)=>{window.ipcRenderer.send("SaveConfig","config.json",e,t)}}:localStorage,auto:!0}));const Dt=(e,t)=>{const a=e.__vccOpts||e;for(const[o,i]of t)a[o]=i;return a};export{lt as A,wt as D,_t as S,Dt as _,F as a,kt as b,Mt as c,bt as d,xt as e,st as f,et as g,Bt as h,U as i,rt as j,at as k,K as l,ut as m,Ze as n,nt as o,Ve as p,q,Ye as r,Ct as s,L as t,vt as u,tt as v,We as w,Je as x,He as y,pt as z};