github-actions[bot]
commited on
Commit
·
269f01c
1
Parent(s):
dc28ece
Update from GitHub Actions
Browse files- .output/nitro.json +2 -2
- .output/public/assets/@traptitech-BvfRDySB.js +1 -0
- .output/public/assets/@wdns-F0x_nwuD.js +0 -0
- .output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js +1 -0
- .output/public/assets/FrameContent-B5Q4snXS.js +1 -0
- .output/public/assets/ToolBar.vue_vue_type_style_index_0_lang-DFQy7h1z.js +1 -0
- .output/public/assets/about-BwL3QcL6.js +1 -0
- .output/public/assets/changelog-51ykc7WB.js +1 -0
- .output/public/assets/chat-iwq_-gWt.js +1 -0
- .output/public/assets/content-pN6RCpjZ.js +3 -0
- .output/public/assets/fetch-Lmg5TJRx.js +1 -0
- .output/public/assets/help-CsIzKY7B.js +1 -0
- .output/public/assets/highlight.js-BMssuVXz.js +0 -0
- .output/public/assets/index-4iPBU98_.js +3 -0
- .output/public/assets/index-B_mUdk78.js +9 -0
- .output/public/assets/index-CNoNr_C9.js +1 -0
- .output/public/assets/index-D23yFg4b.js +1 -0
- .output/public/assets/index-Fvdag2mW.js +1 -0
- .output/public/assets/index-ZOIODvVH.js +1 -0
- .output/public/assets/katex-BWqyRjd8.js +0 -0
- .output/public/assets/main-DDFMRJWo.js +6 -0
- .output/public/assets/main-DeuBA7Uu.css +1 -0
- .output/public/assets/markdown-DzGpKJBk.js +23 -0
- .output/public/assets/markdown-it-highlightjs-SkC4yFW8.js +1 -0
- .output/public/assets/markdown.worker-DX8QUGrg.js +0 -0
- .output/public/assets/mermaid-BHUgx3VR.js +0 -0
- .output/public/assets/mermaid-render-DEM9knJr.js +0 -0
- .output/public/assets/popup-CC7q_C9X.css +1 -0
- .output/public/assets/popup-CeXaYDbE.js +19 -0
- .output/public/index.html +4 -4
- .output/public/popup.html +10 -10
- .output/public/sw.js +1 -1
- .output/server/chunks/nitro/nitro.mjs +0 -0
- .output/server/node_modules/@grpc/grpc-js/build/src/transport.js +9 -6
- .output/server/node_modules/@grpc/grpc-js/package.json +1 -1
- .output/server/package.json +1 -1
- package-lock.json +303 -219
.output/nitro.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
{
|
2 |
-
"date": "2025-04-
|
3 |
"preset": "node-server",
|
4 |
"framework": {
|
5 |
"name": "nitro",
|
6 |
"version": ""
|
7 |
},
|
8 |
"versions": {
|
9 |
-
"nitro": "2.11.
|
10 |
},
|
11 |
"commands": {
|
12 |
"preview": "node ./server/index.mjs"
|
|
|
1 |
{
|
2 |
+
"date": "2025-04-12T01:19:17.913Z",
|
3 |
"preset": "node-server",
|
4 |
"framework": {
|
5 |
"name": "nitro",
|
6 |
"version": ""
|
7 |
},
|
8 |
"versions": {
|
9 |
+
"nitro": "2.11.9"
|
10 |
},
|
11 |
"commands": {
|
12 |
"preview": "node ./server/index.mjs"
|
.output/public/assets/@traptitech-BvfRDySB.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{g as r}from"./@babel-ynFNPEB3.js";import{r as e}from"./katex-BWqyRjd8.js";var t,n;const c=r(function(){if(n)return t;n=1;var r=e();function c(r,e){var t,n,c=r.posMax,s=!0,a=!0;return t=e>0?r.src.charCodeAt(e-1):-1,n=e+1<=c?r.src.charCodeAt(e+1):-1,(32===t||9===t||n>=48&&n<=57)&&(a=!1),32!==n&&9!==n||(s=!1),{can_open:s,can_close:a}}function s(r,e){var t,n,s,a;if("$"!==r.src[r.pos])return!1;if(!c(r,r.pos).can_open)return e||(r.pending+="$"),r.pos+=1,!0;for(n=t=r.pos+1;-1!==(n=r.src.indexOf("$",n));){for(a=n-1;"\\"===r.src[a];)a-=1;if((n-a)%2==1)break;n+=1}return-1===n?(e||(r.pending+="$"),r.pos=t,!0):n-t==0?(e||(r.pending+="$$"),r.pos=t+1,!0):c(r,n).can_close?(e||((s=r.push("math_inline","math",0)).markup="$",s.content=r.src.slice(t,n)),r.pos=n+1,!0):(e||(r.pending+="$"),r.pos=t,!0)}function a(r,e,t,n){var c,s,a,o,i,l=!1,p=r.bMarks[e]+r.tShift[e],u=r.eMarks[e];if(p+2>u)return!1;if("$$"!==r.src.slice(p,p+2))return!1;if(p+=2,c=r.src.slice(p,u),n)return!0;for("$$"===c.trim().slice(-2)&&(c=c.trim().slice(0,-2),l=!0),a=e;!l&&!(++a>=t)&&!((p=r.bMarks[a]+r.tShift[a])<(u=r.eMarks[a])&&r.tShift[a]<r.blkIndent);)"$$"===r.src.slice(p,u).trim().slice(-2)&&(o=r.src.slice(0,u).lastIndexOf("$$"),s=r.src.slice(p,o),l=!0);return r.line=a+1,(i=r.push("math_block","math",0)).block=!0,i.content=(c&&c.trim()?c+"\n":"")+r.getLines(e+1,a,r.tShift[e],!0)+(s&&s.trim()?s:""),i.map=[e,r.line],i.markup="$$",!0}function o(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}return t=function(e,t){(t=t||{}).katex&&(r=t.katex),t.blockClass||(t.blockClass="");e.inline.ruler.after("escape","math_inline",s),e.block.ruler.after("blockquote","math_block",a,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=function(e,n){return function(e){t.displayMode=!1;try{return r.renderToString(e,t)}catch(n){return t.throwOnError,`<span class='katex-error' title='${o(n.toString())}'>${o(e)}</span>`}}(e[n].content)},e.renderer.rules.math_block=function(e,n){return function(e){t.displayMode=!0;try{return`<p class="katex-block ${t.blockClass}">`+r.renderToString(e,t)+"</p>"}catch(n){return t.throwOnError,`<p class='katex-block katex-error ${t.blockClass}' title='${o(n.toString())}'>${o(e)}</p>`}}(e[n].content)+"\n"}}}());export{c as m};
|
.output/public/assets/@wdns-F0x_nwuD.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{l as e,K as a,w as t,a as l,v as s,z as n,y as o,R as r,F as i,aa as u,J as c,a9 as p,A as v,H as f,ad as d,u as m,f as g,o as w,B as h,I as y,n as x}from"./@vue-CfxotJ-S.js";import{t as k,u as A,e as b,m as C}from"./mermaid-render-DEM9knJr.js";import{$ as P,b as z,Y as M,x as V,U as L,s as B}from"./tdesign-vue-next-BiEwLJDx.js";import{c as R,P as U,af as j}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{m as D}from"./mammoth-Cw8VHd7C.js";import{r as N,u as T}from"./xlsx-DB6BMndo.js";import{_ as F,a as S}from"./pdfjs-dist-8WFUNQXM.js";function H(){const e=window.innerWidth<768,a=navigator.userAgent.toLowerCase(),t=["android","webos","iphone","ipad","ipod","blackberry","windows phone"].some((e=>a.includes(e))),l="ontouchstart"in window||navigator.maxTouchPoints>0,s=void 0!==window.screen.orientation;return e&&(t||l||s)}const G={key:0,class:"flex gap-2 flex-wrap"},E=["onClick"],I={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},_={class:"flex gap-2"},K={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Q=["onClick"],J={class:"max-w-[160px] overflow-hidden text-ellipsis text-nowrap"},O={class:"flex gap-2"},Y={class:"max-w-[120px] overflow-hidden text-ellipsis text-nowrap"},Z={class:"whitespace-pre-wrap break-words"},W=e({__name:"FileList",props:{files:{type:Array},showCloseButton:{type:Boolean,default:!0}},setup(e){const g=e,w=a([]);t((()=>g.files.length),(()=>{w.length=g.files.length,w.fill(!1)}),{immediate:!0});const h=e=>{g.files.splice(e,1)},y=l(!1),x=l("");function k(e){if(0===e)return"0 B";const a=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,a)).toFixed(2))+" "+["B","KB","MB","GB"][a]}return(a,t)=>{const l=P,g=z,A=M,b=V;return e.files.length>0?(o(),s("div",G,[(o(!0),s(i,null,u(e.files,((a,t)=>(o(),s(i,null,[a.type.startsWith("image")?(o(),c(A,{key:a.id,visible:w[t],images:[a.content||a.url],"close-on-overlay":"",onClose:e=>(e=>{w[e]=!1})(t)},{trigger:p((()=>[v("div",{class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{w[e]=!0})(t)},[r(l,{src:a.content||a.url,style:{width:"40px",height:"40px"}},null,8,["src"]),v("div",null,[v("div",I,f(a.name),1),v("div",_,[v("span",K,f(a.type),1),v("span",null,f(k(a.size)),1)])]),e.showCloseButton?(o(),c(g,{key:0,theme:"primary",shape:"circle",onClick:d((e=>h(t)),["stop"]),size:"small",variant:"text"},{default:p((()=>[r(m(R),{slot:"icon"})])),_:2},1032,["onClick"])):n("",!0)],8,E)])),_:2},1032,["visible","images","onClose"])):(o(),s("div",{key:1,class:"bg-color-page flex p-2 gap-2 rounded-lg cursor-pointer",onClick:e=>(e=>{y.value=!0,x.value=e.content})(a)},[r(l,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAMAAAC4uKf/AAAA1VBMVEVHcEwgUP8kVP8lVf8oUP8IMKckVP8lU/8NL6kkVP8gUP8QMJ8NL6klVf8jU/8NL6oLMKokVP8OMKglUv8NMKkkVP8kU/8OLqskVP8OL6klU/8kVP8OLqkNL6oNMKkNL6olU/8NMKckVf8MMKckVP////8NL6nI1P8QNLR2lP8/af8yX/8xX/+6yf9Aaf/W3/9bf/+tv/+7yv+Env/x9f/k6v+ftP9oif8YQtQeS+lNdP9piv+En/8XQM/j6v8VPckhT/QSNrqgtP8eS+oTOL+Sqf+Rqf9kuMQUAAAAJHRSTlMAEHBgICDv39/PIBDv35C/ML9wYF9A0H+wz5+Pj59Q76Bgr0CdNRTaAAACCElEQVRo3u3a11ICQRAF0GVFFpAgIIggxt5ZcpJgzvr/n+STVZZMT+zZp7k/cGrSZavoIOClGHaiHKjnvHq5H5hlrwaaYYzlz0yoZgRggDF2pE1lugCGWOlQ08q2wBhjeb1zy0ZggbH8gc4eGlq/GKtqYF2wxNip+pUHa4zVVbGIAGPXrhf2FyupXckCCab2ALJAg7EThQcQUmGsJ8faZBg7dnlk/zF5J+cIMSbrZKDEZFeSFJN1Mi0m6WRiTNzJ1Jiwk8kxdpYmJuhkekzwABxgeCfbYH1M6znAXjAM62Qb7A7FkE4GJ/uIdDI4Whq3Ja0wuMW1Ojkm0Kr0GLxi51ZygAF8PH2+9TlxgmHxmMc8JsYGk2Q3AyfYaBZzs546wBYxkoQem8Zo5uTYA47dkGODNLFhmtsICWZNUrz6s6GbR73cfdPLx7HvRo95zGMe85glNvrmfTcimQyssPtVrJVkbPEpt441szHH3mPtjI2xRB/bGmNLfWxujH3pY0NjbLTStRY2V/85vasPMNyov+lksfXd6DGPecxjHiP+u1+YHOlQjSQFDnbhCmsTD58IExKP1QhT5P01WEvvyKxGoURpUA95CVLGxihTXFgQVOitCj5yWCDfxAz9MCVqFV2MbvLTKkqGNwnPrZKRTx4SLa7cVBt0JLgntYb61G14VTD+fctFnZB/WD8ijwbYDm7GXAAAAABJRU5ErkJggg==",style:{width:"40px",height:"40px"}}),v("div",null,[v("div",J,f(a.name),1),v("div",O,[v("span",Y,f(a.type),1),v("span",null,f(k(a.size)),1)])]),e.showCloseButton?(o(),c(g,{key:0,theme:"primary",shape:"circle",onClick:d((e=>h(t)),["stop"]),size:"small",variant:"text"},{default:p((()=>[r(m(R),{slot:"icon"})])),_:2},1032,["onClick"])):n("",!0)],8,Q))],64)))),256)),r(b,{visible:y.value,"onUpdate:visible":t[0]||(t[0]=e=>y.value=e),attach:"body","on-confirm":()=>y.value=!1},{body:p((()=>[v("div",Z,f(x.value),1)])),_:1},8,["visible","on-confirm"])])):n("",!0)}}}),q={class:"relative"},X=["onClick"],$={class:"flex align-middle justify-center items-center gap-2"},ee=e({__name:"ChatInput",props:{disabled:{type:Boolean,default:!1},minRows:{type:Number,default:2},maxRows:{type:Number,default:8},showUpload:{type:Boolean,default:!0},placeholder:{type:String,default:k("components.chatInput.placeholder")},autoCompleteEnabled:{type:Boolean,default:!1},tips:{type:String,default:""}},emits:["input"],setup(e,{emit:a}){F.workerSrc=new URL(""+new URL("pdf.worker.min-yatZIOMy.mjs",import.meta.url).href,import.meta.url).toString();const k=l(null),P=A();t((()=>P.isSidebarCompact),(e=>{e&&x((()=>{if(k.value){const e=k.value.$el.querySelector("textarea");e&&(e.focus(),e.blur())}}))}));const M=e,V=l(""),R=l([]),G=l(-1);l("");const E=a,I=()=>{const e=V.value.trim();e&&(R.value.push(e),R.value.length>50&&R.value.shift(),localStorage.setItem("chatHistory",JSON.stringify(R.value)),E("input",{content:e,files:_.value.map((e=>({content:e.content,url:e.url,id:e.raw.path,name:e.name,type:e.type,size:e.size})))}),V.value="",_.value=[],G.value=-1)},_=l([]),K=async e=>{try{for(const a of e){const e=await J(a.raw);a.content=e,_.value.push(a)}return{status:"success",error:"",response:{url:" "}}}catch{return{status:"fail",error:"",response:{}}}};async function Q(e){return new Promise(((a,t)=>{const l=new FileReader;l.onload=e=>a(e.target.result),l.onerror=e=>t(e),l.readAsArrayBuffer(e)}))}async function J(e){var a;switch(null==(a=e.name.split(".").pop())?void 0:a.toLowerCase()){case"docx":return await async function(e){const a=await Q(e);return(await D.extractRawText({arrayBuffer:a})).value}(e);case"pdf":return await async function(e){const a=await Q(e),t=await S(a).promise;let l="";for(let s=1;s<=t.numPages;s++){const e=await t.getPage(s);l+=(await e.getTextContent()).items.map((e=>e.str)).join(" ")+"\n"}return l}(e);case"xlsx":case"xls":return await async function(e){const a=await Q(e),t=N(new Uint8Array(a),{type:"array"});let l="";return t.SheetNames.forEach((e=>{const a=t.Sheets[e],s=T.sheet_to_json(a,{header:1});l+=`Sheet: ${e}\n`,s.forEach((e=>{l+=e.join(", ")+"\n"})),l+="\n"})),l}(e);case"png":case"jpg":case"jpeg":case"gif":case"bmp":case"webp":return await async function(e){return new Promise(((a,t)=>{const l=new FileReader;l.readAsDataURL(e),l.onload=()=>a(l.result),l.onerror=e=>t(e)}))}(e);default:return await async function(e){return new Promise(((a,t)=>{const l=new FileReader;l.onload=function(e){a(e.target.result)},l.onerror=function(e){t(e)},l.readAsText(e)}))}(e)}}const O=b(),Y=l(!1),Z=l(0),ee=l(0),ae=l(""),te=l(null),le=l(null),se=l(null),ne=l("-150px"),oe=g((()=>["@ai",...O.enableModels.map((e=>`@${C.getModelItemTitle(e)}`))])),re=l(!1),ie=(e,a)=>{const{e:t}=a;if(Y.value)switch(t.key){case"ArrowDown":t.preventDefault(),Z.value=(Z.value+1)%ue.value.length;break;case"ArrowUp":t.preventDefault(),Z.value=(Z.value-1+ue.value.length)%ue.value.length;break;case"Enter":t.preventDefault(),ue.value.length>0&&pe(ue.value[Z.value]);break;case"Escape":Y.value=!1}else if("Enter"===t.key){if(t.shiftKey||re.value)return;const e=V.value.trim();if(M.autoCompleteEnabled&&e.startsWith("@")&&(oe.value.includes(e)||"@"===e))return void t.preventDefault();t.preventDefault(),I()}else if("ArrowUp"===t.key||"ArrowDown"===t.key){if(-1===G.value&&V.value)return;if(t.preventDefault(),"ArrowUp"===t.key){if(0===R.value.length)return;G.value<R.value.length-1&&G.value++}else G.value>-1&&G.value--;-1===G.value?V.value="":V.value=R.value[R.value.length-1-G.value]}},ue=g((()=>{if(!ae.value)return oe.value;const e=ae.value.toLowerCase();return oe.value.filter((a=>a.toLowerCase().includes(e)))}));t((()=>ue),(async()=>{if(Y.value&&le.value){await x();const e=te.value.offsetHeight;ne.value=`-${e}px`}}));const ce=(e,a)=>{const{e:t}=a,l=e;if(G.value=-1,!M.autoCompleteEnabled)return;const s=t.target.selectionStart;if(ee.value=l.lastIndexOf("@",s-1),-1!==ee.value&&ee.value<s){const e=l.indexOf(" ",ee.value);ee.value===l.length-1||-1===e||e>=s?(ae.value=l.slice(ee.value+1,s),Y.value=!0,Z.value=0):Y.value=!1}else Y.value=!1},pe=e=>{const a=V.value.slice(0,ee.value),t=V.value.slice(V.value.indexOf(" ",ee.value)+1||V.value.length);V.value=a+e+" "+t,Y.value=!1,ae.value=""},ve=()=>{if(se.value&&te.value){const e=te.value,a=se.value,t=e.scrollTop,l=t+e.clientHeight,s=a.offsetTop,n=s+a.offsetHeight;s<t?e.scrollTop=s:n>l&&(e.scrollTop=n-e.clientHeight)}};t(Z,(()=>{x(ve)})),w((()=>{re.value=H();const e=localStorage.getItem("chatHistory");e&&(R.value=JSON.parse(e))}));const fe=async e=>{var a;const t=null==(a=e.clipboardData)?void 0:a.items;if(t)for(let l=0;l<t.length;l++){const a=t[l];if(a.type.startsWith("image/")){e.preventDefault();const t=a.getAsFile();if(t){const e={raw:t,name:`pasted_image_${Date.now()}.${t.type.split("/")[1]}`,type:t.type,size:t.size};await K([e])}}else if("file"===a.kind){e.preventDefault();const t=a.getAsFile();if(t){const e={raw:t,name:t.name||`pasted_file_${Date.now()}`,type:t.type,size:t.size};await K([e])}}}},de=async e=>{var a;const t=null==(a=e.dataTransfer)?void 0:a.files;if(t)for(let l=0;l<t.length;l++){const e=t[l];if(e){const a={raw:e,name:e.name,type:e.type,size:e.size};await K([a])}}};return(a,t)=>{const l=z,g=L,w=B;return o(),s("div",q,[Y.value?(o(),s("div",{key:0,class:"autocomplete left-0 absolute z-50 w-full bg-color-container bordered p-2",ref_key:"autocompleteContainer",ref:te,style:h({top:ne.value})},[v("ul",{ref_key:"suggestionList",ref:le},[(o(!0),s(i,null,u(ue.value,((e,a)=>(o(),s("li",{key:e,onClick:a=>pe(e),class:y({selected:a===Z.value}),ref_for:!0,ref:e=>{a===Z.value&&(se.value=e)}},f(e),11,X)))),128))],512)],4)):n("",!0),v("div",{class:"flex flex-col chat-input bg-color-container bordered rounded-lg px-1",onDragover:t[1]||(t[1]=d((()=>{}),["prevent"])),onDrop:d(de,["prevent"])},[r(W,{files:_.value,class:y(["py-2"])},null,8,["files"]),v("div",$,[e.showUpload?(o(),c(g,{key:0,theme:"custom","request-method":K,multiple:!0,allowUploadDuplicateFile:!0},{default:p((()=>[r(l,{theme:"primary",shape:"circle",size:"large",variant:"base"},{default:p((()=>[r(m(U),{slot:"icon"})])),_:1})])),_:1})):n("",!0),r(w,{ref_key:"textareaRef",ref:k,class:"flex-1",onKeydown:ie,onChange:ce,onPaste:fe,disabled:e.disabled,modelValue:V.value,"onUpdate:modelValue":t[0]||(t[0]=e=>V.value=e),placeholder:e.placeholder,name:"description",tips:e.tips,autosize:{minRows:e.minRows,maxRows:e.maxRows}},null,8,["disabled","modelValue","placeholder","tips","autosize"]),r(l,{theme:"primary",shape:"circle",onClick:I,size:"large",variant:"base"},{default:p((()=>[r(m(j),{slot:"icon"})])),_:1})])],32)])}}});export{ee as _,W as a,H as c};
|
.output/public/assets/FrameContent-B5Q4snXS.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{c as e}from"./@vueuse-B4dz7nOv.js";import{d as t}from"./lodash-VDnThKtA.js";import{p as a,u as r,_ as o}from"./mermaid-render-DEM9knJr.js";import{V as s}from"./tdesign-vue-next-BiEwLJDx.js";import{l as n,a as i,f as m,w as u,v as l,y as d,R as p,a9 as c,A as f,I as g,B as h,u as v}from"./@vue-CfxotJ-S.js";const y=["src"],w=o(n({__name:"FrameContent",props:{frameSrc:String,offset:{type:Number,default:0}},setup(o){const n=o,{width:w,height:x}=e(),_=i(!0),b=i(window.innerHeight),F=i(),j=m((()=>[`${a}-iframe-page`])),B=r(),I=m((()=>({height:`${b.value}px`}))),S=getComputedStyle(document.documentElement),H=S.getPropertyValue("--td-comp-size-xxxl"),C=S.getPropertyValue("--td-comp-size-xxl"),V=S.getPropertyValue("--td-comp-paddingTB-m");function $(){const e=v(F);if(!e)return;let t=0;const{showLayoutHeader:a,showFooter:r,showBreadcrumb:o}=B,s=a?parseFloat(H):0,i=document.querySelector(".t-breadcrumb"),m=s+(o?function(e){let t=e.clientHeight;const a=window.getComputedStyle(e);return t+=parseInt(a.marginTop,10),t+=parseInt(a.marginBottom,10),t+=parseInt(a.borderTopWidth,10),t+=parseInt(a.borderBottomWidth,10),t}(i):0)+2*parseFloat(V)+(r?parseFloat(C):0)+2+n.offset;b.value=window.innerHeight-m,t=document.documentElement.clientHeight-m,e.style.height=`${t}px`}function z(){_.value=!1,$()}return u([w,x],t($,250)),u([()=>B.showFooter,()=>B.showBreadcrumb],t($,250)),(e,t)=>{const a=s;return d(),l("div",{class:g(j.value),style:h(I.value)},[p(a,{loading:_.value,size:"large",style:h(I.value)},{default:c((()=>[f("iframe",{ref_key:"frameRef",ref:F,src:o.frameSrc,class:g(`${j.value}__main`),onLoad:z},null,42,y)])),_:1},8,["loading","style"])],6)}}}),[["__scopeId","data-v-200260e8"]]);export{w as F};
|
.output/public/assets/ToolBar.vue_vue_type_style_index_0_lang-DFQy7h1z.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{l as e,K as t,a,V as l,w as n,o as s,f as o,v as i,y as c,F as r,a0 as u,z as d,A as p,H as v,a1 as m,R as f,a9 as g,u as h,aa as x,J as y,G as w,n as b,ah as _,I as k,ad as C,B as j}from"./@vue-CfxotJ-S.js";import{m as T}from"./markdown-DzGpKJBk.js";import{s as B,b as $,Y as R,I as S,Z as z,_ as M,E,c as V,j as A,m as H,K as L,e as O}from"./tdesign-vue-next-BiEwLJDx.js";import{c as q,ad as I,v as U,k as D,Z as P,a5 as Y,af as F}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{_ as K,b as Z,t as N}from"./mermaid-render-DEM9knJr.js";import{a as W}from"./ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js";import{U as G}from"./@wdns-F0x_nwuD.js";import{f as J,b as X}from"./fetch-Lmg5TJRx.js";import{v as Q}from"./uuid-_R2nDvl_.js";import{a as ee}from"./main-DDFMRJWo.js";const te={class:"markdown-body"},ae={class:"think-summary"},le=["innerHTML"],ne=["innerHTML"],se={class:"flex justify-end mt-2 gap-5"},oe={key:0,class:"tdesign-image-viewer-wrapper flex flex-wrap gap-6"},ie={key:0,class:"tdesign-image-viewer__error tdesign-image-viewer__ui-image tdesign-image-viewer__base"},ce={class:"tdesign-image-viewer__error--content"},re={class:"tdesign-image-viewer__ui-image tdesign-image-viewer__base"},ue=["src","onError"],de=["onClick"],pe={class:"absolute left-1 top-1 max-w-[75%]"},ve=["title"],me=K(e({__name:"AssistantContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(e,{emit:_}){const k=t([!1,!1,!1,!1]),C=t([!1,!1,!1,!1]),j=e,S=a(""),z=a(""),M=a(!1),E=a(!1);let V=null,A=null;const H=async()=>{j.content.think&&(V&&clearTimeout(V),V=window.setTimeout((async()=>{try{M.value=!0,S.value=await T.render(j.content.think||"")}catch(e){}finally{M.value=!1}}),100))},L=async()=>{j.content.text&&(A&&clearTimeout(A),A=window.setTimeout((async()=>{try{E.value=!0,z.value=await T.render(j.content.text||"")}catch(e){}finally{E.value=!1}}),100))};l((()=>{V&&clearTimeout(V),A&&clearTimeout(A)})),n((()=>j.content.text),(()=>{L()})),n((()=>j.content.think),(()=>{H()})),s((()=>{j.content.text&&!z.value&&L(),j.content.think&&!S.value&&H()}));const O=o((()=>j.content.images.map((e=>e.content||e.url)))),P=_,Y=a(j.content.text),F=()=>{P("save",Y.value)},K=()=>{Y.value=j.content.text,P("cancel")},Z=(e,t)=>{},N=a(null);return n((()=>j.isEditing),(e=>{e&&(Y.value=j.content.text,b((()=>{N.value.$el.querySelector("textarea").focus()})))})),(t,a)=>{const l=B,n=$,s=R;return c(),i(r,null,[u(p("div",te,[u(p("details",null,[p("summary",ae,v(e.content.text?"查看 AI 思考过程":"思考中..."),1),p("div",{class:"think-process assistant-content",innerHTML:S.value},null,8,le)],512),[[m,e.content.think]]),p("div",{innerHTML:z.value,class:"assistant-content"},null,8,ne)],512),[[m,(e.content.text||e.content.think)&&!e.isEditing]]),u(p("div",null,[f(l,{ref_key:"textareaRef",ref:N,modelValue:Y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>Y.value=e),autosize:{minRows:5,maxRows:20},onBlur:Z},null,8,["modelValue"]),p("div",se,[f(n,{shape:"circle",size:"medium",onClick:K},{default:g((()=>[f(h(q),{slot:"icon"})])),_:1}),f(n,{shape:"circle",size:"medium",onClick:F},{default:g((()=>[f(h(I),{slot:"icon"})])),_:1})])],512),[[m,e.content.text&&e.isEditing]]),O.value.length>0?(c(),i("div",oe,[(c(!0),i(r,null,x(j.content.images,((e,t)=>(c(),i("div",{key:t,class:"min-w-44 min-h-44"},[C[t]?(c(),i("div",ie,[p("div",ce,[f(h(U),{name:"image-error",size:"2em"}),a[1]||(a[1]=p("div",null,"图片无法显示",-1))])])):(c(),y(s,{key:1,visible:k[t],images:O.value,"default-index":t,"close-on-overlay":"",onClose:e=>(e=>{k[e]=!1})(t)},{trigger:g((()=>[p("div",re,[p("img",{alt:"test",src:e.content||e.url,class:"tdesign-image-viewer__ui-image--img",onError:e=>(e=>{C[e]=!0})(t)},null,40,ue),p("div",{class:"tdesign-image-viewer__ui-image--hover",onClick:e=>(e=>{k[e]=!0})(t)},[p("span",null,[f(h(D),{size:"1.4em"}),a[2]||(a[2]=w(" 预览 "))])],8,de),p("div",pe,[p("div",{class:"text-black bg-white bg-opacity-75 p-1 rounded-2xl text-xs truncate",title:e.model},v(e.model),9,ve)])])])),_:2},1032,["visible","images","default-index","onClose"]))])))),128))])):d("",!0)],64)}}}),[["__scopeId","data-v-19255ef7"]]),fe={key:0,class:"toggle-button-container"},ge={key:1},he={class:"flex justify-end mt-2 gap-5"},xe=K(e({__name:"UserContent",props:{content:{type:Object},isEditing:{type:Boolean,default:!1},maxHeight:{type:Number,default:300}},emits:["save","cancel"],setup(e,{emit:t}){_((e=>({"2702f56a":l.maxHeight+"px"})));const l=e,x=o((()=>[...l.content.files,...l.content.images])),y=t,C=a(l.content.text),j=a(null),T=a(!0),R=a(!1),z=a(!1),M=()=>{if(j.value){const e=j.value.scrollHeight;R.value=e>l.maxHeight}},E=()=>{T.value=!T.value};s((()=>{b((async()=>{M()})),window.addEventListener("resize",M)})),n((()=>l.content.text),(()=>{b((()=>{M()}))}));const V=()=>{y("save",C.value)},A=()=>{C.value=l.content.text,y("cancel")},H=(e,t)=>{},L=a(null);return n((()=>l.isEditing),(e=>{e&&(C.value=l.content.text,b((()=>{L.value.$el.querySelector("textarea").focus()})))})),(t,a)=>{const l=S,n=$,s=B;return c(),i(r,null,[f(W,{files:x.value,showCloseButton:!1,class:"mb-2"},null,8,["files"]),e.isEditing?d("",!0):(c(),i("div",{key:0,class:"content-container relative",onMouseenter:a[0]||(a[0]=e=>z.value=!0),onMouseleave:a[1]||(a[1]=e=>z.value=!1)},[p("div",{ref_key:"contentRef",ref:j,class:k(["user-content whitespace-pre-wrap break-words",{"content-collapsed":T.value&&R.value}])},v(e.content.text),3),R.value?u((c(),i("div",fe,[f(n,{size:"small",variant:"text",onClick:E,class:"toggle-button"},{icon:g((()=>[f(l,{name:T.value?"chevron-down":"chevron-up"},null,8,["name"])])),default:g((()=>[w(v(T.value?"展开":"收起")+" ",1)])),_:1})],512)),[[m,z.value]]):d("",!0)],32)),e.isEditing?(c(),i("div",ge,[f(s,{ref_key:"textareaRef",ref:L,modelValue:C.value,"onUpdate:modelValue":a[2]||(a[2]=e=>C.value=e),autosize:{minRows:2,maxRows:20},onBlur:H},null,8,["modelValue"]),p("div",he,[f(n,{size:"large",shape:"circle",variant:"text",onClick:A},{default:g((()=>[f(h(q),{slot:"icon"})])),_:1}),f(n,{size:"large",shape:"circle",variant:"text",onClick:V},{default:g((()=>[f(h(I),{slot:"icon"})])),_:1})])])):d("",!0)],64)}}}),[["__scopeId","data-v-b8afd07d"]]),ye=e({__name:"CodeRenderer",props:{blocks:{type:Array,required:!0}},setup(e){const t=e,l=a(),r=o((()=>t.blocks.every((e=>e.complete))));const u=o((()=>{var e,a,l,n,s,o;if(!r.value)return"";const i=(null==(e=t.blocks.find((e=>"html"===e.language)))?void 0:e.code)||"",{head:c,body:u}=function(e){const t=e.match(/<head\b[^>]*>([\s\S]*?)<\/head>/i),a=e.match(/<body\b[^>]*>([\s\S]*?)<\/body>/i);return{head:t?t[1].trim():"",body:a?a[1].trim():""}}(i),d=(null==(a=t.blocks.find((e=>"css"===e.language)))?void 0:a.code)||"",p=(null==(l=t.blocks.find((e=>"js"===e.language||"javascript"===e.language||"typescript"===e.language)))?void 0:l.code)||"";null==(n=t.blocks.find((e=>"typescript"===e.language)))||n.code;const v=(null==(s=t.blocks.find((e=>"jsx"===e.language)))?void 0:s.code)||"",m=(null==(o=t.blocks.find((e=>"vue"===e.language)))?void 0:o.code)||"";if(v){const e=v.match(/export default (\w+);/),t=e?e[1]:null;return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'unsafe-inline';">\n <style>${d}</style>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.24.6/babel.min.js"><\/script>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.3.1/umd/react.production.min.js"><\/script>\n <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"><\/script>\n ${c}\n </head>\n\n <body>\n <div id="app"></div>\n ${u}\n <script type="text/babel">\n ${function(e){const t=/import\s+(?:(\w+)\s*,?\s*)?(?:{([^}]+)})?\s+from\s+['"]react['"];?/g,a=/import\s+['"]([^'"]+\.css)['"];?/g,l=/import\s+\w+\s+from\s+['"]react-dom['"];?/g,n=/ReactDOM\.render\([^)]*\);?/g;let s,o=e,i="";const c=new Set;for(;null!==(s=t.exec(e));)s[1]&&(i=s[1].trim()),s[2]&&s[2].split(",").forEach((e=>c.add(e.trim())));o=o.replace(t,""),o=o.replace(a,""),o=o.replace(l,""),o=o.replace(n,"");let r="";r+=i?`const ${i} = window.React;\n`:"const React = window.React;\n";c.size>0&&(r+=`const { ${Array.from(c).join(", ")} } = React;\n`);return(r+o).replace(/export default \w+;\s*$/,"")}(v)}\n ReactDOM.render(<${t} />, document.getElementById('app'))\n <\/script>\n </body>\n </html>\n `}if(m){const e=m.match(/<template>([\s\S]*)<\/template>/),t=m.match(/<script\s*(setup)?[^>]*>([\s\S]*)<\/script>/),a=m.match(/<style[^>]*>([\s\S]*)<\/style>/),l=e?e[1].trim():"",n=t?t[2].trim():"",s=t&&"setup"===t[1],o=a?a[1].trim():"";let i=n;if(s)i=i.replace(/import\s+.*from\s+['"].*['"]/g,""),i=`return {\n ${i}\n }`;else{const e=i.match(/export\s+default\s*{([\s\S]*)}/);e&&(i=e[1].trim())}return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline' 'unsafe-eval' https://unpkg.com; style-src 'unsafe-inline';">\n <script src="https://unpkg.com/vue@3/dist/vue.global.js"><\/script>\n <style>${o}</style>\n ${c}\n </head>\n <body>\n <div id="app">\n ${l}\n </div>\n ${u}\n <script>\n const { createApp, ref, reactive, computed, onMounted } = Vue;\n \n const app = createApp({\n ${s?"setup() {":""}\n ${i}\n ${s?"}":""}\n });\n \n app.mount('#app');\n <\/script>\n </body>\n </html>\n `}return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="utf-8" />\n <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'unsafe-inline'; style-src 'unsafe-inline';">\n <style>${d}</style>\n ${c}\n </head>\n <body>\n ${u}\n <script>\n ${p}\n <\/script>\n </body>\n </html>\n `}));return n(u,(e=>{l.value&&(l.value.srcdoc=e)})),s((()=>{l.value&&(l.value.srcdoc=u.value)})),(e,t)=>(c(),i("iframe",{ref_key:"iframeRef",ref:l,sandbox:"allow-scripts",style:{width:"100%",height:"100%",border:"none"}},null,512))}}),we={class:"h-full w-full relative"},be=e({__name:"CodeBlocks",props:{content:{type:String,required:!0},closeBtn:{type:[Function,null],default:null}},setup(e){const t=e,l=a(0),s=a([]);n((()=>t.content),(e=>{s.value=function(e){const t=/(?:^|\n)```(?:(html|css|js|javascript|typescript|jsx|vue)?.*)\n([\s\S]*?)(?:```|$)/g;return[...e.matchAll(t)].map((e=>({language:e[1]||"javascript",code:e[2].trim(),complete:e[0].endsWith("```")})))}(t.content);const a=s.value.every((e=>e.complete));l.value=a?-1:0}),{immediate:!0});const o=()=>{t.closeBtn()};return(t,a)=>{const n=M,u=z,p=$;return c(),i("div",we,[f(u,{modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),class:"h-full overflow-auto flex flex-col artifact"},{default:g((()=>[f(n,{value:-1,label:"preview"},{default:g((()=>[f(ye,{blocks:s.value,class:"rounded-lg"},null,8,["blocks"])])),_:1}),(c(!0),i(r,null,x(s.value,((e,t)=>(c(),y(n,{value:t,label:e.language},{default:g((()=>[f(h(G),{highlightjs:"",code:e.code,lang:e.language,theme:!1,class:"code-block h-full"},null,8,["code","lang"])])),_:2},1032,["value","label"])))),256))])),_:1},8,["modelValue"]),e.closeBtn?(c(),y(p,{key:0,size:"small",variant:"outline",onClick:o,class:"absolute right-0 top-3 z-50"},{default:g((()=>[f(h(q),{slot:"icon"})])),_:1})):d("",!0)])}}}),_e={class:"flex flex-row items-center p-2"},ke={class:"flex flex-col gap-2 p-2"},Ce={class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line scrollbar p-2"},je=["innerHTML"],Te={class:"flex flex-row justify-end gap-2"},Be={class:"flex flex-col gap-2 p-2"},$e={class:"flex flex-grow items-center gap-2 relative"},Re={class:"flex flex-col gap-2 p-2"},Se={class:"max-h-72 scrollbar overflow-y-auto overflow-x-hidden bordered p-2 shadow-sm"},ze=e({__name:"ToolBar",props:{parent:Object},setup(e,{expose:t}){const l=Z(),d=ee(),_=e,k=a({top:"0px",left:"0px"}),R=a(!1),S=a(null),z=a(null),M=a(""),I=()=>{if(!S.value||!_.parent)return;const e=S.value,t=_.parent,a=t.getBoundingClientRect(),l=e.getBoundingClientRect();let n=parseFloat(k.value.left);const s=a.width-l.width;n>s&&(n=s),n<0&&(n=0);let o=parseFloat(k.value.top);const i=l.height+o,c=a.height;i>c&&(o=Math.max(0,c-l.height));const r=t.scrollTop;o<r&&(o=r),k.value={top:`${o}px`,left:`${n}px`}},U=a(!1),D=a(!1),K=a(""),W=()=>{R.value=!1,U.value=!1},G=()=>{const e=window.getSelection();navigator.clipboard.writeText(e.toString()),W(),O.success(N("components.toolBar.copySuccessMsg"))},te=()=>{navigator.clipboard.writeText(M.value),W(),O.success(N("components.toolBar.copySuccessMsg"))},ae=o((()=>l.toolBarButtons.filter((e=>e.name&&e.show)))),le=(e,t)=>{const{e:a}=t;if("Enter"===a.key){if(a.shiftKey)return;a.preventDefault(),ce()}};let ne="",se=null,oe=a("");const ie=()=>{he(),D.value=!0,se=window.getSelection(),oe.value=se.toString(),b((()=>{I()}))},ce=async()=>{const e=oe.value,t=K.value;ne=t.includes("{{text}}")?t.replace("{{text}}",e):e?e+"\r\n"+t:t,D.value=!1,await re()};async function re(){const e=_.parent,t=S.value.getBoundingClientRect().left-e.getBoundingClientRect().left;he(),U.value=!0,b((()=>{const a=e.getBoundingClientRect(),l=S.value.getBoundingClientRect();let n=t;const s=a.width-l.width;if(n>s&&(n=s),n<0&&(n=0),se&&se.rangeCount>0){const t=se.getRangeAt(0).getBoundingClientRect();let s=t.top+e.scrollTop-a.top-52;const o=e.scrollTop;s<o&&(s=o),s+l.height>a.height+e.scrollTop&&(s=t.bottom+e.scrollTop-a.top+10,s+l.height>a.height+e.scrollTop&&(s=Math.max(o,a.height+e.scrollTop-l.height))),k.value={top:`${s}px`,left:`${n}px`}}})),await ue()}const ue=async()=>{l.assistModel?(M.value=N("components.toolBar.handing"),await J(ne,(e=>{M.value=e,b((()=>{I()}))}))):O.error(N("components.toolBar.noAssistModel"))},de=a(!1),pe=async()=>{he(),de.value=!0,oe.value=window.getSelection().toString(),b((()=>{I()}))},ve=a(""),me=d.list,fe=async()=>{de.value=!1;const e=oe.value,t={id:Q(),title:e,time:(new Date).getTime(),conversationId:"",conversationName:"",conversationAvatar:"",chats:[],notes:[oe.value]};if(d.add(t),O.success(N("pages.conversation.favorite_success")),l.assistModel){const a=N("pages.conversation.extract_core_conversation",{question:e,answer:""});await X(a,(e=>{t.title=e,t.title=t.title.replaceAll("###",""),t.title=t.title.trim(),d.update(t)}))}},ge=async()=>{if(!ve.value)return void O.warning("需要先选中笔记");de.value=!1;const e=me.find((e=>e.id==ve.value));e.notes.push(oe.value),d.update(e),O.success(N("pages.conversation.favorite_success"))},he=()=>{U.value=!1,D.value=!1,K.value="",de.value=!1,ve.value=""};return n([M,D,de],(()=>{(U.value||D.value||de.value)&&b((()=>{I()}))}),{deep:!0}),s((()=>{if(_.parent){new ResizeObserver((()=>{R.value&&I()})).observe(_.parent),_.parent.addEventListener("scroll",(()=>{R.value&&I()}))}})),t({showToolbox:()=>{const e=window.getSelection();e.toString().trim()&&(R.value=!0,he(),b((()=>{const t=e.getRangeAt(0).getBoundingClientRect(),a=_.parent,l=a.getBoundingClientRect(),n=S.value.getBoundingClientRect();let s=t.left+t.width/2-n.width/2+a.scrollLeft-l.left;const o=l.width-n.width;s>o&&(s=o),s<0&&(s=0);let i=t.top+a.scrollTop-l.top-52;const c=a.scrollTop;i<c&&(i=c),i+n.height>l.height+a.scrollTop&&(i=t.bottom+a.scrollTop-l.top+10,i+n.height>l.height+a.scrollTop&&(i=Math.max(c,l.height+a.scrollTop-n.height))),k.value={top:`${i}px`,left:`${s}px`}})))},hideToolbox:W}),(e,t)=>{const a=$,l=E,n=B,s=L,o=H,d=A,b=V;return u((c(),i("div",{ref_key:"selectToolbox",ref:S,style:j(k.value),class:"z-50 absolute bg-color-container bordered rounded-xl shadow-md flex flex-col max-w-80",onMouseup:t[2]||(t[2]=C((()=>{}),["stop"])),onMousedown:t[3]||(t[3]=C((()=>{}),["stop"]))},[p("div",_e,[(c(!0),i(r,null,x(ae.value,(e=>(c(),i(r,null,[f(a,{onClick:t=>(async e=>{se=window.getSelection(),oe.value=se.toString(),ne=e.prompt.replace("{{text}}",oe.value),await re()})(e),size:"small",variant:"text"},{default:g((()=>[w(v(e.name),1)])),_:2},1032,["onClick"]),f(l,{layout:"vertical"})],64)))),256)),f(a,{size:"small",variant:"text",onClick:ie},{default:g((()=>[w(v(e.$t("components.toolBar.dialog")),1)])),_:1}),f(l,{layout:"vertical"}),f(a,{size:"small",variant:"text",onClick:pe},{default:g((()=>[w(v(e.$t("components.toolBar.faviorite")),1)])),_:1}),f(l,{layout:"vertical"}),f(a,{size:"small",variant:"text",onClick:G},{default:g((()=>[w(v(e.$t("components.toolBar.copy")),1)])),_:1})]),u(p("div",ke,[p("pre",Ce,v(h(ne)),1),p("div",{ref_key:"toolResultContent",ref:z,class:"markdown-body max-h-64 overflow-auto scrollbar",innerHTML:h(T).renderSync(M.value)},null,8,je),p("div",Te,[f(a,{size:"small",variant:"outline",onClick:ue},{default:g((()=>[f(h(P),{slot:"icon"})])),_:1}),f(a,{size:"small",variant:"outline",onClick:te},{default:g((()=>[f(h(Y),{slot:"icon"})])),_:1}),f(a,{size:"small",variant:"outline",onClick:W},{default:g((()=>[f(h(q),{slot:"icon"})])),_:1})])],512),[[m,U.value]]),u(p("div",Be,[u(p("pre",{class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line scrollbar p-2"},v(h(oe).trim()),513),[[m,h(oe).trim()]]),p("div",$e,[f(n,{modelValue:K.value,"onUpdate:modelValue":t[0]||(t[0]=e=>K.value=e),onKeypress:le},null,8,["modelValue"]),f(a,{size:"small",shape:"circle",variant:"outline",onClick:ce,class:"absolute bottom-1 right-1"},{default:g((()=>[f(h(F),{slot:"icon"})])),_:1})])],512),[[m,D.value]]),u(p("div",Re,[u(p("pre",{class:"max-h-32 bg-color-page overflow-auto whitespace-pre-line scrollbar p-2"},v(h(oe).trim()),513),[[m,h(oe).trim()]]),f(a,{onClick:fe,theme:"default",variant:"outline"},{default:g((()=>t[4]||(t[4]=[w("创建新的笔记")]))),_:1}),f(a,{onClick:ge,theme:"default",variant:"outline"},{default:g((()=>t[5]||(t[5]=[w("添加到笔记")]))),_:1}),p("div",Se,[f(b,{modelValue:ve.value,"onUpdate:modelValue":t[1]||(t[1]=e=>ve.value=e)},{default:g((()=>[f(d,{gutter:[16,16]},{default:g((()=>[(c(!0),i(r,null,x(h(me),(e=>(c(),y(o,{span:12},{default:g((()=>[f(s,{value:e.id,class:"grid grid-flow-col auto-cols-max align-middle fav-radio fav-radio-toolbar"},{default:g((()=>[w(v(e.title),1)])),_:2},1032,["value"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])])],512),[[m,de.value]])],36)),[[m,R.value]])}}});export{me as A,xe as U,be as _,ze as a};
|
.output/public/assets/about-BwL3QcL6.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{F as s}from"./FrameContent-B5Q4snXS.js";import{l as t,J as o,y as r}from"./@vue-CfxotJ-S.js";import"./@vueuse-B4dz7nOv.js";import"./lodash-VDnThKtA.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-render-DEM9knJr.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./tdesign-vue-next-BiEwLJDx.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";const i=t({__name:"about",setup:t=>(t,i)=>(r(),o(s,{frameSrc:"http://www.openseed.top/about"}))});export{i as default};
|
.output/public/assets/changelog-51ykc7WB.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{F as s}from"./FrameContent-B5Q4snXS.js";import{l as t,J as o,y as r}from"./@vue-CfxotJ-S.js";import"./@vueuse-B4dz7nOv.js";import"./lodash-VDnThKtA.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-render-DEM9knJr.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./tdesign-vue-next-BiEwLJDx.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";const i=t({__name:"changelog",setup:t=>(t,i)=>(r(),o(s,{frameSrc:"http://www.openseed.top/changelog"}))});export{i as default};
|
.output/public/assets/chat-iwq_-gWt.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{l as e,f as t,a,w as l,o,v as n,y as s,F as i,J as c,z as r,R as u,a9 as d,u as v,A as p,H as m,aa as h,G as f,ac as g,ad as _,j as x,a0 as b,I as w,a1 as y,V as j,B as k,n as C}from"./@vue-CfxotJ-S.js";import{c as z,e as M,m as A,t as I,_ as V,b as S,u as T,g as E,f as R}from"./mermaid-render-DEM9knJr.js";import{u as U,a as P}from"./vue-router-DKqWD4MR.js";import{c as H,_ as B}from"./ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js";import{_ as O}from"./avatar.vue_vue_type_script_setup_true_lang-IaazOHzd.js";import{u as q}from"./app-_ksMLlTy.js";import{p as N,q as $,r as D,T as W,b as L,s as F,t as K,u as J,O as G,A as X,v as Y,w as Z,n as Q,D as ee,x as te,e as ae,P as le,l as oe,y as ne,E as se,G as ie,m as ce,J as re,c as ue,j as de,K as ve}from"./tdesign-vue-next-BiEwLJDx.js";import{V as pe,W as me,X as he,Y as fe,Z as ge,$ as _e,a0 as xe,a1 as be,a2 as we,a3 as ye,_ as je,a4 as ke,a5 as Ce,a6 as ze,a7 as Me,a8 as Ae,E as Ie,n as Ve}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{v as Se}from"./uuid-_R2nDvl_.js";import{u as Te,a as Ee}from"./main-DDFMRJWo.js";import{g as Re,r as Ue,s as Pe,c as He,a as Be,b as Oe}from"./fetch-Lmg5TJRx.js";import{U as qe,A as Ne,_ as $e,a as De}from"./ToolBar.vue_vue_type_style_index_0_lang-DFQy7h1z.js";import{d as We}from"./vuedraggable-DAEPkKhD.js";import{g as Le}from"./lyihub-zLFv36Ly.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./mammoth-Cw8VHd7C.js";import"./xlsx-DB6BMndo.js";import"./pdfjs-dist-8WFUNQXM.js";import"./@dicebear-JcnEMRoc.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-BIpqWpgL.js";import"./eventsource-parser-D0ssca5s.js";import"./markdown-DzGpKJBk.js";import"./markdown-it-link-attributes-DRKqjf49.js";import"./markdown-it-C8SkdHr7.js";import"./mdurl-CDXpswLz.js";import"./uc.micro-CLkLCS2f.js";import"./entities-D7HTx9ov.js";import"./linkify-it-LcVOBuC5.js";import"./punycode.js-Bmr3cAX8.js";import"./@traptitech-BvfRDySB.js";import"./katex-BWqyRjd8.js";import"./markdown-it-highlightjs-SkC4yFW8.js";import"./highlight.js-BMssuVXz.js";import"./@wdns-F0x_nwuD.js";import"./ua-parser-js--QiuJfYt.js";const Fe={key:0,class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)] gap-3"},Ke={class:"text-lg font-bold"},Je={class:"overflow-y-auto overflow-x-hidden max-h-60 custom-scrollbar"},Ge={class:"flex"},Xe={class:"flex flex-row justify-between gap-3 w-full"},Ye=V(e({__name:"ConversationDrawer",setup(e){const x=z(),b=t({get:()=>x.showEditorDrawer,set(e){x.showEditorDrawer=e}}),w=()=>{x.showEditorDrawer=!1},y=H(),j=a(null),k=U(),C=()=>{const e=x.find(k.query.id);V.value=e.models.reduce(((e,t)=>(e[t.modelId]=t.showing,e)),{}),j.value={id:e.id,name:e.name,content:e.content,avatar:e.avatar,models:e.models.map((e=>e.modelId)),agentId:e.agentId,saveToAgent:!1,maxContextSize:e.maxContextSize,aspectRatio:e.aspectRatio}},V=a({});l((()=>{var e;return null==(e=j.value)?void 0:e.models}),(e=>{const t=Object.keys(V.value);t.forEach((t=>{e.includes(t)||delete V.value[t]})),e.forEach((e=>{t.includes(e)||(V.value[e]=!1)}))}));const S=t((()=>{if(!j.value)return!1;return Object.values(V.value).filter((e=>e)).length>=q}));l((()=>x.showEditorDrawer),(e=>{e&&C()})),M();const T=t((()=>A.availableModels.value.map((e=>({value:e.id,label:A.getModelItemTitle(e),...e}))))),E=Te(),R=t((()=>{let e=E.find(j.value.agentId);return e=e||E.defaultAgent,e})),P=e=>{j.value.avatar=e},B=()=>{const e=x.find(j.value.id);e.name=j.value.name,e.content=j.value.content,e.avatar=j.value.avatar,e.agentId=j.value.agentId,e.maxContextSize=j.value.maxContextSize,e.aspectRatio=j.value.aspectRatio;const t=[];e.models.forEach((e=>{j.value.models.includes(e.modelId)&&(e.showing=V.value[e.modelId],t.push(e))})),j.value.models.forEach((a=>{e.models.some((e=>e.modelId===a))||t.push({modelId:a,chats:[],startContext:0,apiAgentId:"",apiConversationId:"",apiNote:"",showing:V.value[a],status:{responseWating:!1,chating:!1,stop:!1}})})),e.models=t,j.value.saveToAgent&&(R.value.content=j.value.content),C(),ae.success(I("pages.conversation.save_conversation_success"))},le=a(!1),oe=a(""),ne=()=>{if(""===oe.value.trim())return void ae.warning(I("pages.conversation.enter_agent_name"));const e=Se();E.add({id:e,name:oe.value,status:!0,content:j.value.content,avatar:j.value.avatar,onboarding:"",isDefault:!1});const t=x.find(j.value.id);j.value.agentId=e,t.agentId=e,le.value=!1,ae.success(I("pages.conversation.create_agent_success"))},se=()=>{j.value.content=R.value.content},ie=()=>{j.value.saveToAgent=!j.value.saveToAgent};return o((()=>{x.showEditorDrawer=!1})),(e,t)=>{const a=D,l=$,o=L,x=W,k=F,C=K,z=G,M=J,E=Z,U=Y,H=X,q=Q,ae=N,ce=ee,re=te;return s(),n(i,null,[j.value?(s(),c(ce,{key:0,visible:b.value,"onUpdate:visible":t[7]||(t[7]=e=>b.value=e),size:"408px",footer:!1,header:v(I)("pages.conversation.current_conversation"),"close-btn":!0,class:"",onCloseBtnClick:w},{default:d((()=>[u(ae,{ref:"form",data:j.value,"label-width":100,"label-align":"top"},{default:d((()=>[v(y)?r("",!0):(s(),n("div",Fe,[u(O,{ref:"avatarRef",url:j.value.avatar,onUpdate:P},null,8,["url"]),p("h1",Ke,m(v(I)("pages.conversation.agent"))+": "+m(R.value.name),1)])),u(l,{label:v(I)("pages.conversation.conversation_name"),name:"name"},{default:d((()=>[u(a,{modelValue:j.value.name,"onUpdate:modelValue":t[0]||(t[0]=e=>j.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),u(l,{label:v(I)("pages.conversation.conversation_description"),name:"content",class:"relative"},{default:d((()=>[u(x,{content:v(I)("pages.conversation.rollback_from_agent")},{default:d((()=>[u(o,{shape:"circle",variant:"text",class:"absolute z-50 right-0 top-[-32px]",onClick:se},{default:d((()=>[u(v(pe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(k,{modelValue:j.value.content,"onUpdate:modelValue":t[1]||(t[1]=e=>j.value.content=e),autosize:{minRows:2,maxRows:5},name:"content"},null,8,["modelValue"])])),_:1},8,["label"]),u(l,{label:v(I)("pages.conversation.context_rounds"),name:"maxContextSize"},{default:d((()=>[u(C,{modelValue:j.value.maxContextSize,"onUpdate:modelValue":t[2]||(t[2]=e=>j.value.maxContextSize=e),inputNumberProps:"",showStep:"",min:0,max:30},null,8,["modelValue"])])),_:1},8,["label"]),u(l,{label:"图片宽高比",name:"aspectRatio"},{default:d((()=>[u(M,{modelValue:j.value.aspectRatio,"onUpdate:modelValue":t[3]||(t[3]=e=>j.value.aspectRatio=e)},{default:d((()=>[u(z,{value:"IMAGE_ASPECT_RATIO_SQUARE",label:"方形 (1:1)"}),u(z,{value:"IMAGE_ASPECT_RATIO_PORTRAIT",label:"竖屏 (9:16)"}),u(z,{value:"IMAGE_ASPECT_RATIO_LANDSCAPE",label:"横屏 (16:9)"}),u(z,{value:"IMAGE_ASPECT_RATIO_PORTRAIT_THREE_FOUR",label:"竖屏 (3:4)"}),u(z,{value:"IMAGE_ASPECT_RATIO_LANDSCAPE_FOUR_THREE",label:"横屏 (4:3)"})])),_:1},8,["modelValue"])])),_:1}),u(l,{label:v(I)("pages.conversation.model"),name:"models"},{default:d((()=>[u(M,{modelValue:j.value.models,"onUpdate:modelValue":t[5]||(t[5]=e=>j.value.models=e),multiple:"",filterable:!v(y)},{valueDisplay:d((({value:e,onClose:a})=>[p("div",Je,[(s(!0),n(i,null,h(e,((e,l)=>(s(),c(U,{key:l,closable:!0,"on-close":({e:e})=>{e.stopPropagation(),a(l)}},{default:d((()=>[u(E,{disabled:S.value&&!V.value[e.value],onClick:t[4]||(t[4]=_((()=>{}),["stop"])),class:"mr-1",size:"small",modelValue:V.value[e.value],"onUpdate:modelValue":t=>V.value[e.value]=t},null,8,["disabled","modelValue","onUpdate:modelValue"]),f(" "+m(e.label),1)])),_:2},1032,["on-close"])))),128))])])),default:d((()=>[(s(!0),n(i,null,h(T.value,(e=>(s(),c(z,{key:e.value,value:e.value,label:e.label},{default:d((()=>[p("div",Ge,[u(H,{size:"20px",class:"mr-1"},{icon:d((()=>[(s(),c(g(v(A).icons[e.type])))])),_:2},1024),f(" "+m(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue","filterable"])])),_:1},8,["label"]),u(l,null,{default:d((()=>[p("div",Xe,[R.value.isDefault?r("",!0):(s(),c(q,{key:0,onChange:ie},{default:d((()=>[f(m(v(I)("pages.conversation.save_to_agent")),1)])),_:1})),u(o,{theme:"primary",type:"submit",onClick:B,class:"flex-1"},{default:d((()=>[f(m(v(I)("pages.conversation.save_conversation")),1)])),_:1})])])),_:1}),u(l,null,{default:d((()=>[u(o,{theme:"primary",type:"submit",onClick:t[6]||(t[6]=e=>le.value=!0),class:"w-full"},{default:d((()=>[f(m(v(I)("pages.conversation.save_as_new_agent")),1)])),_:1})])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])):r("",!0),u(re,{visible:le.value,"onUpdate:visible":t[9]||(t[9]=e=>le.value=e),header:v(I)("pages.conversation.create_new_agent"),"on-confirm":ne},{default:d((()=>[u(ae,{ref:"form","label-width":100},{default:d((()=>[u(l,{label:v(I)("pages.conversation.agent_name"),name:"name"},{default:d((()=>[u(a,{modelValue:oe.value,"onUpdate:modelValue":t[8]||(t[8]=e=>oe.value=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1},512)])),_:1},8,["visible","header"])],64)}}}),[["__scopeId","data-v-9dfbddf7"]]),Ze={class:"h-full flex flex-col chat-model-container relative"},Qe={class:"cursor-pointer handle p-2 bg-color-container rounded-t-lg shadow-2xl chat-model-header z-20"},et={class:"flex flex-wrap justify-between w-full overflow-x-hidden"},tt={class:"flex gap-1"},at={class:"max-w-[120px]"},lt={class:"model-info flex flex-col gap-2"},ot={class:"max-h-44 overflow-auto no-scrollbar"},nt={class:"flex gap-1 flex-wrap"},st={key:0,class:"flex w-full justify-end items-start flex-row-reverse gap-2 chat-item"},it=["data-index"],ct={class:"flex justify-between overflow-hidden h-[24px]"},rt={class:"flex chat-item-tools gap-2"},ut={class:"user-chat-content p-2 rounded-lg"},dt={class:"w-[24px] h-[24px]"},vt={key:1,class:"flex w-full flex-col gap-2 chat-item"},pt={class:"flex justify-start align-middle items-center gap-2 h-[24px]"},mt={class:"flex flex-row justify-between gap-5"},ht={class:"flex flex-col w-full"},ft=["data-index"],gt={key:0,class:"loader"},_t={key:2,class:"flex gap-5 overflow-x-auto scrollbar p-1"},xt=["onClick"],bt={class:"flex flex-row w-full"},wt={class:"w-12 h-2"},yt=["src"],jt={class:"w-44"},kt={class:"w-full text-ellipsis overflow-hidden text-nowrap"},Ct={class:"text-ellipsis overflow-hidden whitespace-nowrap"},zt={class:"max-h-10 overflow-hidden mt-2"},Mt={class:"h-[24px] mt-1 chat-item-tools"},At={class:"flex justify-end gap-2"},It={key:3,class:"flex justify-center w-full"},Vt={class:"fixed-scroll-buttons"},St=e({__name:"ChatColumn",props:{chatModel:{type:Object},conversation:{type:Object},fullScreenModelId:{type:String,default:""},isSingleModel:{type:Boolean,default:!1}},emits:["stop-chat","extend-model-visible","re-chat","change-size","api-setting-visible","fav-note-visible","clear-chat-context","clear-chat-history","update-scroll-flag"],setup(e,{emit:l}){const j=H(),k=S();U();const C=e,z=a(null);Ee(),M();const V=t((()=>C.chatModel.chat.chats));const T=l,E=e=>{T("re-chat",e.model.id)},R=a(-1),P=e=>{R.value=e},B=e=>{V.value[R.value].content.text=e,R.value=-1},O=()=>{R.value=-1},q=t((()=>A.getModelItemTitle(C.chatModel.model))),N=e=>{navigator.clipboard.writeText(e.content.text),ae.success(I("pages.note.noteCopySuccess"))},D=t((()=>{let e="",t="";if(C.chatModel.model.apiBase.startsWith("http"))e=C.chatModel.model.apiBase,t=C.chatModel.model.apiKey;else{let l=Re(C.chatModel.model.apiBase||A.dict[C.chatModel.model.type].apiBase,"openai"==C.chatModel.model.type);l=l.replace("/app/","/api/"),l.includes("?")?l+="&":l+="?",l+=`model=${C.chatModel.model.id}`,l+="&",l+=`conversation=${C.conversation.id}`;const o=l.indexOf("?");e=l.substring(0,o)+"/v1/chat/completions",t="oa_"+(a=l.substring(o+1),btoa(a).split("").map((e=>{const t=e.charCodeAt(0);return String.fromCharCode(t+1)})).join(""))}var a;return{apiBase:e,apiKey:t}})),F=t((()=>C.chatModel.model.apiBase.startsWith("http")?"ApiBase":"LocalApi")),J=t((()=>C.chatModel.model.apiBase.startsWith("http")?"ApiKey":"LocalKey")),G=a(!1),Z=a("");x((()=>{if(!V.value||0===V.value.length)return;const e=V.value[V.value.length-1];"assistant"===e.role&&(Z.value=e.content.text)}));const Q=()=>{G.value=!1};async function ee(){await window.ipcRenderer.invoke("refresh-vercel-view")?ae.success("Refresh succeed"):ae.error("Refresh failed")}async function te(){await window.ipcRenderer.invoke("refresh-coze-com-view")?ae.success("Refresh succeed"):ae.error("Refresh failed")}async function ce(){await window.ipcRenderer.invoke("refresh-coze-cn-view")?ae.success("Refresh succeed"):ae.error("Refresh failed")}async function re(){const e=A.dict["chatgpt.com"],t=await window.ipcRenderer.invoke("login-get-token",{url:e.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});e.playground.apiKey=t.token,ae.success("Refresh succeed")}async function ue(){const e=A.dict.magai,t=await window.ipcRenderer.invoke("login-get-token",{url:e.tokenUrl,userAgent:"",script:"",show:!1,autoClose:!0});e.playground.apiKey=t.token,ae.success("Refresh succeed")}const de=a(!1),ve=a(!1),pe=a(!1),Ae=a(!1),Ie=()=>{if(!z.value)return;const e=z.value.querySelector(".chat-container-content"),t=e.scrollTop,a=e.scrollHeight,l=e.clientHeight;de.value=t>200,ve.value=a-t-l>200,pe.value=de.value||ve.value},Ve=()=>{const e=z.value.querySelector(".chat-container-content"),t=e.getAttribute("data-chat-id");t&&T("update-scroll-flag",t,!1),e.scrollTo({top:0,behavior:"smooth"}),setTimeout((()=>{e.scrollTo({top:0,behavior:"instant"})}),500)},Se=()=>{const e=z.value.querySelector(".chat-container-content"),t=e.getAttribute("data-chat-id");t&&T("update-scroll-flag",t,!0),e.scrollTo({top:e.scrollHeight,behavior:"smooth"}),setTimeout((()=>{e.scrollTo({top:e.scrollHeight,behavior:"instant"})}),500)},Te=e=>{Ae.value=e};return o((()=>{z.value.querySelector(".chat-container-content").addEventListener("scroll",Ie)})),(t,a)=>{const l=X,o=K,x=$,C=L,M=oe,S=le,U=W,H=Y,ae=se,Ie=ie,Ee=ne;return s(),n("div",Ze,[p("div",Qe,[p("div",et,[p("div",tt,[u(l,{size:"20px"},{icon:d((()=>[(s(),c(g(v(A).icons[e.chatModel.model.type])))])),_:1}),p("div",at,[u(S,{placement:"bottom","cancel-btn":null,"confirm-btn":null},{content:d((()=>[p("div",lt,[a[21]||(a[21]=p("p",null,"Model Info",-1)),p("p",null,[p("span",null,m(t.$t("pages.setting.model.model_name")),1),f(m(e.chatModel.model.name),1)]),p("p",null,[p("span",null,m(t.$t("pages.setting.model.model_interface")),1),f(m(e.chatModel.model.type),1)]),p("p",null,[p("span",null,m(t.$t("pages.setting.model.model_address")),1),f(m(e.chatModel.model.apiBase),1)]),u(x,{label:v(I)("pages.conversation.temperature"),name:"temperature",labelAlign:"left",labelWidth:"64px"},{default:d((()=>[u(o,{modelValue:e.chatModel.model.temperature,"onUpdate:modelValue":a[0]||(a[0]=t=>e.chatModel.model.temperature=t),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),u(x,{label:v(I)("pages.conversation.maxTokens"),name:"maxTokens",labelAlign:"left",labelWidth:"64px"},{default:d((()=>[u(o,{modelValue:e.chatModel.model.maxTokens,"onUpdate:modelValue":a[1]||(a[1]=t=>e.chatModel.model.maxTokens=t),inputNumberProps:"",showStep:"",min:1024,max:61440,step:1024},null,8,["modelValue"])])),_:1},8,["label"]),u(x,{label:v(I)("pages.conversation.topP"),name:"topP",labelAlign:"left",labelWidth:"64px"},{default:d((()=>[u(o,{modelValue:e.chatModel.model.topP,"onUpdate:modelValue":a[2]||(a[2]=t=>e.chatModel.model.topP=t),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),p("p",null,[p("span",null,m(F.value),1),f(m(D.value.apiBase),1)]),p("p",ot,[p("span",null,m(J.value),1),f(m(D.value.apiKey),1)]),p("p",null,[a[15]||(a[15]=p("span",null,"Model ",-1)),f(m(e.chatModel.model.apiModel),1)]),"vercel"===e.chatModel.model.type?(s(),c(C,{key:0,theme:"primary",onClick:ee},{default:d((()=>a[16]||(a[16]=[f("refresh vercel.ai ")]))),_:1})):r("",!0),"coze.com"===e.chatModel.model.type?(s(),c(C,{key:1,theme:"primary",onClick:te},{default:d((()=>a[17]||(a[17]=[f("refresh coze.com ")]))),_:1})):r("",!0),"coze.cn"===e.chatModel.model.type?(s(),c(C,{key:2,theme:"primary",onClick:ce},{default:d((()=>a[18]||(a[18]=[f("refresh coze.cn ")]))),_:1})):r("",!0),"chatgpt.com"===e.chatModel.model.type?(s(),c(C,{key:3,theme:"primary",onClick:re},{default:d((()=>a[19]||(a[19]=[f("refresh chatgpt.com ")]))),_:1})):r("",!0),"magai"===e.chatModel.model.type?(s(),c(C,{key:4,theme:"primary",onClick:ue},{default:d((()=>a[20]||(a[20]=[f("refresh magai.co ")]))),_:1})):r("",!0)])])),default:d((()=>[u(M,{theme:"primary",title:q.value,class:"block w-full whitespace-nowrap text-ellipsis overflow-hidden"},{default:d((()=>[f(m(q.value),1)])),_:1},8,["title"])])),_:1})])]),p("div",nt,[u(U,{content:v(I)("pages.conversation.maximize_minimize")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[3]||(a[3]=_((t=>{return a=e.chatModel,void T("change-size",a.model.id);var a}),["stop"]))},{default:d((()=>[e.chatModel.chat.modelId==e.fullScreenModelId?(s(),c(v(me),{key:0,slot:"icon"})):(s(),c(v(he),{key:1,slot:"icon"}))])),_:1})])),_:1},8,["content"]),u(U,{content:v(I)("pages.conversation.stop_answering")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[4]||(a[4]=_((t=>{return a=e.chatModel,void T("stop-chat",a.model.id);var a}),["stop"]))},{default:d((()=>[u(v(fe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(U,{content:v(I)("pages.conversation.regenerate_last_conversation")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[5]||(a[5]=_((t=>E(e.chatModel)),["stop"]))},{default:d((()=>[u(v(ge),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(S,{theme:"danger",content:v(I)("pages.conversation.confirm_delete_chat_history"),placement:"top",onConfirm:a[6]||(a[6]=t=>{return a=e.chatModel,void T("clear-chat-history",a.model.id);var a})},{default:d((()=>[u(U,{content:v(I)("pages.conversation.delete_chat_history")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline"},{default:d((()=>[u(v(_e),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),u(S,{theme:"warning",content:v(I)("pages.conversation.confirm_clear_context"),placement:"top",onConfirm:a[7]||(a[7]=t=>{return a=e.chatModel,void T("clear-chat-context",a.model.id);var a})},{default:d((()=>[u(U,{content:v(I)("pages.conversation.clear_context")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline"},{default:d((()=>[u(v(xe),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),u(U,{content:v(I)("pages.conversation.inherit_other_model_conversation")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[8]||(a[8]=_((t=>{return a=e.chatModel,void T("extend-model-visible",a.model.id);var a}),["stop"]))},{default:d((()=>[u(v(be),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(U,{content:v(I)("pages.conversation.api_conversation_settings")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[9]||(a[9]=_((t=>{return a=e.chatModel,void T("api-setting-visible",a.model.id);var a}),["stop"]))},{default:d((()=>[u(v(we),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(U,{content:v(I)("pages.conversation.toggle_artifacts")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[10]||(a[10]=_((e=>{G.value=!G.value}),["stop"]))},{default:d((()=>[u(v(ye),{slot:"icon"})])),_:1})])),_:1},8,["content"])])])]),p("div",{class:"flex flex-1 overflow-hidden bg-color-container rounded-b-lg shadow-md w-full",onMouseenter:a[13]||(a[13]=e=>Te(!0)),onMouseleave:a[14]||(a[14]=e=>Te(!1))},[p("div",{class:"flex-1 relative h-full overflow-hidden",ref_key:"scrollable_chat",ref:z},[u(Ee,{"data-chat-id":e.chatModel.model.id,class:w(["flex flex-col h-full overflow-y-auto chat-container-content scrollable-chat relative",{chating:e.chatModel.chat.status.chating}]),scroll:{type:"virtual",bufferSize:20}},{default:d((()=>[(s(!0),n(i,null,h(V.value,((t,o)=>(s(),c(Ie,{key:`${e.chatModel.model.id}-${o}`,class:"w-full"},{default:d((()=>["user"===t.role?(s(),n("div",st,[p("div",{class:"flex flex-col gap-2 w-[calc(100%-24px-1rem)]","data-index":`${o}`},[p("div",ct,[f(m(v(k).name)+" ",1),p("div",rt,[u(S,{theme:"danger",content:v(I)("pages.conversation.dialog_confirm_delete_record"),placement:"bottom",onConfirm:e=>(e=>{const t=V.value.findIndex((t=>t===e));-1!==t&&(V.value.splice(t,1),t<V.value.length&&"assistant"===V.value[t].role&&V.value.splice(t,1))})(t)},{default:d((()=>[u(U,{content:v(I)("pages.conversation.button_tooltip_delete"),placement:"bottom"},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline"},{default:d((()=>[u(v(je),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),u(U,{content:v(I)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:e=>P(o)},{default:d((()=>[u(v(ke),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),u(U,{content:v(I)("pages.conversation.button_tooltip_copy")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:e=>N(t)},{default:d((()=>[u(v(Ce),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),u(U,{content:v(I)("pages.conversation.button_tooltip_favourite"),placement:"bottom"},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a=>{return l=e.chatModel,void T("fav-note-visible",l,t);var l}},{default:d((()=>[u(v(ze),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),o===e.chatModel.chat.chats.length-2?(s(),c(U,{key:0,content:v(I)("pages.conversation.button_tooltip_refresh")},{default:d((()=>[u(C,{size:"small",shape:"circle",variant:"outline",onClick:a[11]||(a[11]=t=>E(e.chatModel))},{default:d((()=>[u(v(ge),{slot:"icon"})])),_:1})])),_:1},8,["content"])):r("",!0)])]),p("div",ut,[u(qe,{content:t.content,isEditing:R.value===o,onSave:B,onCancel:O},null,8,["content","isEditing"])])],8,it),p("div",dt,[u(l,{size:"24px",image:v(k).avatar},null,8,["image"])])])):"assistant"===t.role?(s(),n("div",vt,[p("div",pt,[u(l,{size:"24px",image:e.conversation.avatar},null,8,["image"]),p("div",mt,m(e.conversation.name),1)]),p("div",ht,[p("div",{"data-index":`${o}`},[e.chatModel.chat.status.responseWating&&o===e.chatModel.chat.chats.length-1?(s(),n("span",gt)):(s(),c(Ne,{key:1,content:t.content,isEditing:R.value===o,onSave:B,onCancel:O},null,8,["content","isEditing"])),t.content.webs&&t.content.webs.length>0?(s(),n("div",_t,[(s(!0),n(i,null,h(t.content.webs,(e=>(s(),n("div",{class:"bg-color-page p-2 w-60 cursor-pointer",onClick:t=>{return a=e.url,void(window.ipcRenderer?window.ipcRenderer.send("open-url",a):window.open(a));var a}},[p("div",bt,[p("div",wt,[p("img",{src:e.icon,alt:""},null,8,yt)]),p("div",jt,[p("div",kt,m(e.title),1),p("div",Ct,m(e.url),1)])]),p("div",zt,m(e.excerpt),1)],8,xt)))),256))])):r("",!0)],8,ft),p("div",Mt,[p("div",At,[t.model?(s(),c(H,{key:0,class:"max-w-60 model-tag"},{default:d((()=>[f(m(t.model),1)])),_:2},1024)):r("",!0),u(U,{content:v(I)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:d((()=>[u(C,{size:"small",variant:"outline",onClick:e=>P(o)},{default:d((()=>[u(v(ke),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),u(U,{content:v(I)("pages.conversation.button_tooltip_copy")},{default:d((()=>[u(C,{size:"small",variant:"outline",onClick:e=>N(t)},{default:d((()=>[u(v(Ce),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),u(U,{content:v(I)("pages.conversation.toggle_artifacts")},{default:d((()=>[u(C,{size:"small",variant:"outline",onClick:e=>{var a;"assistant"===(a=t).role&&(Z.value=a.content.text,G.value=!0)}},{default:d((()=>[u(v(ye),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),o===e.chatModel.chat.chats.length-1?(s(),c(U,{key:1,content:v(I)("pages.conversation.button_tooltip_refresh")},{default:d((()=>[u(C,{size:"small",variant:"outline",onClick:a[12]||(a[12]=t=>E(e.chatModel))},{default:d((()=>[u(v(ge),{slot:"icon"})])),_:1})])),_:1},8,["content"])):r("",!0)])])])])):"verbose"===t.role?(s(),c(ae,{key:2},{default:d((()=>[f(m(t.content.text),1)])),_:2},1024)):(s(),n("div",It,m(t.role)+" - "+m(t.content.text),1))])),_:2},1024)))),128))])),_:1},8,["data-chat-id","class"]),a[22]||(a[22]=p("div",{class:"absolute z-50 bottom-0 w-full h-20 rounded-b-lg chat-model-footer pointer-events-none"},null,-1))],512),G.value?(s(),n("div",{key:0,class:w([e.chatModel.chat.modelId!==e.fullScreenModelId&&!e.isSingleModel||v(j)?"w-full":"w-1/2","pr-4"])},[u($e,{content:Z.value,closeBtn:Q},null,8,["content"])],2)):r("",!0),b(p("div",Vt,[b(u(C,{class:"scroll-top-btn",shape:"circle",onClick:Ve},{icon:d((()=>[u(v(Me))])),_:1},512),[[y,de.value]]),b(u(C,{class:"scroll-bottom-btn",shape:"circle",onClick:Se},{icon:d((()=>[u(v(Me),{style:{transform:"rotateX(180deg)"}})])),_:1},512),[[y,ve.value]])],512),[[y,pe.value&&Ae.value]])],32)])}}}),Tt={class:"w-full flex gap-2 absolute bottom-0 z-50"},Et={class:"rounded-lg px-1 bg-color-container bordered flex items-center align-middle"},Rt={class:"flex flex-col justify-center items-center w-full"},Ut={class:"flex flex-col gap-5 w-full overflow-hidden"},Pt={class:"max-h-96 scrollbar overflow-y-auto overflow-x-hidden bordered p-2 shadow-sm"},Ht=e({name:"ListConversation",setup(e){const o=S(),r=T(),V=Ee(),O=z(),q=U();P();const F=a(null),K=a(null);let J=!1;const G=a([]),Y=M(),Z=H(),Q=a(!1),ee=async e=>{if(e.content)if(J&&""===Xe.value)ae.warning("等待上个问题回答完成");else try{G.value.forEach((t=>{if(""!==Xe.value&&Xe.value!==t.model.id)return;const a=Be(e.content);e.files.forEach((e=>{e.type.startsWith("image")?a.images.push({...e,model:""}):a.files.push(e)})),t.chat.chats.push({role:"user",content:a,id:"",liked:!1,model:""}),t.chat.chats.push({role:"assistant",content:Be(""),id:"",liked:!1,model:""})})),E.setPause(!0);const t=G.value.map(((e,t)=>{if((""===Xe.value||Xe.value===e.model.id)&&!0!==e.chat.status.chating)return e.chat.status.chating=!0,e.chat.status.stop=!1,e.chat.status.responseWating=!0,e})).filter((e=>e));if(0===t.length)return;await mt(0),pt();let a="";if(K.value.internet){const l=await Pe(e.content);t.map((e=>{e.chat.chats[e.chat.chats.length-1].content.webs=l.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url})))})),l.length>0&&(a=JSON.stringify(l.map((e=>({content:e.content,url:e.url})))))}const l=t.map(((e,t)=>new Promise(((l,o)=>{setTimeout((()=>{const t=He(K.value,e,a);l(t)}),100*t)}))));await Promise.all(l)}finally{J=!1,E.setPause(!1),O.$persist()}else ae.error(I("pages.conversation.question_cannot_be_empty"))},oe=async()=>{try{if(""!==Xe.value)return void ne(Xe.value);if(J&&""===Xe.value)return void ae.warning("等待上个问题回答完成");E.setPause(!0);const e=G.value.map(((e,t)=>{if(0===e.chat.chats.length)return;if(!0===e.chat.status.chating)return;const a=e.chat.chats[e.chat.chats.length-1];if("assistant"==a.role)return Ue(a.content),a.model="",e.chat.status.chating=!0,e.chat.status.stop=!1,e.chat.status.responseWating=!0,e;ae.error(I("pages.conversation.please_start_question_again"))})).filter((e=>e));if(0===e.length)return;await mt(0),pt();let t="";if(K.value.internet){const a=e.find((e=>e.chat.chats.length>0));if(a){const l=a.chat.chats,o=l[l.length-2];if(o){const a=await Pe(o.content.text);e.map((e=>{e.chat.chats[e.chat.chats.length-1].content.webs=a.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url})))})),a.length>0&&(t=JSON.stringify(a.map((e=>({content:e.content,url:e.url})))))}}}const a=e.map(((e,a)=>new Promise(((l,o)=>{setTimeout((()=>{const a=He(K.value,e,t);l(a)}),100*a)}))));await Promise.all(a)}finally{J=!1,E.setPause(!1),O.$persist()}},ne=async e=>{try{const t=G.value.find((t=>t.model.id===e));if(0===t.chat.chats.length)return;E.setPause(!0);const a=t.chat.chats[t.chat.chats.length-1];if("assistant"!=a.role)return void ae.error(I("pages.conversation.please_start_question_again"));if(!0===t.chat.status.chating)return;Ue(a.content),a.model="",t.chat.status.chating=!0,t.chat.status.stop=!1,t.chat.status.responseWating=!0;let l="";if(pt(),K.value.internet){const e=await Pe(t.chat.chats[t.chat.chats.length-2].content.text);a.content.webs=e.map((e=>({title:e.title,icon:e.icon,excerpt:e.excerpt,url:e.url}))),e.length>0&&(l=JSON.stringify(e.map((e=>({content:e.content,url:e.url})))))}await He(K.value,t,l)}finally{J=!1,E.setPause(!1),O.$persist()}},se=async()=>{""===Xe.value?(G.value.forEach((e=>{e.chat.chats.push({role:"verbose",content:Be(I("pages.conversation.context_cleared")),id:"",liked:!1,model:""}),e.chat.startContext=e.chat.chats.length})),ae.success(I("pages.conversation.context_cleared_success")),await mt(0)):ye(Xe.value)},ie=()=>{O.showEditorDrawer=!0},pe=e=>{const t=G.value.find((t=>t.chat.modelId===e));t.chat.status.stop=!0,t.chat.status.responseWating=!1,t.chat.status.chating=!1},me=()=>{""===Xe.value?G.value.forEach((e=>{e.chat.status.stop=!0,e.chat.status.responseWating=!1,e.chat.status.chating=!1})):pe(Xe.value)},he=()=>{K.value.internet=!K.value.internet},we=()=>{""===Xe.value?G.value.forEach((e=>{e.chat.chats=[],e.chat.startContext=0})):je(Xe.value)},ye=e=>{const t=G.value.find((t=>t.chat.modelId===e)).chat;t.chats.push({role:"verbose",content:Be(I("pages.conversation.context_cleared")),id:"",liked:!1,model:""}),t.startContext=t.chats.length,ae.success(I("pages.conversation.context_cleared_success")),C((()=>{const t=document.querySelector(`[data-chat-id="${e}"]`);t&&t.scrollTo({top:t.scrollHeight,behavior:"smooth"})}))},je=e=>{const t=G.value.find((t=>t.chat.modelId===e)).chat;t.chats=[],t.startContext=0},ke=a(!1),Ce=a(""),ze=a(""),Me=e=>{ke.value=!0,ze.value="",Ce.value=e},Te=async()=>{if(!ze.value)return void(ke.value=!1);const e=K.value.models.find((e=>e.modelId===ze.value));if(Ce.value){const t=K.value.models.find((e=>e.modelId===Ce.value));t.chats=JSON.parse(JSON.stringify(e.chats)),t.startContext=0}else K.value.models.forEach((t=>{t.modelId!=ze.value&&(t.chats=JSON.parse(JSON.stringify(e.chats)),t.startContext=0)}));ke.value=!1,await mt(0)},Re=a(!1),qe=a(""),Ne=a(""),$e=a("");let Fe="";const Ke=e=>{Re.value=!0,Fe=e;const t=K.value.models.find((e=>e.modelId===Fe));Ne.value=t.apiConversationId,qe.value=t.apiAgentId,$e.value=t.apiNote},Je=()=>{var e,t,a;const l=K.value.models.find((e=>e.modelId===Fe));l.apiConversationId=null==(e=Ne.value)?void 0:e.trim(),l.apiAgentId=null==(t=qe.value)?void 0:t.trim(),l.apiNote=null==(a=$e.value)?void 0:a.trim(),Re.value=!1};async function Ge(){const e=G.value.find((e=>e.chat.modelId===Fe));if("lyihub"===e.model.type){const t=await Le(e.model.apiKey);Ne.value=t.id}else Ne.value=Se()}const Xe=a(""),Ze=e=>{1!==G.value.length&&(""===Xe.value?Xe.value=e:Xe.value="")},Qe=a(!1),et=a(""),tt=V.list;let at=null,lt=null;const ot=async(e,t)=>{Qe.value=!0,et.value="",at=e,lt=t},nt=async()=>{const e=at.chat.chats,t=e.findIndex((e=>e===lt)),a=e[t].content.text;let l="";const n=t+1;n<e.length&&"assistant"===e[n].role&&(l=e[n].content.text);const s={id:Se(),title:a,time:(new Date).getTime(),conversationId:K.value.id,conversationName:K.value.name,conversationAvatar:K.value.avatar,chats:[{...e[t],content:{...e[t].content}},{...e[n],content:{...e[n].content}}],notes:[]};if(V.add(s),ae.success(I("pages.conversation.favorite_success")),o.assistModel){const e=I("pages.conversation.extract_core_conversation",{question:a,answer:l});await Oe(e,(e=>{s.title=e,s.title=s.title.replaceAll("###",""),s.title=s.title.trim(),V.update(s)}))}Qe.value=!1},st=async()=>{if(!et.value)return void ae.warning("需要先选中笔记");const e=tt.find((e=>e.id==et.value)),t=at.chat.chats,a=t.findIndex((e=>e===lt)),l=a+1;e.chats.push({...t[a],content:{...t[a].content}}),e.chats.push({...t[l],content:{...t[l].content}}),V.update(e),ae.success(I("pages.conversation.favorite_success")),Qe.value=!1},it=t((()=>T().isSidebarCompact)),ct=t((()=>""!==Xe.value||1===G.value.length||it.value?12:2===G.value.length?6:3===G.value.length?4:4===G.value.length?3:5===G.value.length||6===G.value.length?4:7===G.value.length||8===G.value.length?3:12)),rt=t((()=>""!==Xe.value||1===G.value.length||it.value||2===G.value.length||3===G.value.length||4===G.value.length?"h-[calc(100%-10px)]":5===G.value.length||6===G.value.length||7===G.value.length||8===G.value.length?"h-[calc(50%-10px)]":"h-[calc(100%-10px)]")),ut=t((()=>{let e="h-[calc(100vh-56px-2*var(--td-comp-paddingTB-m))]";return r.showLayoutHeader&&r.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),r.showLayoutHeader&&!r.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),!r.showLayoutHeader&&r.showFooter&&(e="h-[calc(100vh-56px-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]"),[e,{"chat-container-collapsed":it.value&&G.value.length>1&&!Xe.value}]})),dt=()=>{const e=G.value.map((e=>e.chat)),t=new Set(e),a=K.value.models.filter((e=>!t.has(e)));K.value.models=[...e,...a]},vt=new Map,pt=async()=>{if(!F.value)return;J=!0,await C();const e=F.value.querySelectorAll(".chating");e.forEach((e=>{const t=e.getAttribute("data-chat-id");if(t&&!vt.has(t)){vt.set(t,!0);const a=()=>{const a=e.scrollHeight-e.scrollTop-e.clientHeight;a>100?vt.set(t,!1):a<100&&vt.set(t,!0),e.setAttribute("data-last-scroll-time",Date.now().toString())};e._scrollHandler=a,e.addEventListener("scroll",a)}}));const t=()=>{J&&(e.forEach((e=>{const t=e.getAttribute("data-chat-id");if(t&&vt.get(t))try{if(e.scrollHeight-e.scrollTop-e.clientHeight>10){const t=parseInt(e.getAttribute("data-last-scroll-time")||"0");Date.now()-t>500&&(null==e||e.scrollTo({top:e.scrollHeight,behavior:"instant"}))}}catch(a){}})),J&&requestAnimationFrame((()=>{setTimeout(t,200)})))};t()};async function mt(e){await new Promise((t=>setTimeout(t,e))),F.value&&requestAnimationFrame((()=>{F.value.querySelectorAll(".scrollable-chat").forEach((e=>{if(e)try{e.scrollTo({top:e.scrollHeight,behavior:"instant"})}catch(t){}}))}))}j((()=>{ht()}));const ht=()=>{(()=>{if(!F.value)return;F.value.querySelectorAll("[data-chat-id]").forEach((e=>{const t=e.getAttribute("data-chat-id");if(t){const a=e.onscroll;a&&e.removeEventListener("scroll",a),vt.delete(t)}}))})(),vt.clear()};x((()=>{K.value&&(ht(),ft())}));const ft=()=>{G.value=K.value.models.map((e=>{const t=Y.find(e.modelId);if(t&&e.showing)return{model:t,chat:e,id:e.modelId}})).filter(Boolean)};l((()=>q.query.id),(async e=>{if("/conversation/chat"!==q.path)return K.value=null,void ht();let t=e;K.value,requestAnimationFrame((async()=>{K.value=O.find(t),Xe.value="",setTimeout((()=>{var e;ft();!q.query.isNew||!(null==(e=R.data)?void 0:e.content)||0===K.value.models.length||K.value.models[0].chats.length>0?mt(1e3):ee(R.data)}),50)}))}),{immediate:!0});const gt=t((()=>K.value&&K.value.internet?{color:"green"}:{})),_t=a(null),xt=()=>{var e;null==(e=_t.value)||e.showToolbox()},bt=()=>{var e;null==(e=_t.value)||e.hideToolbox()},wt=(e,t)=>{if(vt.set(e,t),F.value){const a=F.value.querySelector(`[data-chat-id="${e}"]`);if(a&&!t){const t=a._scrollHandler;t&&(a.removeEventListener("scroll",t),a._scrollHandler=null);const l=()=>{a.removeEventListener("scroll",l),setTimeout((()=>{const t=()=>{const t=a.scrollHeight-a.scrollTop-a.clientHeight;t>100?vt.set(e,!1):t<100&&vt.set(e,!0)};a._scrollHandler=t,a.addEventListener("scroll",t)}),1e3)};a.addEventListener("scroll",l)}}};return(e,t)=>{const a=ce,l=L,o=W,r=le,x=re,j=X,C=ve,z=de,M=ue,V=te,S=D,T=$,E=N;return b((s(),n("div",{class:"flex flex-col items-center h-full relative",onMousedown:bt},[p("div",{class:w(["w-full",ut.value]),ref_key:"chatContainer",ref:F,onMouseup:xt},[u(De,{ref_key:"toolbar",ref:_t,parent:F.value},null,8,["parent"]),u(v(We),{tag:"t-row",modelValue:G.value,"onUpdate:modelValue":t[0]||(t[0]=e=>G.value=e),handle:".handle","component-data":{align:"top",gutter:10},onEnd:dt,"item-key":"id",class:"h-full"},{item:d((({element:e})=>[(s(),c(a,{span:ct.value,key:`${K.value.id}-${e.model.id}`,class:w([rt.value,{hidden:""!==Xe.value&&Xe.value!==e.model.id}])},{default:d((()=>[u(St,{"chat-model":e,conversation:K.value,"data-index":`${e.model.id}`,"full-screen-model-id":Xe.value,"is-single-model":1===G.value.length,onStopChat:pe,onExtendModelVisible:Me,onReChat:ne,onChangeSize:Ze,onApiSettingVisible:Ke,onFavNoteVisible:ot,onClearChatContext:ye,onClearChatHistory:je,onUpdateScrollFlag:wt},null,8,["chat-model","conversation","data-index","full-screen-model-id","is-single-model"])])),_:2},1032,["span","class"]))])),_:1},8,["modelValue"])],34),p("div",Tt,[u(B,{class:"flex-1",onInput:ee}),p("div",Et,[v(Z)?(s(),c(x,{key:1,delay:0,modelValue:Q.value,"onUpdate:modelValue":t[7]||(t[7]=e=>Q.value=e),onOverlayClick:t[8]||(t[8]=e=>Q.value=!1)},{content:d((()=>[p("div",Rt,[u(l,{size:"large",shape:"circle",variant:"text",onClick:he},{default:d((()=>[u(v(Ae),{slot:"icon",style:k(gt.value)},null,8,["style"])])),_:1}),u(l,{size:"large",shape:"circle",variant:"text",onClick:me},{default:d((()=>[u(v(fe),{slot:"icon"})])),_:1}),u(l,{size:"large",shape:"circle",variant:"text",onClick:oe},{default:d((()=>[u(v(ge),{slot:"icon"})])),_:1}),u(l,{size:"large",shape:"circle",variant:"text",onClick:t[2]||(t[2]=e=>Me(""))},{default:d((()=>[u(v(be),{slot:"icon"})])),_:1}),u(r,{theme:"danger",content:v(I)("pages.conversation.confirm_delete_all_chat_records"),placement:"left",onConfirm:t[4]||(t[4]=()=>{we(),Q.value=!1})},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:t[3]||(t[3]=_((()=>{}),["stop"]))},{default:d((()=>[u(v(_e),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(r,{theme:"warning",content:v(I)("pages.conversation.confirm_clear_all_context"),placement:"left",onConfirm:t[6]||(t[6]=()=>{se(),Q.value=!1})},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:t[5]||(t[5]=_((()=>{}),["stop"]))},{default:d((()=>[u(v(xe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(l,{size:"large",shape:"circle",variant:"text",onClick:ie},{default:d((()=>[u(v(Ie),{slot:"icon"})])),_:1})])])),default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text"},{default:d((()=>[u(v(Ve),{slot:"icon"})])),_:1})])),_:1},8,["modelValue"])):(s(),n(i,{key:0},[u(o,{content:v(I)("pages.conversation.internet_search")},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:_(he,["stop"])},{default:d((()=>[u(v(Ae),{slot:"icon",style:k(gt.value)},null,8,["style"])])),_:1})])),_:1},8,["content"]),u(o,{content:v(I)("pages.conversation.stop_answering")},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:_(me,["stop"])},{default:d((()=>[u(v(fe),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(o,{content:v(I)("pages.conversation.regenerate_last_conversation")},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:_(oe,["stop"])},{default:d((()=>[u(v(ge),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(o,{content:v(I)("pages.conversation.inherit_other_model_conversation"),placement:"top"},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:t[1]||(t[1]=_((e=>Me("")),["stop"]))},{default:d((()=>[u(v(be),{slot:"icon"})])),_:1})])),_:1},8,["content"]),u(r,{theme:"danger",content:v(I)("pages.conversation.confirm_delete_all_chat_records"),placement:"top",onConfirm:we},{default:d((()=>[u(o,{content:v(I)("pages.conversation.delete_all_chat_records"),placement:"top"},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text"},{default:d((()=>[u(v(_e),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),u(r,{theme:"warning",content:v(I)("pages.conversation.confirm_clear_all_context"),placement:"top",onConfirm:se},{default:d((()=>[u(o,{content:v(I)("pages.conversation.clear_all_context"),placement:"top"},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text"},{default:d((()=>[u(v(xe),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:1},8,["content"]),u(o,{content:v(I)("pages.conversation.edit_current_conversation"),placement:"top"},{default:d((()=>[u(l,{size:"large",shape:"circle",variant:"text",onClick:ie},{default:d((()=>[u(v(Ie),{slot:"icon"})])),_:1})])),_:1},8,["content"])],64))])]),u(Ye),u(V,{header:v(I)("pages.conversation.inherit_model_dialog"),visible:ke.value,"onUpdate:visible":t[10]||(t[10]=e=>ke.value=e),"on-confirm":Te,class:"extend-model"},{default:d((()=>[u(M,{class:"w-full",modelValue:ze.value,"onUpdate:modelValue":t[9]||(t[9]=e=>ze.value=e)},{default:d((()=>[u(z,{gutter:[16,16],class:"w-full"},{default:d((()=>[(s(!0),n(i,null,h(G.value,(e=>(s(),c(a,{span:12},{default:d((()=>[u(C,{value:e.model.id,disabled:Ce.value===e.model.id},{default:d((()=>[u(j,{size:"20px",class:"mr-1"},{icon:d((()=>[(s(),c(g(v(A).icons[e.model.type])))])),_:2},1024),f(" "+m(v(A).getModelItemTitle(e.model)),1)])),_:2},1032,["value","disabled"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])])),_:1},8,["header","visible"]),u(V,{header:v(I)("pages.conversation.api_conversation_settings"),visible:Re.value,"onUpdate:visible":t[14]||(t[14]=e=>Re.value=e),"on-confirm":Je},{default:d((()=>[u(E,{"label-align":"top"},{default:d((()=>[u(T,{label:v(I)("pages.conversation.api_agent"),name:"apiSettingAgent"},{default:d((()=>[u(S,{modelValue:qe.value,"onUpdate:modelValue":t[11]||(t[11]=e=>qe.value=e)},null,8,["modelValue"])])),_:1},8,["label"]),u(T,{label:v(I)("pages.conversation.api_conversation_id"),name:"apiSettingConversation"},{default:d((()=>[u(S,{modelValue:Ne.value,"onUpdate:modelValue":t[12]||(t[12]=e=>Ne.value=e)},null,8,["modelValue"]),u(l,{class:"ml-2",onClick:Ge},{default:d((()=>[f(m(v(I)("pages.conversation.api_conversation_id_random")),1)])),_:1})])),_:1},8,["label"]),u(T,{label:v(I)("pages.conversation.remarks"),name:"apiSettingNode"},{default:d((()=>[u(S,{modelValue:$e.value,"onUpdate:modelValue":t[13]||(t[13]=e=>$e.value=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})])),_:1},8,["header","visible"]),u(V,{header:v(I)("pages.conversation.button_tooltip_favourite"),visible:Qe.value,"onUpdate:visible":t[16]||(t[16]=e=>Qe.value=e),confirmBtn:null},{default:d((()=>[p("div",Ut,[u(l,{onClick:nt,theme:"default",variant:"outline"},{default:d((()=>t[17]||(t[17]=[f("创建新的笔记")]))),_:1}),u(l,{onClick:st,theme:"default",variant:"outline"},{default:d((()=>t[18]||(t[18]=[f("添加到笔记")]))),_:1}),p("div",Pt,[u(M,{modelValue:et.value,"onUpdate:modelValue":t[15]||(t[15]=e=>et.value=e)},{default:d((()=>[u(z,{gutter:[16,16]},{default:d((()=>[(s(!0),n(i,null,h(v(tt),(e=>(s(),c(a,{span:12},{default:d((()=>[u(C,{value:e.id,class:"grid grid-flow-col auto-cols-max fav-radio fav-radio-dialog"},{default:d((()=>[f(m(e.title),1)])),_:2},1032,["value"])])),_:2},1024)))),256))])),_:1})])),_:1},8,["modelValue"])])])])),_:1},8,["header","visible"])],544)),[[y,K.value]])}}});export{Ht as default};
|
.output/public/assets/content-pN6RCpjZ.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
import{U as e,A as t,_ as o,a}from"./ToolBar.vue_vue_type_style_index_0_lang-DFQy7h1z.js";import{_ as l}from"./ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js";import{b as s,u as n,e as i,t as r,m as c}from"./mermaid-render-DEM9knJr.js";import{a as u,u as m}from"./vue-router-DKqWD4MR.js";import{m as p}from"./markdown-DzGpKJBk.js";import{s as d,b as v,P as f,T as j,A as g,r as h,f as x,e as y}from"./tdesign-vue-next-BiEwLJDx.js";import{c as _,ad as w,_ as b,a4 as k,a5 as C,a3 as T,ae as z}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{l as E,a as B,V as H,w as $,o as I,v as S,y as V,z as M,A as R,R as A,a9 as O,u as q,F as D,n as F,f as L,J as P,aa as N,I as J,H as U}from"./@vue-CfxotJ-S.js";import{e as W}from"./fetch-Lmg5TJRx.js";import{a as K}from"./main-DDFMRJWo.js";import"./@wdns-F0x_nwuD.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ua-parser-js--QiuJfYt.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./uuid-_R2nDvl_.js";import"./mammoth-Cw8VHd7C.js";import"./xlsx-DB6BMndo.js";import"./pdfjs-dist-8WFUNQXM.js";import"./mermaid-BHUgx3VR.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./markdown-it-link-attributes-DRKqjf49.js";import"./markdown-it-C8SkdHr7.js";import"./mdurl-CDXpswLz.js";import"./uc.micro-CLkLCS2f.js";import"./entities-D7HTx9ov.js";import"./linkify-it-LcVOBuC5.js";import"./punycode.js-Bmr3cAX8.js";import"./@traptitech-BvfRDySB.js";import"./katex-BWqyRjd8.js";import"./markdown-it-highlightjs-SkC4yFW8.js";import"./highlight.js-BMssuVXz.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./eventsource-parser-D0ssca5s.js";import"./vuedraggable-DAEPkKhD.js";import"./vue-BIpqWpgL.js";const X={key:0,class:"markdown-body"},Y=["innerHTML"],Z={key:1},Q={class:"flex justify-end mt-2 gap-5"},G=E({__name:"NoteContent",props:{content:{},isEditing:{type:Boolean,default:!1}},emits:["save","cancel"],setup(e,{emit:t}){const o=e,a=B(""),l=B(!1),s=B(!1);let n=null;const i=async()=>{o.content&&(n&&clearTimeout(n),n=window.setTimeout((async()=>{try{l.value=!0,a.value=await p.render(o.content)}catch(e){s.value=!0}finally{l.value=!1}}),100))};H((()=>{n&&clearTimeout(n)})),$((()=>o.content),(()=>{i()}),{immediate:!0}),I((()=>{o.content&&!a.value&&i()}));const r=t,c=B(o.content),u=()=>{r("save",c.value)},m=()=>{c.value=o.content,r("cancel")},f=(e,t)=>{t.e.relatedTarget||m()},j=B(null);return $((()=>o.isEditing),(e=>{e&&(c.value=o.content,F((()=>{j.value.$el.querySelector("textarea").focus()})))})),(e,t)=>{const o=d,l=v;return V(),S(D,null,[e.isEditing?M("",!0):(V(),S("div",X,[R("div",{innerHTML:a.value},null,8,Y)])),e.isEditing?(V(),S("div",Z,[A(o,{ref_key:"textareaRef",ref:j,modelValue:c.value,"onUpdate:modelValue":t[0]||(t[0]=e=>c.value=e),autosize:{minRows:2,maxRows:20},onBlur:f},null,8,["modelValue"]),R("div",Q,[A(l,{size:"large",shape:"circle",variant:"text",onClick:m},{default:O((()=>[A(q(_),{slot:"icon"})])),_:1}),A(l,{size:"large",shape:"circle",variant:"text",onClick:u},{default:O((()=>[A(q(w),{slot:"icon"})])),_:1})])])):M("",!0)],64)}}}),ee={class:"flex justify-between w-full"},te={class:"flex-1"},oe={key:0,class:"text-xl font-bold"},ae={class:"flex align-middle items-center gap-2"},le={class:"flex flex-1 overflow-hidden"},se={class:"flex-1 relative h-full overflow-y-auto no-scrollbar flex flex-col gap-5"},ne={key:0,class:"flex w-full justify-end items-start gap-2 note-item"},ie={class:"flex justify-end overflow-hidden h-[24px]"},re={class:"bg-color-page p-4 rounded-lg"},ce={class:"flex justify-end gap-2 note-item-tools"},ue={class:"w-[24px] h-[24px]"},me={key:1,class:"flex w-full justify-end items-start flex-row-reverse gap-2 note-item"},pe={class:"flex flex-col gap-2 w-[calc(100%-24px-1rem)]"},de={class:"flex justify-between overflow-hidden h-[24px]"},ve={class:"bg-color-page p-4 rounded-lg"},fe={class:"flex justify-end gap-2 note-item-tools"},je={class:"w-[24px] h-[24px]"},ge={class:"flex w-full justify-end note-item items-start gap-2"},he={class:"flex justify-end overflow-hidden h-[24px]"},xe={class:"bg-color-page p-4 rounded-lg"},ye={key:0,class:"loader"},_e={class:"flex justify-end gap-2 note-item-tools"},we={class:"w-[24px] h-[24px]"},be={key:0,class:"w-1/2"},ke=E({__name:"content",setup(p){var d;const _=B(null),E=B(null),H=s(),I=K();u();const X=m(),Y=B(),Z=n(),Q=B(!1),ke=i();$((()=>X.query.id),(e=>{if("/note/content"!==X.path)return void(Y.value=null);let t=e;Y.value=I.find(t)}),{immediate:!0});const Ce=L((()=>Z.showLayoutHeader&&Z.showFooter?"h-[calc(100vh-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]":Z.showLayoutHeader&&!Z.showFooter?"h-[calc(100vh-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]":!Z.showLayoutHeader&&Z.showFooter?"h-[calc(100vh-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]":"h-[calc(100vh-2*var(--td-comp-paddingTB-m))]"));let Te=null;const ze=B(!1),Ee=async e=>{var t;if(e.content)if(e.content.startsWith("@")){const{name:t,content:o}=function(e){const t=e.indexOf("@");if(-1===t)return null;let o=e.indexOf(" ",t);const a=e.indexOf("(",t),l=e.indexOf(")",t);return-1!==a&&-1!==l&&l>a?o=e.indexOf(" ",l):-1===o&&(o=e.length),{name:e.substring(t+1,o).trim(),content:e.substring(o).trim()}}(e.content),a="ai"===t?ke.find(H.assistModel):ke.enableModels.find((e=>c.getModelItemTitle(e)===t));let l=o;Y.value.notes.push(`# ${l}`);try{let e="";for(let t=0;t<Y.value.chats.length;t++){const o=Y.value.chats[t];"user"===o.role&&(e+=`<|im_start|>user\n${o.content}<|im_end|>\n`),"assistant"===o.role&&(e+=`<|im_start|>assistant\n${o.content}<|im_end|>\n`)}for(let t=0;t<Y.value.notes.length;t++){e+=`<|im_start|>user\n${Y.value.notes[t]}<|im_end|>`}e+=`<|im_start|>user\n${o}<|im_end|>`,Te=setInterval(Be,0),ze.value=!0,await W(a,e,(e=>{ze.value&&(ze.value=!1),Y.value.notes[Y.value.notes.length-1]=`# ${l}\n`+e}))}finally{null!==Te&&(clearInterval(Te),Te=null)}}else Y.value.notes.push(e.content),t=0,F((()=>{setTimeout((()=>{var e;null==(e=_.value)||e.scrollTo({top:_.value.scrollHeight,behavior:"smooth"})}),t)}));else y.error(r("pages.note.noteEmptyError"))},Be=async()=>{for(var e;null!==Te;)await new Promise((e=>setTimeout(e,300))),null==(e=_.value)||e.scrollTo({top:_.value.scrollHeight,behavior:"instant"})},He=B(!1);let $e=B("");const Ie=()=>{He.value=!1},Se=B(null),Ve=B(null==(d=Y.value)?void 0:d.title),Me=(e,t)=>{t.e.relatedTarget||(Q.value=!1)},Re=()=>{Y.value.title=Ve.value,Q.value=!1},Ae=()=>{var e;Ve.value=null==(e=Y.value)?void 0:e.title,Q.value=!0,F((()=>{Se.value.$el.querySelector("input").focus()}))},Oe=B(-1),qe=e=>{Oe.value=e},De=e=>{Y.value.chats[Oe.value].content.text=e,Oe.value=-1},Fe=()=>{Oe.value=-1},Le=B(-1),Pe=e=>{Y.value.notes[Le.value]=e,Le.value=-1},Ne=()=>{Le.value=-1},Je=()=>{navigator.clipboard.writeText(JSON.stringify(Y.value)),y.success(r("pages.note.noteCopySuccess"))};return(s,n)=>{const i=h,c=v,u=j,m=f,p=g;return Y.value?(V(),P(q(x),{key:0,class:J(["note-page overflow-hidden flex flex-col",[Ce.value]]),"header-bordered":"",title:Y.value.title,bordered:!1},{header:O((()=>[R("div",ee,[R("div",te,[Q.value?(V(),P(i,{key:1,ref_key:"inputTitleRef",ref:Se,type:"text",modelValue:Ve.value,"onUpdate:modelValue":n[0]||(n[0]=e=>Ve.value=e),onEnter:Re,onBlur:Me},null,8,["modelValue"])):(V(),S("h1",oe,U(Y.value.title),1))]),R("div",ae,[A(u,{content:q(r)("pages.note.noteRenameTooltip"),placement:"top"},{default:O((()=>[Q.value?(V(),P(c,{key:1,size:"small",shape:"circle",variant:"text",onClick:Re},{default:O((()=>[A(q(w),{slot:"icon"})])),_:1})):(V(),P(c,{key:0,size:"small",shape:"circle",variant:"text",onClick:Ae},{default:O((()=>[A(q(z),{slot:"icon"})])),_:1}))])),_:1},8,["content"]),A(c,{size:"small",shape:"circle",variant:"text",onClick:Je},{default:O((()=>[A(q(C),{slot:"icon"})])),_:1})])])])),content:O((()=>[R("div",{ref_key:"scrollable_chat",ref:_,class:"h-full note-content flex flex-col gap-1 relative",onMouseupPassive:n[1]||(n[1]=//@ts-ignore
|
2 |
+
(...e)=>{var t,o;return(null==(t=E.value)?void 0:t.showToolbox)&&(null==(o=E.value)?void 0:o.showToolbox(...e))}),onMousedownPassive:n[2]||(n[2]=//@ts-ignore
|
3 |
+
(...e)=>{var t,o;return(null==(t=E.value)?void 0:t.hideToolbox)&&(null==(o=E.value)?void 0:o.hideToolbox(...e))})},[R("div",le,[R("div",se,[(V(!0),S(D,null,N(Y.value.chats,((o,a)=>(V(),S(D,null,["user"===o.role?(V(),S("div",ne,[R("div",{class:J(["flex flex-col gap-2",Oe.value===a?"w-full":""])},[R("div",ie,U(q(H).name),1),R("div",re,[A(e,{content:o.content,isEditing:Oe.value===a,onSave:De,onCancel:Fe},null,8,["content","isEditing"])]),R("div",ce,[A(m,{theme:"danger",content:q(r)("pages.note.noteDeleteConfirm"),placement:"bottom",onConfirm:e=>(e=>{const t=Y.value.chats.findIndex((t=>t===e));-1!==t&&Y.value.chats.splice(t,2)})(o)},{default:O((()=>[A(u,{content:q(r)("pages.note.noteDeleteTooltip")},{default:O((()=>[A(c,{size:"small",variant:"outline"},{default:O((()=>[A(q(b),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),A(u,{content:q(r)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:O((()=>[A(c,{size:"small",variant:"outline",onClick:e=>qe(a)},{default:O((()=>[A(q(k),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])],2),R("div",ue,[A(p,{size:"24px",image:q(H).avatar},null,8,["image"])])])):"assistant"===o.role?(V(),S("div",me,[R("div",pe,[R("div",de,[R("div",null,U(Y.value.conversationName),1)]),R("div",ve,[A(t,{content:o.content,isEditing:Oe.value===a,onSave:De,onCancel:Fe},null,8,["content","isEditing"])]),R("div",fe,[A(u,{content:q(r)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:O((()=>[A(c,{size:"small",variant:"outline",onClick:e=>qe(a)},{default:O((()=>[A(q(k),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),A(u,{content:q(r)("pages.note.noteCopyTooltip")},{default:O((()=>[A(c,{size:"small",variant:"outline",onClick:e=>{return t=o,navigator.clipboard.writeText(t.content.text),void y.success(r("pages.note.noteCopySuccess"));var t}},{default:O((()=>[A(q(C),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"]),A(u,{content:q(r)("pages.conversation.toggle_artifacts")},{default:O((()=>[A(c,{size:"small",variant:"outline",onClick:e=>{var t;"assistant"===(t=o).role&&(He.value=!He.value,He.value&&($e.value=t.content.text))}},{default:O((()=>[A(q(T),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])]),R("div",je,[A(p,{size:"24px",image:Y.value.conversationAvatar},null,8,["image"])])])):M("",!0)],64)))),256)),(V(!0),S(D,null,N(Y.value.notes,((e,t)=>(V(),S("div",ge,[R("div",{class:J(["flex flex-col gap-2 min-w-[300px]",Le.value===t?"w-full":""])},[R("div",he,U(q(H).name),1),R("div",xe,[ze.value&&t===Y.value.notes.length-1?(V(),S("span",ye)):(V(),P(G,{key:1,content:e,isEditing:Le.value===t,onSave:Pe,onCancel:Ne},null,8,["content","isEditing"]))]),R("div",_e,[A(m,{theme:"danger",content:q(r)("pages.note.noteDeleteConfirm"),placement:"bottom",onConfirm:e=>(e=>{Y.value.notes.splice(e,1)})(t)},{default:O((()=>[A(u,{content:q(r)("pages.note.noteDeleteTooltip")},{default:O((()=>[A(c,{size:"small",variant:"outline"},{default:O((()=>[A(q(b),{slot:"icon"})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"]),A(u,{content:q(r)("pages.conversation.button_tooltip_editor"),placement:"bottom"},{default:O((()=>[A(c,{size:"small",variant:"outline",onClick:e=>(e=>{Le.value=e})(t)},{default:O((()=>[A(q(k),{slot:"icon"})])),_:2},1032,["onClick"])])),_:2},1032,["content"])])],2),R("div",we,[A(p,{size:"24px",image:q(H).avatar},null,8,["image"])])])))),256))]),He.value?(V(),S("div",be,[A(o,{content:q($e),closeBtn:Ie},null,8,["content"])])):M("",!0)]),A(a,{ref_key:"toolbar",ref:E,parent:_.value},null,8,["parent"])],544)])),footer:O((()=>[A(l,{"show-upload":!1,"auto-complete-enabled":!0,placeholder:s.$t("pages.note.notePlaceholder"),onInput:Ee},null,8,["placeholder"])])),_:1},8,["class","title"])):M("",!0)}}});export{ke as default};
|
.output/public/assets/fetch-Lmg5TJRx.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{q as t,m as e,t as n,j as o,n as s,b as a,e as i}from"./mermaid-render-DEM9knJr.js";import{E as c}from"./eventsource-parser-D0ssca5s.js";import{d as r}from"./lodash-VDnThKtA.js";const l=t=>{t.text="",t.think="",t.files=[],t.images=[],t.webs=[]},d=t=>({text:t,think:"",files:[],images:[],webs:[]}),h=window.fetch,u=async(t,e)=>{if(t.toString().includes("/local/")){const t=(null==e?void 0:e.headers)||{},n={};return Object.entries(t).forEach((([t,e])=>{n[t.toLowerCase()]=e})),void JSON.parse(null==e?void 0:e.body.toString())}return await h(t,e)};function p(t,e="chat/completions",n="1"){if(!t)return t;let o=t.endsWith("/")?t.slice(0,-1):t;if(/\/v\d+\/(?!chat\/completions$)/.test(o))return o;const s=new RegExp(`/vd+/${e}$`),a=/\/v\d+\//.test(o);if(s.test(o))return o;if(/\/v\d+$/.test(o)){const t=o.match(/\/v(\d+)$/);if(t&&t[1])return t[1],`${o}/${e}`}else if(a){const t=o.match(/\/v(\d+)\//);if(t&&t[1]){const n=t[1];return`${o.split(`/v${n}/`)[0]}/v${n}/${e}`}}return`${o}/v${n}/${e}`}function m(t,e){return t.startsWith("/app/")?g()+t:e?p(t):t}function g(){const t=a().remoteHost;if(t&&t.startsWith("http"))return t;const e=window.location.origin;return window.isElectron||e.includes("localhost")?`http://localhost:${window.serverPort||3e3}`:e}function f(t){switch(function(t){const e=t.replace(/^data:image\/\w+;base64,/,"");try{const t=atob(e.slice(0,16));return 255===t.charCodeAt(0)&&216===t.charCodeAt(1)?"jpeg":"PNG\r\n\n"===t.slice(0,8)?"png":"GIF87a"===t.slice(0,6)||"GIF89a"===t.slice(0,6)?"gif":"BM"===t.slice(0,2)?"bmp":"unknown"}catch(n){return"unknown"}}(t=t.trim())){case"jpeg":return`data:image/jpeg;base64,${t}`;case"png":return`data:image/png;base64,${t}`;case"gif":return`data:image/gif;base64,${t}`;case"bmp":return`data:image/bmp;base64,${t}`;default:throw new Error("无法识别的图片类型")}}async function w(t,a,i){var c,l;let h=(t,e=!1)=>{};try{const p=a.chat.chats[a.chat.chats.length-1],g=r(((t,e)=>{e?p.content.think=t:p.content.text=t}),100,{maxWait:500});h=(t,e=!1)=>{g(t,e)};const w=t=>{g.cancel(),p.content.text=t},x=t=>{g.cancel(),p.content.images=t},$=e.dict[a.model.type];if(!$)return void h(n("pages.setting.model.model_provider_not_exist"));const k=[];k.push({role:"system",content:d(t.content),id:"",liked:!1,model:""});const b=a.chat.chats.slice(a.chat.startContext).filter((t=>"verbose"!==t.role)),j=2*Math.max(t.maxContextSize,1),S=Math.min(j,b.length);for(let t=b.length-S;t<b.length;t++){const e=b[t];k.push(e)}let C;k.pop(),C=$.onMessage?$.onMessage(t,a,k):k.map((t=>({role:t.role,content:{text:t.content.text,files:t.content.files,images:t.content.images}}))),a.model.prompt&&(C[C.length-1].content.text=`${a.model.prompt}\n${C[C.length-1].content.text}`),i&&(C[C.length-1].content.text=`\n 使用提供的网络搜索结果,对给定的查询写一个全面的回复。\n 如果提供的搜索结果涉及多个同名主题,请为每个主题分别写答案。\n\n 网络搜索json结果:\n """\n ${i}\n """\n\n 查询:\n """\n ${C[C.length-1].content.text}\n """\n `);for(let t=0;t<C.length;t++){const e=C[t];let n=e.content.text;if((null==(c=e.content.files)?void 0:c.length)>0)for(let t=0;t<e.content.files.length;t++){const o=e.content.files[t];n+=`\n${o.name}\n${o.content||o.url}`}if((null==(l=e.content.images)?void 0:l.length)>0){const t=e.content.images.length,o=[{type:"text",text:n}];for(let n=0;n<t;n++){const t=e.content.images[n];o.push({type:"image_url",image_url:{url:t.content||t.url}})}e.content=o}else e.content=n}const M={model:a.model.apiModel,stream:a.model.stream||!1,temperature:a.model.temperature||s,max_tokens:a.model.maxTokens||o,messages:C},O={Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${y(a.model)}`};let _=m(a.model.apiBase||$.apiBase,"openai"==a.model.type);(function(t){return t.includes("localhost")||t.includes("/app/")||t.includes("/openapi/")})(_)&&(M.meta={apiAgentId:a.chat.apiAgentId,apiConversationId:a.chat.apiConversationId,aspectRatio:t.aspectRatio,data:{}}),$.onChat&&await $.onChat(t,a,M,O);const A=await u(_,{method:"POST",headers:O,body:JSON.stringify(M)});if(!A.ok){const t=A.headers.get("content-type");if(t)if(null==t?void 0:t.includes("application/json")){const t=await A.json();h(JSON.stringify(t))}else{h(await A.text()||A.statusText)}else h(A.statusText);return}a.chat.status.responseWating=!1;let N="",I="";if(function(t){const e=t.headers.get("Content-Type");if(null==e?void 0:e.includes("text/event-stream"))return!0;return!1}(A)){const t=await v(A,h,(()=>a.chat.status.stop),w);N=t.id,I=t.model}else{if(!A.ok)return void(w&&w(await A.text()));const t=await A.json();t.data?x&&x(t.data.map((t=>({model:a.model.apiModel,type:"base64",content:f(t.b64_json)})))):"chat.images"==t.object?x&&x(t.choices):t.choices?w&&w(t.choices[0].message.content):w&&w(await A.text()),N=t.id,I=t.model}a.chat.chats[a.chat.chats.length-1].id=N,a.chat.chats[a.chat.chats.length-1].model=I||e.getModelItemModel(a.model)}catch(p){h(`${p.message}`)}finally{a.chat.status.chating=!1,a.chat.status.stop=!1,a.chat.status.responseWating=!1}}function y(t){if(t.keys&&t.keys.length>0){const e=t.keys.filter((t=>t.enabled));if(e.length>0)return e[Math.floor(Math.random()*e.length)].key}return t.apiKey}async function v(t,e,n=null,o=null){const s=t.body.pipeThrough(new TextDecoderStream).pipeThrough(new c).getReader();let a="",i="",r="",l=!1,d=!1;for(;;)try{const{value:t,done:c}=await s.read();if(c||n&&n()||"[DONE]"===t.data){o&&o(a);break}if(!t)continue;const h=JSON.parse(t.data);if(!h.choices||0===h.choices.length)continue;i=h.id,r=h.model;const u=h.choices[0].delta;if(!u)continue;const p=u.content||u.reasoning_content;if(!p)continue;if(p.includes("<think>")){d=!0;continue}if(p.includes("</think>")){d=!1;continue}d&&(u.type="thinking"),"thinking"==u.type||u.reasoning_content?l||(l=!0):l&&(a="",l=!1),a+=p,e(a,l)}catch(h){throw h}return{id:i,model:r}}const x=async(t,e,n=null)=>{const o=a(),s=i().find(o.assistModel);return new Promise(((n,o)=>{let a="";k(s,t,((t,e)=>{e||(a=t)}),(()=>!1)).then((()=>{e&&e(a),n(a)})).catch((t=>{o(t)}))}))},$=async(t,e,n=null)=>{const o=a(),s=i().find(o.assistModel);await k(s,t,e,n)},k=async(t,o,a,i=null)=>{try{const c=e.dict[t.type];if(!c)return void a(n("pages.setting.model.model_provider_not_exist"));const r={model:t.apiModel,stream:!0,temperature:s,messages:[{role:"user",content:o}]},l=m(t.apiBase||c.apiBase,"openai"==t.type),d=await u(l,{method:"POST",headers:{Accept:"*/*",Connection:"keep-alive","Accept-Encoding":"gzip, deflate, br","content-type":"application/json",Authorization:`Bearer ${y(t)}`},body:JSON.stringify(r)});if(!d.ok){const t=d.headers.get("content-type");if(t)if(null==t?void 0:t.includes("application/json")){const t=await d.json();a(JSON.stringify(t))}else{a(await d.text())}else a(d.statusText);return}await v(d,a,i)}catch(c){a(`${c.message}`)}},b=async e=>{try{let n=null;const o=g(),s=/(https?:\/\/[^\s]+)/g,a=e.match(s)||[];if(a.length>0)n={urls:a,keywords:[]};else{const t=(await x(`\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(t.length<=0)throw new Error("未找到关键词");n=JSON.parse(t[0])}if(n.keywords.length>0){const t=await u(`${o}/search?service=google&&results=10&&q=${encodeURIComponent(n.keywords.join(","))}`),e=await t.json();for(let o=0;o<e.length;o++){const t=e[o],s=j(t.link);if(s){n.urls.some((t=>j(t)===s))||n.urls.push(t.link)}}}performance.now();let i=n.urls;i=i.map((t=>o+"/crawler?url="+encodeURIComponent(t)));const c=await t(i,8192/i.length,2e3);performance.now();return c}catch(n){}return[]};function j(t){try{const e=new URL(t).hostname;return e.split(".").slice(-2).join(".")}catch(e){return null}}export{d as a,x as b,w as c,g as d,k as e,$ as f,m as g,p as n,l as r,b as s};
|
.output/public/assets/help-CsIzKY7B.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{F as s}from"./FrameContent-B5Q4snXS.js";import{d as t}from"./fetch-Lmg5TJRx.js";import{l as r,a as o,J as i,y as m}from"./@vue-CfxotJ-S.js";import"./@vueuse-B4dz7nOv.js";import"./lodash-VDnThKtA.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-render-DEM9knJr.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./tdesign-vue-next-BiEwLJDx.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./eventsource-parser-D0ssca5s.js";const e=r({__name:"help",setup(r){const e=o(`${t()}/docs/index.html?t=${(new Date).getTime()}`);return(t,r)=>(m(),i(s,{frameSrc:e.value},null,8,["frameSrc"]))}});export{e as default};
|
.output/public/assets/highlight.js-BMssuVXz.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/index-4iPBU98_.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
import{r as e,q as a,c as t,R as l,J as o,N as s,w as n,p as r,b as u,e as i,j as d,m,u as c,O as p,A as v,n as g,U as f,P as h,x as y,f as _}from"./tdesign-vue-next-BiEwLJDx.js";import{l as b,f as j,v as V,y as w,R as x,a9 as $,F as U,A as k,B as F,a as T,o as z,j as C,z as M,H as B,aa as A,J as S,ac as H,u as O,G as R}from"./@vue-CfxotJ-S.js";import{D,_ as E,b as I,u as N,t as L,S as P,e as K,c as q,m as J,h as X}from"./mermaid-render-DEM9knJr.js";import{u as G,a as W,b as Q}from"./main-DDFMRJWo.js";import{_ as Y}from"./avatar.vue_vue_type_script_setup_true_lang-IaazOHzd.js";import{b as Z}from"./@vueuse-B4dz7nOv.js";import{d as ee}from"./fetch-Lmg5TJRx.js";import{d as ae}from"./vuedraggable-DAEPkKhD.js";import{a9 as te,aa as le,c as oe}from"./tdesign-icons-vue-next-Bre5yOVt.js";import"./lodash-es-RhymR7yg.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./vue-router-DKqWD4MR.js";import"./vue-BIpqWpgL.js";import"./@dicebear-JcnEMRoc.js";import"./uuid-_R2nDvl_.js";import"./eventsource-parser-D0ssca5s.js";const se=b({__name:"CloudflareKVHTTPDriverForm",props:["modelValue"],emits:["update:modelValue"],setup(t,{emit:l}){const o=t,s=l,n=j({get:()=>o.modelValue,set:e=>s("update:modelValue",e)}),r=e=>{s("update:modelValue",{...n.value})};return(t,l)=>{const o=e,s=a;return w(),V(U,null,[x(s,{label:"API Base",name:"apiBase","initial-data":""},{default:$((()=>[x(o,{placeholder:"",modelValue:n.value.apiURL,"onUpdate:modelValue":l[0]||(l[0]=e=>n.value.apiURL=e),onChange:r},null,8,["modelValue"])])),_:1}),x(s,{label:"Account",name:"accountId","initial-data":""},{default:$((()=>[x(o,{placeholder:"",modelValue:n.value.accountId,"onUpdate:modelValue":l[1]||(l[1]=e=>n.value.accountId=e),onChange:r},null,8,["modelValue"])])),_:1}),x(s,{label:"Namespace",name:"namespaceId","initial-data":""},{default:$((()=>[x(o,{placeholder:"",modelValue:n.value.namespaceId,"onUpdate:modelValue":l[2]||(l[2]=e=>n.value.namespaceId=e),onChange:r},null,8,["modelValue"])])),_:1}),x(s,{label:"API Token",name:"apiToken","initial-data":""},{default:$((()=>[x(o,{type:"password",placeholder:"",modelValue:n.value.apiToken,"onUpdate:modelValue":l[3]||(l[3]=e=>n.value.apiToken=e),onChange:r},null,8,["modelValue"])])),_:1})],64)}}}),ne=Object.defineProperty({__proto__:null,default:se,driverConfig:{name:"cloudflareKVHTTP",component:"CloudflareKVHTTPDriverForm"}},Symbol.toStringTag,{value:"Module"}),re={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const ue={render:function(e,a){return w(),V("svg",re,a[0]||(a[0]=[k("path",{fill:"var(--td-component-border)",d:"M0 0h88v48H0z"},null,-1),k("path",{fill:"var(--td-text-color-primary)",d:"M42.863 14.052v2.708h1.625v-2.708z"},null,-1),k("path",{fill:"var(--td-text-color-primary)","fill-rule":"evenodd",d:"M38.349 23.982a5.326 5.326 0 1 1 10.653 0 5.326 5.326 0 0 1-10.653 0m5.326-3.701a3.701 3.701 0 1 0 0 7.403 3.701 3.701 0 0 0 0-7.403M52.208 26.781h-2.621l-2.06 6.699 1.552.478.511-1.661h2.614l.511 1.66 1.554-.477zm-.503 3.89-.697-2.265h-.221l-.697 2.266z","clip-rule":"evenodd"},null,-1),k("path",{fill:"var(--td-text-color-primary)",d:"m48.208 18.3 1.915-1.914 1.149 1.15-1.915 1.914zM53.606 23.17h-2.709v1.625h2.709zM44.488 31.205v2.708h-1.625v-2.708zM37.228 31.579l1.915-1.915-1.15-1.15-1.914 1.916zM36.453 24.795h-2.708V23.17h2.708zM36.079 17.535l1.915 1.915 1.149-1.15-1.915-1.914z"},null,-1)]))}},ie={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const de={render:function(e,a){return w(),V("svg",ie,a[0]||(a[0]=[k("path",{fill:"#13161B",d:"M0 0h88v48H0z"},null,-1),k("path",{fill:"#949EAA","fill-rule":"evenodd",d:"M52.533 26.87q-.748.129-1.533.13a9 9 0 0 1-8.533-11.87A9 9 0 0 0 44 33a9 9 0 0 0 8.533-6.13","clip-rule":"evenodd"},null,-1)]))}},me={xmlns:"http://www.w3.org/2000/svg",width:"88",height:"48",fill:"none"};const ce={render:function(e,a){return w(),V("svg",me,a[0]||(a[0]=[k("path",{fill:"var(--td-component-border)",d:"M0 0h88v48H0z"},null,-1),k("path",{fill:"var(--td-text-color-primary)","fill-rule":"evenodd",d:"M44 20.583a3.417 3.417 0 1 0 0 6.833 3.417 3.417 0 0 0 0-6.833M39.083 24a4.917 4.917 0 1 1 9.834 0 4.917 4.917 0 0 1-9.834 0M43.25 17.333v-2.5h1.5v2.5zM48.184 18.755l1.767-1.767 1.06 1.06-1.767 1.768zM50.667 23.25h2.5v1.5h-2.5zM49.244 28.184l1.768 1.767-1.06 1.06-1.768-1.767zM44.75 30.666v2.5h-1.5v-2.5zM39.816 29.244l-1.767 1.768-1.061-1.061 1.767-1.768zM37.333 24.75h-2.5v-1.5h2.5zM38.756 19.816l-1.768-1.768 1.06-1.06 1.768 1.767z","clip-rule":"evenodd"},null,-1)]))}},pe=E(b({__name:"index",props:{value:{type:String}},setup(e){const a=e,t=j((()=>{const{value:e}=a;return{background:D.indexOf(e)>-1?e:"conic-gradient(from 90deg at 50% 50%, #FF0000 -19.41deg, #FF0000 18.76deg, #FF8A00 59.32deg, #FFE600 99.87deg, #14FF00 141.65deg, #00A3FF 177.72deg, #0500FF 220.23deg, #AD00FF 260.13deg, #FF00C7 300.69deg, #FF0000 340.59deg, #FF0000 378.76deg)"}}));return(e,a)=>(w(),V("div",{style:F(t.value),class:"color-container"},null,4))}}),[["__scopeId","data-v-f0f6ec52"]]),ve={class:"setting-container"},ge={class:"setting-group-title"},fe={style:{textAlign:"center",marginTop:"8px"}},he={class:"setting-group-title"},ye={class:"setting-layout-drawer"},_e={key:0,class:"setting-info mt-10"},be=b({__name:"appearance",setup(e){I();const d=N(),m=[
|
2 |
+
//@ts-ignore
|
3 |
+
{type:"light",text:L("pages.setting.theme.options.light")},{type:"dark",text:L("pages.setting.theme.options.dark")},{type:"auto",text:L("pages.setting.theme.options.auto")}],c=j((()=>-1===D.indexOf(p.value.brandTheme)?p.value.brandTheme:"")),p=T({...(()=>{const e=P;for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=d[a]);return e})()}),v=T(!1),g=e=>{p.value.brandTheme=e};z((()=>{var e;null==(e=document.querySelector(".dynamic-color-btn"))||e.addEventListener("click",(()=>{v.value=!0}))}));const f=(e,a)=>{e||"document"!==a.trigger||(v.value=e)},h=()=>{const e=JSON.stringify(p.value,null,4),{copy:a}=Z({source:e});a().then((()=>{i.closeAll(),i.success(L("pages.setting.copy.success"))})).catch((()=>{i.closeAll(),i.error(L("pages.setting.copy.fail"))}))};return C((()=>{p.value.brandTheme&&d.updateConfig(p.value)})),(e,i)=>{const d=l,y=t,_=s,b=o,j=n,F=a,T=r,z=u;return w(),V("div",ve,[x(T,{ref:"form",data:p.value,"label-align":"left"},{default:$((()=>[k("div",ge,B(e.$t("pages.setting.theme.mode")),1),x(y,{modelValue:p.value.mode,"onUpdate:modelValue":i[0]||(i[0]=e=>p.value.mode=e)},{default:$((()=>[(w(),V(U,null,A(m,((e,a)=>k("div",{key:a,class:"setting-layout-drawer"},[k("div",null,[(w(),S(d,{key:a,value:e.type},{default:$((()=>{return[(w(),S(H((a=e.type,"light"===a?ce:"dark"===a?de:ue))))];var a})),_:2},1032,["value"])),k("p",fe,B(e.text),1)])]))),64))])),_:1},8,["modelValue"]),k("div",he,B(e.$t("pages.setting.theme.color")),1),x(y,{modelValue:p.value.brandTheme,"onUpdate:modelValue":i[1]||(i[1]=e=>p.value.brandTheme=e)},{default:$((()=>[(w(!0),V(U,null,A(O(D),((e,a)=>(w(),V("div",{key:a,class:"setting-layout-drawer"},[(w(),S(d,{key:a,value:e,class:"setting-layout-color-group"},{default:$((()=>[x(pe,{value:e},null,8,["value"])])),_:2},1032,["value"]))])))),128)),k("div",ye,[x(b,{"destroy-on-close":"","expand-animation":"",placement:"bottom-right",trigger:"click",visible:v.value,"overlay-style":{padding:0},onVisibleChange:f},{content:$((()=>[x(_,{"on-change":g,"color-modes":["monochrome"],format:"HEX","swatch-colors":[]})])),default:$((()=>[x(d,{value:c.value,class:"setting-layout-color-group dynamic-color-btn"},{default:$((()=>[x(pe,{value:c.value},null,8,["value"])])),_:1},8,["value"])])),_:1},8,["visible"])])])),_:1},8,["modelValue"]),k("div",null,[x(F,{label:e.$t("pages.setting.element.showHeader"),name:"showHeader"},{default:$((()=>[x(j,{modelValue:p.value.showHeader,"onUpdate:modelValue":i[2]||(i[2]=e=>p.value.showHeader=e)},null,8,["modelValue"])])),_:1},8,["label"]),x(F,{label:e.$t("pages.setting.element.showNav"),name:"showNav"},{default:$((()=>[x(j,{modelValue:p.value.showNav,"onUpdate:modelValue":i[3]||(i[3]=e=>p.value.showNav=e)},null,8,["modelValue"])])),_:1},8,["label"]),x(F,{label:e.$t("pages.setting.element.showBreadcrumb"),name:"showBreadcrumb"},{default:$((()=>[x(j,{modelValue:p.value.showBreadcrumb,"onUpdate:modelValue":i[4]||(i[4]=e=>p.value.showBreadcrumb=e)},null,8,["modelValue"])])),_:1},8,["label"]),x(F,{label:e.$t("pages.setting.element.showFooter"),name:"showFooter"},{default:$((()=>[x(j,{modelValue:p.value.showFooter,"onUpdate:modelValue":i[5]||(i[5]=e=>p.value.showFooter=e)},null,8,["modelValue"])])),_:1},8,["label"])])])),_:1},8,["data"]),O(false)?(w(),V("div",_e,[k("p",null,B(e.$t("pages.setting.tips")),1),x(z,{theme:"primary",variant:"text",onClick:h},{default:$((()=>[R(B(e.$t("pages.setting.copy.title")),1)])),_:1})])):M("",!0),i[6]||(i[6]=k("div",{class:"text-center text-gray-400"},"4/12/2025, 1:17:26 AM",-1))])}}}),je={class:"flex justify-center"},Ve={class:"font-bold text-xl mb-5"},we={class:"flex"},xe={class:"font-bold text-xl mb-5"},$e={class:"flex flex-col gap-5"},Ue={class:"flex justify-between"},ke={class:"font-bold text-xl"},Fe={class:"flex flex-col gap-5 w-full overflow-hidden"},Te={class:"font-bold text-xl mb-5"},ze=E(b({name:"User",setup(t){const l=K(),o=I(),s=G(),b=N(),F=q(),z=W(),C=async e=>{try{const a=await async function(e){return new Promise(((a,t)=>{const l=new FileReader;l.onload=function(e){a(e.target.result)},l.onerror=function(e){t(e)},l.readAsText(e)}))}(e.raw);return D(JSON.parse(a)),i.success({content:L("pages.setting.user.import_success")}),{status:"success",error:"",response:{url:" "}}}catch{return i.error({content:L("pages.setting.user.import_failed")}),{status:"fail",error:"",response:{}}}};const D=e=>{var a;if(e.user&&o.$patch(e.user),e.model&&l.$patch(e.model),e.agent&&s.$patch(e.agent),e.setting&&b.$patch(e.setting),e.conversation){const a=function(e,a=640){return e.map((e=>({...e,models:e.models.map((e=>{try{const t=JSON.stringify(e.chats);return(new TextEncoder).encode(t).length/1024>a?{...e,chats:[]}:e}catch{return{...e,chats:[]}}}))})))}(e.conversation.list);F.$patch({...e.conversation,list:a})}e.note&&z.$patch(e.note),(null==(a=e.user)?void 0:a.lang)&&Z(e.user.lang)};function E(){const e=JSON.stringify({user:o.$state,model:l.$state,agent:s.$state,setting:b.$state,conversation:F.$state,note:z.$state},null,2),a=new Blob([e],{type:"application/json"}),t=document.createElement("a");t.href=URL.createObjectURL(a),t.download="config.json",document.body.appendChild(t),t.click(),document.body.removeChild(t),URL.revokeObjectURL(t.href)}const P=window.isElectron,{changeLocale:Z,locale:se}=Q(),re=j({get:()=>se.value,set(e){Z(e)}}),ue=e=>{o.avatar=e};function ie(e,a){const t=a.e,l=t.key,s=[t.ctrlKey?"Ctrl":"",t.metaKey?"Cmd":"",t.altKey?"Alt":"",t.shiftKey?"Shift":""].filter(Boolean).join("+");o.shortcut=`${s}+${l.toUpperCase()}`,t.preventDefault()}const de=j((()=>J.availableModels.value.map((e=>({value:e.id,label:J.getModelItemTitle(e),...e}))))),me=()=>{o.toolBarButtons.push({name:"",icon:null,prompt:"",show:!0})},ce=Object.assign({"./drivers/CloudflareKVHTTPDriverForm.vue":ne}),pe=Object.values(ce).map((e=>e.driverConfig)),ve=j((()=>b.drivers.currentDriver)),ge=j((()=>b.drivers)),fe=j((()=>b.version)),he=j((()=>{const e=pe.find((e=>e.name===ve.value));return e?ce[`./drivers/${e.component}.vue`].default:null})),ye=async e=>{b.updateDriverSettings(e,ge.value[e])};async function _e(e){b.updateDriverSettings(ve.value,e)}const ze=T(!1),Ce=T(!1),Me=T(!1),Be=T(null),Ae=j((()=>{var e;return null==(e=Be.value)?void 0:e.setting.version}));async function Se(){try{if(ze.value=!0,Be.value=await De(),Be.value){new Date(Ae.value)>=new Date(fe.value)||!fe.value?Me.value=!0:(await Ee(),i.success("备份成功"))}else await Ee(),i.success("备份成功")}catch(e){i.error("备份失败: "+e.message)}finally{ze.value=!1}}async function He(){try{Ce.value=!0;const e=await De();if(!e)throw new Error("未找到远程数据");D(e),i.success("恢复成功")}catch(e){i.error("恢复失败: "+e.message)}finally{Ce.value=!1}}async function Oe(){try{ze.value=!0,await Ee(),i.success("备份成功")}catch(e){i.error("备份失败: "+e.message)}finally{Me.value=!1,ze.value=!1}}async function Re(){if(Be.value)try{Ce.value=!0,D(Be.value),i.success("数据已成功恢复")}catch(e){i.error("恢复失败: "+e.message)}finally{Me.value=!1,Ce.value=!1}}const De=async()=>{try{const e=new URLSearchParams({driver:ve.value,config:JSON.stringify(ge.value[ve.value])}),a=await fetch(`${ee()}/config?${e.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!a.ok)throw new Error(await a.text());return(await a.json()).data}catch(e){throw e}};async function Ee(){try{b.version=(new Date).toISOString();const e={user:o.$state,model:l.$state,agent:s.$state,setting:b.$state,conversation:F.$state,note:z.$state},a=await fetch(ee()+"/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,driver:ve.value,config:ge.value[ve.value]})});if(!a.ok)throw new Error(await a.text())}catch(e){throw e}}return(t,l)=>{const s=e,i=a,b=m,j=p,F=c,T=v,z=g,D=d,I=u,N=f,L=r,K=n,q=h,G=y,W=_;return w(),S(W,{shadow:"",class:"overflow-hidden",bordered:!1},{default:$((()=>[x(L,{ref:"form",class:"flex flex-col gap-8","label-align":"top"},{default:$((()=>[k("div",je,[x(Y,{ref:"avatarRef",url:O(o).avatar,onUpdate:ue},null,8,["url"])]),k("div",null,[k("h1",Ve,B(t.$t("pages.setting.user.basic_settings")),1),x(D,{class:"row-gap",gutter:[32,24]},{default:$((()=>[x(b,{xs:12,lg:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.username"),name:"name"},{default:$((()=>[x(s,{modelValue:O(o).name,"onUpdate:modelValue":l[0]||(l[0]=e=>O(o).name=e),placeholder:t.$t("pages.setting.user.enter_username")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1}),x(b,{xs:12,lg:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.language"),name:"lang"},{default:$((()=>[x(F,{modelValue:re.value,"onUpdate:modelValue":l[1]||(l[1]=e=>re.value=e),class:"demo-select-base",clearable:""},{default:$((()=>[(w(!0),V(U,null,A(O(X),((e,a)=>(w(),S(j,{key:a,value:`${e.value}`,label:`${e.content}`},{default:$((()=>[R(B(e.content),1)])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),O(P)?(w(),S(b,{key:0,xs:12,lg:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.shortcut"),name:"shortcut"},{default:$((()=>[x(s,{onKeydown:ie,modelValue:O(o).shortcut,"onUpdate:modelValue":l[2]||(l[2]=e=>O(o).shortcut=e),placeholder:t.$t("pages.setting.user.enter_shortcut")},null,8,["modelValue","placeholder"])])),_:1},8,["label"])])),_:1})):M("",!0),x(b,{xs:12,lg:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.assist_model"),name:"assistModel"},{default:$((()=>[x(F,{modelValue:O(o).assistModel,"onUpdate:modelValue":l[3]||(l[3]=e=>O(o).assistModel=e),tips:t.$t("pages.setting.user.assist_model_tips"),filterable:""},{default:$((()=>[(w(!0),V(U,null,A(de.value,(e=>(w(),S(j,{key:e.value,value:e.value,label:e.label},{default:$((()=>[k("div",we,[x(T,{size:"20px",class:"mr-1"},{icon:$((()=>[(w(),S(H(O(J).icons[e.type])))])),_:2},1024),R(" "+B(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue","tips"])])),_:1},8,["label"])])),_:1}),x(b,{xs:12,lg:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.remoteHost"),name:"remoteHost"},{default:$((()=>[x(s,{modelValue:O(o).remoteHost,"onUpdate:modelValue":l[4]||(l[4]=e=>O(o).remoteHost=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),O(P)?(w(),S(b,{key:1,span:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.open_at_login"),name:"openAtLogin"},{default:$((()=>[x(z,{modelValue:O(o).openAtLogin,"onUpdate:modelValue":l[5]||(l[5]=e=>O(o).openAtLogin=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})):M("",!0),O(P)?(w(),S(b,{key:2,span:6},{default:$((()=>[x(i,{label:t.$t("pages.setting.user.minimize_to_bottom_right"),name:"minimizeToBottomRight"},{default:$((()=>[x(z,{modelValue:O(o).minimizeToBottomRight,"onUpdate:modelValue":l[6]||(l[6]=e=>O(o).minimizeToBottomRight=e)},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})):M("",!0)])),_:1})]),k("div",null,[k("h1",xe,B(t.$t("pages.setting.user.import_config")),1),x(L,null,{default:$((()=>[x(i,{label:"存储类型",name:"driverType","initial-data":""},{default:$((()=>[x(F,{modelValue:ve.value,"onUpdate:modelValue":l[7]||(l[7]=e=>ve.value=e),onChange:ye,placeholder:"Select Driver"},{default:$((()=>[(w(!0),V(U,null,A(O(pe),(e=>(w(),S(j,{key:e.name,value:e.name,label:e.name},null,8,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1}),(w(),S(H(he.value),{modelValue:ge.value[ve.value],"onUpdate:modelValue":[l[8]||(l[8]=e=>ge.value[ve.value]=e),_e]},null,8,["modelValue"])),x(D,{class:"row-gap",gutter:[24,24]},{default:$((()=>[x(b,{xs:6,lg:3,class:"flex justify-center"},{default:$((()=>[x(I,{onClick:Se,loading:ze.value},{default:$((()=>l[11]||(l[11]=[R("备份到服务器")]))),_:1},8,["loading"])])),_:1}),x(b,{xs:6,lg:3,class:"flex justify-center"},{default:$((()=>[x(I,{onClick:He,loading:Ce.value},{default:$((()=>l[12]||(l[12]=[R("从服务器恢复")]))),_:1},8,["loading"])])),_:1}),x(b,{xs:6,lg:3,class:"flex justify-center"},{default:$((()=>[x(N,{theme:"custom","request-method":C,multiple:!1},{default:$((()=>[x(I,{theme:"primary"},{default:$((()=>[R(B(t.$t("pages.setting.user.import_local_config")),1)])),_:1})])),_:1})])),_:1}),x(b,{xs:6,lg:3,class:"flex justify-center"},{default:$((()=>[x(I,{theme:"primary",onClick:E},{default:$((()=>[R(B(t.$t("pages.setting.user.export_local_config")),1)])),_:1})])),_:1})])),_:1})])),_:1})]),k("div",$e,[k("div",Ue,[k("h1",ke,B(t.$t("pages.setting.user.toolbar_settings")),1),x(I,{shape:"square",variant:"text",onClick:me},{default:$((()=>[x(O(te),{slot:"icon"})])),_:1})]),k("div",Fe,[x(O(ae),{modelValue:O(o).toolBarButtons,"onUpdate:modelValue":l[9]||(l[9]=e=>O(o).toolBarButtons=e),"item-key":"id",animation:150,class:"flex flex-col gap-5",handle:".drag-handle"},{item:$((({element:e})=>[x(D,{gutter:{xs:8,sm:16,md:24,lg:32,xl:32,xxl:40},class:"items-center"},{default:$((()=>[x(b,{xs:2,sm:1},{default:$((()=>[x(I,{shape:"square",variant:"text",class:"drag-handle cursor-move"},{default:$((()=>[x(O(le))])),_:1})])),_:1}),x(b,{xs:2,sm:2},{default:$((()=>[x(s,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,placeholder:"名称"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),x(b,{xs:3,sm:5},{default:$((()=>[x(s,{modelValue:e.prompt,"onUpdate:modelValue":a=>e.prompt=a,placeholder:"提示词"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),x(b,{xs:2,sm:2},{default:$((()=>[x(s,{modelValue:e.icon,"onUpdate:modelValue":a=>e.icon=a,placeholder:"图标"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),x(b,{xs:2,sm:1,class:"flex justify-end"},{default:$((()=>[x(K,{modelValue:e.show,"onUpdate:modelValue":a=>e.show=a},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),x(b,{xs:1,sm:1,class:"flex justify-end"},{default:$((()=>[x(q,{content:t.$t("pages.setting.user.confirm_delete"),onConfirm:a=>(e=>{o.toolBarButtons=o.toolBarButtons.filter((a=>a!==e))})(e)},{default:$((()=>[x(I,{shape:"square",variant:"text"},{default:$((()=>[x(O(oe),{slot:"icon"})])),_:1})])),_:2},1032,["content","onConfirm"])])),_:2},1024)])),_:2},1024)])),_:1},8,["modelValue"])])]),k("div",null,[k("h1",Te,B(t.$t("pages.setting.user.theme_settings")),1),x(be)])])),_:1},512),x(G,{visible:Me.value,"onUpdate:visible":l[10]||(l[10]=e=>Me.value=e),attach:"body",header:"发现新的备份"},{body:$((()=>[l[13]||(l[13]=k("p",null,"检测到服务器上存在较新的备份数据。您希望如何处理?",-1)),k("p",null,"本地版本:"+B(fe.value),1),k("p",null,"服务器版本:"+B(Ae.value),1)])),footer:$((()=>[x(I,{onClick:Oe,loading:ze.value},{default:$((()=>l[14]||(l[14]=[R("覆盖服务器数据")]))),_:1},8,["loading"]),x(I,{theme:"primary",onClick:Re,loading:Ce.value},{default:$((()=>l[15]||(l[15]=[R("从服务器恢复")]))),_:1},8,["loading"])])),_:1},8,["visible"])])),_:1})}}}),[["__scopeId","data-v-20b252b9"]]);export{ze as default};
|
.output/public/assets/index-B_mUdk78.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{l as e,f as a,J as t,y as l,a9 as o,R as i,ad as s,u as n,ac as u,G as r,H as d,s as p,a as m,w as c,A as v,z as g,v as _,F as y,aa as f}from"./@vue-CfxotJ-S.js";import{m as h,t as k,e as b,j,k as w,n as V,o as x}from"./mermaid-render-DEM9knJr.js";import{b as $,A as C,f as T,T as D,l as S,p as U,q as B,r as P,u as z,O as M,n as K,P as A,t as O,s as N,x as R,e as J,m as W,j as E,Q as q}from"./tdesign-vue-next-BiEwLJDx.js";import{a5 as H,ab as L,a9 as I,c as F,d as Q}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{n as X,d as G}from"./fetch-Lmg5TJRx.js";import{p as Y}from"./lyihub-zLFv36Ly.js";import{v as Z}from"./uuid-_R2nDvl_.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./eventsource-parser-D0ssca5s.js";const ee=e({__name:"ModelCard",props:{product:{type:Object}},emits:["delete-item","copy-item"],setup(e,{emit:r}){const d=e,p=a((()=>{const e=h.getModelItemTitle(d.product);return e.length>40?e.slice(0,40)+"...":e})),m=r;return(a,r)=>{const d=C,c=$,v=T;return l(),t(v,{theme:"normal",title:p.value,"hover-shadow":"",bordered:!1},{avatar:o((()=>[i(d,{size:"56px"},{icon:o((()=>[(l(),t(u(n(h).icons[e.product.type])))])),_:1})])),actions:o((()=>[i(c,{shape:"circle",onClick:r[0]||(r[0]=s((a=>{return t=e.product,void m("copy-item",t);var t}),["stop"])),variant:"text"},{default:o((()=>[i(n(H),{slot:"icon"})])),_:1}),i(c,{shape:"circle",onClick:r[1]||(r[1]=s((a=>{return t=e.product,void m("delete-item",t);var t}),["stop"])),variant:"text"},{default:o((()=>[i(n(L),{slot:"icon"})])),_:1})])),_:1},8,["title"])}}}),ae=e({__name:"WebToken",props:{url:{type:String},userAgent:{type:String},script:{type:String},text:{type:String,default:k("pages.setting.model.login_to_get_token")}},emits:["onResult"],setup(e,{emit:a}){const s=e,n=a,u=async()=>{const e=await window.ipcRenderer.invoke("login-get-token",{url:s.url,userAgent:s.userAgent,script:s.script,show:!0});n("onResult",e)};return(e,a)=>{const n=S,p=D;return l(),t(p,{content:e.$t("pages.setting.model.login_and_close"),placement:"bottom"},{default:o((()=>[i(n,{theme:"primary",onClick:u},{default:o((()=>[r(d(s.text),1)])),_:1})])),_:1},8,["content"])}}}),te={class:"flex gap-2"},le={class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)] gap-2"},oe={class:"w-12 h-12"},ie={key:7,class:"mb-5 pl-24 flex flex-col gap-2"},se={class:"flex gap-2 items-center"},ne={class:"w-full flex flex-row justify-end gap-3"},ue={id:"",name:"",status:"1",description:"",type:"openai",apiModel:"",apiBase:"",apiKey:"",keys:[],prompt:"",likes:0,additionalData:{},temperature:V,
|
2 |
+
//生成随机性
|
3 |
+
topP:w,maxTokens:j,stream:!0},re=e({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:Object},emits:["update:visible"],setup(e,{emit:a}){const s=b(),T=e,W=p(h.providers[0]),E=m(!1),q=m({...ue}),H=m(!1),L=m(""),Q=m(""),ee=m(!1),re=m(""),de=m(!1),pe=m(""),me=m(""),ce=m(!1),ve=window.isElectron,ge=({validateResult:e,firstError:a})=>{var t,l,o;if(a)return void J.warning(a);const i=!q.value.id||""===q.value.id;i&&(q.value.id=Z());const n={id:q.value.id,name:q.value.name,status:"1"===q.value.status,description:q.value.description,type:q.value.type,apiBase:null==(t=q.value.apiBase)?void 0:t.trim(),apiKey:null==(l=q.value.apiKey)?void 0:l.trim(),apiModel:null==(o=q.value.apiModel)?void 0:o.trim(),keys:q.value.keys,likes:q.value.likes,prompt:q.value.prompt,temperature:q.value.temperature,
|
4 |
+
//生成随机性
|
5 |
+
topP:q.value.topP,maxTokens:q.value.maxTokens,additionalData:q.value.additionalData,stream:q.value.stream};i?(s.add(n),J.success(k("pages.setting.model.submit_success"))):(s.update(n),J.success(k("pages.setting.model.update_success"))),E.value=!1},_e=()=>{E.value=!1},ye=()=>{},fe=m([]),he=e=>{fe.value.find((a=>a.value===e))||fe.value.push({label:e,value:e})},ke=e=>{(null==e?void 0:e.token)?q.value.apiKey=null==e?void 0:e.token:J.error(k("pages.setting.model.get_token_failed"))},be=a;c((()=>E.value),(e=>{be("update:visible",e)})),c((()=>T.visible),(e=>{E.value=e})),c((()=>T.data),(e=>{q.value={...e}}),{immediate:!0}),c((()=>q.value.id),(()=>{we()})),c((()=>[q.value.type]),(()=>{fe.value=[],W.value=h.providers.find((e=>e.name===q.value.type)),W.value||(W.value={name:q.value.type,title:"Model Provider Non existent!",icon:"",apiBase:"",tokenUrl:"",isApi:!1,show:{apiBase:!0,apiKey:!0,apiModel:!0},tips:{apiBase:"",apiKey:"",apiModel:""}}),T.data.type===W.value.name?(q.value.apiBase=T.data.apiBase,q.value.apiKey=T.data.apiKey,q.value.apiModel=T.data.apiModel,q.value.prompt=T.data.prompt,q.value.keys=T.data.keys,q.value.temperature=T.data.temperature,q.value.topP=T.data.topP,q.value.maxTokens=T.data.maxTokens,q.value.additionalData=T.data.additionalData,q.value.stream=T.data.stream):(q.value.apiBase=W.value.apiBase,q.value.apiKey="",q.value.apiModel="",q.value.prompt="",q.value.keys=[],q.value.temperature=V,q.value.topP=w,q.value.maxTokens=j,q.value.additionalData={},q.value.stream=!0),we()}));const je={name:[{required:!0,message:k("pages.setting.model.enter_model_name"),type:"error"}]},we=()=>{fe.value=[];let e=W.value.models;q.value.additionalData.models&&(e=q.value.additionalData.models),e&&(Array.isArray(e)?fe.value=e.map((e=>({label:e,value:e}))):"object"==typeof e&&(fe.value=Object.entries(e).map((([e,a])=>({label:e,value:a}))))),q.value.apiModel&&!fe.value.find((e=>e.value===q.value.apiModel))&&fe.value.push({label:q.value.apiModel,value:q.value.apiModel})},Ve=m(!1);async function xe(){try{if(Ve.value=!0,q.value.type.startsWith("openai")){let a=q.value.apiBase;if(!a)return void J.error(k("pages.setting.model.api_base_required"));const t=X(a);if(/\/v\d+\/(?!chat\/completions$)/.test(t)){const e=t.match(/(\/v\d+\/)/);if(e&&e[1]){a=`${t.split(e[1])[0]}${e[1]}models`}}else a=t.replace("/chat/completions","/models");try{const e=await fetch(a,{headers:{Authorization:`Bearer ${q.value.apiKey}`}});if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const t=await e.json();if(t&&t.data&&Array.isArray(t.data)){const e=t.data.map((e=>e.id));q.value.additionalData||(q.value.additionalData={}),q.value.additionalData.models=e,J.success(k("pages.setting.model.get_models_success"))}else J.error(k("pages.setting.model.invalid_response"))}catch(e){J.error(k("pages.setting.model.get_models_failed")+": "+e.message)}}else{if(!q.value.type.startsWith("lyihub"))return void(q.value.additionalData.models=null);q.value.additionalData.models=await Y(50,q.value.apiKey)}we()}finally{Ve.value=!1}}async function $e(){q.value.additionalData&&(q.value.additionalData.models=null),we(),J.success(k("pages.setting.model.clean_models_success"))}async function Ce(){if(!H.value)try{H.value=!0;const e=await fetch(G()+"/github/code"),a=await e.json();if(!a)return void J.error(k("pages.setting.model.get_auth_code_failed"));L.value=a.user_code,Q.value=a.verification_uri,await navigator.clipboard.writeText(L.value);const t=await fetch(G()+`/github/token?device_code=${a.device_code}&interval=${a.interval}`),l=await t.json();if(!1===E.value)return;ke(l),L.value="",Q.value=""}finally{H.value=!1}}async function Te(){if(!ee.value)try{ee.value=!0;const e=await fetch(G()+"/cursor/code"),a=await e.json(),{url:t,uuid:l,verifier:o}=a;re.value=t;const i=await fetch(G()+`/cursor/token?uuid=${l}&verifier=${o}&interval=1`),s=await i.json();if(!1===E.value)return;ke(s)}finally{ee.value=!1,re.value=""}}async function De(){if(de.value)return;const e=e=>btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");try{de.value=!0;const t=e(crypto.getRandomValues(new Uint8Array(32)).buffer),l=e(await(async e=>{const a=(new TextEncoder).encode(e);return await crypto.subtle.digest("SHA-256",a)})(t)),o=crypto.getRandomValues(new Uint8Array(8)),i={codeVerifier:t,codeChallenge:l,state:e(o.buffer),creationTime:Date.now()},s="v",n=new URLSearchParams({response_type:"code",code_challenge:i.codeChallenge,client_id:s,state:i.state,prompt:"login"});me.value="";const u=`https://auth.augmentcode.com/authorize?${n.toString()}`;pe.value=u;const r=3e5,d=Date.now();for(;Date.now()-d<r;){const e=me.value;if(e)try{JSON.parse(e);break}catch(a){}await new Promise((e=>setTimeout(e,1e3)))}const p=JSON.parse(me.value),m=await fetch(`${p.tenant_url}token`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({grant_type:"authorization_code",client_id:s,code_verifier:i.codeVerifier,redirect_uri:"",code:p.code})});if(!m.ok)throw new Error(`HTTP error! status: ${m.status}`);const c=(await m.json()).access_token;if(!1===E.value)return;ke({token:c})}finally{de.value=!1,me.value="",pe.value=""}}async function Se(){if(!ce.value){ce.value=!0;try{(await fetch(G()+"/cache/clear?key=google_code")).ok||J.error("clear google code fail");const e=G()+"/google/code";Ue(`https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/cloud-platform&response_type=code&redirect_uri=${e}&client_id=${q.value.additionalData.google_oauth_client_id}&access_type=offline&prompt=consent`);let a="",t=0;const l=1e3;for(;;){if(!1===E.value)return;await new Promise((e=>setTimeout(e,l)));const e=await fetch(G()+"/google/access_token"),o=await e.json();if("ok"===o.status){a=o.code;break}if(t+=1,t*l>45e3)break}if(!a)return void J.success(k("pages.setting.model.get_auth_code_failed"));const o=await fetch("https://www.googleapis.com/oauth2/v4/token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:q.value.additionalData.google_oauth_client_id,client_secret:q.value.additionalData.google_oauth_client_secret,code:a,redirect_uri:e,grant_type:"authorization_code"})}),i=await o.json();q.value.apiKey=`${q.value.additionalData.google_oauth_client_id}${x}${q.value.additionalData.google_oauth_client_secret}${x}${i.refresh_token}`,J.success(k("pages.setting.model.get_auth_code_success"))}finally{ce.value=!1}}}function Ue(e){window.ipcRenderer?window.ipcRenderer.send("open-url",e):window.open(e)}function Be(){q.value.keys.push({key:q.value.apiKey,name:(q.value.keys.length+1).toString(),enabled:!0})}return(e,a)=>{const s=P,p=B,m=C,c=M,b=z,j=S,w=D,V=$,x=K,T=A,J=O,X=N,G=U,Y=R;return l(),t(Y,{visible:E.value,"onUpdate:visible":a[21]||(a[21]=e=>E.value=e),onClose:ye,header:q.value.id?e.$t("pages.setting.model.editor_model"):e.$t("pages.setting.model.add_model"),width:680,footer:!1},{body:o((()=>[i(G,{ref:"form",data:q.value,rules:je,"label-width":96,onSubmit:ge},{default:o((()=>[i(p,{label:e.$t("pages.setting.model.model_name"),name:"name"},{default:o((()=>[i(s,{modelValue:q.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>q.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),i(p,{label:e.$t("pages.setting.model.model_description"),name:"description"},{default:o((()=>[i(s,{modelValue:q.value.description,"onUpdate:modelValue":a[1]||(a[1]=e=>q.value.description=e)},null,8,["modelValue"])])),_:1},8,["label"]),i(p,{label:e.$t("pages.setting.model.model_interface"),name:"type"},{default:o((()=>[i(b,{modelValue:q.value.type,"onUpdate:modelValue":a[2]||(a[2]=e=>q.value.type=e),clearable:"",filterable:""},{default:o((()=>[(l(!0),_(y,null,f(n(h).options,((e,a)=>(l(),t(c,{key:a,value:e.value,label:e.label},{default:o((()=>[v("div",te,[i(m,{size:"20px"},{icon:o((()=>[(l(),t(u(e.icon)))])),_:2},1024),r(" "+d(e.label),1)])])),_:2},1032,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1},8,["label"]),v("div",le,[v("div",oe,[(l(),t(u(W.value.icon)))]),n(ve)&&!W.value.isApi&&W.value.tokenUrl?(l(),t(ae,{key:0,url:W.value.tokenUrl,onOnResult:ke},null,8,["url"])):g("",!0),!W.value.tokenUrl||n(ve)&&!W.value.isApi?g("",!0):(l(),t(j,{key:1,theme:"primary",onClick:a[3]||(a[3]=e=>Ue(W.value.tokenUrl))},{default:o((()=>[r(d(W.value.tokenUrl),1)])),_:1})),i(w,{content:e.$t("pages.setting.model.login_and_wait"),placement:"bottom"},{default:o((()=>[Q.value&&"github-copilot"===W.value.name?(l(),t(j,{key:0,theme:"primary",onClick:a[4]||(a[4]=e=>Ue(Q.value))},{default:o((()=>[r(d(e.$t("pages.setting.model.click_to_enter_auth_code")),1)])),_:1})):g("",!0),re.value&&"cursor"===W.value.name?(l(),t(j,{key:1,theme:"primary",onClick:a[5]||(a[5]=e=>Ue(re.value))},{default:o((()=>[r(d(e.$t("pages.setting.model.click_to_enter_auth_code")),1)])),_:1})):g("",!0),pe.value&&"augment"===W.value.name?(l(),t(j,{key:2,theme:"primary",onClick:a[6]||(a[6]=e=>Ue(pe.value))},{default:o((()=>[r(d(e.$t("pages.setting.model.click_to_enter_auth_code")),1)])),_:1})):g("",!0)])),_:1},8,["content"]),"cursor"===W.value.name?(l(),t(V,{key:2,loading:ee.value,onClick:Te},{default:o((()=>[r(d(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])):g("",!0),"augment"===W.value.name?(l(),t(V,{key:3,loading:de.value,onClick:De},{default:o((()=>[r(d(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])):g("",!0)]),"augment"===W.value.name?(l(),t(p,{key:0,label:e.$t("pages.setting.model.get_auth_code"),name:"augment_user_code"},{default:o((()=>[i(s,{modelValue:me.value,"onUpdate:modelValue":a[7]||(a[7]=e=>me.value=e)},null,8,["modelValue"])])),_:1},8,["label"])):g("",!0),"github-copilot"===W.value.name?(l(),t(p,{key:1,label:e.$t("pages.setting.model.get_auth_code"),name:"github_user_code"},{default:o((()=>[i(s,{readonly:"",modelValue:L.value,"onUpdate:modelValue":a[8]||(a[8]=e=>L.value=e)},null,8,["modelValue"]),a[22]||(a[22]=r()),i(V,{class:"ml-2",loading:H.value,onClick:Ce},{default:o((()=>[r(d(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])])),_:1},8,["label"])):g("",!0),W.value.name.endsWith("vertex")?(l(),t(p,{key:2,label:"Client ID"},{default:o((()=>[i(s,{modelValue:q.value.additionalData.google_oauth_client_id,"onUpdate:modelValue":a[9]||(a[9]=e=>q.value.additionalData.google_oauth_client_id=e)},null,8,["modelValue"])])),_:1})):g("",!0),W.value.name.endsWith("vertex")?(l(),t(p,{key:3,label:"Client Secret"},{default:o((()=>[i(s,{modelValue:q.value.additionalData.google_oauth_client_secret,"onUpdate:modelValue":a[10]||(a[10]=e=>q.value.additionalData.google_oauth_client_secret=e)},null,8,["modelValue"]),a[23]||(a[23]=r()),i(V,{class:"ml-2",onClick:Se,loading:ce.value},{default:o((()=>[r(d(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])])),_:1})):g("",!0),W.value.show.apiBase?(l(),t(p,{key:4,label:e.$t("pages.setting.model.model_address"),name:"apiBase",tips:W.value.tips.apiBase},{default:o((()=>[i(s,{modelValue:q.value.apiBase,"onUpdate:modelValue":a[11]||(a[11]=e=>q.value.apiBase=e),placeholder:W.value.apiBase},null,8,["modelValue","placeholder"])])),_:1},8,["label","tips"])):g("",!0),W.value.show.apiModel?(l(),t(p,{key:5,label:e.$t("pages.setting.model.model"),name:"apiModel",tips:W.value.tips.apiModel},{default:o((()=>[i(b,{modelValue:q.value.apiModel,"onUpdate:modelValue":a[12]||(a[12]=e=>q.value.apiModel=e),creatable:"",filterable:"",options:fe.value,onCreate:he,onEnter:a[13]||(a[13]=e=>{e.e.preventDefault()})},null,8,["modelValue","options"]),W.value.name.startsWith("lyihub")||W.value.name.startsWith("openai")?(l(),t(V,{key:0,class:"ml-2",onClick:xe,loading:Ve.value},{default:o((()=>[r(d(e.$t("pages.setting.model.getTokenButtonText")),1)])),_:1},8,["loading"])):g("",!0),W.value.name.startsWith("lyihub")||W.value.name.startsWith("openai")?(l(),t(V,{key:1,class:"ml-2",onClick:$e},{default:o((()=>[r(d(e.$t("pages.setting.model.cleanTokenButtonText")),1)])),_:1})):g("",!0)])),_:1},8,["label","tips"])):g("",!0),W.value.show.apiKey?(l(),t(p,{key:6,label:e.$t("pages.setting.model.model_key"),name:"apiKey",tips:W.value.tips.apiKey},{default:o((()=>[i(s,{type:"password",modelValue:q.value.apiKey,"onUpdate:modelValue":a[14]||(a[14]=e=>q.value.apiKey=e)},null,8,["modelValue"]),i(V,{shape:"square",variant:"text",class:"ml-2",onClick:Be},{default:o((()=>[i(n(I),{slot:"icon"})])),_:1})])),_:1},8,["label","tips"])):g("",!0),q.value.keys&&q.value.keys.length>0?(l(),_("div",ie,[(l(!0),_(y,null,f(q.value.keys,((a,t)=>(l(),_("div",se,[i(s,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e,class:"w-32"},null,8,["modelValue","onUpdate:modelValue"]),i(s,{modelValue:a.key,"onUpdate:modelValue":e=>a.key=e,type:"password"},null,8,["modelValue","onUpdate:modelValue"]),i(x,{modelValue:a.enabled,"onUpdate:modelValue":e=>a.enabled=e},null,8,["modelValue","onUpdate:modelValue"]),i(T,{content:e.$t("pages.setting.user.confirm_delete"),onConfirm:e=>function(e){q.value.keys.splice(e,1)}(t)},{default:o((()=>[i(V,{shape:"square",variant:"text"},{default:o((()=>[i(n(F),{slot:"icon"})])),_:1})])),_:2},1032,["content","onConfirm"])])))),256))])):g("",!0),i(p,{label:n(k)("pages.conversation.stream"),name:"stream"},{default:o((()=>[i(x,{modelValue:q.value.stream,"onUpdate:modelValue":a[15]||(a[15]=e=>q.value.stream=e)},null,8,["modelValue"])])),_:1},8,["label"]),i(p,{label:n(k)("pages.conversation.temperature"),name:"temperature"},{default:o((()=>[i(J,{modelValue:q.value.temperature,"onUpdate:modelValue":a[16]||(a[16]=e=>q.value.temperature=e),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),i(p,{label:n(k)("pages.conversation.maxTokens"),name:"maxTokens"},{default:o((()=>[i(J,{modelValue:q.value.maxTokens,"onUpdate:modelValue":a[17]||(a[17]=e=>q.value.maxTokens=e),inputNumberProps:"",showStep:"",min:1024,max:61440,step:1024},null,8,["modelValue"])])),_:1},8,["label"]),i(p,{label:n(k)("pages.conversation.topP"),name:"topP"},{default:o((()=>[i(J,{modelValue:q.value.topP,"onUpdate:modelValue":a[18]||(a[18]=e=>q.value.topP=e),inputNumberProps:"",showStep:"",min:0,max:1,step:.1},null,8,["modelValue"])])),_:1},8,["label"]),W.value.name.startsWith("cozec")?(l(),t(p,{key:8,label:"",tips:"会将话中的角色设定附加到每次发送的用户消息上"},{default:o((()=>[i(x,{modelValue:q.value.additionalData.useConversationSetting,"onUpdate:modelValue":a[19]||(a[19]=e=>q.value.additionalData.useConversationSetting=e)},{default:o((()=>a[24]||(a[24]=[r("使用会话的角色设定")]))),_:1},8,["modelValue"])])),_:1})):g("",!0),i(p,{label:e.$t("pages.setting.model.model_prompt"),name:"prompt",tips:e.$t("pages.setting.model.prompt_tips")},{default:o((()=>[i(X,{modelValue:q.value.prompt,"onUpdate:modelValue":a[20]||(a[20]=e=>q.value.prompt=e),autosize:{minRows:2,maxRows:5},name:"prompt"},null,8,["modelValue"])])),_:1},8,["label","tips"]),i(p,null,{default:o((()=>[v("div",ne,[i(V,{variant:"outline",onClick:_e},{default:o((()=>[r(d(e.$t("pages.setting.model.cancel")),1)])),_:1}),i(V,{theme:"primary",type:"submit"},{default:o((()=>[r(d(e.$t("pages.setting.model.confirm")),1)])),_:1})])])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])}}}),de={class:"search-box",style:{"margin-bottom":"16px"}},pe={class:"list-card-items"},me={class:"list-card-pagination"},ce=e({name:"ListModel",setup(e){const s=m(""),u=b(),r=m({current:1,pageSize:31,total:0}),d=a((()=>{const e=s.value.toLowerCase(),a=u.models.filter((a=>a.name.toLowerCase().includes(e)||a.apiModel.toLowerCase().includes(e)));return r.value.total=a.length,a}));c(s,(()=>{r.value.current=1}));const p=m(void 0),g=a((()=>p.value?k("pages.setting.model.confirm_delete_model",{modelName:p.value.name}):"")),x=()=>{u.remove(p.value.id),D.value=!1,J.success(k("pages.setting.model.delete_success"))},$=m(!1),D=m(!1),S=m({...ue}),U=e=>{r.value.pageSize=e,r.value.current=1},B=e=>{r.value.current=e},z=e=>{D.value=!0,p.value=e},M=()=>{p.value=void 0},K=()=>{S.value={...ue,keys:[]},$.value=!0},A=e=>{if(!h.dict[e.type])return void J.error(k("pages.setting.model.model_provider_not_exist"));const a={...e,
|
6 |
+
// 清空ID,作为新模型
|
7 |
+
name:`${e.name} (副本)`};S.value={id:"",name:a.name,status:a.status?"1":"0",description:a.description,type:a.type.toString(),apiBase:a.apiBase,apiKey:a.apiKey,apiModel:a.apiModel,keys:a.keys?JSON.parse(JSON.stringify(a.keys)):[],likes:a.likes,prompt:a.prompt,temperature:a.temperature||V,topP:a.topP||w,maxTokens:a.maxTokens||j,stream:a.stream,additionalData:a.additionalData?JSON.parse(JSON.stringify(a.additionalData)):{}},$.value=!0};return(e,a)=>{const u=P,p=C,m=T,c=W,b=E,O=q,N=R;return l(),_("div",null,[v("div",de,[i(u,{modelValue:s.value,"onUpdate:modelValue":a[0]||(a[0]=e=>s.value=e),placeholder:"搜索模型"},null,8,["modelValue"])]),v("div",pe,[i(b,{gutter:[16,16]},{default:o((()=>[i(c,{xs:12,lg:4,xl:3},{default:o((()=>[i(m,{theme:"normal","hover-shadow":"",class:"list-card-item border-dashed",style:{"border-color":"var(--td-brand-color-active)"},title:e.$t("pages.setting.model.add_model"),onClick:K},{avatar:o((()=>[i(p,{size:"56px"},{icon:o((()=>[i(n(Q))])),_:1})])),_:1},8,["title"])])),_:1}),(l(!0),_(y,null,f(d.value.slice(r.value.pageSize*(r.value.current-1),r.value.pageSize*r.value.current),(e=>(l(),t(c,{key:e.id,xs:12,lg:4,xl:3},{default:o((()=>[i(ee,{class:"list-card-item",product:e,onDeleteItem:z,onCopyItem:A,onClick:a=>(e=>{h.dict[e.type]?(S.value={id:e.id,name:e.name,status:e.status?"1":"0",description:e.description,type:e.type.toString(),apiBase:e.apiBase,apiKey:e.apiKey,apiModel:e.apiModel,keys:e.keys?JSON.parse(JSON.stringify(e.keys)):[],likes:e.likes,prompt:e.prompt,temperature:e.temperature||V,
|
8 |
+
//生成随机性
|
9 |
+
topP:e.topP||w,maxTokens:e.maxTokens||j,stream:e.stream,additionalData:e.additionalData?JSON.parse(JSON.stringify(e.additionalData)):{}},$.value=!0):J.error(k("pages.setting.model.model_provider_not_exist"))})(e)},null,8,["product","onClick"])])),_:2},1024)))),128))])),_:1})]),v("div",me,[i(O,{modelValue:r.value.current,"onUpdate:modelValue":a[1]||(a[1]=e=>r.value.current=e),"page-size":r.value.pageSize,"onUpdate:pageSize":a[2]||(a[2]=e=>r.value.pageSize=e),total:r.value.total,"page-size-options":[31],onPageSizeChange:U,onCurrentChange:B},null,8,["modelValue","page-size","total","page-size-options"])]),i(re,{visible:$.value,"onUpdate:visible":a[3]||(a[3]=e=>$.value=e),data:S.value},null,8,["visible","data"]),i(N,{visible:D.value,"onUpdate:visible":a[4]||(a[4]=e=>D.value=e),header:e.$t("pages.setting.model.confirm_delete_selected_model"),body:g.value,"on-cancel":M,onConfirm:x},null,8,["visible","header","body"])])}}});export{ce as default};
|
.output/public/assets/index-CNoNr_C9.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{a as e}from"./vue-router-DKqWD4MR.js";import{l as t,f as a,J as s,y as i,a9 as r,R as o,z as l,ad as n,u,a as p,w as d,A as m,G as c,H as v,v as g,F as j,aa as f}from"./@vue-CfxotJ-S.js";import{b,A as _,f as h,p as y,q as x,r as z,s as k,x as C,e as w,m as S,j as V,Q as D}from"./tdesign-vue-next-BiEwLJDx.js";import{ac as U,ab as A,d as q}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{t as R}from"./mermaid-render-DEM9knJr.js";import{_ as $}from"./avatar.vue_vue_type_script_setup_true_lang-IaazOHzd.js";import{v as B}from"./uuid-_R2nDvl_.js";import{u as E}from"./main-DDFMRJWo.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./lodash-es-RhymR7yg.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./@dicebear-JcnEMRoc.js";import"./vuedraggable-DAEPkKhD.js";import"./vue-BIpqWpgL.js";const F=t({__name:"AgentCard",props:{product:{type:Object}},emits:["start-chat","delete-item"],setup(e,{emit:t}){const p=e,d=a((()=>p.product.content.substring(0,20)+"...")),m=t;return(t,a)=>{const p=_,c=b,v=h;return i(),s(v,{title:e.product.name,description:d.value,"hover-shadow":"",bordered:!1},{avatar:r((()=>[o(p,{size:"56px",image:e.product.avatar},null,8,["image"])])),actions:r((()=>[o(c,{shape:"circle",onClick:a[0]||(a[0]=n((t=>{return a=e.product,void m("start-chat",a);var a}),["stop"])),variant:"text"},{default:r((()=>[o(u(U),{slot:"icon"})])),_:1}),e.product.isDefault?l("",!0):(i(),s(c,{key:0,shape:"circle",onClick:a[1]||(a[1]=n((t=>{return a=e.product,void m("delete-item",a);var a}),["stop"])),variant:"text"},{default:r((()=>[o(u(A),{slot:"icon"})])),_:1}))])),_:1},8,["title","description"])}}}),H={class:"flex flex-col items-center justify-center mb-[var(--td-comp-margin-xxl)]"},I={class:"w-full flex flex-row justify-end gap-3"},J={id:"",name:"",status:"1",content:"",avatar:"",onboarding:"",isDefault:!1},N=t({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:Object},emits:["update:visible"],setup(e,{emit:t}){const a=E(),l=e,n=p(null),g=p(!1),j=p({...J}),f=e=>{j.value.avatar=e},_=({validateResult:e,firstError:t})=>{if(t)return void w.warning(t);const s=!j.value.id||""===j.value.id;s&&(j.value.id=B());const i={id:j.value.id,name:j.value.name,status:"1"===j.value.status,content:j.value.content,avatar:j.value.avatar,onboarding:j.value.onboarding,isDefault:j.value.isDefault};s?(a.add(i),w.success(R("pages.setting.agent.submit_success"))):(a.update(i),w.success(R("pages.setting.agent.update_success"))),g.value=!1},h=()=>{g.value=!1},S=t;d((()=>g.value),(e=>{S("update:visible",e)})),d((()=>l.visible),(e=>{g.value=e})),d((()=>l.data),(e=>{j.value=e}),{immediate:!0});const V={name:[{required:!0,message:R("pages.setting.agent.enter_agent_name"),type:"error"}],content:[{required:!0,message:R("pages.setting.agent.enter_agent_description"),type:"error"}]};return(e,t)=>{const a=z,l=x,p=k,d=b,w=y,S=C;return i(),s(S,{visible:g.value,"onUpdate:visible":t[2]||(t[2]=e=>g.value=e),header:j.value.id?u(R)("pages.setting.agent.editor_agent"):u(R)("pages.setting.agent.add_agent"),placement:"top",width:680,footer:!1},{body:r((()=>[o(w,{ref:"form",data:j.value,rules:V,"label-width":100,"label-align":"top",onSubmit:_},{default:r((()=>[m("div",H,[o($,{ref_key:"avatarRef",ref:n,url:j.value.avatar,onUpdate:f},null,8,["url"])]),o(l,{label:u(R)("pages.setting.agent.agent_name"),name:"name"},{default:r((()=>[o(a,{modelValue:j.value.name,"onUpdate:modelValue":t[0]||(t[0]=e=>j.value.name=e)},null,8,["modelValue"])])),_:1},8,["label"]),o(l,{label:u(R)("pages.setting.agent.agent_description"),name:"content"},{default:r((()=>[o(p,{modelValue:j.value.content,"onUpdate:modelValue":t[1]||(t[1]=e=>j.value.content=e),autosize:{minRows:5,maxRows:12},name:"content"},null,8,["modelValue"])])),_:1},8,["label"]),o(l,null,{default:r((()=>[m("div",I,[o(d,{variant:"outline",onClick:h},{default:r((()=>[c(v(u(R)("pages.setting.agent.cancel")),1)])),_:1}),o(d,{theme:"primary",type:"submit"},{default:r((()=>[c(v(u(R)("pages.setting.agent.confirm")),1)])),_:1})])])),_:1})])),_:1},8,["data"])])),_:1},8,["visible","header"])}}}),O={class:"list-card-items"},Q={class:"list-card-pagination"},W=t({name:"ListAgent",setup(t){const l=e(),n=p(void 0),d=E(),c=p({current:1,pageSize:35,total:0}),v=a((()=>{const e=[d.defaultAgent,...d.agents];return c.value.total=e.length,e})),b=a((()=>n.value?R("pages.setting.agent.confirm_delete_agent",{agentName:n.value.name}):"")),y=p(!1),x=p(!1),z=p({...J}),k=e=>{c.value.pageSize=e,c.value.current=1},U=e=>{c.value.current=e},A=e=>{x.value=!0,n.value=e},$=()=>{d.remove(n.value.id),x.value=!1,w.success(R("pages.setting.agent.delete_success"))},B=()=>{n.value=void 0},H=e=>{l.push({path:"/conversation/index",query:{id:e.id}})},I=()=>{z.value={...J},y.value=!0};return(e,t)=>{const a=_,l=h,n=S,p=V,d=D,w=C;return i(),g("div",null,[m("div",O,[o(p,{gutter:[16,16]},{default:r((()=>[o(n,{xs:12,lg:4,xl:3},{default:r((()=>[o(l,{theme:"normal","hover-shadow":"",class:"list-card-item h-[108px] border-dashed",style:{"border-color":"var(--td-brand-color-active)"},title:e.$t("pages.setting.agent.add_agent"),onClick:I},{avatar:r((()=>[o(a,{size:"56px"},{icon:r((()=>[o(u(q))])),_:1})])),_:1},8,["title"])])),_:1}),(i(!0),g(j,null,f(v.value.slice(c.value.pageSize*(c.value.current-1),c.value.pageSize*c.value.current),(e=>(i(),s(n,{key:e.id,xs:12,lg:4,xl:3},{default:r((()=>[o(F,{class:"list-card-item h-[108px]",product:e,onDeleteItem:A,onStartChat:H,onClick:t=>(e=>{z.value={id:e.id,name:e.name,status:e.status?"1":"0",content:e.content,avatar:e.avatar,onboarding:e.onboarding,isDefault:e.isDefault},y.value=!0})(e)},null,8,["product","onClick"])])),_:2},1024)))),128))])),_:1})]),m("div",Q,[o(d,{modelValue:c.value.current,"onUpdate:modelValue":t[0]||(t[0]=e=>c.value.current=e),"page-size":c.value.pageSize,"onUpdate:pageSize":t[1]||(t[1]=e=>c.value.pageSize=e),total:c.value.total,"page-size-options":[35],onPageSizeChange:k,onCurrentChange:U},null,8,["modelValue","page-size","total","page-size-options"])]),o(N,{visible:y.value,"onUpdate:visible":t[2]||(t[2]=e=>y.value=e),data:z.value},null,8,["visible","data"]),o(w,{visible:x.value,"onUpdate:visible":t[3]||(t[3]=e=>x.value=e),header:e.$t("pages.setting.agent.confirm_delete_selected_agent"),body:b.value,"on-cancel":B,onConfirm:$},null,8,["visible","header","body"])])}}});export{W as default};
|
.output/public/assets/index-D23yFg4b.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{t}from"./mermaid-render-DEM9knJr.js";import{a as e}from"./vue-router-DKqWD4MR.js";import{W as s,X as i,l as o,x as r,f as a,e as p}from"./tdesign-vue-next-BiEwLJDx.js";import{l as m,f as l,a as j,J as n,y as d,a9 as u,R as c,G as v,H as f}from"./@vue-CfxotJ-S.js";import{a as g}from"./main-DDFMRJWo.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vuedraggable-DAEPkKhD.js";import"./vue-BIpqWpgL.js";const h=m({name:"About Page",setup(m){const h=g(),y=l((()=>h.data)),b=e(),k=[{title:t("pages.note.tableTitleName"),align:"left",width:320,colKey:"title",fixed:"left"},{title:t("pages.note.tableOperation"),align:"left",fixed:"right",width:160,colKey:"op"}],x=j({defaultPageSize:20,total:y.value.length,defaultCurrent:1}),C=j(""),w=j(!1),_=()=>{h.remove(C.value),w.value=!1,p.success(t("pages.note.deleteMsgSuccess")),z()},z=()=>{C.value=""},$=()=>{z()};return(t,e)=>{const p=o,m=i,l=s,j=r,g=a;return d(),n(g,null,{default:u((()=>[c(l,{data:y.value,columns:k,"row-key":"id","vertical-align":"top",hover:!0,pagination:x.value},{op:u((e=>[c(m,null,{default:u((()=>[c(p,{theme:"primary",onClick:t=>{return s=e,void b.push(`/note/content?id=${s.row.id}`);var s}},{default:u((()=>[v(f(t.$t("pages.note.detail")),1)])),_:2},1032,["onClick"]),c(p,{theme:"danger",onClick:t=>{return s=e,C.value=s.row.id,void(w.value=!0);var s}},{default:u((()=>[v(f(t.$t("pages.note.delete")),1)])),_:2},1032,["onClick"])])),_:2},1024)])),_:1},8,["data","pagination"]),c(j,{visible:w.value,"onUpdate:visible":e[0]||(e[0]=t=>w.value=t),header:t.$t("layout.sideNav.confirmDelete"),"on-cancel":$,onConfirm:_},null,8,["visible","header"])])),_:1})}}});export{h as default};
|
.output/public/assets/index-Fvdag2mW.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{v as e,y as t,ag as l,l as a,f as i,A as r,C as s,J as o,ac as p,H as d,a as n,w as f,a0 as h,a1 as c,R as u,a9 as m,G as v,u as g,F as j,aa as z,I as _}from"./@vue-CfxotJ-S.js";import{u as x,a as k}from"./vue-router-DKqWD4MR.js";import{_ as w,e as B,m as y,c as M,u as E,t as H,f as A}from"./mermaid-render-DEM9knJr.js";import{_ as F}from"./ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js";import{u as S}from"./app-_ksMLlTy.js";import{A as U,l as b,j as G,m as I,f as L,n as V,o as C,b as O,e as R}from"./tdesign-vue-next-BiEwLJDx.js";import{v as q}from"./uuid-_R2nDvl_.js";import{u as T}from"./main-DDFMRJWo.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./mammoth-Cw8VHd7C.js";import"./xlsx-DB6BMndo.js";import"./pdfjs-dist-8WFUNQXM.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vuedraggable-DAEPkKhD.js";import"./vue-BIpqWpgL.js";const D={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const $={render:function(a,i){return t(),e("svg",D,i[0]||(i[0]=[l('<g mask="url(#mask0_17_619)"><path fill="#97A3B7" d="M30 62h88v60H30z"></path><g filter="url(#filter0_f_17_619)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_17_619)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path fill="#fff" d="M46 105h32v2H46zM46 98h32v2H46zM46 88h16v2H46z"></path></g><path fill="currentcolor" d="M63 20h88v10H63z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63z"></path><g filter="url(#filter2_f_17_619)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="m95.686 40.858 10.278 10.277A4 4 0 0 1 107 51c2.213 0 4 1.786 4 4q-.002.538-.134 1.033l10.276 10.28-2.828 2.829-4.598-4.597A17.1 17.1 0 0 1 107 65.909c-7.273 0-13.484-4.524-16-10.91a17.3 17.3 0 0 1 5.696-7.472l-3.838-3.84zM99 55a8.003 8.003 0 0 0 12.063 6.892l-3.029-3.026q-.496.132-1.034.134c-2.213 0-4-1.787-4-4q.002-.538.134-1.034l-3.027-3.027A7.96 7.96 0 0 0 99 54.999m8-10.91c7.273 0 13.484 4.524 16 10.91a17.3 17.3 0 0 1-4.166 6.177l-4.105-4.105a8.003 8.003 0 0 0-9.801-9.8l-2.55-2.551c1.47-.41 3.02-.63 4.622-.63" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" stroke="#000" d="m157 54 24.249 42h-48.498z"></path><path stroke="#000" d="M157 89V71"></path>',8)]))}},N={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const W={render:function(a,i){return t(),e("svg",N,i[0]||(i[0]=[l('<g mask="url(#mask0_16559_24301)"><path fill="#97A3B7" d="M30 62h88v60H30z"></path><g filter="url(#filter0_f_16559_24301)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_16559_24301)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path stroke="#fff" stroke-width="2" d="m49 93-7 7 7 7M69 107l7-7-7-7M62.365 87.443l-6.73 25.114"></path></g><path fill="currentcolor" d="M63 20h88v10H63z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63z"></path><g filter="url(#filter2_f_16559_24301)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="M105.25 41c6.765 0 12.25 5.484 12.25 12.25 0 2.433-.709 4.7-1.932 6.606L121 65.288 117.288 69l-5.432-5.432a12.2 12.2 0 0 1-6.606 1.932C98.484 65.5 93 60.016 93 53.25S98.484 41 105.25 41m0 3.5a8.75 8.75 0 1 0 0 17.5 8.75 8.75 0 0 0 0-17.5" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" fill-rule="evenodd" d="M153 56c-12.15 0-22 9.85-22 22 0 4.604 1.414 8.878 3.832 12.41L127 98.5l12.495-3.132A21.9 21.9 0 0 0 153 100c12.15 0 22-9.85 22-22s-9.85-22-22-22" clip-rule="evenodd"></path><path fill="#000" d="M131 78h.5zm3.832 12.41.359.348.284-.293-.23-.337zM127 98.5l-.359-.348-1.219 1.259 1.7-.426zm12.495-3.132.307-.394-.192-.15-.237.06zM153 100v.5zm22-22h-.5zm-43.5 0c0-11.874 9.626-21.5 21.5-21.5v-1c-12.426 0-22.5 10.074-22.5 22.5zm3.745 12.128A21.4 21.4 0 0 1 131.5 78h-1c0 4.708 1.446 9.08 3.919 12.693zm-.772-.066-7.832 8.09.718.696 7.832-8.09zm-7.351 8.923 12.494-3.132-.243-.97-12.495 3.132zM153 99.5c-4.976 0-9.555-1.69-13.198-4.526l-.615.789A22.4 22.4 0 0 0 153 100.5zM174.5 78c0 11.874-9.626 21.5-21.5 21.5v1c12.426 0 22.5-10.074 22.5-22.5zM153 56.5c11.874 0 21.5 9.626 21.5 21.5h1c0-12.426-10.074-22.5-22.5-22.5z"></path>',8)]))}},J={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const K={render:function(a,i){return t(),e("svg",J,i[0]||(i[0]=[l('<g mask="url(#mask0_16559_24251)"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path><g filter="url(#a)"><path fill="#E3E6EB" d="M46.391 92h80v60h-80z"></path></g><g filter="url(#b)"><path fill="#E3E6EB" d="M0 23h80v60H0z"></path></g></g><mask id="c" width="78" height="88" x="80" y="9" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path></mask><g mask="url(#c)"><path fill="currentcolor" fill-rule="evenodd" d="M80.895 31v44L119 97l38.105-22V31L119 53z" clip-rule="evenodd"></path><path fill="currentcolor" d="m119-35 38.105 22v44.5L119 53.5l-38.105-22V-13z" opacity=".9"></path><g filter="url(#d)" opacity=".3"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></g></g><path fill="#fff" stroke="#000" d="m143 68.822 4.867 17.053.133.466.469-.118 17.202-4.312-12.335 12.741-.337.348.337.348 12.335 12.741-17.202-4.312-.469-.118-.133.466L143 121.178l-4.867-17.053-.133-.466-.469.118-17.202 4.312 12.335-12.741.337-.348-.337-.348-12.335-12.741 17.202 4.312.469.118.133-.466z"></path><path fill="#fff" fill-rule="evenodd" d="m123.243 35.082 2.828-1.633-2.828-1.633-2.829 1.633zM119 32.632 121.828 31l-7.071-4.082-2.828 1.633zm8.485 3.267c-4.679 2.701-12.291 2.701-16.97 0-4.68-2.702-4.68-7.096 0-9.798s12.291-2.701 16.97 0c4.68 2.702 4.68 7.096 0 9.798m-19.799-11.43c-6.248 3.607-6.248 9.455 0 13.062s16.38 3.607 22.628 0 6.248-9.455 0-13.062-16.38-3.607-22.628 0M41.899 86.286l2.828 1.633v6.532L41.9 92.818zm12.02 6.94 2.829 1.634v6.532l-2.828-1.633zm-9.19 14.289-2.83-1.633.001 3.266 2.828 1.633zl9.192 5.307v3.266l2.828 1.633v-3.266l-2.828-1.633v-3.266l-9.192-5.307z" clip-rule="evenodd"></path><defs><filter id="a" width="180" height="160" x="-3.609" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="25"></feGaussianBlur></filter><filter id="b" width="180" height="160" x="-50" y="-27" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="25"></feGaussianBlur></filter><filter id="d" width="88.21" height="100" x="23.895" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_16559_24251" stdDeviation="3"></feGaussianBlur></filter></defs>',6)]))}},Q={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const Z={render:function(a,i){return t(),e("svg",Q,i[0]||(i[0]=[l('<g mask="url(#mask0_22_990)"><path fill="#97A3B7" fill-rule="evenodd" d="m144.569 105.61-48 27.712-48-27.712V83.712L96.57 56l48 27.713z" clip-rule="evenodd"></path><g filter="url(#filter0_f_22_990)"><path fill="#E3E6EB" d="M-3 33.999h80v60H-3z"></path></g><g filter="url(#filter1_f_22_990)"><path fill="#E3E6EB" d="M97 97.999h80v60H97z"></path></g></g><mask id="a" width="86" height="69" x="53" y="16" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" fill-rule="evenodd" d="m113.357 42.715 16.472-9.51a36 36 0 0 0-3.186-2.043c-5.375-3.104-11.92-5.147-18.885-6.139-4.209-5.562-10.18-8.898-17.324-8.828-6.755.087-15.486 5.746-21.507 14.365q-1.247.622-2.432 1.306c-14.378 8.3-16.94 20.75-7.473 30.065-1.035-5.805-.31-10.865 3.101-16.215-.058.632-.21 4.427-.232 5.067-.67 18.914 15.02 34.058 26.139 33.928 8.45-.1 15.565-5.013 20.319-12.631 6.214-1.231 12.089-3.294 17.094-6.183 13.476-7.78 16.567-19.182 9.104-28.268l-16.599 9.582c1.762 3.654.049 7.823-5.078 10.783-5.126 2.96-12.347 3.948-18.677 2.931-2.843-.469-5.522-1.342-7.74-2.622l-.049-.028zM78.655 53.773c-6.127-3.977-5.683-10.226 1.195-14.197s17.703-4.226 24.591-.69zM93.556 18.17c4.61-.04 8.728 2.405 11.94 6.57-8.447-.918-17.384-.326-25.523 1.765 3.699-5.124 8.471-8.275 13.583-8.335m-2.232 63.447c-5.853.068-10.971-3.926-14.377-10.332 8.845 2.342 18.925 2.775 28.427 1.317-3.756 5.52-8.714 8.951-14.05 9.015" clip-rule="evenodd"></path></mask><g mask="url(#a)"><path fill="currentcolor" fill-rule="evenodd" d="m113.357 42.715 16.472-9.51a36 36 0 0 0-3.186-2.043c-5.375-3.104-11.92-5.147-18.885-6.139-4.209-5.562-10.18-8.898-17.324-8.828-6.755.087-15.486 5.746-21.507 14.365q-1.247.622-2.432 1.306c-14.378 8.3-16.94 20.75-7.473 30.065-1.035-5.805-.31-10.865 3.101-16.215-.058.632-.21 4.427-.232 5.067-.67 18.914 15.02 34.058 26.139 33.928 8.45-.1 15.565-5.013 20.319-12.631 6.214-1.231 12.089-3.294 17.094-6.183 13.476-7.78 16.567-19.182 9.104-28.268l-16.599 9.582c1.762 3.654.049 7.823-5.078 10.783-5.126 2.96-12.347 3.948-18.677 2.931-2.843-.469-5.522-1.342-7.74-2.622l-.049-.028zM78.655 53.773c-6.127-3.977-5.683-10.226 1.195-14.197s17.703-4.226 24.591-.69zM93.556 18.17c4.61-.04 8.728 2.405 11.94 6.57-8.447-.918-17.384-.326-25.523 1.765 3.699-5.124 8.471-8.275 13.583-8.335m-2.232 63.447c-5.853.068-10.971-3.926-14.377-10.332 8.845 2.342 18.925 2.775 28.427 1.317-3.756 5.52-8.714 8.951-14.05 9.015" clip-rule="evenodd"></path><g filter="url(#filter2_f_22_990)" opacity=".3"><path fill="#97A3B7" d="m96.569 56 48 27.712v55.426l-48 27.712-48-27.712V83.712z"></path></g></g><circle cx="155" cy="78" r="22" fill="#fff" stroke="#000" transform="rotate(180 155 78)"></circle><path stroke="#000" d="M155 83V65"></path><path fill="#C4C4C4" stroke="#000" stroke-linejoin="round" stroke-width="2" d="M155 87h.004v.004H155z"></path><path stroke="#fff" stroke-width="2" d="M96.57 112V88M86.57 98l10-10 9.999 10"></path>',7)]))}},P={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const X={render:function(a,i){return t(),e("svg",P,i[0]||(i[0]=[l('<mask id="a" width="78" height="88" x="80" y="9" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentColor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path></mask><g mask="url(#a)"><path fill="currentColor" d="m119 9 38.105 22v44L119 97 80.895 75V31z"></path><g filter="url(#b)" opacity=".3"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></g></g><mask id="c" width="78" height="88" x="29" y="48" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path></mask><g mask="url(#c)"><path fill="#97A3B7" d="m68 48 38.105 22v44L68 136l-38.105-22V70z"></path><g filter="url(#d)"><path fill="#E3E6EB" d="M46.391 92h80v60h-80z"></path></g><g filter="url(#e)"><path fill="#E3E6EB" d="M0 23h80v60H0z"></path></g></g><path fill="#fff" d="m41.898 86.287 2.829 1.633v6.531l-2.828-1.632zM53.919 93.227l2.828 1.633v6.532l-2.828-1.633zM44.728 107.515l-2.829-1.633v3.266l2.829 1.633zl9.191 5.308v3.265l2.829 1.633v-3.266l-2.828-1.632v-3.266l-9.193-5.308z"></path><path fill="#fff" fill-rule="evenodd" d="M108.348 23.48c-2.16 2.51-1.813 5.903 1.047 8.08 3.265 2.486 8.568 2.447 11.845-.087 3.276-2.534 3.286-6.603.021-9.089-2.86-2.177-7.284-2.417-10.54-.74l5.202 3.96-2.373 1.836z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m120.865 33.009 8.965 6.826 2.373-1.836-8.965-6.826q-.481.523-1.089.993-.608.468-1.284.843m-1.203-.916a8.5 8.5 0 0 0 1.305-.828 7.248 7.248 0 0 1 0 0 8.5 8.5 0 0 1-1.305.828" clip-rule="evenodd"></path><path fill="#fff" stroke="#181818" d="m144 70 24.249 42h-48.498z"></path><path stroke="#181818" d="M144 100V82"></path><path stroke="#181818" stroke-linejoin="round" stroke-width="2" d="M144 105h.004v.004H144z"></path><defs><filter id="b" width="88.21" height="100" x="23.895" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="3"></feGaussianBlur></filter><filter id="d" width="180" height="160" x="-3.609" y="42" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="25"></feGaussianBlur></filter><filter id="e" width="180" height="160" x="-50" y="-27" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur result="effect1_foregroundBlur_216_313" stdDeviation="25"></feGaussianBlur></filter></defs>',11)]))}},Y={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"140",fill:"none"};const ee={render:function(a,i){return t(),e("svg",Y,i[0]||(i[0]=[l('<g mask="url(#mask0_21_716)"><path fill="#97A3B7" fill-rule="evenodd" d="M33 46.843 96.321 119l63.322-72.157C142.742 32 120.583 23 96.321 23 72.061 23 49.901 32 33 46.843" clip-rule="evenodd"></path><g filter="url(#filter0_f_21_716)"><path fill="#E3E6EB" d="M95 21h80v60H95z"></path></g><g filter="url(#filter1_f_21_716)"><path fill="#E3E6EB" d="M-7 43h80v60H-7z"></path></g></g><path fill="currentcolor" d="m72.812 63.688-3.157 3.157 6.246 6.247a50.3 50.3 0 0 0-12.713 8.151L96.321 119l11.913-13.575 6.413 6.412 3.157-3.157L80.45 71.326zM129.455 81.243l-15.318 17.455-28.74-28.74a50.4 50.4 0 0 1 10.924-1.19c12.695 0 24.29 4.709 33.134 12.475"></path><path fill="#fff" stroke="#000" d="m152 21.822 4.867 17.053.133.465.469-.117 17.202-4.312-12.335 12.741-.337.348.337.348 12.335 12.741-17.202-4.312-.469-.117-.133.465L152 74.178l-4.867-17.053-.133-.465-.469.117-17.202 4.312 12.335-12.741.337-.348-.337-.348-12.335-12.741 17.202 4.312.469.117.133-.465z"></path><path stroke="#fff" stroke-width="2" d="M101 31 90 42l11 11-8 8"></path>',4)]))}},te={class:"result-container"},le={class:"result-bg-img"},ae={class:"result-title"},ie={class:"result-tip"},re=w(a({__name:"index",props:{bgUrl:String,title:String,tip:String,type:String},setup(l){const a=l,n=i((()=>{switch(a.type){case"403":default:return $;case"404":return W;case"500":return K;case"ie":return Z;case"wifi":return ee;case"maintenance":return X}}));return(a,i)=>(t(),e("div",te,[r("div",le,[(t(),o(p(n.value)))]),r("div",ae,d(l.title),1),r("div",ie,d(l.tip),1),s(a.$slots,"default",{},void 0,!0)]))}}),[["__scopeId","data-v-50bd89bc"]]),se={class:"flex-1 w-full overflow-hidden flex flex-col"},oe={class:"flex flex-col justify-center items-center gap-3 w-full"},pe={class:"text-center"},de={class:"text-2xl font-bold"},ne=["title"],fe={class:"text-center p-2"},he={key:0,class:"flex flex-col items-center align-middle gap-5 w-full p-2 overflow-y-auto no-scrollbar"},ce=["title"],ue={class:"flex gap-1"},me={class:"w-[200px] whitespace-nowrap text-ellipsis overflow-hidden"},ve={class:"w-full relative"},ge=a({name:"NewConversation",setup(l){const a=T(),s=x(),w=k(),D=n(null);f((()=>s.query.id),(e=>{if("/conversation/index"!==s.path)return void(D.value=null);const t=e;D.value=t?a.find(t):a.defaultAgent}),{immediate:!0}),B();const $=i((()=>y.availableModels.value.map((e=>({...e,title:y.getModelItemTitle(e)}))))),N=n([]),W=e=>{},J=M(),K=e=>{if(0===N.value.length)return void R.error(H("pages.conversation.noSelectModelMsg"));const t={id:q(),name:D.value.name,avatar:D.value.avatar,agentId:D.value.id,content:D.value.content,models:[],time:(new Date).getTime(),pinned:!1,maxContextSize:10,aspectRatio:"IMAGE_ASPECT_RATIO_SQUARE",internet:!1};t.models=N.value.map((e=>({modelId:e,chats:[],startContext:0,apiAgentId:"",apiConversationId:"",apiNote:"",showing:!0,status:{responseWating:!1,chating:!1,stop:!1}}))),J.add(t),N.value=[],A.setData(e),w.push({path:"/conversation/chat",query:{id:t.id,isNew:1}})},Q=E(),Z=i((()=>{let e="h-[calc(100vh-2*var(--td-comp-paddingTB-m))]";return Q.showLayoutHeader&&Q.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxl)-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),Q.showLayoutHeader&&!Q.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxxl)-2*var(--td-comp-paddingTB-m))]"),!Q.showLayoutHeader&&Q.showFooter&&(e="h-[calc(100vh-var(--td-comp-size-xxl)-2*var(--td-comp-paddingTB-m))]"),e})),P=e=>{w.push(e)};return(l,a)=>{const i=U,s=b,n=V,f=L,x=I,k=G,w=C,B=O;return h((t(),e("div",{class:_(["flex flex-col items-center w-full gap-5",Z.value])},[r("div",se,[r("div",oe,[u(i,{size:"80px",image:D.value.avatar},null,8,["image"]),r("div",pe,[r("h1",de,d(D.value.name),1),u(s,{underline:"",theme:"primary",onClick:a[0]||(a[0]=e=>P("/setting/agent"))},{default:m((()=>[v(d(l.$t("pages.conversation.switchAgent")),1)])),_:1})]),r("div",{class:"text-center text-sm text-gray-500 w-full overflow-hidden whitespace-nowrap text-ellipsis",title:D.value.content},d(D.value.content),9,ne)]),r("div",fe,[r("span",null,d(l.$t("pages.conversation.modelTips",{max_model_num:g(S)})),1)]),$.value.length>0?(t(),e("div",he,[u(w,{modelValue:N.value,"onUpdate:modelValue":a[1]||(a[1]=e=>N.value=e),onChange:W,max:g(S),class:"w-full"},{default:m((()=>[u(k,{gutter:[{xs:0,sm:16,md:16,lg:16,xl:16,xxl:16},16],class:"w-full"},{default:m((()=>[(t(!0),e(j,null,z($.value,(e=>(t(),o(x,{key:e.id,xs:12,lg:4,xl:3},{default:m((()=>[u(f,{class:"shadow-md",bordered:!1},{default:m((()=>[r("div",{class:"flex justify-between overflow-hidden",title:e.title},[r("div",ue,[u(i,{size:"20px",class:"mr-1"},{icon:m((()=>[(t(),o(p(g(y).icons[e.type])))])),_:2},1024),r("div",me,d(e.title),1)]),(t(),o(n,{key:e.id,value:e.id},null,8,["value"]))],8,ce)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1},8,["modelValue","max"])])):(t(),o(re,{key:1,type:"404",title:l.$t("pages.conversation.emptyModelTips")},{default:m((()=>[u(B,{size:"large",theme:"primary",variant:"base",onClick:a[2]||(a[2]=e=>P("/setting/model"))},{default:m((()=>[v(d(l.$t("pages.conversation.createModel")),1)])),_:1})])),_:1},8,["title"]))]),r("div",ve,[u(F,{onInput:K})])],2)),[[c,D.value]])}}});export{ge as default};
|
.output/public/assets/index-ZOIODvVH.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{F as t}from"./FrameContent-B5Q4snXS.js";import{d as s}from"./fetch-Lmg5TJRx.js";import{l as r,J as o,y as i}from"./@vue-CfxotJ-S.js";import"./@vueuse-B4dz7nOv.js";import"./lodash-VDnThKtA.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./mermaid-render-DEM9knJr.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./tdesign-vue-next-BiEwLJDx.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./eventsource-parser-D0ssca5s.js";const e=r({__name:"index",setup(r){const e=`${s()}/swagger/index.html?t=${(new Date).getTime()}`,m=getComputedStyle(document.documentElement).getPropertyValue("--td-comp-size-xxxl"),p=parseFloat(m)+20;return(s,r)=>(i(),o(t,{frameSrc:e,offset:p}))}});export{e as default};
|
.output/public/assets/katex-BWqyRjd8.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/main-DDFMRJWo.js
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Fvdag2mW.js","./@vue-CfxotJ-S.js","./@babel-ynFNPEB3.js","./core-js-pure-Dnpx5JGu.js","./vue-router-DKqWD4MR.js","./mermaid-render-DEM9knJr.js","./mermaid-BHUgx3VR.js","./@mermaid-js-C9iCgeAb.js","./langium-BVNt58jJ.js","./vscode-jsonrpc-B7fdjHWu.js","./chevrotain-Cp5uJ8YW.js","./@chevrotain-DFy4Htpj.js","./lodash-es-RhymR7yg.js","./chevrotain-allstar-WPou0XcH.js","./vscode-languageserver-types-BtnkyLj9.js","./vscode-languageserver-textdocument-ygi3JyHC.js","./vscode-uri-DEKkV-x5.js","./ts-dedent-CttZBlkd.js","./d3-transition-0ltv4da8.js","./d3-timer-keMr1twq.js","./d3-dispatch-Chq_f_hl.js","./d3-interpolate-Ct9kki6l.js","./d3-color-D5ULnJIe.js","./d3-selection-Oxnq6l6A.js","./d3-ease-Cx6bG2vu.js","./d3-zoom-Dz8HuW59.js","./dompurify-DRcrZKbd.js","./stylis-Cl7w7uv3.js","./dagre-d3-es-D8JeTxsO.js","./@braintree-BB7t-Iuh.js","./khroma-C2oHPU0S.js","./dayjs-Cbdj87rt.js","./d3-scale-CdkN4P7M.js","./internmap-B8oPgqVZ.js","./d3-array-BhN1wQGI.js","./d3-format-C0lSXcPg.js","./d3-time-format-DB2uBv1t.js","./d3-time-B1kAM736.js","./d3-axis-pCwzqJ1S.js","./d3-shape-C6CU9yox.js","./d3-path-QSrLXsQ3.js","./roughjs-Bkc4UHOn.js","./cytoscape-BsbaL92W.js","./cytoscape-cose-bilkent-CcQu5e-H.js","./cose-base-kQthUiMK.js","./layout-base-DqRk0Tgc.js","./d3-sankey-B6tQBass.js","./d3-scale-chromatic-FDBKL9jm.js","./@iconify-BUO7KvjM.js","./marked-Dw59GjSU.js","./cytoscape-fcose-B58q80h4.js","./pinia-gf2247cH.js","./pinia-plugin-persistedstate-CxGPmdL5.js","./destr-WfmzGWA8.js","./deep-pick-omit-DP_A4OSP.js","./lodash-VDnThKtA.js","./tdesign-vue-next-BiEwLJDx.js","./tdesign-icons-vue-next-Bre5yOVt.js","./tdesign-icons-vue-next-BGgy7GQY.css","./sortablejs-DGtSoqI-.js","./@popperjs-B4tvfKWZ.js","./tdesign-vue-next-BiLJzazs.css","./@vueuse-B4dz7nOv.js","./vue-i18n-AgDfg2iC.js","./@intlify-Bs0vqpgD.js","./@mozilla-BD532_dh.js","./tvision-color-BdwcCUqE.js","./chroma-js-CJzpYopr.js","./@material-C_XhzpVg.js","./bezier-easing-BncZ6jfA.js","./ChatInput.vue_vue_type_style_index_0_lang-BxFAuMr9.js","./mammoth-Cw8VHd7C.js","./xlsx-DB6BMndo.js","./pdfjs-dist-8WFUNQXM.js","./ChatInput-BMuO6hgs.css","./app-_ksMLlTy.js","./uuid-_R2nDvl_.js","./vuedraggable-DAEPkKhD.js","./vue-BIpqWpgL.js","./index-DWphMrS1.css","./chat-iwq_-gWt.js","./avatar.vue_vue_type_script_setup_true_lang-IaazOHzd.js","./@dicebear-JcnEMRoc.js","./fetch-Lmg5TJRx.js","./eventsource-parser-D0ssca5s.js","./ToolBar.vue_vue_type_style_index_0_lang-DFQy7h1z.js","./markdown-DzGpKJBk.js","./markdown-it-link-attributes-DRKqjf49.js","./markdown-it-C8SkdHr7.js","./mdurl-CDXpswLz.js","./uc.micro-CLkLCS2f.js","./entities-D7HTx9ov.js","./linkify-it-LcVOBuC5.js","./punycode.js-Bmr3cAX8.js","./@traptitech-BvfRDySB.js","./katex-BWqyRjd8.js","./markdown-it-highlightjs-SkC4yFW8.js","./highlight.js-BMssuVXz.js","./@wdns-F0x_nwuD.js","./ua-parser-js--QiuJfYt.js","./ToolBar-D6vK1x-j.css","./lyihub-zLFv36Ly.js","./chat-DFdPOgte.css","./index-4iPBU98_.js","./index-Bg5EKroP.css","./index-B_mUdk78.js","./index-CNoNr_C9.js","./index-ZOIODvVH.js","./FrameContent-B5Q4snXS.js","./FrameContent-CUoI637t.css","./about-BwL3QcL6.js","./help-CsIzKY7B.js","./changelog-51ykc7WB.js","./index-D23yFg4b.js","./content-pN6RCpjZ.js","./content-CXerDfC_.css"])))=>i.map(i=>d[i]);
|
2 |
+
var e;import{i as t,l as a,a as s,_ as i,p as n,u as r,b as o,c as l,t as d,s as c,d as u,m as p}from"./mermaid-render-DEM9knJr.js";import{f as m,l as v,J as h,y as f,a9 as g,v as y,aa as A,G as D,H as C,F as E,ab as j,ac as w,I as b,u as k,R as F,z as x,A as _,o as S,a as I,w as M,ad as L,V as R,U as O}from"./@vue-CfxotJ-S.js";import{_ as z}from"./@mermaid-js-C9iCgeAb.js";import{u as P,a as V,c as U,b as N}from"./vue-router-DKqWD4MR.js";import{u as T}from"./@vueuse-B4dz7nOv.js";import{u as W}from"./vue-i18n-AgDfg2iC.js";import{B as X,a as Q,H as G,M as H,L as B,C as Z,F as J,S as q,b as Y,R as K,c as $,d as ee,P as te,T as ae,A as se,e as ie,f as ne,g as re,h as oe,i as le,j as de}from"./tdesign-vue-next-BiEwLJDx.js";import{d as ce}from"./pinia-gf2247cH.js";import{Q as ue,R as pe,d as me,B as ve,S as he,T as fe,K as ge,U as ye}from"./tdesign-icons-vue-next-Bre5yOVt.js";import{d as Ae}from"./vuedraggable-DAEPkKhD.js";import"./lodash-VDnThKtA.js";import"./mermaid-BHUgx3VR.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./lodash-es-RhymR7yg.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./@intlify-Bs0vqpgD.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";import"./vue-BIpqWpgL.js";const De=ce("agent",{state:()=>({agents:[],defaultAgent:{id:"1",name:"小助手",content:"你是一个有用的人工智能助手。你可以通过回答我的问题来帮助我。",status:!0,avatar:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%20180%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%3EBottts%3C%2Fdc%3Atitle%3E%3Cdc%3Acreator%3EPablo%20Stanley%3C%2Fdc%3Acreator%3E%3Cdc%3Asource%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fbottts.com%2F%3C%2Fdc%3Asource%3E%3Cdcterms%3Alicense%20xsi%3Atype%3D%22dcterms%3AURI%22%3Ehttps%3A%2F%2Fbottts.com%2F%3C%2Fdcterms%3Alicense%3E%3Cdc%3Arights%3ERemix%20of%20%E2%80%9EBottts%E2%80%9D%20(https%3A%2F%2Fbottts.com%2F)%20by%20%E2%80%9EPablo%20Stanley%E2%80%9D%2C%20licensed%20under%20%E2%80%9EFree%20for%20personal%20and%20commercial%20use%E2%80%9D%20(https%3A%2F%2Fbottts.com%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%22180%22%20height%3D%22180%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%22translate(0%2066)%22%3E%3Cmask%20id%3D%22sidesAntenna01-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%226%22%20y%3D%2211%22%20width%3D%22156%22%20height%3D%2251%22%3E%3Cg%20fill%3D%22%23fff%22%3E%3Crect%20x%3D%226%22%20y%3D%2231%22%20width%3D%2236%22%20height%3D%2214%22%20rx%3D%224%22%2F%3E%3Crect%20x%3D%2218%22%20y%3D%2214%22%20width%3D%2236%22%20height%3D%2248%22%20rx%3D%224%22%2F%3E%3Crect%20x%3D%22126%22%20y%3D%2228%22%20width%3D%2236%22%20height%3D%2224%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22M11%2011h2v20h-2z%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23sidesAntenna01-a)%22%3E%3Cpath%20d%3D%22M0%200h180v76H0V0Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.3%22%20d%3D%22M0%200h180v76H0z%22%2F%3E%3Cpath%20fill%3D%22%23000%22%20fill-opacity%3D%22.1%22%20d%3D%22M0%2038h180v38H0z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.4%22%20d%3D%22M11%2011h2v20h-2z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22%23FFEA8F%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%227%22%20r%3D%222%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(41)%22%3E%3Cmask%20id%3D%22topPyramid-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2218%22%20y%3D%228%22%20width%3D%2264%22%20height%3D%2244%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22m50%208%2032%2044H18L50%208Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23topPyramid-a)%22%3E%3Cpath%20d%3D%22M0%200h100v52H0V0Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cpath%20d%3D%22M0%200h100v52H0V0Z%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.3%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%22.8%22%20d%3D%22M50%204h30v48H50z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(25%2044)%22%3E%3Cmask%20id%3D%22faceRound01-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22130%22%20height%3D%22120%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M66%200c58.35%200%2064%2040.69%2064%2078%200%2033.31-25.47%2042-64%2042-37.46%200-66-8.69-66-42C0%2040.69%207.65%200%2066%200Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23faceRound01-a)%22%3E%3Cpath%20d%3D%22M-4-2h138v124H-4V-2Z%22%20fill%3D%22%2300acc1%22%2F%3E%3Cg%20transform%3D%22translate(-1%20-1)%22%3E%3Cg%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23000%22%3E%3Cpath%20d%3D%22M-9.12%20122.1c4.36-30.7%2013.06-4.57%2033.99-9.98%209.24-2.39%201.77-12.82%208.67-17.35%205.82-3.82%2013.76-.74%2020.43-3.21%209.63-3.57%209.5-10.82%2018.48-11.9%208.48-1.03%2017.37%202.34%2025.93%201.08%2016.15-2.4%209.53-34.03%2021.64-39.61%2012.1-5.6%2032.05%204.06%2034.66%2019.87%202.54%2015.42-14.46%2072.78-14.46%2072.78H-9.12%22%20fill-opacity%3D%22.2%22%2F%3E%3Cpath%20d%3D%22M35.93%20122c37.67%200%2041.6-14.75%2060.14-21.5%2018.53-6.76%2034.78%2010.71%2041-6.27%206.24-16.98%206.2%2035.95%206.2%2035.95H35.94V122Z%22%20fill-opacity%3D%22.1%22%2F%3E%3Cpath%20d%3D%22M-2%204.87C9.73%203.75%205.96%2016.8%2010.6%2016.8c1.85%200%204.03-8.46%207.38-8.46%202.46%200%202%205.5%207.32%204.91%205-.54%204.08-4%206.6-4%205.45%200%203.39%2020.2%207.74%2020.2%204.36%200%205.73-14.8%207.65-20.64%202.43-7.4%2016.97-11.56%206.6-14.5H-2.29%22%20fill-opacity%3D%22.4%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(52%20124)%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18%2010.22C18%2021.78%2024.47%2028%2038%2028c13.52%200%2020-6.34%2020-17.78C58%209.5%2057.17%208%2055%208H21c-2.05%200-3%201.38-3%202.22Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.8%22%2F%3E%3Cmask%20id%3D%22mouthSmile02-a%22%20style%3D%22mask-type%3Aluminance%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2218%22%20y%3D%228%22%20width%3D%2240%22%20height%3D%2220%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18%2010.22C18%2021.78%2024.47%2028%2038%2028c13.52%200%2020-6.34%2020-17.78C58%209.5%2057.17%208%2055%208H21c-2.05%200-3%201.38-3%202.22Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23mouthSmile02-a)%22%3E%3Crect%20x%3D%2230%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%222%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(38%2076)%22%3E%3Cg%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M53%200c34.75%200%2049%2017.47%2049%2031%200%2013.53-19.59%2017-49%2017-29.05%200-51-3.47-51-17S17.11%200%2053%200Z%22%20fill%3D%22%23000%22%20fill-opacity%3D%22.8%22%2F%3E%3Cpath%20d%3D%22M28.82%2034.65c-6.53-1.35-11.24-6.34-10.52-11.14.72-4.79%206.6-7.58%2013.12-6.23%206.53%201.36%2011.24%206.35%2010.52%2011.15-.72%204.8-6.6%207.59-13.12%206.23ZM75.42%2034.65c-6.52%201.36-12.4-1.43-13.12-6.23-.72-4.8%204-9.8%2010.52-11.15%206.52-1.35%2012.4%201.44%2013.12%206.24.72%204.81-4%209.8-10.52%2011.15Z%22%20fill%3D%22%2325A6F5%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",onboarding:"你好,我是小助手",isDefault:!0}}),getters:{},actions:{add(e){e.id!==this.defaultAgent.id&&this.agents.push(e)},remove(e){this.defaultAgent.id!==e&&(this.agents=this.agents.filter((t=>t.id!==e)))},update(e){if(this.defaultAgent.id===e.id)return void(this.defaultAgent=e);const t=this.agents.findIndex((t=>t.id===e.id));-1!==t&&(this.agents[t]=e)},find(e){return this.defaultAgent.id===e?this.defaultAgent:this.agents.find((t=>t.id===e))}}});const Ce={getItem:e=>window.ipcRenderer.sendSync("GetConfig","note.json",e)||null,setItem:(e,t)=>{window.ipcRenderer.send("SaveConfig","note.json",e,t)}},Ee=ce("note",{state:()=>({list:[]}),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:{
|
3 |
+
// 在这里进行自定义配置
|
4 |
+
storage:window.ipcRenderer?Ce:localStorage}});function je(){const{locale:e}=W({useScope:"global"});return{changeLocale:function(t){s.includes(t)||(t="zh_CN"),e.value=t,T(a,"zh_CN").value=t},getComponentsLocale:m((()=>t.global.getLocaleMessage(e.value).componentsLocale)),locale:e}}const we=i(v({__name:"Breadcrumb",setup(e){const{locale:t}=je(),a=P(),s=m((()=>{const e=a.path.split("/");e.shift();return e.reduce(((e,s,i)=>{var n;const r=null==(n=a.matched[i])?void 0:n.meta;if((null==r?void 0:r.hiddenBreadcrumb)||Object.values(a.params).includes(s))return e;let o=s;return(null==r?void 0:r.title)&&(o="string"==typeof r.title?r.title:r.title[t.value]),e.push({path:s,to:e[i-1]?`/${e[i-1].path}/${s}`:`/${s}`,title:o}),e}),[])}));return(e,t)=>{const a=Q,i=X;return f(),h(i,{"max-item-width":"150",class:"tdesign-breadcrumb"},{default:g((()=>[(f(!0),y(E,null,A(s.value,(e=>(f(),h(a,{key:e.to,to:e.to},{default:g((()=>[D(C(e.title),1)])),_:2},1032,["to"])))),128))])),_:1})}}}),[["__scopeId","data-v-7ec7ffe3"]]),be=i(v({__name:"Content",setup:e=>(e,t)=>{const a=j("router-view");return f(),h(a,null,{default:g((({Component:e})=>[(f(),h(w(e)))])),_:1})}}),[["__scopeId","data-v-d7ed7a08"]]),ke=i(v({__name:"Footer",setup:e=>(e,t)=>(f(),y("div",{class:b([k(n)+"-footer","flex justify-center items-center"])},"Copyright © 2021-"+C((new Date).getFullYear())+" openseedsoft. All Rights Reserved",3))}),[["__scopeId","data-v-f64c9180"]]),Fe=v({__name:"SettingMenu",props:{theme:{type:String,default:"light"},menu:{type:Array,default:()=>[]}},setup(e){const t=e;V(),r(),De();const{locale:a}=je(),s=m((()=>it())),i=m((()=>t.theme));return(t,n)=>{const r=H,o=G;return f(),h(o,{theme:i.value,value:s.value,class:"shadow-md"},{default:g((()=>[(f(!0),y(E,null,A(e.menu,(e=>(f(),h(r,{key:e.path,value:`/setting/${e.path}`,to:{path:e.path}},{default:g((()=>{return[D(C((t=e.meta.title,"string"==typeof t?t:t[a.value])),1)];var t})),_:2},1032,["value","to"])))),128))])),_:1},8,["theme","value"])}}}),xe=v({__name:"LayoutContent",setup(e){const t=r(),a=o(),s=P();let i=tt;const l=m((()=>{var e;if(0==s.path.startsWith("/setting"))return null;return(null==(e=i.find((e=>"/setting"===e.path)))?void 0:e.children).filter((e=>{var t,s;return!(null==(t=e.meta)?void 0:t.isPro)||(null==(s=e.meta)?void 0:s.isPro)&&a.isPro})).filter((e=>(e.path.includes("api"),!0)))}));return(e,a)=>{const s=Z,i=J,r=B;return f(),h(r,{class:b([`${k(n)}-layout`,"flex flex-col h-full"])},{default:g((()=>[F(s,{class:b([`${k(n)}-content-layout`,"flex-1"])},{default:g((()=>[k(t).showBreadcrumb?(f(),h(we,{key:0})):x("",!0),l.value?(f(),h(Fe,{key:1,theme:k(t).displayMode,menu:l.value,class:"mb-4 w-full overflow-x-auto"},null,8,["theme","menu"])):x("",!0),F(be)])),_:1},8,["class"]),k(t).showFooter?(f(),h(i,{key:0,class:b(`${k(n)}-footer-layout`)},{default:g((()=>[F(ke)])),_:1},8,["class"])):x("",!0)])),_:1},8,["class"])}}}),_e=v({__name:"MenuContent",props:{navData:{type:Array,default:()=>[]}},setup(e){const t=e,a=m((()=>it())),{locale:s}=je(),i=m((()=>{const{navData:e}=t;return o(e)})),n=e=>{if("string"==typeof e.icon)return React.createElement("t-icon",{name:e.icon});return e.icon},r=e=>"string"==typeof e?e:e[s.value],o=(e,t)=>e&&0!==e.length?(e.sort(((e,t)=>{var a,s;return((null==(a=e.meta)?void 0:a.orderNo)||0)-((null==(s=t.meta)?void 0:s.orderNo)||0)})),e.map((e=>{var a,s;const i=t&&!e.path.includes(t)?`${t}/${e.path}`:e.path;return{path:i,title:null==(a=e.meta)?void 0:a.title,icon:null==(s=e.meta)?void 0:s.icon,children:o(e.children,i),meta:e.meta,redirect:e.redirect}})).filter((e=>e.meta&&!0!==e.meta.hidden))):[],l=e=>{const{frameSrc:t,frameBlank:a}=e.meta;return t&&a?t.match(/(http|https):\/\/([\w.]+\/?)\S*/):null},d=e=>{var t;return a.value.split("/").length>e.path.split("/").length&&a.value.startsWith(e.path)||a.value===e.path?a.value:(null==(t=e.meta)?void 0:t.single)?e.redirect:e.path};return(e,t)=>{const a=H,s=j("menu-content",!0),o=q;return f(),y("div",null,[(f(!0),y(E,null,A(i.value,(e=>{var t;return f(),y(E,{key:e.path},[e.children&&e.children.length&&!(null==(t=e.meta)?void 0:t.single)?(f(),h(o,{key:1,name:e.path,value:e.path,title:r(e.title)},{icon:g((()=>[(f(),h(w(n(e)),{class:"t-icon"}))])),default:g((()=>[e.children?(f(),h(s,{key:0,"nav-data":e.children},null,8,["nav-data"])):x("",!0)])),_:2},1032,["name","value","title"])):(f(),y(E,{key:0},[l(e)?(f(),h(a,{key:0,name:e.path,value:d(e),onClick:t=>{return a=l(e)[0],void window.open(a);var a}},{icon:g((()=>[(f(),h(w(n(e)),{class:"t-icon"}))])),default:g((()=>[D(" "+C(r(e.title)),1)])),_:2},1032,["name","value","onClick"])):(f(),h(a,{key:1,name:e.path,value:d(e),to:{path:e.path}},{icon:g((()=>[(f(),h(w(n(e)),{class:"t-icon"}))])),default:g((()=>[D(" "+C(r(e.title)),1)])),_:2},1032,["name","value","to"]))],64))],64)})),128))])}}}),Se={class:"header-operate-left"},Ie={key:1,class:"text-center font-bold w-full pr-16 overflow-hidden text-ellipsis whitespace-nowrap"},Me=i(v({__name:"Header",props:{theme:{type:String,default:"light"},menu:{type:Array,default:()=>[]},isCompact:{type:Boolean,default:!1},maxLevel:{type:Number,default:3}},setup(e){const t=e;V();const{locale:a}=je(),s=P(),i=r(),o=l(),d=m((()=>it())),c=m((()=>[`${n}-header-layout`])),u=m((()=>t.theme)),p=()=>{i.updateConfig({isSidebarCompact:!i.isSidebarCompact})};function v(e,t,a=""){for(const s of e){const e=a+s.path;if(e===t)return s;if(s.children){const a=v(s.children,t,e+"/");if(a)return a}}return null}const A=m((()=>{var e,t;if(s.path.startsWith("/setting")){return(null==(e=v(tt,"/setting"))?void 0:e.meta).title[a.value]}if("/conversation/chat"===s.path){return o.find(s.query.id).name}const i=null==(t=v(tt,s.path))?void 0:t.meta;return i?i.title[a.value]:s.path}));return(t,a)=>{const s=Y,n=G;return f(),y("div",{class:b([c.value,"h-full"])},[F(n,{theme:u.value,"expand-type":"popup",value:d.value},{logo:g((()=>[_("div",Se,[F(s,{theme:"default",shape:"square",variant:"text",onClick:p},{default:g((()=>[F(k(ue),{name:"view-list"})])),_:1})])])),default:g((()=>[!0===k(i).showNav?(f(),h(_e,{key:0,class:"header-menu","nav-data":e.menu},null,8,["nav-data"])):(f(),y("div",Ie,C(A.value),1))])),operations:g((()=>a[0]||(a[0]=[_("div",{class:"operations-container"},null,-1)]))),_:1},8,["theme","value"])],2)}}}),[["__scopeId","data-v-066d80f0"]]),Le=v({__name:"LayoutHeader",setup(e){const t=r();let a=tt;return(e,s)=>(f(),h(Me,{theme:k(t).displayMode,menu:k(a),"is-compact":k(t).isSidebarCompact},null,8,["theme","menu","is-compact"]))}}),Re=""+new URL("assets-t-logo-CxwPZnhN.png",import.meta.url).href,Oe={name:"seedchat",private:!0,description:"seedchat",author:{name:"zhepama",email:"[email protected]"},version:"1.0.6",type:"module",scripts:{debug:'concurrently "npm run server:dev" "npm run render:debug"',dev:'concurrently "npm run server:dev" "npm run render:dev"',build:"npm run clean && npm run server:build && npm run render:build && npm run electron:build ","build:local":"npm run build && npm run build:post","build:tencent":"node scripts/tencent.js && cross-env PWA=true vite build","electron:preview":"npm run server:build && vite --mode production","electron:build":"cross-env DEBUG=electron-builder* electron-builder --publish never --dir","render:dev":"vite --mode development --host","render:debug":"cross-env VSCODE_DEBUG=true vite --mode development","render:build":" vite build ","render:preview":"cross-env PWA=true vite build && vite preview","server:pages":"cross-env PWA=true npm run render:build && shx cp -r ./dist/* ./server/public/ && shx rm -rf ./dist && nitro build ","server:build":"nitro build && shx mkdir -p ./dist-server && shx cp -r ./.output/* ./dist-server/","server:cloudflare":" npm run server:cloudflare:script && npm run server:pages ","server:cloudflare:script":"node scripts/cloudflare.js ","server:cloudflare:local":"cross-env NITRO_PRESET=cloudflare_pages nitro build && wrangler pages dev dist/","server:dev":"cross-env CONFIG_PATH=.\\ nitro dev --host","server:prepare":"nitro prepare","server:preview":"node dist-server/server/index.mjs",test:"vitest","build:post":"shx mkdir -p D:\\Applications\\seedchat && shx cp -r ./release/win-unpacked/* D:\\Applications\\seedchat",clean:"shx rm -rf ./dist/* && shx rm -rf ./dist-electron/* && shx rm -rf ./dist-server/* && shx rm -rf ./dist-docs/*","docs:dev":"vuepress dev docs","docs:build":"vuepress build docs"},dependencies:{"@dicebear/collection":"^8.0.1","@dicebear/core":"^8.0.1","@grpc/grpc-js":"^1.12.6","@mozilla/readability":"^0.5.0","@traptitech/markdown-it-katex":"^3.6.0","@types/form-data":"^2.5.2","@types/ws":"^8.5.14","@vueuse/core":"^12.7.0","@wdns/vue-code-block":"^2.3.5","electron-context-menu":"^4.0.5","electron-findbar":"^0.6.4","eventsource-parser":"^3.0.0","form-data":"^4.0.2","highlight.js":"^11.11.1",jose:"^6.0.8",mammoth:"^1.9.0","markdown-it":"^14.1.0","markdown-it-highlightjs":"^4.2.0","markdown-it-link-attributes":"^4.0.1",mermaid:"^11.6.0","pdfjs-dist":"^4.10.38",pinia:"^2.3.1","pinia-plugin-persistedstate":"^4.2.0",protobufjs:"^7.4.0","tdesign-icons-vue-next":"^0.3.4","tdesign-vue-next":"latest",turndown:"^7.2.0","tvision-color":"^1.6.0",undici:"^7.4.0",uuid:"^11.1.0",vue:"^3.5.13","vue-i18n":"^11.1.1","vue-router":"^4.5.0",vuedraggable:"^4.1.0",ws:"^8.18.1",xlsx:"^0.18.5"},devDependencies:{"@types/highlight.js":"^10.1.0","@types/markdown-it":"^14.1.2","@types/markdown-it-link-attributes":"^3.0.5","@types/turndown":"^5.0.5","@types/uuid":"^10.0.0","@vitejs/plugin-vue":"^5.2.1","@vuepress/bundler-vite":"^2.0.0-rc.14","@vuepress/theme-default":"^2.0.0-rc.37",autoprefixer:"^10.4.20",concurrently:"^9.1.2","cross-env":"^7.0.3",electron:"^34.0.1","electron-builder":"^25.1.8",less:"^4.2.2",nitropack:"latest",postcss:"^8.5.1","postcss-less":"^6.0.0","protobufjs-cli":"^1.1.3","sass-embedded":"^1.85.1",shx:"^0.3.4","swagger-ui-dist":"^5.20.0",tailwindcss:"^3.4.4",terser:"^5.39.0",typescript:"^5.8.2","unplugin-auto-import":"^19.1.1","unplugin-vue-components":"^28.4.1",vite:"^6.2.0","vite-plugin-electron":"^0.29.0","vite-plugin-electron-renderer":"^0.14.6","vite-plugin-javascript-obfuscator":"^3.1.0","vite-svg-loader":"^5.1.0",vitest:"^3.0.7","vue-tsc":"^2.2.6",vuepress:"^2.0.0-rc.14",wrangler:"^3.106.0"},main:"dist-electron/main.js",overrides:{canvas:"npm:dry-uninstall"}},ze={class:"flex justify-center w-full p-3"},Pe=["src"],Ve={class:"flex align-middle justify-center items-center"},Ue={class:"sidenav-menus overflow-y-auto flex-1"},Ne={class:"p-2"},Te={class:"flex w-full flex-col mb-2 gap-2 items-center align-middle justify-between"},We={class:"text-center"},Xe={class:"version-container"},Qe=i(v({__name:"SideNav",props:{theme:{type:String,default:"light"}},setup(e){o();const t=e,a=m((()=>r().isSidebarCompact)),s=P(),i=m((()=>it()+`?id=${s.query.id}`)),c=m((()=>a.value?"":"Seed Chat PRO")),u=m((()=>[`${n}-sidebar-layout`,{hidden:a.value}])),p=m((()=>[`${n}-side-nav-logo-${a.value?"t":"tdesign"}-logo`])),v=V(),A=r(),E=()=>{const e=window.innerWidth<=991;A.updateConfig({isSidebarCompact:e,isCompact:e})};S((()=>{E(),window.onresize=()=>{E()}}));const j=()=>{v.push("/")},w=I("conversation"),R=l(),O=Ee(),z=I([]),U=I([]);M((()=>R.list.length),(()=>{z.value=R.data.map((e=>e))}),{immediate:!0}),M((()=>O.list.length),(()=>{U.value=O.data.map((e=>e))}),{immediate:!0});const N=()=>{R.list=[...z.value]},T=()=>{O.list=[...U.value]};M((()=>s.path),(e=>{e.startsWith("/note")?w.value="favorite":w.value="conversation"}),{immediate:!0});const W=e=>{v.push(e)};return(e,s)=>{const n=K,r=$,o=se,l=Y,m=ae,A=te,E=H,S=ee;return f(),y("div",{class:b([u.value,"flex flex-col"])},[_("div",ze,[_("img",{src:a.value?Re:"light"==t.theme?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAAAcCAYAAAAqXo7IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJ6klEQVR4nO1cXYwbVxX+zszY3h/vrtNtEiUEYtTwpz6si0pSUFBMC0Xw0N3CS/MA3YAopUiw5SVqX+q8VFUkYIsqARISzkOL+uaIh0YRECdKf9JIiSO1UqUI4UUNpSTN2rvZ9c947uFhrndnx/eOx2MnefEnjXZ8f849d+a755577p2lS5eWIQTQaAgAgBCAEAzLIhgGwTAAwyAIAarVnB/ZtngkmbSOx+NUajQEiAixGMG2GfW6A9M0kEgYIGIIwThw4B4MMcSdgBGUSQQQERoN8fVq1T69tub8qdnkw8vL9lvVauslIbCb6E6pOsQQwdCSmQhotfjTKyutV6rV1lnb5m+65AYAjNZq4ujqautSrSaeYoY5JPUQdxsdZCYCmDFeq4nnVlZalxsN8XMikJ+sstzO9XXnj8vL9rlGQ3wLIAxJPcTdwgaZ2yRsNsXhWk2cr9fFiwCmu5GTCLBt/tqtW87pRkO85jj8ZY8FH2KIOwarTbxWC1+p152jts3f75WM7bKOw4fX1505IXB8bMx4mYiWw8ugOQBzANKK7CKAEjMXPOWzALLhtdyCPDOXpZxcRBllZs5H1KUMoMDMlV4aJKI03GeUgfo5laRei546OY24jWegaGNeUX6jv1101LWnbTNEvVCgixeXP7W62nq+XhdPMbvk7hfMgGnS1ZER4zeHDk3/IVABogyAPICZLmKXmDntqZcD8EJEFb/BzEUphyPKOMvM2T51OQkgx8yloEJysOQAHAojlJk33qKuf94yirbOKLI2+hug5zyAPwcUedY70Hx1o76HDRirq63fr6+LZwA9kYkA0yRY1uZlGHrWEwFC8OfW1pyXgxqXVqCI7kQGgL0hyoRFaYCy+sEsgKIc0EoQ0SJccoUisqyjlXebkeuSP38b275iAUgFWeNEwkC9LlBdacFuurFowwDGxkxMTFhwHIbjqAcVEW51USAHYCqK5v2g1+ldg0HIANz+F4ko7deLiPIAnowgM9W/Wh0oBWVKq9zN4MzIfpYHpJMXFQuAo8ohAmIxA+ffrODMmWVcv9H0kJaQTJr40hfHMPvYDkxNmrBbkWaJjCZ9Ca7rUYH7YubQ+SBSmron4Pqkvbapal+HFMJZ92Oe+zRcv1r1wqcALMBj2aTrEkTkJQAFbB1UWYTvX6+odMnPhZQzB2BRkX5W0V4K6hmp/Y5T2OxvydK1GI8b+MeZZbz62kewLAP79o1idMQAMwACPvywjr/9/SY++aSFnz29B7EYQYieCa1zLzI+K5UjopS/jKZuvu0P94EyM+f6lAG/DNmHItT9XoAkhHS/gnzwY33qV+6jbgeIaAGdg7QKd7D5B+QCFGRW+eNyQKvIrHzHSjKbJuHmTRtvnLqBZNLCT368G/ffn2y3CjII1WoLr/7lv3j7nSouXKji4Ye3oV7vmcxnNcrOw9fhHlyDctjGFQPktoKZK3KBVULny58ioqx8SXMBYo6EiSr0gUwvheUzzCmy8vLyk3kvEWW6LXq7oKJKVJLZsgjlch0ff9zEo49O44EHJrC25rhWGQDA2LbNwne/cy8uX17Fv5ZqYN4WRak81GT+LRGlIlqfPBEVPb9T2HxBeR8RMlAjI/3Vsq9sClBbkbCQhC4A+KUiOyX/zmmqHxsQkQ9FiB6UNOkLUK97Fpm5TERL6By487JeN6RUibqBoCQzAWjIxd7YqIFWiz1EdmHbjETcPWTUbIqO/DBg5ry0VCrf8AW5Kp/vccF2CPqVfzGkjCmNTjpkFWlXAspXNOkZuFOzTv98SH0AbLgrg0JFIT8FNSlPeNY2BXQO3HlNPT8yoTST0J7N6IWcUYi8WZfn4Tr0KrRDV+noLWxBZUBybldbgXUiRAHSEXToBTloolFElJM+b0qRPSU3yQYK7QLQNF2SOo7rQ/thGG6+EIClyO8FzDxPRGWoFz0zAArSn6x40tMRmipFqHM7kNGkl4IqSderMmhlokAaGJWrBISb1ebhWu2BQUlmx2Hs3pXAxISJ9967hevX78H27bGNaAURgZnx7sUVrK052LEjDiPwMGl3MHNOElq1gzQDd4qd86SpQlzdQmrlkOoEhfcqIWUoIafmbETZWQyGACegf06LCLeJletTh9mIg1PrvinJbLcYe/aM4KsPpXDq9A387pV/Y2ZmApbpktgwCNeuNfDOu1Xs2hXHQwem0IoWZ94C6UOXod5OnQ0RcO81pJbVpA8ivKfDAtRT85JnYRMU5SkMQIeyrn9EVOlWWVrlKJs5fsyhx3UAAga81s1wHMb3Ht8OIRhvvV3F1av/A8hdHDIzLMvA3s+M4IkndmLnzvjGlyphIX2mkp+czFwkoitQW4c0BhwjHRAy3Qp4Fku6+HHBd68i86yMsiyEtGjZEGXCouS5X9SU0c1oKahdkgUEkzn0Fj7gktlUZTgOI5Ew8MMf7MLBgyn851rD3QGU7vHkpIUvfH4MY2Nmz0SWmIf7ck7CfVAluJ3OQjPNeQ4HpTUy0wGnr1JwSecPzyl1k1EWZRvyWvBYUpWlbevSLp/RlAPcDYac53ce+sXVkwCyktTt9jPY7F+GmVOadiKjPXjkc5lVFKkiYJBJ4+V3DQe6vW0BqDGrj3y2z118Nj2CffeNbsljdsNzzaaeyMxIBrRdgvtQ2lc3eLc705oye9H99FrRc5/RlOk6hYYI+ofRpY0t4UcZi16A/gRakGz/tvCgkdOkL3aZLQrQW+eFfhRqwxgdNZ5JJCjPrA+xuR+rii1XoyG029dSzkfj4+bRQSgJOeoHJMuLVL8C+txFrMLd0Sv4M+TscUSW6QVFz31aU6YcUF87tUurrMqvQu96tJHXpM9p2sp0kdcBwzTpn8mkdSSZNA+aJp3rL2YMAHBGRoxfJ5PWg2NjxmJ0aRtYApD1WcJMH/LK/SijQCZivZNw+5XXFZB5GfRmbSue+7SmTLkHeV7kdendfHj5/lQHnPZqYs6pHvQCAFht8sZi9GYsZj3SaIif1uvOs0LgvrAH9dsy4nHjjfFx40XTpPO23blr6MMi3AefhpoQZbhfYxQUeSVsPZHWC4q++6KyVHiUEV6XCuT6IGxISvqTWc9XJlnoX3QRWxeSeaj7Vw5oUtkX2X5eU0eX7kcO6gFWUaSVNbqUdcLpwoWbG/8rg6j9fzJw79qa+FWt5vyCGeNBpJZflXwwPm7mxsfN15kZtu1e8Thh//5IZzaGGKJndGx1CMEwTboxOWk9Pz0dPxCPGwWVPy1/ryaT5nPT07H9IyP0uvxie4gh7gqU+3YueRnxOL0/OWk9nkyaj5kmXfCQWiQSRn56OvZgMmm+RITVIYmHuNvQbpoAm1Y2kTD+Go8bp2o15+lmk7+dSBjHR0eNc+6B/Duh5hBDdMf/AeWEF6kp7RGPAAAAAElFTkSuQmCC":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAAAcCAYAAAAqXo7IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJiklEQVR4nO2cX4wkRR3HP9XdM7N/5vbmWOByiN4Y8F94uMEghwZzIyhGH7hFX+BBWTQiYqKLLwReGF4IIVEXQ6ImJg4PYHhb4gOEqDd34d9BAkOCiQkxzhoQkeN25vb25m93+VA9O70zVT3dvXN3PMw36WxP/X71q19Vfet/9Yo33tjA86Dd9gDwPPA8ieMILEtgWWBZAs9DNJvuD7pd7+Zs1nksnRbVdttDCEEqJeh2Ja2Wi21bZDIWQkg8T3L48CVMMcWFgBUmFAKEELTb3lcbje4LW1vuHzodecfGRvflRqP3qOdxhRAXytUppgiHkcxCQK8nP3nmTO+JRqN3vNuVX1fkBmC22fTu39zsvdFsendLiT0l9RQXGyNkFgKkZL7Z9B44c6b3Zrvt/VQIxDBZfb395865v9/Y6J5ot71vgGBK6ikuFrbJ3Cdhp+Pd0Wx6L7Za3iPA4jhyCgHdrvzK2bPuC+2297Tryi8GevApprhgcPrE6/X4Uqvl3t/tyu/GJWNf13XlHefOuUuex2Nzc9bjQoiNGL4s+U9eI6sAVWAtEFb0nyQoAzX/vZTQRs23k8SXGiov9Zhp5lFlVEBfTlXf9mogrGSwVWZQBsNpLGvCawzyGwZTemFpjosXCeL11zc+sbnZe7DV8u6WUpF7t5ASbFu8MzNj/erIkcXfjVEvoDJ5aIzeOjsrsAQ8lNDFr6EaCIBMaOM4AwIn9eVZP251jF7R1zsS0W6wFk35M9V0ETimCQ/m14Rl4I8h8vvY2dCCSFoP27A2N3u/PXfOuxfMRBYCbFvgOIPHssysFwI8T35ma8t9fEz6eRSpxhEZ4GAEnaioTtDWbnAUlf9CiM4qilxRicwYe+cTpTHy5fOY9lsOkAvrjTMZi1bLo3GmR7ej9qItC+bmbPbscXBdievqG5UQnB3jQAnYm8TzXaL+MbEBKv8VVMMetlkG7kxgM7cLf0yojpEvM77DOYTKZ23X3oyi7gCuTiIEpFIWL75U59ixDT481QmQVpDN2nzh83McvfVy9i7YdHuJRomCIXwdVZF1VMUsMVoQOUPcJwkvLFOauvRNyBGtd3848J5HDdO6Ct8LrLCzZysRTuR1RufdRaLnLy7qY+SliHaW0E81jmvSy6Efkfp1nGOQ36pjSjGdtvjbsQ2eevp9HMfi6qtnmZ2xkBIQ8O67Lf7y19N89FGPn9xzJamUwPNiE9o0vSiws/BKjJK3gB5lBvPhpKgxgQWJxkYO87RqJaCfJ3wO/rDGdhzUdhFXhxVGG2kD1diGG+QKejIXNWEl9GQuo6ljLZltW3D6dJfnnj9FNuvwox9ewTXXZJVQSoQlaDR6PPWn//LKqw1Onmxw0037aLVik/m4wdllRjNcj2izFiP9XAzdSaCOqrQqo5W/15dVUL2XCXcRbVchKQox9XPoG1YZ/TTpoJ9GNWY6QdR1gVoyO46gVmvxwQcdbrllkWuv3cPWlqt6ZQAk+/Y5fPtbl/Lmm5v8a72JlPuSOFVGT+ZfYy6kKDYrgd85BhVUZicRCuhRYHQbqcCA/MUEfvVRR/VYP9fI+vaXDHEfZjJEPkL83YOqIXwF/bpnFVV+64w23GU/3jjk4viiJbMA2v5ib27WoteTASIrdLuSTFpdMup0vBF5RJRRxNDNDR9CEWiZeIutI5hX/pWINvYafDKhqAl7K0S/bggvoIhu8r8c0Z8+8jH1w1DXhOXQkzK4blljtOEuG+INoxBBZxvGuxlxyJmQyH0sozKvQ3/rKr+rFAaoT8jO+UprXJxaTHv5BD7EQQnzblQJ/VoHP87SpJ0xLgBtW5HUddUcehiWpeSeB45GHhPLqIrSLXoOoVp3kZ2VnU+QTjVBnPOBgiG8OiZejgvbIMOQRz9Vgmij2jI7T3R3DS2ZXVdyxYEMe/bYvP32WT788BIuuyy1vVshhEBKyWuvn2Fry+Xyy9NYoZdJI6GEIrTuBOkQaohdCoTptrjGbanVIvoStr1Xj2jDhBzmOfc420UmQ4AnMZfTKtEOsUq79OEoyRqncfqmJXO3J7nyyhm+fEOO5184xW+e+DeHDu3BsRWJLUvw3nttXn2twYEDaW44vJdesn3mYZRRJNIdpx5l/IZ7jXiFXAzxoxLDThysoB+a1xn0zGG7PGsT8KGGOX/1CPHzJDvMGcYS8dcBdZPAOM1wXcl3brsMz5O8/EqDd975Hwi1OJRS4jgWBz81w+2372f//vT2lyoxsMTgYkwQFVTr0/UOeY3+xwGFCDo5FJFN+8drQ+86Mh9FVf4K0UhXjKATFdXA+6pBxzSi5dBPSVYIJ3OcI3wcwNYJXFeSyVh8/3sHuPHGHP95r61OAP3p8cKCw+c+O8fcnJ2EyKB6maOoyzZV/8mhKsA0zFX8v3mDPI+5Z84x2HIrR/CtGJJGHlURVT9M19P2fenrFwx6oA4YSoHfZcyLqzt938qB9AsM8td/nzTq/t8iqt6G0SC8kS0xOjWc6PG2AzSl1F/57N+7+HR+hquvmt0hk1Jtz3U6ZiJLSTYk7SqqUPrPOASPO/MGnYOMv71WCbwXDDpRhtDqGHkUX/pYZicJ6ihimG6ghdkePhaeNEqG8FXCR4s1zL3zSnJ3BrBmZ617MxlRltK8xaY+VvV2PO22Zzy+9u28Pz9v3z8JJxm0+kkjd5FtNFAnemsaWdmXNWLarATe8wadWkj8sKG9aJA3ME89+igbwpcM4YUx9kZg2bb4Zzbr3JXN2jfatjixmz1jP647M2P9Mpt1rpubs1aTW9vGOoMj4D4Ku7BX20VcHQoJ4z3LYLpgQtm3H6e3rQfe8wadWgx7QZRDwusGWR9V9BecDqIndC6SRwE4ffKmUuKlVMq5ud32ftxqufd5HldFvajft5FOW8/Nz1uP2LZ4sdsdPTUcwiqqAPLoCVFD9VhrGlmVnTfS4qAy9F7RakVHjei+1BmsD+ox7BcZfGVSxFzRFXaWVxl9/moh6ZnykieczFFQQt/A6pqwmsGXmsm4OHny9Pb/yhCi/38yuHRry/tFs+n+TErmw0jtf1Xyj/l5uzQ/bz8jpaTbVU86Lbj++kR3NqaYIjZGjjo8T2Lb4tTCgvPg4mL6cDptrenm0/7vzWzWfmBxMXX9zIx4xv9ie4opLgq053aKvJJ0Wvx9YcG5LZu1b7VtcTJAai+TscqLi6nrsln7USHYnJJ4iosN46EJDHrZTMb6czptPd9suvd0OvKbmYz12OysdUJdyL8Qbk4xxXj8H0eEKo5UwxgtAAAAAElFTkSuQmCC",class:b(["cursor-pointer",p.value]),onClick:j},null,10,Pe)]),_("div",Ve,[F(r,{modelValue:w.value,"onUpdate:modelValue":s[0]||(s[0]=e=>w.value=e),variant:"primary-filled"},{default:g((()=>[F(n,{value:"conversation"},{default:g((()=>[D(C(e.$t("layout.sideNav.tabConversation")),1)])),_:1}),F(n,{value:"favorite"},{default:g((()=>[D(C(e.$t("layout.sideNav.tabFavorite")),1)])),_:1})])),_:1},8,["modelValue"])]),_("div",Ue,["conversation"===w.value?(f(),h(S,{key:0,class:"flex-1 bg-transparent",value:i.value,collapsed:a.value},{default:g((()=>[F(k(Ae),{onEnd:N,modelValue:z.value,"onUpdate:modelValue":s[2]||(s[2]=e=>z.value=e),"item-key":"id"},{item:g((({element:t})=>[(f(),h(E,{name:t.id,value:`/conversation/chat?id=${t.id}`,"data-index":t.id,key:t.id,to:{path:"/conversation/chat",query:{id:t.id}},class:"gap-2 relative menu-item"},{icon:g((()=>[F(o,{size:"24px",image:t.avatar},null,8,["image"])])),content:g((()=>[D(C(t.name)+" ",1),F(A,{theme:"danger",content:e.$t("layout.sideNav.confirmDelete"),placement:"right",onConfirm:e=>{return a=t,R.remove(a.id),R.data.length>0?v.push(`/conversation/chat?id=${R.data[0].id}`):v.push("/"),void ie.success(d("layout.sideNav.deleteSuccessMsg"));var a},class:"absolute right-0 top-1.5 delete-button"},{default:g((()=>[F(m,{content:e.$t("layout.sideNav.deleteAction"),placement:"right"},{default:g((()=>[F(l,{size:"small",shape:"circle",variant:"text",onClick:s[1]||(s[1]=L((()=>{}),["stop"]))},{default:g((()=>[F(k(pe),{slot:"icon",style:{width:"16px",height:"16px"}})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"])])),_:2},1032,["name","value","data-index","to"]))])),_:1},8,["modelValue"])])),_:1},8,["value","collapsed"])):x("",!0),"favorite"===w.value?(f(),h(S,{key:1,class:"flex-1 bg-transparent",value:i.value,collapsed:a.value},{default:g((()=>[F(k(Ae),{onEnd:T,modelValue:U.value,"onUpdate:modelValue":s[4]||(s[4]=e=>U.value=e),"item-key":"id"},{item:g((({element:t})=>[(f(),h(E,{name:t.id,value:`/note/content?id=${t.id}`,"data-index":t.id,key:t.id,to:{path:"/note/content",query:{id:t.id}},class:"gap-2 relative menu-item"},{default:g((()=>[D(C(t.title)+" ",1),F(A,{theme:"danger",content:e.$t("layout.sideNav.confirmDelete"),placement:"right",onConfirm:e=>{return a=t,O.remove(a.id),O.data.length>0?v.push(`/note/content?id=${O.data[0].id}`):v.push("/"),void ie.success(d("layout.sideNav.deleteSuccessMsg"));var a},class:"absolute right-0 top-1.5 delete-button"},{default:g((()=>[F(m,{content:e.$t("layout.sideNav.deleteAction"),placement:"right"},{default:g((()=>[F(l,{size:"small",shape:"circle",variant:"text",onClick:s[3]||(s[3]=L((()=>{}),["stop"]))},{default:g((()=>[F(k(pe),{slot:"icon",style:{width:"16px",height:"16px"}})])),_:1})])),_:1},8,["content"])])),_:2},1032,["content","onConfirm"])])),_:2},1032,["name","value","data-index","to"]))])),_:1},8,["modelValue"])])),_:1},8,["value","collapsed"])):x("",!0)]),_("div",Ne,[_("div",Te,[F(l,{class:"w-full",theme:"primary",shape:"square",variant:"base",onClick:s[5]||(s[5]=e=>W("/conversation/index"))},{icon:g((()=>[F(k(me))])),default:g((()=>[D(" "+C(e.$t("layout.header.start")),1)])),_:1}),F(l,{class:"w-full",theme:"primary",shape:"square",variant:"base",onClick:s[6]||(s[6]=e=>W("/setting"))},{icon:g((()=>[F(k(ve))])),default:g((()=>[D(" "+C(e.$t("layout.header.setting")),1)])),_:1})]),_("div",We,[_("span",Xe,C(c.value)+" "+C(k(Oe).version),1)])])],2)}}}),[["__scopeId","data-v-8cd98e64"]]),Ge=v({__name:"LayoutSideNav",setup(e){const t=r();return(e,a)=>(f(),h(Qe,{theme:k(t).displayMode},null,8,["theme"]))}}),He={class:"flex gap-5 items-center align-middle justify-center"},Be=i(v({__name:"ReloadPrompt",setup(e){const t=I(null),a=I(null),s=I(!1),i=()=>{s.value&&localStorage.setItem("pwaInstallDismissed","true"),s.value=!1},n=async()=>{if(a.value){a.value.prompt();const{outcome:e}=await a.value.userChoice;a.value=null,s.value=!1,localStorage.setItem("pwaInstallLastPrompt",(new Date).toISOString())}},r=e=>{e.preventDefault(),a.value=e;const t="true"===localStorage.getItem("pwaInstallDismissed"),i=localStorage.getItem("pwaInstallLastPrompt"),n=new Date;n.setDate(n.getDate()-30);!t&&(!i||new Date(i)<n)&&(s.value=!0)},o=()=>{s.value=!1,localStorage.removeItem("pwaInstallDismissed"),localStorage.removeItem("pwaInstallLastPrompt")},l=async()=>{if("visible"===document.visibilityState&&t.value)try{await t.value.update()}catch(e){}};return S((async()=>{await(async()=>{if("serviceWorker"in navigator)try{const e=await navigator.serviceWorker.register("/sw.js",{scope:"/"});t.value=e,e.addEventListener("updatefound",(()=>{const t=e.installing;t&&t.addEventListener("statechange",(()=>{"installed"===t.state&&navigator.serviceWorker.controller&&t.postMessage({type:"SKIP_WAITING"})}))})),navigator.serviceWorker.addEventListener("controllerchange",(()=>{window.location.reload()}))}catch(e){}})(),window.matchMedia("(display-mode: standalone)").matches||(window.addEventListener("beforeinstallprompt",r),window.addEventListener("appinstalled",o)),document.addEventListener("visibilitychange",l)})),R((()=>{window.removeEventListener("beforeinstallprompt",r),window.removeEventListener("appinstalled",o),document.removeEventListener("visibilitychange",l)})),(e,t)=>{const a=Y,r=ne;return s.value?(f(),h(r,{key:0,class:"pwa-toast",role:"alert"},{default:g((()=>[t[2]||(t[2]=_("div",{class:"message"}," 将此应用添加到主屏幕,随时随地快速访问 ",-1)),_("div",He,[s.value?(f(),h(a,{key:0,onClick:n},{default:g((()=>t[0]||(t[0]=[D(" 安装 ")]))),_:1})):x("",!0),F(a,{onClick:i},{default:g((()=>t[1]||(t[1]=[D(" 稍后再说 ")]))),_:1})])])),_:1})):x("",!0)}}}),[["__scopeId","data-v-b1672b5d"]]),Ze=v({__name:"index",setup(e){const t=P(),a=r();return M((()=>t.path),(()=>{var e;null==(e=document.querySelector(`.${n}-layout`))||e.scrollTo({top:0,behavior:"smooth"})})),(e,t)=>{const s=re,i=oe,n=Z,r=B;return f(),h(r,null,{default:g((()=>[F(s,{class:"h-screen"},{default:g((()=>[F(Ge)])),_:1}),F(r,{class:"h-screen overflow-hidden"},{default:g((()=>[k(a).showLayoutHeader?(f(),h(i,{key:0},{default:g((()=>[F(Le)])),_:1})):x("",!0),F(n,{class:"flex-1 overflow-y-auto main-layout-content"},{default:g((()=>[F(xe)])),_:1}),(f(),h(Be,{key:1}))])),_:1})])),_:1})}}}),Je=[{path:"/conversation",component:Ze,redirect:"/conversation/index",name:"conversation",meta:{title:{zh_CN:"会话",en_US:"Conversation"},icon:he,orderNo:0},children:[{path:"index",name:"NewConversation",component:()=>z((()=>import("./index-Fvdag2mW.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79]),import.meta.url),meta:{title:{zh_CN:"新建会话",en_US:"New Conversation"}}},{path:"chat",name:"chat",component:()=>z((()=>import("./chat-iwq_-gWt.js")),__vite__mapDeps([80,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,4,70,71,72,73,74,81,82,76,75,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,77,78,101,102]),import.meta.url),meta:{title:{zh_CN:"会话聊天",en_US:"Chat"},hidden:!0}}]},{path:"/setting",
|
5 |
+
// component: () => import('@/pages/setting/layout.vue'),
|
6 |
+
component:Ze,redirect:"/setting/user",name:"setting",meta:{title:{zh_CN:"设置",en_US:"Setting"},icon:fe,orderNo:0},children:[{path:"user",name:"User setting",component:()=>z((()=>import("./index-4iPBU98_.js")),__vite__mapDeps([103,56,57,1,2,3,58,12,59,60,61,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,62,63,64,65,66,67,68,69,81,82,76,83,84,77,78,4,104]),import.meta.url),meta:{title:{zh_CN:"常规",en_US:"User"}}},{path:"model",name:"ModelSetting",component:()=>z((()=>import("./index-B_mUdk78.js")),__vite__mapDeps([105,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,83,84,101,76]),import.meta.url),meta:{title:{zh_CN:"模型",en_US:"Model"}}},{path:"agent",name:"AgentCenter",component:()=>z((()=>import("./index-CNoNr_C9.js")),__vite__mapDeps([106,4,1,2,3,56,57,58,12,59,60,61,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,62,63,64,65,66,67,68,69,81,82,76,77,78]),import.meta.url),meta:{title:{zh_CN:"智能体",en_US:"Agent"}}},{path:"api",name:"api setting",component:()=>z((()=>import("./index-ZOIODvVH.js")),__vite__mapDeps([107,108,62,1,2,3,55,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,67,68,69,109,83,84]),import.meta.url),meta:{title:{zh_CN:"OpenAPI",en_US:"OpenAPI"},isPro:!0}}]},{path:"/page",component:Ze,redirect:"/page/about",name:"page",meta:{title:{zh_CN:"页面",en_US:"Page"},icon:ge,orderNo:0},children:[{path:"about",name:"AboutUs",component:()=>z((()=>import("./about-BwL3QcL6.js")),__vite__mapDeps([110,108,62,1,2,3,55,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,67,68,69,109]),import.meta.url),meta:{title:{zh_CN:"关于我们",en_US:"About Us"}}},{path:"help",name:"help",component:()=>z((()=>import("./help-CsIzKY7B.js")),__vite__mapDeps([111,108,62,1,2,3,55,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,67,68,69,109,83,84]),import.meta.url),meta:{title:{zh_CN:"使用帮助",en_US:"Help"}}},{path:"changelog",name:"change log",component:()=>z((()=>import("./changelog-51ykc7WB.js")),__vite__mapDeps([112,108,62,1,2,3,55,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,67,68,69,109]),import.meta.url),meta:{title:{zh_CN:"更新日志",en_US:"Change Log"}}}]},{path:"/note",component:Ze,redirect:"/note/index",name:"note",meta:{title:{zh_CN:"笔记",en_US:"Notes"},icon:ye,orderNo:0},children:[{path:"index",name:"noteList",component:()=>z((()=>import("./index-D23yFg4b.js")),__vite__mapDeps([113,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,2,3,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,1,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,4,77,78]),import.meta.url),meta:{title:{zh_CN:"笔记列表",en_US:"Note List"}}},{path:"content",name:"content",component:()=>z((()=>import("./content-pN6RCpjZ.js")),__vite__mapDeps([114,85,1,2,3,86,87,88,89,90,91,92,93,94,95,96,97,56,57,58,12,59,60,61,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,62,63,64,65,66,67,68,69,70,71,72,73,74,98,99,83,84,76,100,4,77,78,115]),import.meta.url),meta:{title:{zh_CN:"笔记内容",en_US:"Note Content"},hidden:!0}}]}],qe=Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}),Ye=Object.assign({"./modules/homepage.ts":qe}),Ke=Object.assign({}),$e=st(Ye),et=st(Ke),tt=[...$e,...et].filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.hidden)})),at=[...$e,...et,{path:"/",redirect:"/conversation/index"}];function st(e){const t=[];return Object.keys(e).forEach((a=>{const s=e[a].default||{},i=Array.isArray(s)?[...s]:[s];t.push(...i)})),t}const it=(e=3)=>{const t=nt.currentRoute.value;return t.path?t.path.split("/").filter(((t,a)=>a<=e&&a>0)).map((e=>`/${e}`)).join(""):""},nt=U({history:N(),routes:at,scrollBehavior:()=>({el:"#app",top:0,behavior:"smooth"})}),rt=O(i(v({__name:"App",setup(e){const t=r(),a=m((()=>t.displayMode)),{getComponentsLocale:s,locale:i}=je();return(e,t)=>{const n=j("router-view"),r=le;return f(),h(r,{"global-config":k(s)},{default:g((()=>[(f(),h(n,{key:k(i),class:b([a.value])},null,8,["class"]))])),_:1},8,["global-config"])}}}),[["__scopeId","data-v-a54c09a9"]]));rt.use(de),rt.use(nt),rt.use(c),rt.use(t),u(),p.initialize(),rt.mount("#app").$nextTick((()=>{postMessage({payload:"removeLoading"},"*"),window.document.addEventListener("keydown",(e=>{e.ctrlKey&&"f"===e.key&&window.ipcRenderer&&(e.preventDefault(),window.ipcRenderer.send("electron-findbar/open"))}))})),null==(e=window.ipcRenderer)||e.on("main-process-message",((e,t)=>{}));export{Ee as a,je as b,De as u};
|
.output/public/assets/main-DeuBA7Uu.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.tdesign-breadcrumb[data-v-7ec7ffe3]{margin-bottom:24px}.fade-leave-active[data-v-d7ed7a08],.fade-enter-active[data-v-d7ed7a08]{transition:opacity .28s cubic-bezier(.38,0,.24,1)}.fade-enter-from[data-v-d7ed7a08],.fade-leave-to[data-v-d7ed7a08]{opacity:0}.tdesign-starter-footer[data-v-f64c9180]{color:var(--td-text-color-placeholder);line-height:20px;text-align:center;height:var(--td-comp-size-xxl)}.operations-dropdown-container-item .t-dropdown__item-text{display:flex;align-items:center}.tdesign-starter-header-menu-fixed[data-v-066d80f0]{position:fixed;top:0;z-index:1001}.tdesign-starter-header-menu-fixed[data-v-066d80f0] .t-head-menu__inner{padding-right:var(--td-comp-margin-xl)}.tdesign-starter-header-menu-fixed-side[data-v-066d80f0]{left:232px;right:0;z-index:10;width:auto;transition:all .3s}.tdesign-starter-header-menu-fixed-side-compact[data-v-066d80f0]{left:0}.tdesign-starter-header-logo-container[data-v-066d80f0]{cursor:pointer;display:inline-flex}.header-menu[data-v-066d80f0]{flex:1 1 1;display:inline-flex}.header-menu[data-v-066d80f0] .t-menu__item{min-width:unset}.operations-container[data-v-066d80f0]{display:flex;align-items:center}.operations-container .t-popup__reference[data-v-066d80f0]{display:flex;align-items:center;justify-content:center}.operations-container .t-button[data-v-066d80f0]{margin-left:var(--td-comp-margin-l)}.header-operate-left[data-v-066d80f0]{display:flex;align-items:normal;line-height:0}.header-logo-container[data-v-066d80f0]{width:184px;height:26px;display:flex;margin-left:24px;color:var(--td-text-color-primary)}.header-logo-container .t-logo[data-v-066d80f0]{width:100%;height:100%}.header-logo-container .t-logo[data-v-066d80f0]:hover,.header-logo-container[data-v-066d80f0]:hover{cursor:pointer}.header-user-account[data-v-066d80f0]{display:inline-flex;align-items:center;color:var(--td-text-color-primary)}[data-v-066d80f0] .t-head-menu__inner{border-bottom:1px solid var(--td-component-stroke)}.t-menu--light .header-user-account[data-v-066d80f0]{color:var(--td-text-color-primary)}.t-menu--dark .t-head-menu__inner[data-v-066d80f0]{border-bottom:1px solid var(--td-gray-color-10)}.t-menu--dark .header-user-account[data-v-066d80f0]{color:#ffffff8c}.operations-dropdown-container-item[data-v-066d80f0]{width:100%;display:flex;align-items:center}.operations-dropdown-container-item[data-v-066d80f0] .t-dropdown__item-text{display:flex;align-items:center}.operations-dropdown-container-item .t-icon[data-v-066d80f0]{font-size:var(--td-comp-size-xxxs);margin-right:var(--td-comp-margin-s)}.operations-dropdown-container-item[data-v-066d80f0] .t-dropdown__item{width:100%;margin-bottom:0}.operations-dropdown-container-item[data-v-066d80f0]:last-child .t-dropdown__item{margin-bottom:8px}.version-container[data-v-8cd98e64]{opacity:.4}.menu-item[data-v-8cd98e64]{position:relative}.delete-button[data-v-8cd98e64]{opacity:0;transition:opacity .2s ease-in-out}.menu-item:hover .delete-button[data-v-8cd98e64]{opacity:1}.pwa-toast[data-v-b1672b5d]{position:fixed;right:10px;top:10px;z-index:100;max-width:16rem;--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pwa-toast .message[data-v-b1672b5d]{margin-bottom:8px}#nprogress .bar[data-v-a54c09a9]{background:var(--td-brand-color)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-3{left:.75rem}.right-0{right:0}.right-1{right:.25rem}.right-\[-15px\]{right:-15px}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-3{top:.75rem}.top-\[-32px\]{top:-32px}.z-20{z-index:20}.z-50{z-index:50}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-\[var\(--td-comp-margin-xxl\)\]{margin-bottom:var(--td-comp-margin-xxl)}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-\[108px\]{height:108px}.h-\[24px\]{height:24px}.h-\[80px\]{height:80px}.h-\[calc\(100\%-10px\)\]{height:calc(100% - 10px)}.h-\[calc\(100vh-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(50\%-10px\)\]{height:calc(50% - 10px)}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-32{max-height:8rem}.max-h-44{max-height:11rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-96{max-height:24rem}.min-h-32{min-height:8rem}.min-h-44{min-height:11rem}.w-1\/2{width:50%}.w-12{width:3rem}.w-32{width:8rem}.w-44{width:11rem}.w-60{width:15rem}.w-\[200px\]{width:200px}.w-\[24px\]{width:24px}.w-\[80px\]{width:80px}.w-\[calc\(100\%-24px-1rem\)\]{width:calc(100% - 24px - 1rem)}.w-full{width:100%}.min-w-44{min-width:11rem}.min-w-\[300px\]{min-width:300px}.max-w-60{max-width:15rem}.max-w-80{max-width:20rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[75\%\]{max-width:75%}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-75{--tw-bg-opacity: .75}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\[10px\]{padding:10px}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-0{padding-bottom:0}.pl-10{padding-left:2.5rem}.pl-24{padding-left:6rem}.pr-16{padding-right:4rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar::-webkit-scrollbar-track{background:transparent;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb{background:#9b9b9b80;border-radius:10px;-webkit-transition:background .2s ease;transition:background .2s ease}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#9b9b9bcc}.dark .markdown-body,[data-theme=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #848d97;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5}.light .markdown-body,[data-theme=light]{color-scheme:light;--color-prettylights-syntax-comment: #57606a;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-done-fg: #8250df;--color-done-emphasis: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:var(--base-size-8, 8px)!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-emphasis)}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-emphasis)}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-emphasis)}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--color-attention-fg)}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--color-success-emphasis)}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--color-success-fg)}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--color-danger-emphasis)}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--color-danger-fg)}@font-face{font-family:KaTeX_AMS;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(./KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(./KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(./KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(./KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}:root[theme-mode=dark]{--td-component-border: #30363d;--td-bg-color-container: #010409;--td-bg-color-page: #202731}body{color:var(--td-text-color-secondary);font:var(--td-font-body-medium);font-family:-apple-system,BlinkMacSystemFont,var(--td-font-family);-webkit-font-smoothing:antialiased;padding:0;margin:0}.bg-color-page{background:var(--td-bg-color-page)}.bg-color-container{background-color:var(--td-bg-color-container)}.brand-color{background-color:var(--td-brand-color)}.brand-color-light{background-color:var(--td-brand-color-light)}.bg-color-container-active{background-color:var(--td-bg-color-container-active)}.bg-color-specialcomponent{background-color:var(--td-bg-color-specialcomponent)}.bordered{border:1px solid var(--td-component-border)}.bordered-bottom{border-bottom:1px solid var(--td-component-border)}.text-color-primary{color:var(--td-text-color-primary)}.text-color-secondary{color:var(--td-text-color-secondary)}.text-color-anti{color:var(--td-text-color-anti)}.t-layout__sider{width:-moz-fit-content;width:fit-content}.tdesign-starter-sidebar-layout{height:100%}.tdesign-starter-content-layout{padding:var(--td-comp-paddingTB-m) var(--td-comp-paddingLR-m)}.tdesign-starter-footer-layout{padding:0;margin-bottom:var(--td-comp-margin-xxl)}.light .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #e0e7ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e293b var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #334155 var(--tw-gradient-to-position)}.light .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #c7d2fe var(--tw-gradient-from-position);--tw-gradient-to: rgb(199 210 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #020617 var(--tw-gradient-from-position);--tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.light .chat-model-header{--tw-shadow-color: #e2e8f0;--tw-shadow: var(--tw-shadow-colored)}.dark .chat-model-header{--tw-shadow-color: #334155;--tw-shadow: var(--tw-shadow-colored)}.light .user-chat-content{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: rgb(224 231 255 / .8) var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .user-chat-content{background-color:var(--td-bg-color-page)}.light .markdown-it-code-title .code-header-bg{background-color:#f5f5f5}.dark .markdown-it-code-title .code-header-bg{background-color:#2d2d2d}.light .markdown-it-code-title .code-scroll-top-button{background-color:#fffc}.dark .markdown-it-code-title .code-scroll-top-button{background-color:#2d2d2dcc}.markdown-it-code-title .code-content{margin-top:-3px}.markdown-body ol,.markdown-body ul{list-style:revert}.markdown-body pre>::-webkit-scrollbar,.scrollbar::-webkit-scrollbar{width:5px;height:5px}.markdown-body pre>::-webkit-scrollbar-thumb,.scrollbar::-webkit-scrollbar-thumb{border-radius:5px;background-clip:padding-box;background-color:#a3a3a34d}.light .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.light .markdown-body code.hljs{padding:3px 5px}.light .markdown-body .hljs{color:#24292e}.light .markdown-body .hljs-doctag,.light .markdown-body .hljs-keyword,.light .markdown-body .hljs-meta .hljs-keyword,.light .markdown-body .hljs-template-tag,.light .markdown-body .hljs-template-variable,.light .markdown-body .hljs-type,.light .markdown-body .hljs-variable.language_{color:#d73a49}.light .markdown-body .hljs-title,.light .markdown-body .hljs-title.class_,.light .markdown-body .hljs-title.class_.inherited__,.light .markdown-body .hljs-title.function_{color:#6f42c1}.light .markdown-body .hljs-attr,.light .markdown-body .hljs-attribute,.light .markdown-body .hljs-literal,.light .markdown-body .hljs-meta,.light .markdown-body .hljs-number,.light .markdown-body .hljs-operator,.light .markdown-body .hljs-variable,.light .markdown-body .hljs-selector-attr,.light .markdown-body .hljs-selector-class,.light .markdown-body .hljs-selector-id{color:#005cc5}.light .markdown-body .hljs-regexp,.light .markdown-body .hljs-string,.light .markdown-body .hljs-meta .hljs-string{color:#032f62}.light .markdown-body .hljs-built_in,.light .markdown-body .hljs-symbol{color:#e36209}.light .markdown-body .hljs-comment,.light .markdown-body .hljs-code,.light .markdown-body .hljs-formula{color:#6a737d}.light .markdown-body .hljs-name,.light .markdown-body .hljs-quote,.light .markdown-body .hljs-selector-tag,.light .markdown-body .hljs-selector-pseudo{color:#22863a}.light .markdown-body .hljs-subst{color:#24292e}.light .markdown-body .hljs-section{color:#005cc5;font-weight:700}.light .markdown-body .hljs-bullet{color:#735c0f}.light .markdown-body .hljs-emphasis{color:#24292e;font-style:italic}.light .markdown-body .hljs-strong{color:#24292e;font-weight:700}.light .markdown-body .hljs-addition{color:#22863a;background-color:#f0fff4}.light .markdown-body .hljs-deletion{color:#b31d28;background-color:#ffeef0}.dark .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.dark .markdown-body code.hljs{padding:3px 5px}.dark .markdown-body .hljs{color:#c9d1d9}.dark .markdown-body .hljs-doctag,.dark .markdown-body .hljs-keyword,.dark .markdown-body .hljs-meta .hljs-keyword,.dark .markdown-body .hljs-template-tag,.dark .markdown-body .hljs-template-variable,.dark .markdown-body .hljs-type,.dark .markdown-body .hljs-variable.language_{color:#ff7b72}.dark .markdown-body .hljs-title,.dark .markdown-body .hljs-title.class_,.dark .markdown-body .hljs-title.class_.inherited__,.dark .markdown-body .hljs-title.function_{color:#d2a8ff}.dark .markdown-body .hljs-attr,.dark .markdown-body .hljs-attribute,.dark .markdown-body .hljs-literal,.dark .markdown-body .hljs-meta,.dark .markdown-body .hljs-number,.dark .markdown-body .hljs-operator,.dark .markdown-body .hljs-variable,.dark .markdown-body .hljs-selector-attr,.dark .markdown-body .hljs-selector-class,.dark .markdown-body .hljs-selector-id{color:#79c0ff}.dark .markdown-body .hljs-regexp,.dark .markdown-body .hljs-string,.dark .markdown-body .hljs-meta .hljs-string{color:#a5d6ff}.dark .markdown-body .hljs-built_in,.dark .markdown-body .hljs-symbol{color:#ffa657}.dark .markdown-body .hljs-comment,.dark .markdown-body .hljs-code,.dark .markdown-body .hljs-formula{color:#8b949e}.dark .markdown-body .hljs-name,.dark .markdown-body .hljs-quote,.dark .markdown-body .hljs-selector-tag,.dark .markdown-body .hljs-selector-pseudo{color:#7ee787}.dark .markdown-body .hljs-subst{color:#c9d1d9}.dark .markdown-body .hljs-section{color:#1f6feb;font-weight:700}.dark .markdown-body .hljs-bullet{color:#f2cc60}.dark .markdown-body .hljs-emphasis{color:#c9d1d9;font-style:italic}.dark .markdown-body .hljs-strong{color:#c9d1d9;font-weight:700}.dark .markdown-body .hljs-addition{color:#aff5b4;background-color:#033a16}.dark .markdown-body .hljs-deletion{color:#ffdcd7;background-color:#67060c}.list-card{height:100%}.list-card-operation{display:flex;justify-content:space-between;margin-bottom:var(--td-comp-margin-xxl)}.list-card-operation .search-input{width:360px}.list-card-item :deep(.t-card__header){padding:0}.list-card-item :deep(.t-card__body){padding:0;margin-top:var(--td-comp-margin-xxl);margin-bottom:var(--td-comp-margin-xxl)}.list-card-item :deep(.t-card__footer){padding:0}.list-card-pagination{padding:var(--td-comp-paddingTB-xl) var(--td-comp-paddingTB-xl)}.list-card-loading{height:100%;width:100%;display:flex;align-items:center;justify-content:center}.list-card-item{display:flex;flex-direction:column;cursor:pointer}.list-card-item_detail{min-height:140px}.list-card-item_detail--name{margin-bottom:var(--td-comp-margin-s);font:var(--td-font-title-medium);color:var(--td-text-color-primary)}.list-card-item_detail--desc{color:var(--td-text-color-secondary);font:var(--td-font-body-small);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.loader{width:100%;height:4.8px;display:inline-block;position:relative;background:var(--td-bg-color-page);overflow:hidden}.loader:after{content:"";width:96px;height:4.8px;background:var(--td-brand-color);position:absolute;top:0;left:0;box-sizing:border-box;animation:hitZak 1s linear infinite alternate}@keyframes hitZak{0%{left:0;transform:translate(-1%)}to{left:100%;transform:translate(-99%)}}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}
|
.output/public/assets/markdown-DzGpKJBk.js
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
var e=Object.defineProperty,n=(n,t,o)=>((n,t,o)=>t in n?e(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o)(n,"symbol"!=typeof t?t+"":t,o);import{m as t}from"./markdown-it-link-attributes-DRKqjf49.js";import{M as o}from"./markdown-it-C8SkdHr7.js";import{m as r}from"./@traptitech-BvfRDySB.js";import{m as s}from"./markdown-it-highlightjs-SkC4yFW8.js";import{H as i}from"./highlight.js-BMssuVXz.js";import{e as l}from"./tdesign-vue-next-BiEwLJDx.js";import{r as d}from"./mermaid-render-DEM9knJr.js";const a={svg:"",buttonStyle:"",collapseButtonClass:"",collapseButtonStyle:"",headerClass:"",headerStyle:""},c=(e,n)=>(n={...a,...n},(...t)=>{const[o,r]=t,s=o[r];if(s.info&&s.info.includes(":")){const[e,n]=s.info.split(":",2);s.info=e}const i=o[r].content.replaceAll('"',""").replaceAll("'","'");let l;try{l=e(...t)}catch(c){const n=o[r].info;o[r].info="text",l=e(...t),o[r].info=n}if(0===i.length)return l;const d=o[r].info||"",a=`code-header-${Math.random().toString(36).substring(2,9)}`;return`\n<div class="markdown-it-code-title">\n <div id="${a}" class="code-header ${n.headerClass}" style="${n.headerStyle}">\n <div class="code-header-left" onclick="toggleCodeCollapse(this)">\n <span class="code-language">${d}</span>\n <button class="code-collapse-button ${n.collapseButtonClass}" style="${n.collapseButtonStyle}" title="Toggle code" >\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n </button>\n </div>\n <button data-clipboard-text="${i}" class="code-copy-button ${n.buttonClass}" style="${n.buttonStyle}" title="Copy code" onclick="copyCodeToClipboard(this)">\n ${n.svg}\n </button>\n </div>\n <div class="code-content">\n ${l}\n <button class="code-scroll-top-button${i.length>500?"":" hidden"}" title="Scroll to code header" onclick="scrollToElement('${a}')">\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="18 15 12 9 6 15"></polyline>\n </svg>\n </button>\n </div>\n</div>\n`});i.registerLanguage("codebase-retrieval",(()=>({name:"codebase-retrieval",contains:[],case_insensitive:!0,keywords:{}}))),i.registerLanguage("vue",(e=>({name:"vue",subLanguage:"xml",contains:[e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:/^(\s*)(<script>)/gm,end:/^(\s*)(<\/script>)/gm,subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<script lang=["']ts["']>)/gm,end:/^(\s*)(<\/script>)/gm,subLanguage:"typescript",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style(\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"css",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style lang=["'](scss|sass)["'](\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"scss",excludeBegin:!0,excludeEnd:!0},{begin:/^(\s*)(<style lang=["']stylus["'](\sscoped)?>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"stylus",excludeBegin:!0,excludeEnd:!0}]})));const u=new class{constructor(){n(this,"worker"),n(this,"pendingRequests"),n(this,"isWorkerReady",!1),this.pendingRequests=new Map,this.worker=new Worker(new URL(
|
2 |
+
/* @vite-ignore */
|
3 |
+
""+new URL("markdown.worker-DX8QUGrg.js",import.meta.url).href,import.meta.url),{type:"module"}),this.worker.onmessage=this.handleWorkerMessage.bind(this),this.worker.onerror=this.handleWorkerError.bind(this),this.isWorkerReady=!0}
|
4 |
+
/**
|
5 |
+
* Render markdown text to HTML using the worker
|
6 |
+
* @param text Markdown text to render
|
7 |
+
* @returns Promise that resolves to the rendered HTML
|
8 |
+
*/render(e){return this.isWorkerReady?new Promise(((n,t)=>{const o=Date.now().toString()+Math.random().toString(36).substr(2,9);this.pendingRequests.set(o,{resolve:n,reject:t}),this.worker.postMessage({id:o,text:e})})):Promise.resolve(`<p>${e}</p>`)}
|
9 |
+
/**
|
10 |
+
* Handle messages from the worker
|
11 |
+
*/handleWorkerMessage(e){const{id:n,html:t,error:o}=e.data,r=this.pendingRequests.get(n);r&&(o?r.reject(new Error(o)):r.resolve(t),this.pendingRequests.delete(n))}
|
12 |
+
/**
|
13 |
+
* Handle worker errors
|
14 |
+
*/handleWorkerError(e){for(const[n,t]of this.pendingRequests.entries())t.reject(new Error("Worker error: "+e.message)),this.pendingRequests.delete(n);this.isWorkerReady=!1,this.restartWorker()}
|
15 |
+
/**
|
16 |
+
* Restart the worker if it crashes
|
17 |
+
*/restartWorker(){try{this.worker&&this.worker.terminate(),this.worker=new Worker(new URL(
|
18 |
+
/* @vite-ignore */
|
19 |
+
""+new URL("markdown.worker-DX8QUGrg.js",import.meta.url).href,import.meta.url),{type:"module"}),this.worker.onmessage=this.handleWorkerMessage.bind(this),this.worker.onerror=this.handleWorkerError.bind(this),this.isWorkerReady=!0}catch(e){l.error("Markdown rendering engine failed to restart")}}},p=new o({linkify:!0,breaks:!0});p.use(((e,n)=>{if(e.renderer.rules.code_block=c(e.renderer.rules.code_block,n),e.renderer.rules.fence=c(e.renderer.rules.fence,n),"undefined"!=typeof window){window.copyCodeToClipboard||(window.copyCodeToClipboard=e=>{const t=e.dataset.clipboardText;navigator.clipboard.writeText(t).then((function(){n.onCopySuccess&&n.onCopySuccess(t,e)})).catch((function(t){n.onCopyError&&n.onCopyError(t,e)}))}),window.toggleCodeCollapse||(window.toggleCodeCollapse=e=>{const n=e.closest(".markdown-it-code-title"),t=n.querySelector(".code-content"),o=e.querySelector(".code-collapse-button")||e,r=n.querySelector(".code-scroll-top-button");t.classList.toggle("collapsed"),o.classList.toggle("collapsed"),r&&(t.classList.contains("collapsed")?r.classList.add("hidden"):r.classList.remove("hidden"))}),window.scrollToElement||(window.scrollToElement=e=>{const n=document.getElementById(e);if(n){const e=n=>{if(!n)return document.documentElement;const t=window.getComputedStyle(n).overflowY;return"visible"!==t&&"hidden"!==t&&n.scrollHeight>n.clientHeight?n:e(n.parentElement)||document.documentElement},t=e(n),o=n.getBoundingClientRect(),r=t.getBoundingClientRect(),s=o.top-r.top+t.scrollTop-120;t.scrollTo({top:s,behavior:"smooth"})}});const e="\n.markdown-it-code-title {\n position: relative;\n border-radius: 6px;\n overflow: hidden;\n}\n.markdown-it-code-title .code-header {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 16px;\n font-size: 0.9em;\n background-color: #2d2d2d;\n z-index:1;\n}\n\n\n.markdown-it-code-title .code-header-left {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n}\n.markdown-it-code-title .code-language {\n text-transform: uppercase;\n font-size: 0.8em;\n font-weight: bold;\n color: #999;\n}\n.markdown-it-code-title .code-collapse-button {\n background: none;\n border: none;\n color: #999;\n cursor: pointer;\n padding: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 0.2s;\n}\n.markdown-it-code-title .code-collapse-button.collapsed {\n transform: rotate(-90deg);\n}\n\n.markdown-it-code-title .code-copy-button {\n background: none;\n border: none;\n color: #999;\n cursor: pointer;\n padding: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0.6;\n transition: opacity 0.2s;\n}\n.markdown-it-code-title .code-copy-button:hover {\n opacity: 1;\n}\n\n\n\n\n\n.markdown-it-code-title .code-content {\n position: relative;\n transition: max-height 0.3s ease-out, opacity 0.2s ease;\n max-height: 100%;\n overflow: visible;\n z-index:0;\n}\n.markdown-it-code-title .code-content.collapsed {\n max-height: 0;\n overflow: hidden;\n opacity: 0.8;\n}\n\n.markdown-it-code-title .code-scroll-top-button {\n position: absolute;\n bottom: 10px;\n right: 10px;\n color: #555;\n cursor: pointer;\n padding: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0.6;\n transition: all 0.2s ease;\n border-radius: 50%;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n z-index: 10;\n background-color: rgba(200, 200, 200, 0.8);\n}\n\n.markdown-it-code-title .code-scroll-top-button:hover {\n opacity: 1;\n}\n.markdown-it-code-title .code-scroll-top-button.hidden {\n opacity: 0;\n visibility: hidden;\n}\n",t=document.createElement("style");t.appendChild(document.createTextNode(e)),document.head.appendChild(t)}}),{headerClass:"code-header-bg",svg:'<svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-copy" slot="icon"><path fill="currentColor" d="M2 2h13v5.5h-2V4H4v9h3.5v2H2V2zm7 7h13v13H9V9zm2 2v9h9v-9h-9z"></path></svg>',onCopySuccess:(e,n)=>{l.success("复制成功!")}}),p.use(s,{hljs:i}),p.use(t,{attrs:{target:"_blank",rel:"noopener"}}),p.use(r,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),p.use((function(e){const n=e.renderer.rules.fence||((e,n,t,o,r)=>r.renderToken(e,n,t));e.renderer.rules.fence=(e,t,o,r,s)=>{const i=e[t],l=i.content.trim();if("mermaid"===i.info.trim()){return`<div class="mermaid-diagram-wrapper">\n <div class="mermaid-controls">\n <button type="button" class="mermaid-zoom-in" title="放大">\n <svg viewBox="0 0 24 24" width="16" height="16"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2z"/></svg>\n </button>\n <button type="button" class="mermaid-zoom-out" title="缩小">\n <svg viewBox="0 0 24 24" width="16" height="16"><path fill="currentColor" d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"/></svg>\n </button>\n <button type="button" class="mermaid-reset" title="重置">\n <svg viewBox="0 0 24 24" width="16" height="16"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>\n </button>\n <button type="button" class="mermaid-download" title="下载SVG">\n <svg viewBox="0 0 24 24" width="16" height="16"><path fill="currentColor" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>\n </button>\n <button type="button" class="mermaid-copy" title="复制图表代码">\n <svg viewBox="0 0 24 24" width="16" height="16"><path fill="currentColor" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>\n </button>\n </div>\n <div class="mermaid-diagram-container" data-scale="1">\n <div class="mermaid-diagram" id="${`mermaid-${Date.now()}-${Math.floor(1e3*Math.random())}`}" data-mermaid="${encodeURIComponent(l)}" data-original-code="${encodeURIComponent(l)}">\n <div class="mermaid-loading">图表加载中...</div></div>\n </div>\n </div>`}return n(e,t,o,r,s)}}));const g={
|
20 |
+
// 异步渲染方法,使用Web Worker
|
21 |
+
render:async e=>{try{let n=await u.render(e||"");return n=await d(n),n}catch(n){let t=p.render(e||"");return t=await d(t),t}},
|
22 |
+
// 同步渲染方法(不处理mermaid图表)
|
23 |
+
renderSync:e=>p.render(e||"")};export{g as m};
|
.output/public/assets/markdown-it-highlightjs-SkC4yFW8.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{g as e}from"./@babel-ynFNPEB3.js";import{r as t}from"./highlight.js-BMssuVXz.js";var r,n,l,o,i,u;function a(){if(n)return r;n=1;var e,t=Object.defineProperty,l=Object.defineProperties,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,f=(e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,g=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&f(e,r,t[r]);if(a)for(var r of a(t))s.call(t,r)&&f(e,r,t[r]);return e},h={};function p(e,t,r,n,l){try{return t.highlight(n,{language:""!==l?l:"plaintext",ignoreIllegals:r}).value}catch(o){return e.utils.escapeHtml(n)}}function d(e,t,r,n,l){if(""!==l)return p(e,t,r,n,l);try{return t.highlightAuto(n).value}catch(o){return e.utils.escapeHtml(n)}}function b(e){return function(...t){return e(...t).replace(/<code class="/g,'<code class="hljs ').replace(/<code>/g,'<code class="hljs">')}}function j(e){var t,r,n;for(const o of e.tokens)if("inline"===o.type&&null!=o.children)for(const[u,a]of o.children.entries()){if("code_inline"!==a.type)continue;const c=o.children[u+1];if(null==c)continue;const s=/^{:?\.([^}]+)}/.exec(c.content);if(null==s)continue;const f=s[1];c.content=c.content.slice(s[0].length);let h=null!=(t=a.attrGet("class"))?t:"";h+=`${null!=(r=e.md.options.langPrefix)?r:"language-"}${f}`,a.attrSet("class",h),a.meta=(n=g({},a.meta),l(n,i({highlightLanguage:f})))}}function y(e,t,r,n,l){var o,i;const u=e[t];if(null==r.highlight)throw new Error("`options.highlight` was null, this is not supposed to happen");const a=r.highlight(u.content,null!=(i=null==(o=u.meta)?void 0:o.highlightLanguage)?i:"","");return`<code${l.renderAttrs(u)}>${a}</code>`}function O(e,t){const r=g(g({},O.defaults),t);if(null==r.hljs)throw new Error("Please pass a highlight.js instance for the required `hljs` option.");null!=r.register&&function(e,t){for(const[r,n]of Object.entries(t))e.registerLanguage(r,n)}(r.hljs,r.register),e.options.highlight=(r.auto?d:p).bind(null,e,r.hljs,r.ignoreIllegals),null!=e.renderer.rules.fence&&(e.renderer.rules.fence=b(e.renderer.rules.fence)),r.code&&null!=e.renderer.rules.code_block&&(e.renderer.rules.code_block=b(e.renderer.rules.code_block)),r.inline&&(e.core.ruler.before("linkify","inline_code_language",j),e.renderer.rules.code_inline=b(y))}return((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(h,{default:()=>O}),e=h,r=((e,r,n,l)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let i of u(r))c.call(e,i)||i===n||t(e,i,{get:()=>r[i],enumerable:!(l=o(r,i))||l.enumerable});return e})(t({},"__esModule",{value:!0}),e),O.defaults={auto:!1,code:!1,inline:!1,ignoreIllegals:!1},r}const c=e(u?i:(u=1,i=function(){if(o)return l;o=1;var e,r=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&h(e,r,t[r]);if(c)for(var r of c(t))g.call(t,r)&&h(e,r,t[r]);return e},d=(e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))f.call(e,o)||o===r||n(e,o,{get:()=>t[o],enumerable:!(l=i(t,o))||l.enumerable});return e},b=(e,t,l)=>(l=null!=e?r(s(e)):{},d(e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e)),j={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(j,{default:()=>m}),e=j,l=d(n({},"__esModule",{value:!0}),e);var y=b(t()),O=b(a());function m(e,t){return null==(t=p(p({},m.defaults),t)).hljs&&(t.hljs=y.default),(0,O.default)(e,t)}return m.defaults={auto:!0,code:!0,inline:!1,ignoreIllegals:!0},l}().default));export{c as m};
|
.output/public/assets/markdown.worker-DX8QUGrg.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/mermaid-BHUgx3VR.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/mermaid-render-DEM9knJr.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.output/public/assets/popup-CC7q_C9X.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.popup-window[data-v-37d01730],.popup-container[data-v-37d01730],.light .popup-window[data-v-37d01730],.light .popup-container[data-v-37d01730]{background-color:#fff}.dark .popup-window[data-v-37d01730],.dark .popup-container[data-v-37d01730]{background-color:#0d1117}.input-field[data-v-37d01730]{border-color:#e5e7eb;background-color:#fff;color:#111827}.dark .input-field[data-v-37d01730]{border-color:#30363d;background-color:#161b22;color:#e5e7eb}.icon-color[data-v-37d01730]{color:#9ca3af}.tool-button[data-v-37d01730]{color:#111827}.dark .tool-button[data-v-37d01730]{color:#e5e7eb}.tool-button[data-v-37d01730]:hover{background-color:#f3f4f6}.dark .tool-button[data-v-37d01730]:hover{background-color:#161b22}.tool-button-selected[data-v-37d01730]{background-color:#f3f4f6}.dark .tool-button-selected[data-v-37d01730]{background-color:#161b22}.footer-text[data-v-37d01730]{border-color:#e5e7eb;color:#6b7280}.dark .footer-text[data-v-37d01730]{border-color:#30363d;color:#9ca3af}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-3{left:.75rem}.right-0{right:0}.right-1{right:.25rem}.right-\[-15px\]{right:-15px}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-3{top:.75rem}.top-\[-32px\]{top:-32px}.z-20{z-index:20}.z-50{z-index:50}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-\[var\(--td-comp-margin-xxl\)\]{margin-bottom:var(--td-comp-margin-xxl)}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-\[108px\]{height:108px}.h-\[24px\]{height:24px}.h-\[80px\]{height:80px}.h-\[calc\(100\%-10px\)\]{height:calc(100% - 10px)}.h-\[calc\(100vh-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-56px-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - 56px - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxl\)-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxl) - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(100vh-var\(--td-comp-size-xxxl\)-2\*var\(--td-comp-paddingTB-m\)\)\]{height:calc(100vh - var(--td-comp-size-xxxl) - 2 * var(--td-comp-paddingTB-m))}.h-\[calc\(50\%-10px\)\]{height:calc(50% - 10px)}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-32{max-height:8rem}.max-h-44{max-height:11rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-96{max-height:24rem}.min-h-32{min-height:8rem}.min-h-44{min-height:11rem}.w-1\/2{width:50%}.w-12{width:3rem}.w-32{width:8rem}.w-44{width:11rem}.w-60{width:15rem}.w-\[200px\]{width:200px}.w-\[24px\]{width:24px}.w-\[80px\]{width:80px}.w-\[calc\(100\%-24px-1rem\)\]{width:calc(100% - 24px - 1rem)}.w-full{width:100%}.min-w-44{min-width:11rem}.min-w-\[300px\]{min-width:300px}.max-w-60{max-width:15rem}.max-w-80{max-width:20rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[75\%\]{max-width:75%}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-75{--tw-bg-opacity: .75}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\[10px\]{padding:10px}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-0{padding-bottom:0}.pl-10{padding-left:2.5rem}.pl-24{padding-left:6rem}.pr-16{padding-right:4rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar::-webkit-scrollbar-track{background:transparent;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb{background:#9b9b9b80;border-radius:10px;-webkit-transition:background .2s ease;transition:background .2s ease}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#9b9b9bcc}.dark .markdown-body,[data-theme=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #848d97;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5}.light .markdown-body,[data-theme=light]{color-scheme:light;--color-prettylights-syntax-comment: #57606a;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-done-fg: #8250df;--color-done-emphasis: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:var(--base-size-8, 8px)!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-emphasis)}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-emphasis)}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-emphasis)}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--color-attention-fg)}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--color-success-emphasis)}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--color-success-fg)}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--color-danger-emphasis)}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--color-danger-fg)}@font-face{font-family:KaTeX_AMS;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(./KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(./KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(./KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(./KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}:root[theme-mode=dark]{--td-component-border: #30363d;--td-bg-color-container: #010409;--td-bg-color-page: #202731}body{color:var(--td-text-color-secondary);font:var(--td-font-body-medium);font-family:-apple-system,BlinkMacSystemFont,var(--td-font-family);-webkit-font-smoothing:antialiased;padding:0;margin:0}.bg-color-page{background:var(--td-bg-color-page)}.bg-color-container{background-color:var(--td-bg-color-container)}.brand-color{background-color:var(--td-brand-color)}.brand-color-light{background-color:var(--td-brand-color-light)}.bg-color-container-active{background-color:var(--td-bg-color-container-active)}.bg-color-specialcomponent{background-color:var(--td-bg-color-specialcomponent)}.bordered{border:1px solid var(--td-component-border)}.bordered-bottom{border-bottom:1px solid var(--td-component-border)}.text-color-primary{color:var(--td-text-color-primary)}.text-color-secondary{color:var(--td-text-color-secondary)}.text-color-anti{color:var(--td-text-color-anti)}.t-layout__sider{width:-moz-fit-content;width:fit-content}.tdesign-starter-sidebar-layout{height:100%}.tdesign-starter-content-layout{padding:var(--td-comp-paddingTB-m) var(--td-comp-paddingLR-m)}.tdesign-starter-footer-layout{padding:0;margin-bottom:var(--td-comp-margin-xxl)}.light .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #e0e7ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark .tdesign-starter-content-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1e293b var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #334155 var(--tw-gradient-to-position)}.light .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #c7d2fe var(--tw-gradient-from-position);--tw-gradient-to: rgb(199 210 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .tdesign-starter-sidebar-layout{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #020617 var(--tw-gradient-from-position);--tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.light .chat-model-header{--tw-shadow-color: #e2e8f0;--tw-shadow: var(--tw-shadow-colored)}.dark .chat-model-header{--tw-shadow-color: #334155;--tw-shadow: var(--tw-shadow-colored)}.light .user-chat-content{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: rgb(224 231 255 / .8) var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #eef2ff var(--tw-gradient-to-position)}.dark .user-chat-content{background-color:var(--td-bg-color-page)}.light .markdown-it-code-title .code-header-bg{background-color:#f5f5f5}.dark .markdown-it-code-title .code-header-bg{background-color:#2d2d2d}.light .markdown-it-code-title .code-scroll-top-button{background-color:#fffc}.dark .markdown-it-code-title .code-scroll-top-button{background-color:#2d2d2dcc}.markdown-it-code-title .code-content{margin-top:-3px}.markdown-body ol,.markdown-body ul{list-style:revert}.markdown-body pre>::-webkit-scrollbar,.scrollbar::-webkit-scrollbar{width:5px;height:5px}.markdown-body pre>::-webkit-scrollbar-thumb,.scrollbar::-webkit-scrollbar-thumb{border-radius:5px;background-clip:padding-box;background-color:#a3a3a34d}.light .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.light .markdown-body code.hljs{padding:3px 5px}.light .markdown-body .hljs{color:#24292e}.light .markdown-body .hljs-doctag,.light .markdown-body .hljs-keyword,.light .markdown-body .hljs-meta .hljs-keyword,.light .markdown-body .hljs-template-tag,.light .markdown-body .hljs-template-variable,.light .markdown-body .hljs-type,.light .markdown-body .hljs-variable.language_{color:#d73a49}.light .markdown-body .hljs-title,.light .markdown-body .hljs-title.class_,.light .markdown-body .hljs-title.class_.inherited__,.light .markdown-body .hljs-title.function_{color:#6f42c1}.light .markdown-body .hljs-attr,.light .markdown-body .hljs-attribute,.light .markdown-body .hljs-literal,.light .markdown-body .hljs-meta,.light .markdown-body .hljs-number,.light .markdown-body .hljs-operator,.light .markdown-body .hljs-variable,.light .markdown-body .hljs-selector-attr,.light .markdown-body .hljs-selector-class,.light .markdown-body .hljs-selector-id{color:#005cc5}.light .markdown-body .hljs-regexp,.light .markdown-body .hljs-string,.light .markdown-body .hljs-meta .hljs-string{color:#032f62}.light .markdown-body .hljs-built_in,.light .markdown-body .hljs-symbol{color:#e36209}.light .markdown-body .hljs-comment,.light .markdown-body .hljs-code,.light .markdown-body .hljs-formula{color:#6a737d}.light .markdown-body .hljs-name,.light .markdown-body .hljs-quote,.light .markdown-body .hljs-selector-tag,.light .markdown-body .hljs-selector-pseudo{color:#22863a}.light .markdown-body .hljs-subst{color:#24292e}.light .markdown-body .hljs-section{color:#005cc5;font-weight:700}.light .markdown-body .hljs-bullet{color:#735c0f}.light .markdown-body .hljs-emphasis{color:#24292e;font-style:italic}.light .markdown-body .hljs-strong{color:#24292e;font-weight:700}.light .markdown-body .hljs-addition{color:#22863a;background-color:#f0fff4}.light .markdown-body .hljs-deletion{color:#b31d28;background-color:#ffeef0}.dark .markdown-body pre code.hljs{display:block;overflow-x:auto;padding:1em}.dark .markdown-body code.hljs{padding:3px 5px}.dark .markdown-body .hljs{color:#c9d1d9}.dark .markdown-body .hljs-doctag,.dark .markdown-body .hljs-keyword,.dark .markdown-body .hljs-meta .hljs-keyword,.dark .markdown-body .hljs-template-tag,.dark .markdown-body .hljs-template-variable,.dark .markdown-body .hljs-type,.dark .markdown-body .hljs-variable.language_{color:#ff7b72}.dark .markdown-body .hljs-title,.dark .markdown-body .hljs-title.class_,.dark .markdown-body .hljs-title.class_.inherited__,.dark .markdown-body .hljs-title.function_{color:#d2a8ff}.dark .markdown-body .hljs-attr,.dark .markdown-body .hljs-attribute,.dark .markdown-body .hljs-literal,.dark .markdown-body .hljs-meta,.dark .markdown-body .hljs-number,.dark .markdown-body .hljs-operator,.dark .markdown-body .hljs-variable,.dark .markdown-body .hljs-selector-attr,.dark .markdown-body .hljs-selector-class,.dark .markdown-body .hljs-selector-id{color:#79c0ff}.dark .markdown-body .hljs-regexp,.dark .markdown-body .hljs-string,.dark .markdown-body .hljs-meta .hljs-string{color:#a5d6ff}.dark .markdown-body .hljs-built_in,.dark .markdown-body .hljs-symbol{color:#ffa657}.dark .markdown-body .hljs-comment,.dark .markdown-body .hljs-code,.dark .markdown-body .hljs-formula{color:#8b949e}.dark .markdown-body .hljs-name,.dark .markdown-body .hljs-quote,.dark .markdown-body .hljs-selector-tag,.dark .markdown-body .hljs-selector-pseudo{color:#7ee787}.dark .markdown-body .hljs-subst{color:#c9d1d9}.dark .markdown-body .hljs-section{color:#1f6feb;font-weight:700}.dark .markdown-body .hljs-bullet{color:#f2cc60}.dark .markdown-body .hljs-emphasis{color:#c9d1d9;font-style:italic}.dark .markdown-body .hljs-strong{color:#c9d1d9;font-weight:700}.dark .markdown-body .hljs-addition{color:#aff5b4;background-color:#033a16}.dark .markdown-body .hljs-deletion{color:#ffdcd7;background-color:#67060c}.list-card{height:100%}.list-card-operation{display:flex;justify-content:space-between;margin-bottom:var(--td-comp-margin-xxl)}.list-card-operation .search-input{width:360px}.list-card-item :deep(.t-card__header){padding:0}.list-card-item :deep(.t-card__body){padding:0;margin-top:var(--td-comp-margin-xxl);margin-bottom:var(--td-comp-margin-xxl)}.list-card-item :deep(.t-card__footer){padding:0}.list-card-pagination{padding:var(--td-comp-paddingTB-xl) var(--td-comp-paddingTB-xl)}.list-card-loading{height:100%;width:100%;display:flex;align-items:center;justify-content:center}.list-card-item{display:flex;flex-direction:column;cursor:pointer}.list-card-item_detail{min-height:140px}.list-card-item_detail--name{margin-bottom:var(--td-comp-margin-s);font:var(--td-font-title-medium);color:var(--td-text-color-primary)}.list-card-item_detail--desc{color:var(--td-text-color-secondary);font:var(--td-font-body-small);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.loader{width:100%;height:4.8px;display:inline-block;position:relative;background:var(--td-bg-color-page);overflow:hidden}.loader:after{content:"";width:96px;height:4.8px;background:var(--td-brand-color);position:absolute;top:0;left:0;box-sizing:border-box;animation:hitZak 1s linear infinite alternate}@keyframes hitZak{0%{left:0;transform:translate(-1%)}to{left:100%;transform:translate(-99%)}}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}
|
.output/public/assets/popup-CeXaYDbE.js
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{u as e,b as t,_ as r,s as o,i as s,d as a,m as i}from"./mermaid-render-DEM9knJr.js";import{l as n,a as l,f as u,o as p,n as m,V as c,v as d,y as v,A as j,J as h,a0 as f,ae as w,af as y,F as g,aa as E,I as k,z as $,H as R,u as b,ad as C,U as _}from"./@vue-CfxotJ-S.js";import{f as D}from"./fetch-Lmg5TJRx.js";import{m as A}from"./markdown-DzGpKJBk.js";import{I as M}from"./tdesign-vue-next-BiEwLJDx.js";import"./mermaid-BHUgx3VR.js";import"./@mermaid-js-C9iCgeAb.js";import"./langium-BVNt58jJ.js";import"./vscode-jsonrpc-B7fdjHWu.js";import"./chevrotain-Cp5uJ8YW.js";import"./@chevrotain-DFy4Htpj.js";import"./lodash-es-RhymR7yg.js";import"./chevrotain-allstar-WPou0XcH.js";import"./vscode-languageserver-types-BtnkyLj9.js";import"./vscode-languageserver-textdocument-ygi3JyHC.js";import"./vscode-uri-DEKkV-x5.js";import"./ts-dedent-CttZBlkd.js";import"./d3-transition-0ltv4da8.js";import"./d3-timer-keMr1twq.js";import"./d3-dispatch-Chq_f_hl.js";import"./d3-interpolate-Ct9kki6l.js";import"./d3-color-D5ULnJIe.js";import"./d3-selection-Oxnq6l6A.js";import"./d3-ease-Cx6bG2vu.js";import"./d3-zoom-Dz8HuW59.js";import"./dompurify-DRcrZKbd.js";import"./stylis-Cl7w7uv3.js";import"./dagre-d3-es-D8JeTxsO.js";import"./@braintree-BB7t-Iuh.js";import"./khroma-C2oHPU0S.js";import"./dayjs-Cbdj87rt.js";import"./@babel-ynFNPEB3.js";import"./core-js-pure-Dnpx5JGu.js";import"./d3-scale-CdkN4P7M.js";import"./internmap-B8oPgqVZ.js";import"./d3-array-BhN1wQGI.js";import"./d3-format-C0lSXcPg.js";import"./d3-time-format-DB2uBv1t.js";import"./d3-time-B1kAM736.js";import"./d3-axis-pCwzqJ1S.js";import"./d3-shape-C6CU9yox.js";import"./d3-path-QSrLXsQ3.js";import"./roughjs-Bkc4UHOn.js";import"./cytoscape-BsbaL92W.js";import"./cytoscape-cose-bilkent-CcQu5e-H.js";import"./cose-base-kQthUiMK.js";import"./layout-base-DqRk0Tgc.js";import"./d3-sankey-B6tQBass.js";import"./d3-scale-chromatic-FDBKL9jm.js";import"./@iconify-BUO7KvjM.js";import"./marked-Dw59GjSU.js";import"./cytoscape-fcose-B58q80h4.js";import"./pinia-gf2247cH.js";import"./pinia-plugin-persistedstate-CxGPmdL5.js";import"./destr-WfmzGWA8.js";import"./deep-pick-omit-DP_A4OSP.js";import"./lodash-VDnThKtA.js";import"./@vueuse-B4dz7nOv.js";import"./vue-i18n-AgDfg2iC.js";import"./@intlify-Bs0vqpgD.js";import"./@mozilla-BD532_dh.js";import"./tvision-color-BdwcCUqE.js";import"./chroma-js-CJzpYopr.js";import"./@material-C_XhzpVg.js";import"./bezier-easing-BncZ6jfA.js";import"./eventsource-parser-D0ssca5s.js";import"./markdown-it-link-attributes-DRKqjf49.js";import"./markdown-it-C8SkdHr7.js";import"./mdurl-CDXpswLz.js";import"./uc.micro-CLkLCS2f.js";import"./entities-D7HTx9ov.js";import"./linkify-it-LcVOBuC5.js";import"./punycode.js-Bmr3cAX8.js";import"./@traptitech-BvfRDySB.js";import"./katex-BWqyRjd8.js";import"./markdown-it-highlightjs-SkC4yFW8.js";import"./highlight.js-BMssuVXz.js";import"./tdesign-icons-vue-next-Bre5yOVt.js";import"./sortablejs-DGtSoqI-.js";import"./@popperjs-B4tvfKWZ.js";const U={class:"popup-container rounded-lg shadow-lg w-full flex flex-col pb-0 p-4",style:{"max-height":"500px"}},x={class:"relative flex items-center"},L={key:0,class:"space-y-2"},O=["onClick"],T={key:1},N=["innerHTML"],I={class:"footer-text py-1 border-t mt-4 text-sm text-center"},B=_(r(n({__name:"PopupWindow",setup(r){e();const o=t(),s=l(""),a=l(null),i=l(0),n=l(!1),_=l(""),B=l(!1),H=l(null),S=l(!0),z=e(),F=u((()=>z.displayMode)),W=[{name:"问问",icon:"chat",prompt:"{{text}}",show:!0}],Y=u((()=>{const e=o.toolBarButtons.filter((e=>e.name&&e.show&&void 0!==e.prompt));return[...W,...e]})),P=async()=>{!n.value&&s.value.trim()&&await G()},Q=()=>{if(!(null==window?void 0:window.ipcRenderer)||!H.value)return;const e=H.value.scrollHeight+118,t=Math.min(500,e);window.ipcRenderer.send("adjust-popup-height",t)},V=((e,t)=>{let r=null;return(...o)=>{r&&clearTimeout(r),r=setTimeout((()=>e(...o)),t)}})(Q,50),q=()=>{if(!H.value)return;const{scrollTop:e,scrollHeight:t,clientHeight:r}=H.value;S.value=!(t-e-r>50)},K={
|
2 |
+
// 数学公式模式
|
3 |
+
MATH_FORMULA:/^[\d\+\-\*\/\.\(\)\s]+$/,
|
4 |
+
// 时间日期查询模式
|
5 |
+
TIME_QUERY:/^(时间|日期|现在|今天|今天日期|当前时间|现在几点|现在时间|时间是|日期是)$/,
|
6 |
+
// 随机数生成模式
|
7 |
+
RANDOM_NUMBER:/^随机数(\s*(\d+)(\s*[,-]\s*(\d+))?)?$/,
|
8 |
+
// 随机密码生成模式
|
9 |
+
RANDOM_PASSWORD:/^随机密码(\s*(\d+))?$/,
|
10 |
+
// 字符计数模式
|
11 |
+
CHAR_COUNT:/^字符计数[\s:]*(.+)$/,
|
12 |
+
// Base64编码模式
|
13 |
+
BASE64_ENCODE:/^base64编码[\s:]*(.+)$/i,
|
14 |
+
// Base64解码模式
|
15 |
+
BASE64_DECODE:/^base64解码[\s:]*(.+)$/i,
|
16 |
+
// URL编码模式
|
17 |
+
URL_ENCODE:/^url编码[\s:]*(.+)$/i,
|
18 |
+
// URL解码模式
|
19 |
+
URL_DECODE:/^url解码[\s:]*(.+)$/i},X=(e=1,t=100)=>`随机数 (${e=Math.ceil(e)}-${t=Math.floor(t)}): ${Math.floor(Math.random()*(t-e+1))+e}`,J=(e=12)=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+";let r="";for(let o=0;o<e;o++){r+=t[Math.floor(74*Math.random())]}return`随机密码 (${e}位): ${r}`},Z=e=>{if(K.MATH_FORMULA.test(e))return(e=>{try{return`${e} = ${new Function("return "+e)()}`}catch(t){return"计算公式错误"}})(e);if(K.TIME_QUERY.test(e))return(()=>{const e=new Date,t=e.toLocaleDateString("zh-CN",{year:"numeric",month:"long",day:"numeric",weekday:"long"});return`当前时间:${e.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}\n当前日期:${t}`})();const t=e.match(K.RANDOM_NUMBER);if(t){if(t[2]&&t[4]){const e=parseInt(t[2]),r=parseInt(t[4]);return X(e,r)}return t[2]?X(1,parseInt(t[2])):X()}const r=e.match(K.RANDOM_PASSWORD);if(r){if(r[2]){const e=parseInt(r[2]);return J(e)}return J()}const o=e.match(K.CHAR_COUNT);if(o&&o[1])return(e=>{const t=e.length,r=e.replace(/\s/g,"").length;return`原文本: ${e}\n总字符数: ${t}\n不含空格字符数: ${r}`})(o[1]);const s=e.match(K.BASE64_ENCODE);if(s&&s[1])return(e=>{try{return`原文本: ${e}\nBase64编码: ${btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,((e,t)=>String.fromCharCode(parseInt(t,16)))))}`}catch(t){return`Base64编码错误: ${t.message}`}})(s[1]);const a=e.match(K.BASE64_DECODE);if(a&&a[1])return(e=>{try{return`编码文本: ${e}\n解码结果: ${decodeURIComponent(Array.prototype.map.call(atob(e),(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2))).join(""))}`}catch(t){return`Base64解码错误: ${t.message}`}})(a[1]);const i=e.match(K.URL_ENCODE);if(i&&i[1])return(e=>{try{return`原文本: ${e}\nURL编码: ${encodeURIComponent(e)}`}catch(t){return`URL编码错误: ${t.message}`}})(i[1]);const n=e.match(K.URL_DECODE);return n&&n[1]?(e=>{try{return`编码文本: ${e}\n解码结果: ${decodeURIComponent(e)}`}catch(t){return`URL解码错误: ${t.message}`}})(n[1]):null},G=async()=>{n.value=!0,B.value=!0,m((()=>{Q()}));try{const e=s.value.trim();if(!e)return;const t=Y.value[i.value];if("问问"===t.name){const t=Z(e);if(t)return void(_.value=t)}const r=(t.prompt||"").replace(/{{text}}/g,e);_.value="",await D(r,(e=>{_.value=e,m((()=>{H.value&&S.value&&(H.value.scrollTop=H.value.scrollHeight),V()}))}))}finally{n.value=!1}},ee=()=>{B.value=!1,_.value="",m((()=>{var e,t;null==(e=a.value)||e.select(),null==(t=a.value)||t.focus(),Q()}))},te=()=>{B.value=!1,_.value="",s.value="",m((()=>{var e;null==(e=a.value)||e.focus(),Q()}))},re=e=>{"Escape"!==e.key?B.value||("Tab"===e.key&&(e.preventDefault(),i.value=(i.value+1)%Y.value.length),"ArrowUp"===e.key?(e.preventDefault(),i.value=i.value>0?i.value-1:Y.value.length-1):"ArrowDown"===e.key&&(e.preventDefault(),i.value=(i.value+1)%Y.value.length)):B.value?ee():oe()},oe=()=>{(null==window?void 0:window.ipcRenderer)&&window.ipcRenderer.send("hide-popup")};return p((()=>{var e,t;document.addEventListener("click",oe),document.addEventListener("keydown",re),null==(e=H.value)||e.addEventListener("scroll",q),null==(t=a.value)||t.focus(),m((()=>{Q()})),(null==window?void 0:window.ipcRenderer)&&window.ipcRenderer.on("show-window",te)})),c((()=>{var e;document.removeEventListener("click",oe),document.removeEventListener("keydown",re),null==(e=H.value)||e.removeEventListener("scroll",q),(null==window?void 0:window.ipcRenderer)&&window.ipcRenderer.removeListener("show-window",te)})),(e,t)=>{const r=M;return v(),d("div",{class:k(["popup-window fixed inset-0 flex items-start justify-center",F.value]),onClick:t[1]||(t[1]=C((()=>{}),["stop"]))},[j("div",U,[j("div",x,[B.value?(v(),h(r,{key:1,name:"arrow-left",class:"absolute left-3 icon-color cursor-pointer",onClick:ee})):(v(),h(r,{key:0,name:"search",class:"absolute left-3 icon-color"})),f(j("input",{ref_key:"inputRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),type:"text",class:"input-field w-full pl-10 pr-4 py-2 rounded-lg border focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"请输入内容...",onKeydown:y(P,["enter"])},null,544),[[w,s.value]])]),j("div",{ref_key:"contentContainer",ref:H,class:"mt-4 overflow-auto no-scrollbar min-h-32"},[B.value?(v(),d("div",T,[j("div",{class:"markdown-body",innerHTML:b(A).renderSync(_.value)},null,8,N)])):(v(),d("div",L,[(v(!0),d(g,null,E(Y.value,((e,t)=>(v(),d("div",{key:e.name,class:k(["tool-button flex items-center p-2 rounded-lg cursor-pointer",i.value===t?"tool-button-selected":""]),onClick:e=>(async e=>{n.value||(i.value=e,await G())})(t)},[e.icon?(v(),h(r,{key:0,name:e.icon,class:"mr-2"},null,8,["name"])):$("",!0),j("span",null,R(e.name),1)],10,O)))),128))]))],512),j("div",I,R(B.value?`${Y.value[i.value].name} - 使用 Esc 返回`:"使用 ↑↓ 或 Tab 切换,Enter 发送,Esc 关闭"),1)])],2)}}}),[["__scopeId","data-v-37d01730"]]));B.use(o),B.use(s),a(),i.initialize(),B.mount("#app").$nextTick((()=>{postMessage({payload:"removeLoading"},"*")}));
|
.output/public/index.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<link rel="mask-icon" href="/assets/logo.svg" color="#FFFFFF">
|
11 |
<meta name="theme-color" content="#ffffff">
|
12 |
<link rel="manifest" href="./manifest.webmanifest" />
|
13 |
-
<script type="module" crossorigin src="./assets/main-
|
14 |
<link rel="modulepreload" crossorigin href="./assets/vscode-jsonrpc-B7fdjHWu.js">
|
15 |
<link rel="modulepreload" crossorigin href="./assets/lodash-es-RhymR7yg.js">
|
16 |
<link rel="modulepreload" crossorigin href="./assets/@chevrotain-DFy4Htpj.js">
|
@@ -57,7 +57,7 @@
|
|
57 |
<link rel="modulepreload" crossorigin href="./assets/@iconify-BUO7KvjM.js">
|
58 |
<link rel="modulepreload" crossorigin href="./assets/marked-Dw59GjSU.js">
|
59 |
<link rel="modulepreload" crossorigin href="./assets/cytoscape-fcose-B58q80h4.js">
|
60 |
-
<link rel="modulepreload" crossorigin href="./assets/mermaid-
|
61 |
<link rel="modulepreload" crossorigin href="./assets/@vue-CfxotJ-S.js">
|
62 |
<link rel="modulepreload" crossorigin href="./assets/pinia-gf2247cH.js">
|
63 |
<link rel="modulepreload" crossorigin href="./assets/destr-WfmzGWA8.js">
|
@@ -76,13 +76,13 @@
|
|
76 |
<link rel="modulepreload" crossorigin href="./assets/@material-C_XhzpVg.js">
|
77 |
<link rel="modulepreload" crossorigin href="./assets/bezier-easing-BncZ6jfA.js">
|
78 |
<link rel="modulepreload" crossorigin href="./assets/tvision-color-BdwcCUqE.js">
|
79 |
-
<link rel="modulepreload" crossorigin href="./assets/mermaid-render-
|
80 |
<link rel="modulepreload" crossorigin href="./assets/vue-router-DKqWD4MR.js">
|
81 |
<link rel="modulepreload" crossorigin href="./assets/vue-BIpqWpgL.js">
|
82 |
<link rel="modulepreload" crossorigin href="./assets/vuedraggable-DAEPkKhD.js">
|
83 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-icons-vue-next-BGgy7GQY.css">
|
84 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-vue-next-BiLJzazs.css">
|
85 |
-
<link rel="stylesheet" crossorigin href="./assets/main-
|
86 |
</head>
|
87 |
<body>
|
88 |
<div id="app"></div>
|
|
|
10 |
<link rel="mask-icon" href="/assets/logo.svg" color="#FFFFFF">
|
11 |
<meta name="theme-color" content="#ffffff">
|
12 |
<link rel="manifest" href="./manifest.webmanifest" />
|
13 |
+
<script type="module" crossorigin src="./assets/main-DDFMRJWo.js"></script>
|
14 |
<link rel="modulepreload" crossorigin href="./assets/vscode-jsonrpc-B7fdjHWu.js">
|
15 |
<link rel="modulepreload" crossorigin href="./assets/lodash-es-RhymR7yg.js">
|
16 |
<link rel="modulepreload" crossorigin href="./assets/@chevrotain-DFy4Htpj.js">
|
|
|
57 |
<link rel="modulepreload" crossorigin href="./assets/@iconify-BUO7KvjM.js">
|
58 |
<link rel="modulepreload" crossorigin href="./assets/marked-Dw59GjSU.js">
|
59 |
<link rel="modulepreload" crossorigin href="./assets/cytoscape-fcose-B58q80h4.js">
|
60 |
+
<link rel="modulepreload" crossorigin href="./assets/mermaid-BHUgx3VR.js">
|
61 |
<link rel="modulepreload" crossorigin href="./assets/@vue-CfxotJ-S.js">
|
62 |
<link rel="modulepreload" crossorigin href="./assets/pinia-gf2247cH.js">
|
63 |
<link rel="modulepreload" crossorigin href="./assets/destr-WfmzGWA8.js">
|
|
|
76 |
<link rel="modulepreload" crossorigin href="./assets/@material-C_XhzpVg.js">
|
77 |
<link rel="modulepreload" crossorigin href="./assets/bezier-easing-BncZ6jfA.js">
|
78 |
<link rel="modulepreload" crossorigin href="./assets/tvision-color-BdwcCUqE.js">
|
79 |
+
<link rel="modulepreload" crossorigin href="./assets/mermaid-render-DEM9knJr.js">
|
80 |
<link rel="modulepreload" crossorigin href="./assets/vue-router-DKqWD4MR.js">
|
81 |
<link rel="modulepreload" crossorigin href="./assets/vue-BIpqWpgL.js">
|
82 |
<link rel="modulepreload" crossorigin href="./assets/vuedraggable-DAEPkKhD.js">
|
83 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-icons-vue-next-BGgy7GQY.css">
|
84 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-vue-next-BiLJzazs.css">
|
85 |
+
<link rel="stylesheet" crossorigin href="./assets/main-DeuBA7Uu.css">
|
86 |
</head>
|
87 |
<body>
|
88 |
<div id="app"></div>
|
.output/public/popup.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8" />
|
5 |
<title>Popup</title>
|
6 |
-
<script type="module" crossorigin src="./assets/popup-
|
7 |
<link rel="modulepreload" crossorigin href="./assets/vscode-jsonrpc-B7fdjHWu.js">
|
8 |
<link rel="modulepreload" crossorigin href="./assets/lodash-es-RhymR7yg.js">
|
9 |
<link rel="modulepreload" crossorigin href="./assets/@chevrotain-DFy4Htpj.js">
|
@@ -50,7 +50,7 @@
|
|
50 |
<link rel="modulepreload" crossorigin href="./assets/@iconify-BUO7KvjM.js">
|
51 |
<link rel="modulepreload" crossorigin href="./assets/marked-Dw59GjSU.js">
|
52 |
<link rel="modulepreload" crossorigin href="./assets/cytoscape-fcose-B58q80h4.js">
|
53 |
-
<link rel="modulepreload" crossorigin href="./assets/mermaid-
|
54 |
<link rel="modulepreload" crossorigin href="./assets/@vue-CfxotJ-S.js">
|
55 |
<link rel="modulepreload" crossorigin href="./assets/pinia-gf2247cH.js">
|
56 |
<link rel="modulepreload" crossorigin href="./assets/destr-WfmzGWA8.js">
|
@@ -69,9 +69,9 @@
|
|
69 |
<link rel="modulepreload" crossorigin href="./assets/@material-C_XhzpVg.js">
|
70 |
<link rel="modulepreload" crossorigin href="./assets/bezier-easing-BncZ6jfA.js">
|
71 |
<link rel="modulepreload" crossorigin href="./assets/tvision-color-BdwcCUqE.js">
|
72 |
-
<link rel="modulepreload" crossorigin href="./assets/mermaid-render-
|
73 |
<link rel="modulepreload" crossorigin href="./assets/eventsource-parser-D0ssca5s.js">
|
74 |
-
<link rel="modulepreload" crossorigin href="./assets/fetch-
|
75 |
<link rel="modulepreload" crossorigin href="./assets/markdown-it-link-attributes-DRKqjf49.js">
|
76 |
<link rel="modulepreload" crossorigin href="./assets/mdurl-CDXpswLz.js">
|
77 |
<link rel="modulepreload" crossorigin href="./assets/uc.micro-CLkLCS2f.js">
|
@@ -79,14 +79,14 @@
|
|
79 |
<link rel="modulepreload" crossorigin href="./assets/linkify-it-LcVOBuC5.js">
|
80 |
<link rel="modulepreload" crossorigin href="./assets/punycode.js-Bmr3cAX8.js">
|
81 |
<link rel="modulepreload" crossorigin href="./assets/markdown-it-C8SkdHr7.js">
|
82 |
-
<link rel="modulepreload" crossorigin href="./assets/katex-
|
83 |
-
<link rel="modulepreload" crossorigin href="./assets/@traptitech-
|
84 |
-
<link rel="modulepreload" crossorigin href="./assets/highlight.js-
|
85 |
-
<link rel="modulepreload" crossorigin href="./assets/markdown-it-highlightjs-
|
86 |
-
<link rel="modulepreload" crossorigin href="./assets/markdown-
|
87 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-icons-vue-next-BGgy7GQY.css">
|
88 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-vue-next-BiLJzazs.css">
|
89 |
-
<link rel="stylesheet" crossorigin href="./assets/popup-
|
90 |
</head>
|
91 |
<body>
|
92 |
<div id="app"></div>
|
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8" />
|
5 |
<title>Popup</title>
|
6 |
+
<script type="module" crossorigin src="./assets/popup-CeXaYDbE.js"></script>
|
7 |
<link rel="modulepreload" crossorigin href="./assets/vscode-jsonrpc-B7fdjHWu.js">
|
8 |
<link rel="modulepreload" crossorigin href="./assets/lodash-es-RhymR7yg.js">
|
9 |
<link rel="modulepreload" crossorigin href="./assets/@chevrotain-DFy4Htpj.js">
|
|
|
50 |
<link rel="modulepreload" crossorigin href="./assets/@iconify-BUO7KvjM.js">
|
51 |
<link rel="modulepreload" crossorigin href="./assets/marked-Dw59GjSU.js">
|
52 |
<link rel="modulepreload" crossorigin href="./assets/cytoscape-fcose-B58q80h4.js">
|
53 |
+
<link rel="modulepreload" crossorigin href="./assets/mermaid-BHUgx3VR.js">
|
54 |
<link rel="modulepreload" crossorigin href="./assets/@vue-CfxotJ-S.js">
|
55 |
<link rel="modulepreload" crossorigin href="./assets/pinia-gf2247cH.js">
|
56 |
<link rel="modulepreload" crossorigin href="./assets/destr-WfmzGWA8.js">
|
|
|
69 |
<link rel="modulepreload" crossorigin href="./assets/@material-C_XhzpVg.js">
|
70 |
<link rel="modulepreload" crossorigin href="./assets/bezier-easing-BncZ6jfA.js">
|
71 |
<link rel="modulepreload" crossorigin href="./assets/tvision-color-BdwcCUqE.js">
|
72 |
+
<link rel="modulepreload" crossorigin href="./assets/mermaid-render-DEM9knJr.js">
|
73 |
<link rel="modulepreload" crossorigin href="./assets/eventsource-parser-D0ssca5s.js">
|
74 |
+
<link rel="modulepreload" crossorigin href="./assets/fetch-Lmg5TJRx.js">
|
75 |
<link rel="modulepreload" crossorigin href="./assets/markdown-it-link-attributes-DRKqjf49.js">
|
76 |
<link rel="modulepreload" crossorigin href="./assets/mdurl-CDXpswLz.js">
|
77 |
<link rel="modulepreload" crossorigin href="./assets/uc.micro-CLkLCS2f.js">
|
|
|
79 |
<link rel="modulepreload" crossorigin href="./assets/linkify-it-LcVOBuC5.js">
|
80 |
<link rel="modulepreload" crossorigin href="./assets/punycode.js-Bmr3cAX8.js">
|
81 |
<link rel="modulepreload" crossorigin href="./assets/markdown-it-C8SkdHr7.js">
|
82 |
+
<link rel="modulepreload" crossorigin href="./assets/katex-BWqyRjd8.js">
|
83 |
+
<link rel="modulepreload" crossorigin href="./assets/@traptitech-BvfRDySB.js">
|
84 |
+
<link rel="modulepreload" crossorigin href="./assets/highlight.js-BMssuVXz.js">
|
85 |
+
<link rel="modulepreload" crossorigin href="./assets/markdown-it-highlightjs-SkC4yFW8.js">
|
86 |
+
<link rel="modulepreload" crossorigin href="./assets/markdown-DzGpKJBk.js">
|
87 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-icons-vue-next-BGgy7GQY.css">
|
88 |
<link rel="stylesheet" crossorigin href="./assets/tdesign-vue-next-BiLJzazs.css">
|
89 |
+
<link rel="stylesheet" crossorigin href="./assets/popup-CC7q_C9X.css">
|
90 |
</head>
|
91 |
<body>
|
92 |
<div id="app"></div>
|
.output/public/sw.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
// 缓存名称 - 更改版本号可以强制更新缓存
|
2 |
-
const CACHE_NAME = 'app-cache-
|
3 |
const ASSETS_PATTERN = /\/assets\//;
|
4 |
// 需要缓存的资源列表
|
5 |
const urlsToCache = [
|
|
|
1 |
// 缓存名称 - 更改版本号可以强制更新缓存
|
2 |
+
const CACHE_NAME = 'app-cache-v1744420747846';
|
3 |
const ASSETS_PATTERN = /\/assets\//;
|
4 |
// 需要缓存的资源列表
|
5 |
const urlsToCache = [
|
.output/server/chunks/nitro/nitro.mjs
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
.output/server/node_modules/@grpc/grpc-js/build/src/transport.js
CHANGED
@@ -485,7 +485,6 @@ class Http2SubchannelConnector {
|
|
485 |
return Promise.reject('Connection closed before starting HTTP/2 handshake');
|
486 |
}
|
487 |
return new Promise((resolve, reject) => {
|
488 |
-
var _a;
|
489 |
let remoteName = null;
|
490 |
let realTarget = this.channelTarget;
|
491 |
if ('grpc.http_connect_target' in options) {
|
@@ -519,14 +518,17 @@ class Http2SubchannelConnector {
|
|
519 |
reject(`${errorMessage} (${new Date().toISOString()})`);
|
520 |
}
|
521 |
};
|
522 |
-
const
|
523 |
createConnection: (authority, option) => {
|
524 |
return secureConnectResult.socket;
|
525 |
-
},
|
526 |
-
settings: {
|
527 |
-
initialWindowSize: (_a = options['grpc-node.flow_control_window']) !== null && _a !== void 0 ? _a : http2.getDefaultSettings().initialWindowSize,
|
528 |
}
|
529 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
this.session = session;
|
531 |
let errorMessage = 'Failed to connect';
|
532 |
let reportedError = false;
|
@@ -580,6 +582,7 @@ class Http2SubchannelConnector {
|
|
580 |
await secureConnector.waitForReady();
|
581 |
this.trace(addressString + ' secureConnector is ready');
|
582 |
tcpConnection = await this.tcpConnect(address, options);
|
|
|
583 |
this.trace(addressString + ' Established TCP connection');
|
584 |
secureConnectResult = await secureConnector.connect(tcpConnection);
|
585 |
this.trace(addressString + ' Established secure connection');
|
|
|
485 |
return Promise.reject('Connection closed before starting HTTP/2 handshake');
|
486 |
}
|
487 |
return new Promise((resolve, reject) => {
|
|
|
488 |
let remoteName = null;
|
489 |
let realTarget = this.channelTarget;
|
490 |
if ('grpc.http_connect_target' in options) {
|
|
|
518 |
reject(`${errorMessage} (${new Date().toISOString()})`);
|
519 |
}
|
520 |
};
|
521 |
+
const sessionOptions = {
|
522 |
createConnection: (authority, option) => {
|
523 |
return secureConnectResult.socket;
|
|
|
|
|
|
|
524 |
}
|
525 |
+
};
|
526 |
+
if (options['grpc-node.flow_control_window'] !== undefined) {
|
527 |
+
sessionOptions.settings = {
|
528 |
+
initialWindowSize: options['grpc-node.flow_control_window']
|
529 |
+
};
|
530 |
+
}
|
531 |
+
const session = http2.connect(`${scheme}://${targetPath}`, sessionOptions);
|
532 |
this.session = session;
|
533 |
let errorMessage = 'Failed to connect';
|
534 |
let reportedError = false;
|
|
|
582 |
await secureConnector.waitForReady();
|
583 |
this.trace(addressString + ' secureConnector is ready');
|
584 |
tcpConnection = await this.tcpConnect(address, options);
|
585 |
+
tcpConnection.setNoDelay();
|
586 |
this.trace(addressString + ' Established TCP connection');
|
587 |
secureConnectResult = await secureConnector.connect(tcpConnection);
|
588 |
this.trace(addressString + ' Established secure connection');
|
.output/server/node_modules/@grpc/grpc-js/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "@grpc/grpc-js",
|
3 |
-
"version": "1.13.
|
4 |
"description": "gRPC Library for Node - pure JS implementation",
|
5 |
"homepage": "https://grpc.io/",
|
6 |
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
|
|
1 |
{
|
2 |
"name": "@grpc/grpc-js",
|
3 |
+
"version": "1.13.3",
|
4 |
"description": "gRPC Library for Node - pure JS implementation",
|
5 |
"homepage": "https://grpc.io/",
|
6 |
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
.output/server/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"type": "module",
|
5 |
"private": true,
|
6 |
"dependencies": {
|
7 |
-
"@grpc/grpc-js": "1.13.
|
8 |
"@grpc/proto-loader": "0.7.13",
|
9 |
"@js-sdsl/ordered-map": "4.4.2",
|
10 |
"@protobufjs/aspromise": "1.1.2",
|
|
|
4 |
"type": "module",
|
5 |
"private": true,
|
6 |
"dependencies": {
|
7 |
+
"@grpc/grpc-js": "1.13.3",
|
8 |
"@grpc/proto-loader": "0.7.13",
|
9 |
"@js-sdsl/ordered-map": "4.4.2",
|
10 |
"@protobufjs/aspromise": "1.1.2",
|
package-lock.json
CHANGED
@@ -274,9 +274,9 @@
|
|
274 |
}
|
275 |
},
|
276 |
"node_modules/@cloudflare/workerd-darwin-64": {
|
277 |
-
"version": "1.
|
278 |
-
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.
|
279 |
-
"integrity": "sha512-
|
280 |
"cpu": [
|
281 |
"x64"
|
282 |
],
|
@@ -291,9 +291,9 @@
|
|
291 |
}
|
292 |
},
|
293 |
"node_modules/@cloudflare/workerd-darwin-arm64": {
|
294 |
-
"version": "1.
|
295 |
-
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.
|
296 |
-
"integrity": "sha512-
|
297 |
"cpu": [
|
298 |
"arm64"
|
299 |
],
|
@@ -308,9 +308,9 @@
|
|
308 |
}
|
309 |
},
|
310 |
"node_modules/@cloudflare/workerd-linux-64": {
|
311 |
-
"version": "1.
|
312 |
-
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.
|
313 |
-
"integrity": "sha512-
|
314 |
"cpu": [
|
315 |
"x64"
|
316 |
],
|
@@ -325,9 +325,9 @@
|
|
325 |
}
|
326 |
},
|
327 |
"node_modules/@cloudflare/workerd-linux-arm64": {
|
328 |
-
"version": "1.
|
329 |
-
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.
|
330 |
-
"integrity": "sha512-
|
331 |
"cpu": [
|
332 |
"arm64"
|
333 |
],
|
@@ -342,9 +342,9 @@
|
|
342 |
}
|
343 |
},
|
344 |
"node_modules/@cloudflare/workerd-windows-64": {
|
345 |
-
"version": "1.
|
346 |
-
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.
|
347 |
-
"integrity": "sha512-
|
348 |
"cpu": [
|
349 |
"x64"
|
350 |
],
|
@@ -1684,9 +1684,9 @@
|
|
1684 |
"license": "MIT"
|
1685 |
},
|
1686 |
"node_modules/@grpc/grpc-js": {
|
1687 |
-
"version": "1.13.
|
1688 |
-
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.
|
1689 |
-
"integrity": "sha512-
|
1690 |
"license": "Apache-2.0",
|
1691 |
"dependencies": {
|
1692 |
"@grpc/proto-loader": "^0.7.13",
|
@@ -2582,96 +2582,96 @@
|
|
2582 |
"license": "Apache-2.0"
|
2583 |
},
|
2584 |
"node_modules/@mdit-vue/plugin-component": {
|
2585 |
-
"version": "2.1.
|
2586 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-component/-/plugin-component-2.1.
|
2587 |
-
"integrity": "sha512-
|
2588 |
"dev": true,
|
2589 |
"license": "MIT",
|
2590 |
"dependencies": {
|
2591 |
-
"@types/markdown-it": "^14.1.
|
2592 |
"markdown-it": "^14.1.0"
|
2593 |
}
|
2594 |
},
|
2595 |
"node_modules/@mdit-vue/plugin-frontmatter": {
|
2596 |
-
"version": "2.1.
|
2597 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-frontmatter/-/plugin-frontmatter-2.1.
|
2598 |
-
"integrity": "sha512-
|
2599 |
"dev": true,
|
2600 |
"license": "MIT",
|
2601 |
"dependencies": {
|
2602 |
-
"@mdit-vue/types": "2.1.
|
2603 |
-
"@types/markdown-it": "^14.1.
|
2604 |
"gray-matter": "^4.0.3",
|
2605 |
"markdown-it": "^14.1.0"
|
2606 |
}
|
2607 |
},
|
2608 |
"node_modules/@mdit-vue/plugin-headers": {
|
2609 |
-
"version": "2.1.
|
2610 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-headers/-/plugin-headers-2.1.
|
2611 |
-
"integrity": "sha512-
|
2612 |
"dev": true,
|
2613 |
"license": "MIT",
|
2614 |
"dependencies": {
|
2615 |
-
"@mdit-vue/shared": "2.1.
|
2616 |
-
"@mdit-vue/types": "2.1.
|
2617 |
-
"@types/markdown-it": "^14.1.
|
2618 |
"markdown-it": "^14.1.0"
|
2619 |
}
|
2620 |
},
|
2621 |
"node_modules/@mdit-vue/plugin-sfc": {
|
2622 |
-
"version": "2.1.
|
2623 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-sfc/-/plugin-sfc-2.1.
|
2624 |
-
"integrity": "sha512-
|
2625 |
"dev": true,
|
2626 |
"license": "MIT",
|
2627 |
"dependencies": {
|
2628 |
-
"@mdit-vue/types": "2.1.
|
2629 |
-
"@types/markdown-it": "^14.1.
|
2630 |
"markdown-it": "^14.1.0"
|
2631 |
}
|
2632 |
},
|
2633 |
"node_modules/@mdit-vue/plugin-title": {
|
2634 |
-
"version": "2.1.
|
2635 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-title/-/plugin-title-2.1.
|
2636 |
-
"integrity": "sha512-
|
2637 |
"dev": true,
|
2638 |
"license": "MIT",
|
2639 |
"dependencies": {
|
2640 |
-
"@mdit-vue/shared": "2.1.
|
2641 |
-
"@mdit-vue/types": "2.1.
|
2642 |
-
"@types/markdown-it": "^14.1.
|
2643 |
"markdown-it": "^14.1.0"
|
2644 |
}
|
2645 |
},
|
2646 |
"node_modules/@mdit-vue/plugin-toc": {
|
2647 |
-
"version": "2.1.
|
2648 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-toc/-/plugin-toc-2.1.
|
2649 |
-
"integrity": "sha512-
|
2650 |
"dev": true,
|
2651 |
"license": "MIT",
|
2652 |
"dependencies": {
|
2653 |
-
"@mdit-vue/shared": "2.1.
|
2654 |
-
"@mdit-vue/types": "2.1.
|
2655 |
-
"@types/markdown-it": "^14.1.
|
2656 |
"markdown-it": "^14.1.0"
|
2657 |
}
|
2658 |
},
|
2659 |
"node_modules/@mdit-vue/shared": {
|
2660 |
-
"version": "2.1.
|
2661 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/shared/-/shared-2.1.
|
2662 |
-
"integrity": "sha512-
|
2663 |
"dev": true,
|
2664 |
"license": "MIT",
|
2665 |
"dependencies": {
|
2666 |
-
"@mdit-vue/types": "2.1.
|
2667 |
-
"@types/markdown-it": "^14.1.
|
2668 |
"markdown-it": "^14.1.0"
|
2669 |
}
|
2670 |
},
|
2671 |
"node_modules/@mdit-vue/types": {
|
2672 |
-
"version": "2.1.
|
2673 |
-
"resolved": "https://registry.npmjs.org/@mdit-vue/types/-/types-2.1.
|
2674 |
-
"integrity": "sha512-
|
2675 |
"dev": true,
|
2676 |
"license": "MIT"
|
2677 |
},
|
@@ -3093,6 +3093,39 @@
|
|
3093 |
"node": ">=18.12.0"
|
3094 |
}
|
3095 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3096 |
"node_modules/@nuxt/kit/node_modules/semver": {
|
3097 |
"version": "7.7.1",
|
3098 |
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
|
@@ -3105,6 +3138,31 @@
|
|
3105 |
"node": ">=10"
|
3106 |
}
|
3107 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3108 |
"node_modules/@parcel/watcher": {
|
3109 |
"version": "2.5.1",
|
3110 |
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz",
|
@@ -4636,9 +4694,9 @@
|
|
4636 |
"license": "MIT"
|
4637 |
},
|
4638 |
"node_modules/@types/node": {
|
4639 |
-
"version": "22.14.
|
4640 |
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.
|
4641 |
-
"integrity": "sha512-
|
4642 |
"license": "MIT",
|
4643 |
"dependencies": {
|
4644 |
"undici-types": "~6.21.0"
|
@@ -5687,9 +5745,9 @@
|
|
5687 |
}
|
5688 |
},
|
5689 |
"node_modules/@vuepress/bundler-vite/node_modules/vite": {
|
5690 |
-
"version": "6.1.
|
5691 |
-
"resolved": "https://registry.npmjs.org/vite/-/vite-6.1.
|
5692 |
-
"integrity": "sha512-
|
5693 |
"dev": true,
|
5694 |
"license": "MIT",
|
5695 |
"dependencies": {
|
@@ -7074,9 +7132,9 @@
|
|
7074 |
"license": "MIT"
|
7075 |
},
|
7076 |
"node_modules/abbrev": {
|
7077 |
-
"version": "3.0.
|
7078 |
-
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.
|
7079 |
-
"integrity": "sha512
|
7080 |
"dev": true,
|
7081 |
"license": "ISC",
|
7082 |
"engines": {
|
@@ -8185,9 +8243,9 @@
|
|
8185 |
}
|
8186 |
},
|
8187 |
"node_modules/caniuse-lite": {
|
8188 |
-
"version": "1.0.
|
8189 |
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
8190 |
-
"integrity": "sha512-
|
8191 |
"dev": true,
|
8192 |
"funding": [
|
8193 |
{
|
@@ -8888,9 +8946,9 @@
|
|
8888 |
}
|
8889 |
},
|
8890 |
"node_modules/compatx": {
|
8891 |
-
"version": "0.
|
8892 |
-
"resolved": "https://registry.npmjs.org/compatx/-/compatx-0.
|
8893 |
-
"integrity": "sha512-
|
8894 |
"dev": true,
|
8895 |
"license": "MIT"
|
8896 |
},
|
@@ -10058,17 +10116,6 @@
|
|
10058 |
"integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==",
|
10059 |
"license": "MIT"
|
10060 |
},
|
10061 |
-
"node_modules/destroy": {
|
10062 |
-
"version": "1.2.0",
|
10063 |
-
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
|
10064 |
-
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
|
10065 |
-
"dev": true,
|
10066 |
-
"license": "MIT",
|
10067 |
-
"engines": {
|
10068 |
-
"node": ">= 0.8",
|
10069 |
-
"npm": "1.2.8000 || >= 1.4.16"
|
10070 |
-
}
|
10071 |
-
},
|
10072 |
"node_modules/detect-libc": {
|
10073 |
"version": "2.0.3",
|
10074 |
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
|
@@ -10287,9 +10334,9 @@
|
|
10287 |
}
|
10288 |
},
|
10289 |
"node_modules/dotenv": {
|
10290 |
-
"version": "16.
|
10291 |
-
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.
|
10292 |
-
"integrity": "sha512-
|
10293 |
"license": "BSD-2-Clause",
|
10294 |
"engines": {
|
10295 |
"node": ">=12"
|
@@ -10375,9 +10422,9 @@
|
|
10375 |
}
|
10376 |
},
|
10377 |
"node_modules/electron": {
|
10378 |
-
"version": "34.5.
|
10379 |
-
"resolved": "https://registry.npmjs.org/electron/-/electron-34.5.
|
10380 |
-
"integrity": "sha512-
|
10381 |
"dev": true,
|
10382 |
"hasInstallScript": true,
|
10383 |
"license": "MIT",
|
@@ -10561,9 +10608,9 @@
|
|
10561 |
}
|
10562 |
},
|
10563 |
"node_modules/electron-to-chromium": {
|
10564 |
-
"version": "1.5.
|
10565 |
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.
|
10566 |
-
"integrity": "sha512-
|
10567 |
"dev": true,
|
10568 |
"license": "ISC"
|
10569 |
},
|
@@ -11375,13 +11422,13 @@
|
|
11375 |
}
|
11376 |
},
|
11377 |
"node_modules/fresh": {
|
11378 |
-
"version": "0.
|
11379 |
-
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.
|
11380 |
-
"integrity": "sha512-
|
11381 |
"dev": true,
|
11382 |
"license": "MIT",
|
11383 |
"engines": {
|
11384 |
-
"node": ">= 0.
|
11385 |
}
|
11386 |
},
|
11387 |
"node_modules/fs-constants": {
|
@@ -12387,9 +12434,9 @@
|
|
12387 |
"license": "MIT"
|
12388 |
},
|
12389 |
"node_modules/ioredis": {
|
12390 |
-
"version": "5.6.
|
12391 |
-
"resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.6.
|
12392 |
-
"integrity": "sha512-
|
12393 |
"dev": true,
|
12394 |
"license": "MIT",
|
12395 |
"dependencies": {
|
@@ -13196,9 +13243,9 @@
|
|
13196 |
}
|
13197 |
},
|
13198 |
"node_modules/katex": {
|
13199 |
-
"version": "0.16.
|
13200 |
-
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.
|
13201 |
-
"integrity": "sha512-
|
13202 |
"funding": [
|
13203 |
"https://opencollective.com/katex",
|
13204 |
"https://github.com/sponsors/katex"
|
@@ -14103,9 +14150,9 @@
|
|
14103 |
}
|
14104 |
},
|
14105 |
"node_modules/miniflare": {
|
14106 |
-
"version": "3.
|
14107 |
-
"resolved": "https://registry.npmjs.org/miniflare/-/miniflare-3.
|
14108 |
-
"integrity": "sha512-
|
14109 |
"dev": true,
|
14110 |
"license": "MIT",
|
14111 |
"dependencies": {
|
@@ -14116,9 +14163,9 @@
|
|
14116 |
"glob-to-regexp": "0.4.1",
|
14117 |
"stoppable": "1.1.0",
|
14118 |
"undici": "^5.28.5",
|
14119 |
-
"workerd": "1.
|
14120 |
"ws": "8.18.0",
|
14121 |
-
"youch": "3.
|
14122 |
"zod": "3.22.3"
|
14123 |
},
|
14124 |
"bin": {
|
@@ -14142,9 +14189,9 @@
|
|
14142 |
}
|
14143 |
},
|
14144 |
"node_modules/miniflare/node_modules/cookie": {
|
14145 |
-
"version": "0.
|
14146 |
-
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.
|
14147 |
-
"integrity": "sha512-
|
14148 |
"dev": true,
|
14149 |
"license": "MIT",
|
14150 |
"engines": {
|
@@ -14187,13 +14234,13 @@
|
|
14187 |
}
|
14188 |
},
|
14189 |
"node_modules/miniflare/node_modules/youch": {
|
14190 |
-
"version": "3.
|
14191 |
-
"resolved": "https://registry.npmjs.org/youch/-/youch-3.
|
14192 |
-
"integrity": "sha512-
|
14193 |
"dev": true,
|
14194 |
"license": "MIT",
|
14195 |
"dependencies": {
|
14196 |
-
"cookie": "^0.
|
14197 |
"mustache": "^4.2.0",
|
14198 |
"stacktracey": "^2.1.8"
|
14199 |
}
|
@@ -14495,14 +14542,14 @@
|
|
14495 |
}
|
14496 |
},
|
14497 |
"node_modules/nitropack": {
|
14498 |
-
"version": "2.11.
|
14499 |
-
"resolved": "https://registry.npmjs.org/nitropack/-/nitropack-2.11.
|
14500 |
-
"integrity": "sha512-
|
14501 |
"dev": true,
|
14502 |
"license": "MIT",
|
14503 |
"dependencies": {
|
14504 |
"@cloudflare/kv-asset-handler": "^0.4.0",
|
14505 |
-
"@netlify/functions": "^3.0.
|
14506 |
"@rollup/plugin-alias": "^5.1.1",
|
14507 |
"@rollup/plugin-commonjs": "^28.0.3",
|
14508 |
"@rollup/plugin-inject": "^5.0.5",
|
@@ -14512,20 +14559,20 @@
|
|
14512 |
"@rollup/plugin-terser": "^0.4.4",
|
14513 |
"@vercel/nft": "^0.29.2",
|
14514 |
"archiver": "^7.0.1",
|
14515 |
-
"c12": "^3.0.
|
14516 |
"chokidar": "^4.0.3",
|
14517 |
"citty": "^0.1.6",
|
14518 |
-
"compatx": "^0.
|
14519 |
-
"confbox": "^0.2.
|
14520 |
"consola": "^3.4.2",
|
14521 |
"cookie-es": "^2.0.0",
|
14522 |
"croner": "^9.0.0",
|
14523 |
"crossws": "^0.3.4",
|
14524 |
"db0": "^0.3.1",
|
14525 |
"defu": "^6.1.4",
|
14526 |
-
"destr": "^2.0.
|
14527 |
"dot-prop": "^9.0.0",
|
14528 |
-
"esbuild": "^0.25.
|
14529 |
"escape-string-regexp": "^5.0.0",
|
14530 |
"etag": "^1.8.1",
|
14531 |
"exsolve": "^1.0.4",
|
@@ -14541,7 +14588,7 @@
|
|
14541 |
"listhen": "^1.9.0",
|
14542 |
"magic-string": "^0.30.17",
|
14543 |
"magicast": "^0.3.5",
|
14544 |
-
"mime": "^4.0.
|
14545 |
"mlly": "^1.7.4",
|
14546 |
"node-fetch-native": "^1.6.6",
|
14547 |
"node-mock-http": "^1.0.0",
|
@@ -14552,25 +14599,25 @@
|
|
14552 |
"pkg-types": "^2.1.0",
|
14553 |
"pretty-bytes": "^6.1.1",
|
14554 |
"radix3": "^1.1.2",
|
14555 |
-
"rollup": "^4.
|
14556 |
"rollup-plugin-visualizer": "^5.14.0",
|
14557 |
"scule": "^1.3.0",
|
14558 |
"semver": "^7.7.1",
|
14559 |
"serve-placeholder": "^2.0.2",
|
14560 |
-
"serve-static": "^
|
14561 |
"source-map": "^0.7.4",
|
14562 |
-
"std-env": "^3.
|
14563 |
-
"ufo": "^1.
|
14564 |
-
"ultrahtml": "^1.
|
14565 |
"uncrypto": "^0.1.3",
|
14566 |
"unctx": "^2.4.1",
|
14567 |
"unenv": "^2.0.0-rc.15",
|
14568 |
-
"unimport": "^
|
14569 |
"unplugin-utils": "^0.2.4",
|
14570 |
"unstorage": "^1.15.0",
|
14571 |
"untyped": "^2.0.0",
|
14572 |
"unwasm": "^0.3.9",
|
14573 |
-
"youch": "^4.1.0-beta.
|
14574 |
"youch-core": "^0.3.2"
|
14575 |
},
|
14576 |
"bin": {
|
@@ -17379,68 +17426,39 @@
|
|
17379 |
"optional": true
|
17380 |
},
|
17381 |
"node_modules/send": {
|
17382 |
-
"version": "
|
17383 |
-
"resolved": "https://registry.npmjs.org/send/-/send-
|
17384 |
-
"integrity": "sha512-
|
17385 |
"dev": true,
|
17386 |
"license": "MIT",
|
17387 |
"dependencies": {
|
17388 |
-
"debug": "
|
17389 |
-
"
|
17390 |
-
"
|
17391 |
-
"
|
17392 |
-
"
|
17393 |
-
"
|
17394 |
-
"
|
17395 |
-
"
|
17396 |
-
"
|
17397 |
-
"
|
17398 |
-
"
|
17399 |
-
"range-parser": "~1.2.1",
|
17400 |
-
"statuses": "2.0.1"
|
17401 |
},
|
17402 |
"engines": {
|
17403 |
-
"node": ">=
|
17404 |
}
|
17405 |
},
|
17406 |
-
"node_modules/send/node_modules/
|
17407 |
-
"version": "
|
17408 |
-
"resolved": "https://registry.npmjs.org/
|
17409 |
-
"integrity": "sha512-
|
17410 |
"dev": true,
|
17411 |
"license": "MIT",
|
17412 |
"dependencies": {
|
17413 |
-
"
|
17414 |
-
}
|
17415 |
-
},
|
17416 |
-
"node_modules/send/node_modules/debug/node_modules/ms": {
|
17417 |
-
"version": "2.0.0",
|
17418 |
-
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
17419 |
-
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
|
17420 |
-
"dev": true,
|
17421 |
-
"license": "MIT"
|
17422 |
-
},
|
17423 |
-
"node_modules/send/node_modules/encodeurl": {
|
17424 |
-
"version": "1.0.2",
|
17425 |
-
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
|
17426 |
-
"integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
|
17427 |
-
"dev": true,
|
17428 |
-
"license": "MIT",
|
17429 |
-
"engines": {
|
17430 |
-
"node": ">= 0.8"
|
17431 |
-
}
|
17432 |
-
},
|
17433 |
-
"node_modules/send/node_modules/mime": {
|
17434 |
-
"version": "1.6.0",
|
17435 |
-
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
|
17436 |
-
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
|
17437 |
-
"dev": true,
|
17438 |
-
"license": "MIT",
|
17439 |
-
"bin": {
|
17440 |
-
"mime": "cli.js"
|
17441 |
},
|
17442 |
"engines": {
|
17443 |
-
"node": ">=
|
17444 |
}
|
17445 |
},
|
17446 |
"node_modules/serialize-error": {
|
@@ -17495,19 +17513,19 @@
|
|
17495 |
}
|
17496 |
},
|
17497 |
"node_modules/serve-static": {
|
17498 |
-
"version": "
|
17499 |
-
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-
|
17500 |
-
"integrity": "sha512-
|
17501 |
"dev": true,
|
17502 |
"license": "MIT",
|
17503 |
"dependencies": {
|
17504 |
-
"encodeurl": "
|
17505 |
-
"escape-html": "
|
17506 |
-
"parseurl": "
|
17507 |
-
"send": "
|
17508 |
},
|
17509 |
"engines": {
|
17510 |
-
"node": ">=
|
17511 |
}
|
17512 |
},
|
17513 |
"node_modules/set-blocking": {
|
@@ -18447,9 +18465,9 @@
|
|
18447 |
}
|
18448 |
},
|
18449 |
"node_modules/swagger-ui-dist": {
|
18450 |
-
"version": "5.20.
|
18451 |
-
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.20.
|
18452 |
-
"integrity": "sha512-
|
18453 |
"dev": true,
|
18454 |
"license": "Apache-2.0",
|
18455 |
"dependencies": {
|
@@ -19099,9 +19117,9 @@
|
|
19099 |
"license": "MIT"
|
19100 |
},
|
19101 |
"node_modules/undici": {
|
19102 |
-
"version": "7.
|
19103 |
-
"resolved": "https://registry.npmjs.org/undici/-/undici-7.
|
19104 |
-
"integrity": "sha512-
|
19105 |
"license": "MIT",
|
19106 |
"engines": {
|
19107 |
"node": ">=20.18.1"
|
@@ -19140,9 +19158,10 @@
|
|
19140 |
}
|
19141 |
},
|
19142 |
"node_modules/unimport": {
|
19143 |
-
"version": "
|
19144 |
-
"resolved": "https://registry.npmjs.org/unimport/-/unimport-
|
19145 |
-
"integrity": "sha512-
|
|
|
19146 |
"license": "MIT",
|
19147 |
"dependencies": {
|
19148 |
"acorn": "^8.14.1",
|
@@ -19168,6 +19187,7 @@
|
|
19168 |
"version": "5.0.0",
|
19169 |
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
|
19170 |
"integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
|
|
|
19171 |
"license": "MIT",
|
19172 |
"engines": {
|
19173 |
"node": ">=12"
|
@@ -19180,6 +19200,7 @@
|
|
19180 |
"version": "3.0.3",
|
19181 |
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
19182 |
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
|
|
19183 |
"license": "MIT",
|
19184 |
"dependencies": {
|
19185 |
"@types/estree": "^1.0.0"
|
@@ -19189,6 +19210,7 @@
|
|
19189 |
"version": "4.0.2",
|
19190 |
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
19191 |
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
|
|
19192 |
"license": "MIT",
|
19193 |
"engines": {
|
19194 |
"node": ">=12"
|
@@ -19234,12 +19256,13 @@
|
|
19234 |
}
|
19235 |
},
|
19236 |
"node_modules/unplugin": {
|
19237 |
-
"version": "2.
|
19238 |
-
"resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.
|
19239 |
-
"integrity": "sha512-
|
19240 |
"license": "MIT",
|
19241 |
"dependencies": {
|
19242 |
"acorn": "^8.14.1",
|
|
|
19243 |
"webpack-virtual-modules": "^0.6.2"
|
19244 |
},
|
19245 |
"engines": {
|
@@ -19279,6 +19302,29 @@
|
|
19279 |
}
|
19280 |
}
|
19281 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19282 |
"node_modules/unplugin-auto-import/node_modules/picomatch": {
|
19283 |
"version": "4.0.2",
|
19284 |
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
@@ -19292,6 +19338,32 @@
|
|
19292 |
"url": "https://github.com/sponsors/jonschlinkert"
|
19293 |
}
|
19294 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19295 |
"node_modules/unplugin-utils": {
|
19296 |
"version": "0.2.4",
|
19297 |
"resolved": "https://registry.npmjs.org/unplugin-utils/-/unplugin-utils-0.2.4.tgz",
|
@@ -19356,6 +19428,18 @@
|
|
19356 |
}
|
19357 |
}
|
19358 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19359 |
"node_modules/unstorage": {
|
19360 |
"version": "1.15.0",
|
19361 |
"resolved": "https://registry.npmjs.org/unstorage/-/unstorage-1.15.0.tgz",
|
@@ -19746,9 +19830,9 @@
|
|
19746 |
}
|
19747 |
},
|
19748 |
"node_modules/vite": {
|
19749 |
-
"version": "6.2.
|
19750 |
-
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.
|
19751 |
-
"integrity": "sha512-
|
19752 |
"dev": true,
|
19753 |
"license": "MIT",
|
19754 |
"dependencies": {
|
@@ -20353,9 +20437,9 @@
|
|
20353 |
}
|
20354 |
},
|
20355 |
"node_modules/workerd": {
|
20356 |
-
"version": "1.
|
20357 |
-
"resolved": "https://registry.npmjs.org/workerd/-/workerd-1.
|
20358 |
-
"integrity": "sha512-
|
20359 |
"dev": true,
|
20360 |
"hasInstallScript": true,
|
20361 |
"license": "Apache-2.0",
|
@@ -20366,17 +20450,17 @@
|
|
20366 |
"node": ">=16"
|
20367 |
},
|
20368 |
"optionalDependencies": {
|
20369 |
-
"@cloudflare/workerd-darwin-64": "1.
|
20370 |
-
"@cloudflare/workerd-darwin-arm64": "1.
|
20371 |
-
"@cloudflare/workerd-linux-64": "1.
|
20372 |
-
"@cloudflare/workerd-linux-arm64": "1.
|
20373 |
-
"@cloudflare/workerd-windows-64": "1.
|
20374 |
}
|
20375 |
},
|
20376 |
"node_modules/wrangler": {
|
20377 |
-
"version": "3.114.
|
20378 |
-
"resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.114.
|
20379 |
-
"integrity": "sha512-
|
20380 |
"dev": true,
|
20381 |
"license": "MIT OR Apache-2.0",
|
20382 |
"dependencies": {
|
@@ -20386,10 +20470,10 @@
|
|
20386 |
"@esbuild-plugins/node-modules-polyfill": "0.2.2",
|
20387 |
"blake3-wasm": "2.1.5",
|
20388 |
"esbuild": "0.17.19",
|
20389 |
-
"miniflare": "3.
|
20390 |
"path-to-regexp": "6.3.0",
|
20391 |
"unenv": "2.0.0-rc.14",
|
20392 |
-
"workerd": "1.
|
20393 |
},
|
20394 |
"bin": {
|
20395 |
"wrangler": "bin/wrangler.js",
|
@@ -20403,7 +20487,7 @@
|
|
20403 |
"sharp": "^0.33.5"
|
20404 |
},
|
20405 |
"peerDependencies": {
|
20406 |
-
"@cloudflare/workers-types": "^4.
|
20407 |
},
|
20408 |
"peerDependenciesMeta": {
|
20409 |
"@cloudflare/workers-types": {
|
|
|
274 |
}
|
275 |
},
|
276 |
"node_modules/@cloudflare/workerd-darwin-64": {
|
277 |
+
"version": "1.20250408.0",
|
278 |
+
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20250408.0.tgz",
|
279 |
+
"integrity": "sha512-bxhIwBWxaNItZLXDNOKY2dCv0FHjDiDkfJFpwv4HvtvU5MKcrivZHVmmfDzLW85rqzfcDOmKbZeMPVfiKxdBZw==",
|
280 |
"cpu": [
|
281 |
"x64"
|
282 |
],
|
|
|
291 |
}
|
292 |
},
|
293 |
"node_modules/@cloudflare/workerd-darwin-arm64": {
|
294 |
+
"version": "1.20250408.0",
|
295 |
+
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20250408.0.tgz",
|
296 |
+
"integrity": "sha512-5XZ2Oykr8bSo7zBmERtHh18h5BZYC/6H1YFWVxEj3PtalF3+6SHsO4KZsbGvDml9Pu7sHV277jiZE5eny8Hlyw==",
|
297 |
"cpu": [
|
298 |
"arm64"
|
299 |
],
|
|
|
308 |
}
|
309 |
},
|
310 |
"node_modules/@cloudflare/workerd-linux-64": {
|
311 |
+
"version": "1.20250408.0",
|
312 |
+
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20250408.0.tgz",
|
313 |
+
"integrity": "sha512-WbgItXWln6G5d7GvYLWcuOzAVwafysZaWunH3UEfsm95wPuRofpYnlDD861gdWJX10IHSVgMStGESUcs7FLerQ==",
|
314 |
"cpu": [
|
315 |
"x64"
|
316 |
],
|
|
|
325 |
}
|
326 |
},
|
327 |
"node_modules/@cloudflare/workerd-linux-arm64": {
|
328 |
+
"version": "1.20250408.0",
|
329 |
+
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20250408.0.tgz",
|
330 |
+
"integrity": "sha512-pAhEywPPvr92SLylnQfZEPgXz+9pOG9G9haAPLpEatncZwYiYd9yiR6HYWhKp2erzCoNrOqKg9IlQwU3z1IDiw==",
|
331 |
"cpu": [
|
332 |
"arm64"
|
333 |
],
|
|
|
342 |
}
|
343 |
},
|
344 |
"node_modules/@cloudflare/workerd-windows-64": {
|
345 |
+
"version": "1.20250408.0",
|
346 |
+
"resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20250408.0.tgz",
|
347 |
+
"integrity": "sha512-nJ3RjMKGae2aF2rZ/CNeBvQPM+W5V1SUK0FYWG/uomyr7uQ2l4IayHna1ODg/OHHTEgIjwom0Mbn58iXb0WOcQ==",
|
348 |
"cpu": [
|
349 |
"x64"
|
350 |
],
|
|
|
1684 |
"license": "MIT"
|
1685 |
},
|
1686 |
"node_modules/@grpc/grpc-js": {
|
1687 |
+
"version": "1.13.3",
|
1688 |
+
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.3.tgz",
|
1689 |
+
"integrity": "sha512-FTXHdOoPbZrBjlVLHuKbDZnsTxXv2BlHF57xw6LuThXacXvtkahEPED0CKMk6obZDf65Hv4k3z62eyPNpvinIg==",
|
1690 |
"license": "Apache-2.0",
|
1691 |
"dependencies": {
|
1692 |
"@grpc/proto-loader": "^0.7.13",
|
|
|
2582 |
"license": "Apache-2.0"
|
2583 |
},
|
2584 |
"node_modules/@mdit-vue/plugin-component": {
|
2585 |
+
"version": "2.1.4",
|
2586 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-component/-/plugin-component-2.1.4.tgz",
|
2587 |
+
"integrity": "sha512-fiLbwcaE6gZE4c8Mkdkc4X38ltXh/EdnuPE1hepFT2dLiW6I4X8ho2Wq7nhYuT8RmV4OKlCFENwCuXlKcpV/sw==",
|
2588 |
"dev": true,
|
2589 |
"license": "MIT",
|
2590 |
"dependencies": {
|
2591 |
+
"@types/markdown-it": "^14.1.2",
|
2592 |
"markdown-it": "^14.1.0"
|
2593 |
}
|
2594 |
},
|
2595 |
"node_modules/@mdit-vue/plugin-frontmatter": {
|
2596 |
+
"version": "2.1.4",
|
2597 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-frontmatter/-/plugin-frontmatter-2.1.4.tgz",
|
2598 |
+
"integrity": "sha512-mOlavV176njnozIf0UZGFYymmQ2LK5S1rjrbJ1uGz4Df59tu0DQntdE7YZXqmJJA9MiSx7ViCTUQCNPKg7R8Ow==",
|
2599 |
"dev": true,
|
2600 |
"license": "MIT",
|
2601 |
"dependencies": {
|
2602 |
+
"@mdit-vue/types": "2.1.4",
|
2603 |
+
"@types/markdown-it": "^14.1.2",
|
2604 |
"gray-matter": "^4.0.3",
|
2605 |
"markdown-it": "^14.1.0"
|
2606 |
}
|
2607 |
},
|
2608 |
"node_modules/@mdit-vue/plugin-headers": {
|
2609 |
+
"version": "2.1.4",
|
2610 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-headers/-/plugin-headers-2.1.4.tgz",
|
2611 |
+
"integrity": "sha512-tyZwGZu2mYkNSqigFP1CK3aZYxuYwrqcrIh8ljd8tfD1UDPJkAbQeayq62U572po2IuWVB1BqIG8JIXp5POOTA==",
|
2612 |
"dev": true,
|
2613 |
"license": "MIT",
|
2614 |
"dependencies": {
|
2615 |
+
"@mdit-vue/shared": "2.1.4",
|
2616 |
+
"@mdit-vue/types": "2.1.4",
|
2617 |
+
"@types/markdown-it": "^14.1.2",
|
2618 |
"markdown-it": "^14.1.0"
|
2619 |
}
|
2620 |
},
|
2621 |
"node_modules/@mdit-vue/plugin-sfc": {
|
2622 |
+
"version": "2.1.4",
|
2623 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-sfc/-/plugin-sfc-2.1.4.tgz",
|
2624 |
+
"integrity": "sha512-oqAlMulkz280xUJIkormzp6Ps0x5WULZrwRivylWJWDEyVAFCj5VgR3Dx6CP2jdgyuPXwW3+gh2Kzw+Xe+kEIQ==",
|
2625 |
"dev": true,
|
2626 |
"license": "MIT",
|
2627 |
"dependencies": {
|
2628 |
+
"@mdit-vue/types": "2.1.4",
|
2629 |
+
"@types/markdown-it": "^14.1.2",
|
2630 |
"markdown-it": "^14.1.0"
|
2631 |
}
|
2632 |
},
|
2633 |
"node_modules/@mdit-vue/plugin-title": {
|
2634 |
+
"version": "2.1.4",
|
2635 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-title/-/plugin-title-2.1.4.tgz",
|
2636 |
+
"integrity": "sha512-uuF24gJvvLVIWG/VBtCDRqMndfd5JzOXoBoHPdKKLk3PA4P84dsB0u0NnnBUEl/YBOumdCotasn7OfFMmco9uQ==",
|
2637 |
"dev": true,
|
2638 |
"license": "MIT",
|
2639 |
"dependencies": {
|
2640 |
+
"@mdit-vue/shared": "2.1.4",
|
2641 |
+
"@mdit-vue/types": "2.1.4",
|
2642 |
+
"@types/markdown-it": "^14.1.2",
|
2643 |
"markdown-it": "^14.1.0"
|
2644 |
}
|
2645 |
},
|
2646 |
"node_modules/@mdit-vue/plugin-toc": {
|
2647 |
+
"version": "2.1.4",
|
2648 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/plugin-toc/-/plugin-toc-2.1.4.tgz",
|
2649 |
+
"integrity": "sha512-vvOU7u6aNmvPwKXzmoHion1sv4zChBp20LDpSHlRlXc3btLwdYIA0DR+UiO5YeyLUAO0XSHQKBpsIWi57K9/3w==",
|
2650 |
"dev": true,
|
2651 |
"license": "MIT",
|
2652 |
"dependencies": {
|
2653 |
+
"@mdit-vue/shared": "2.1.4",
|
2654 |
+
"@mdit-vue/types": "2.1.4",
|
2655 |
+
"@types/markdown-it": "^14.1.2",
|
2656 |
"markdown-it": "^14.1.0"
|
2657 |
}
|
2658 |
},
|
2659 |
"node_modules/@mdit-vue/shared": {
|
2660 |
+
"version": "2.1.4",
|
2661 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/shared/-/shared-2.1.4.tgz",
|
2662 |
+
"integrity": "sha512-Axd8g2iKQTMuHcPXZH5JY3hbSMeLyoeu0ftdgMrjuPzHpJnWiPSAnA0dAx5NQFQqZkXHhyIrAssLSrOWjFmPKg==",
|
2663 |
"dev": true,
|
2664 |
"license": "MIT",
|
2665 |
"dependencies": {
|
2666 |
+
"@mdit-vue/types": "2.1.4",
|
2667 |
+
"@types/markdown-it": "^14.1.2",
|
2668 |
"markdown-it": "^14.1.0"
|
2669 |
}
|
2670 |
},
|
2671 |
"node_modules/@mdit-vue/types": {
|
2672 |
+
"version": "2.1.4",
|
2673 |
+
"resolved": "https://registry.npmjs.org/@mdit-vue/types/-/types-2.1.4.tgz",
|
2674 |
+
"integrity": "sha512-QiGNZslz+zXUs2X8D11UQhB4KAMZ0DZghvYxa7+1B+VMLcDtz//XHpWbcuexjzE3kBXSxIUTPH3eSQCa0puZHA==",
|
2675 |
"dev": true,
|
2676 |
"license": "MIT"
|
2677 |
},
|
|
|
3093 |
"node": ">=18.12.0"
|
3094 |
}
|
3095 |
},
|
3096 |
+
"node_modules/@nuxt/kit/node_modules/escape-string-regexp": {
|
3097 |
+
"version": "5.0.0",
|
3098 |
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
|
3099 |
+
"integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
|
3100 |
+
"license": "MIT",
|
3101 |
+
"engines": {
|
3102 |
+
"node": ">=12"
|
3103 |
+
},
|
3104 |
+
"funding": {
|
3105 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
3106 |
+
}
|
3107 |
+
},
|
3108 |
+
"node_modules/@nuxt/kit/node_modules/estree-walker": {
|
3109 |
+
"version": "3.0.3",
|
3110 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
3111 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
3112 |
+
"license": "MIT",
|
3113 |
+
"dependencies": {
|
3114 |
+
"@types/estree": "^1.0.0"
|
3115 |
+
}
|
3116 |
+
},
|
3117 |
+
"node_modules/@nuxt/kit/node_modules/picomatch": {
|
3118 |
+
"version": "4.0.2",
|
3119 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
3120 |
+
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
3121 |
+
"license": "MIT",
|
3122 |
+
"engines": {
|
3123 |
+
"node": ">=12"
|
3124 |
+
},
|
3125 |
+
"funding": {
|
3126 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
3127 |
+
}
|
3128 |
+
},
|
3129 |
"node_modules/@nuxt/kit/node_modules/semver": {
|
3130 |
"version": "7.7.1",
|
3131 |
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
|
|
|
3138 |
"node": ">=10"
|
3139 |
}
|
3140 |
},
|
3141 |
+
"node_modules/@nuxt/kit/node_modules/unimport": {
|
3142 |
+
"version": "4.2.0",
|
3143 |
+
"resolved": "https://registry.npmjs.org/unimport/-/unimport-4.2.0.tgz",
|
3144 |
+
"integrity": "sha512-mYVtA0nmzrysnYnyb3ALMbByJ+Maosee2+WyE0puXl+Xm2bUwPorPaaeZt0ETfuroPOtG8jj1g/qeFZ6buFnag==",
|
3145 |
+
"license": "MIT",
|
3146 |
+
"dependencies": {
|
3147 |
+
"acorn": "^8.14.1",
|
3148 |
+
"escape-string-regexp": "^5.0.0",
|
3149 |
+
"estree-walker": "^3.0.3",
|
3150 |
+
"local-pkg": "^1.1.1",
|
3151 |
+
"magic-string": "^0.30.17",
|
3152 |
+
"mlly": "^1.7.4",
|
3153 |
+
"pathe": "^2.0.3",
|
3154 |
+
"picomatch": "^4.0.2",
|
3155 |
+
"pkg-types": "^2.1.0",
|
3156 |
+
"scule": "^1.3.0",
|
3157 |
+
"strip-literal": "^3.0.0",
|
3158 |
+
"tinyglobby": "^0.2.12",
|
3159 |
+
"unplugin": "^2.2.2",
|
3160 |
+
"unplugin-utils": "^0.2.4"
|
3161 |
+
},
|
3162 |
+
"engines": {
|
3163 |
+
"node": ">=18.12.0"
|
3164 |
+
}
|
3165 |
+
},
|
3166 |
"node_modules/@parcel/watcher": {
|
3167 |
"version": "2.5.1",
|
3168 |
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz",
|
|
|
4694 |
"license": "MIT"
|
4695 |
},
|
4696 |
"node_modules/@types/node": {
|
4697 |
+
"version": "22.14.1",
|
4698 |
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
|
4699 |
+
"integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
|
4700 |
"license": "MIT",
|
4701 |
"dependencies": {
|
4702 |
"undici-types": "~6.21.0"
|
|
|
5745 |
}
|
5746 |
},
|
5747 |
"node_modules/@vuepress/bundler-vite/node_modules/vite": {
|
5748 |
+
"version": "6.1.5",
|
5749 |
+
"resolved": "https://registry.npmjs.org/vite/-/vite-6.1.5.tgz",
|
5750 |
+
"integrity": "sha512-H/gAFpW5I4ow/8Bz4t4i8k2St5JThMlqUT8gsH5v0rkqbqpf4qLrFozjq/V2KG1iOXF+3Ko9mlG0kmGerktWJw==",
|
5751 |
"dev": true,
|
5752 |
"license": "MIT",
|
5753 |
"dependencies": {
|
|
|
7132 |
"license": "MIT"
|
7133 |
},
|
7134 |
"node_modules/abbrev": {
|
7135 |
+
"version": "3.0.1",
|
7136 |
+
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz",
|
7137 |
+
"integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==",
|
7138 |
"dev": true,
|
7139 |
"license": "ISC",
|
7140 |
"engines": {
|
|
|
8243 |
}
|
8244 |
},
|
8245 |
"node_modules/caniuse-lite": {
|
8246 |
+
"version": "1.0.30001713",
|
8247 |
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001713.tgz",
|
8248 |
+
"integrity": "sha512-wCIWIg+A4Xr7NfhTuHdX+/FKh3+Op3LBbSp2N5Pfx6T/LhdQy3GTyoTg48BReaW/MyMNZAkTadsBtai3ldWK0Q==",
|
8249 |
"dev": true,
|
8250 |
"funding": [
|
8251 |
{
|
|
|
8946 |
}
|
8947 |
},
|
8948 |
"node_modules/compatx": {
|
8949 |
+
"version": "0.2.0",
|
8950 |
+
"resolved": "https://registry.npmjs.org/compatx/-/compatx-0.2.0.tgz",
|
8951 |
+
"integrity": "sha512-6gLRNt4ygsi5NyMVhceOCFv14CIdDFN7fQjX1U4+47qVE/+kjPoXMK65KWK+dWxmFzMTuKazoQ9sch6pM0p5oA==",
|
8952 |
"dev": true,
|
8953 |
"license": "MIT"
|
8954 |
},
|
|
|
10116 |
"integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==",
|
10117 |
"license": "MIT"
|
10118 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10119 |
"node_modules/detect-libc": {
|
10120 |
"version": "2.0.3",
|
10121 |
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
|
|
|
10334 |
}
|
10335 |
},
|
10336 |
"node_modules/dotenv": {
|
10337 |
+
"version": "16.5.0",
|
10338 |
+
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.5.0.tgz",
|
10339 |
+
"integrity": "sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==",
|
10340 |
"license": "BSD-2-Clause",
|
10341 |
"engines": {
|
10342 |
"node": ">=12"
|
|
|
10422 |
}
|
10423 |
},
|
10424 |
"node_modules/electron": {
|
10425 |
+
"version": "34.5.1",
|
10426 |
+
"resolved": "https://registry.npmjs.org/electron/-/electron-34.5.1.tgz",
|
10427 |
+
"integrity": "sha512-z2Wm7QjhnJ5592fLITynj8UwIk1mBiT402mOakxSYiADrERIci3IOPk7xWHAFOMvt/eoG5RW16PPhgJiedZcGA==",
|
10428 |
"dev": true,
|
10429 |
"hasInstallScript": true,
|
10430 |
"license": "MIT",
|
|
|
10608 |
}
|
10609 |
},
|
10610 |
"node_modules/electron-to-chromium": {
|
10611 |
+
"version": "1.5.136",
|
10612 |
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.136.tgz",
|
10613 |
+
"integrity": "sha512-kL4+wUTD7RSA5FHx5YwWtjDnEEkIIikFgWHR4P6fqjw1PPLlqYkxeOb++wAauAssat0YClCy8Y3C5SxgSkjibQ==",
|
10614 |
"dev": true,
|
10615 |
"license": "ISC"
|
10616 |
},
|
|
|
11422 |
}
|
11423 |
},
|
11424 |
"node_modules/fresh": {
|
11425 |
+
"version": "2.0.0",
|
11426 |
+
"resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
|
11427 |
+
"integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
|
11428 |
"dev": true,
|
11429 |
"license": "MIT",
|
11430 |
"engines": {
|
11431 |
+
"node": ">= 0.8"
|
11432 |
}
|
11433 |
},
|
11434 |
"node_modules/fs-constants": {
|
|
|
12434 |
"license": "MIT"
|
12435 |
},
|
12436 |
"node_modules/ioredis": {
|
12437 |
+
"version": "5.6.1",
|
12438 |
+
"resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.6.1.tgz",
|
12439 |
+
"integrity": "sha512-UxC0Yv1Y4WRJiGQxQkP0hfdL0/5/6YvdfOOClRgJ0qppSarkhneSa6UvkMkms0AkdGimSH3Ikqm+6mkMmX7vGA==",
|
12440 |
"dev": true,
|
12441 |
"license": "MIT",
|
12442 |
"dependencies": {
|
|
|
13243 |
}
|
13244 |
},
|
13245 |
"node_modules/katex": {
|
13246 |
+
"version": "0.16.22",
|
13247 |
+
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz",
|
13248 |
+
"integrity": "sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==",
|
13249 |
"funding": [
|
13250 |
"https://opencollective.com/katex",
|
13251 |
"https://github.com/sponsors/katex"
|
|
|
14150 |
}
|
14151 |
},
|
14152 |
"node_modules/miniflare": {
|
14153 |
+
"version": "3.20250408.0",
|
14154 |
+
"resolved": "https://registry.npmjs.org/miniflare/-/miniflare-3.20250408.0.tgz",
|
14155 |
+
"integrity": "sha512-URXD7+b0tLbBtchPM/MfWYujymHUrmPtd3EDQbe51qrPPF1zQCdSeNbA4f/GRQMoQIEE6EIhvEYjVjL+hiN+Og==",
|
14156 |
"dev": true,
|
14157 |
"license": "MIT",
|
14158 |
"dependencies": {
|
|
|
14163 |
"glob-to-regexp": "0.4.1",
|
14164 |
"stoppable": "1.1.0",
|
14165 |
"undici": "^5.28.5",
|
14166 |
+
"workerd": "1.20250408.0",
|
14167 |
"ws": "8.18.0",
|
14168 |
+
"youch": "3.3.4",
|
14169 |
"zod": "3.22.3"
|
14170 |
},
|
14171 |
"bin": {
|
|
|
14189 |
}
|
14190 |
},
|
14191 |
"node_modules/miniflare/node_modules/cookie": {
|
14192 |
+
"version": "0.7.2",
|
14193 |
+
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
|
14194 |
+
"integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
|
14195 |
"dev": true,
|
14196 |
"license": "MIT",
|
14197 |
"engines": {
|
|
|
14234 |
}
|
14235 |
},
|
14236 |
"node_modules/miniflare/node_modules/youch": {
|
14237 |
+
"version": "3.3.4",
|
14238 |
+
"resolved": "https://registry.npmjs.org/youch/-/youch-3.3.4.tgz",
|
14239 |
+
"integrity": "sha512-UeVBXie8cA35DS6+nBkls68xaBBXCye0CNznrhszZjTbRVnJKQuNsyLKBTTL4ln1o1rh2PKtv35twV7irj5SEg==",
|
14240 |
"dev": true,
|
14241 |
"license": "MIT",
|
14242 |
"dependencies": {
|
14243 |
+
"cookie": "^0.7.1",
|
14244 |
"mustache": "^4.2.0",
|
14245 |
"stacktracey": "^2.1.8"
|
14246 |
}
|
|
|
14542 |
}
|
14543 |
},
|
14544 |
"node_modules/nitropack": {
|
14545 |
+
"version": "2.11.9",
|
14546 |
+
"resolved": "https://registry.npmjs.org/nitropack/-/nitropack-2.11.9.tgz",
|
14547 |
+
"integrity": "sha512-SL5L3EDMJFXbEX0zZbNl67jRW+5312UGAkw6t0PGjjP1cuLULvR9trhx2rz/RYltRCfzrJG1hp6j3vxxhDLohg==",
|
14548 |
"dev": true,
|
14549 |
"license": "MIT",
|
14550 |
"dependencies": {
|
14551 |
"@cloudflare/kv-asset-handler": "^0.4.0",
|
14552 |
+
"@netlify/functions": "^3.0.4",
|
14553 |
"@rollup/plugin-alias": "^5.1.1",
|
14554 |
"@rollup/plugin-commonjs": "^28.0.3",
|
14555 |
"@rollup/plugin-inject": "^5.0.5",
|
|
|
14559 |
"@rollup/plugin-terser": "^0.4.4",
|
14560 |
"@vercel/nft": "^0.29.2",
|
14561 |
"archiver": "^7.0.1",
|
14562 |
+
"c12": "^3.0.3",
|
14563 |
"chokidar": "^4.0.3",
|
14564 |
"citty": "^0.1.6",
|
14565 |
+
"compatx": "^0.2.0",
|
14566 |
+
"confbox": "^0.2.2",
|
14567 |
"consola": "^3.4.2",
|
14568 |
"cookie-es": "^2.0.0",
|
14569 |
"croner": "^9.0.0",
|
14570 |
"crossws": "^0.3.4",
|
14571 |
"db0": "^0.3.1",
|
14572 |
"defu": "^6.1.4",
|
14573 |
+
"destr": "^2.0.5",
|
14574 |
"dot-prop": "^9.0.0",
|
14575 |
+
"esbuild": "^0.25.2",
|
14576 |
"escape-string-regexp": "^5.0.0",
|
14577 |
"etag": "^1.8.1",
|
14578 |
"exsolve": "^1.0.4",
|
|
|
14588 |
"listhen": "^1.9.0",
|
14589 |
"magic-string": "^0.30.17",
|
14590 |
"magicast": "^0.3.5",
|
14591 |
+
"mime": "^4.0.7",
|
14592 |
"mlly": "^1.7.4",
|
14593 |
"node-fetch-native": "^1.6.6",
|
14594 |
"node-mock-http": "^1.0.0",
|
|
|
14599 |
"pkg-types": "^2.1.0",
|
14600 |
"pretty-bytes": "^6.1.1",
|
14601 |
"radix3": "^1.1.2",
|
14602 |
+
"rollup": "^4.39.0",
|
14603 |
"rollup-plugin-visualizer": "^5.14.0",
|
14604 |
"scule": "^1.3.0",
|
14605 |
"semver": "^7.7.1",
|
14606 |
"serve-placeholder": "^2.0.2",
|
14607 |
+
"serve-static": "^2.2.0",
|
14608 |
"source-map": "^0.7.4",
|
14609 |
+
"std-env": "^3.9.0",
|
14610 |
+
"ufo": "^1.6.1",
|
14611 |
+
"ultrahtml": "^1.6.0",
|
14612 |
"uncrypto": "^0.1.3",
|
14613 |
"unctx": "^2.4.1",
|
14614 |
"unenv": "^2.0.0-rc.15",
|
14615 |
+
"unimport": "^5.0.0",
|
14616 |
"unplugin-utils": "^0.2.4",
|
14617 |
"unstorage": "^1.15.0",
|
14618 |
"untyped": "^2.0.0",
|
14619 |
"unwasm": "^0.3.9",
|
14620 |
+
"youch": "^4.1.0-beta.7",
|
14621 |
"youch-core": "^0.3.2"
|
14622 |
},
|
14623 |
"bin": {
|
|
|
17426 |
"optional": true
|
17427 |
},
|
17428 |
"node_modules/send": {
|
17429 |
+
"version": "1.2.0",
|
17430 |
+
"resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
|
17431 |
+
"integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
|
17432 |
"dev": true,
|
17433 |
"license": "MIT",
|
17434 |
"dependencies": {
|
17435 |
+
"debug": "^4.3.5",
|
17436 |
+
"encodeurl": "^2.0.0",
|
17437 |
+
"escape-html": "^1.0.3",
|
17438 |
+
"etag": "^1.8.1",
|
17439 |
+
"fresh": "^2.0.0",
|
17440 |
+
"http-errors": "^2.0.0",
|
17441 |
+
"mime-types": "^3.0.1",
|
17442 |
+
"ms": "^2.1.3",
|
17443 |
+
"on-finished": "^2.4.1",
|
17444 |
+
"range-parser": "^1.2.1",
|
17445 |
+
"statuses": "^2.0.1"
|
|
|
|
|
17446 |
},
|
17447 |
"engines": {
|
17448 |
+
"node": ">= 18"
|
17449 |
}
|
17450 |
},
|
17451 |
+
"node_modules/send/node_modules/mime-types": {
|
17452 |
+
"version": "3.0.1",
|
17453 |
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
|
17454 |
+
"integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
|
17455 |
"dev": true,
|
17456 |
"license": "MIT",
|
17457 |
"dependencies": {
|
17458 |
+
"mime-db": "^1.54.0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17459 |
},
|
17460 |
"engines": {
|
17461 |
+
"node": ">= 0.6"
|
17462 |
}
|
17463 |
},
|
17464 |
"node_modules/serialize-error": {
|
|
|
17513 |
}
|
17514 |
},
|
17515 |
"node_modules/serve-static": {
|
17516 |
+
"version": "2.2.0",
|
17517 |
+
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
|
17518 |
+
"integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
|
17519 |
"dev": true,
|
17520 |
"license": "MIT",
|
17521 |
"dependencies": {
|
17522 |
+
"encodeurl": "^2.0.0",
|
17523 |
+
"escape-html": "^1.0.3",
|
17524 |
+
"parseurl": "^1.3.3",
|
17525 |
+
"send": "^1.2.0"
|
17526 |
},
|
17527 |
"engines": {
|
17528 |
+
"node": ">= 18"
|
17529 |
}
|
17530 |
},
|
17531 |
"node_modules/set-blocking": {
|
|
|
18465 |
}
|
18466 |
},
|
18467 |
"node_modules/swagger-ui-dist": {
|
18468 |
+
"version": "5.20.8",
|
18469 |
+
"resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.20.8.tgz",
|
18470 |
+
"integrity": "sha512-VXVhdRh5vuKVpkegw0n0wCXuFFG+pxNmXa0vDcf76r1yP2cYKqcpOE5g8l5crbtLGx+j2EiDnG4/EU5T0jyN1w==",
|
18471 |
"dev": true,
|
18472 |
"license": "Apache-2.0",
|
18473 |
"dependencies": {
|
|
|
19117 |
"license": "MIT"
|
19118 |
},
|
19119 |
"node_modules/undici": {
|
19120 |
+
"version": "7.8.0",
|
19121 |
+
"resolved": "https://registry.npmjs.org/undici/-/undici-7.8.0.tgz",
|
19122 |
+
"integrity": "sha512-vFv1GA99b7eKO1HG/4RPu2Is3FBTWBrmzqzO0mz+rLxN3yXkE4mqRcb8g8fHxzX4blEysrNZLqg5RbJLqX5buA==",
|
19123 |
"license": "MIT",
|
19124 |
"engines": {
|
19125 |
"node": ">=20.18.1"
|
|
|
19158 |
}
|
19159 |
},
|
19160 |
"node_modules/unimport": {
|
19161 |
+
"version": "5.0.0",
|
19162 |
+
"resolved": "https://registry.npmjs.org/unimport/-/unimport-5.0.0.tgz",
|
19163 |
+
"integrity": "sha512-8jL3T+FKDg+qLFX55X9j92uFRqH5vWrNlf/eJb5IQlQB5q5wjooXQDXP1ulhJJQHbosBmlKhBo/ZVS5jHlcJGA==",
|
19164 |
+
"dev": true,
|
19165 |
"license": "MIT",
|
19166 |
"dependencies": {
|
19167 |
"acorn": "^8.14.1",
|
|
|
19187 |
"version": "5.0.0",
|
19188 |
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
|
19189 |
"integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
|
19190 |
+
"dev": true,
|
19191 |
"license": "MIT",
|
19192 |
"engines": {
|
19193 |
"node": ">=12"
|
|
|
19200 |
"version": "3.0.3",
|
19201 |
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
19202 |
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
19203 |
+
"dev": true,
|
19204 |
"license": "MIT",
|
19205 |
"dependencies": {
|
19206 |
"@types/estree": "^1.0.0"
|
|
|
19210 |
"version": "4.0.2",
|
19211 |
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
19212 |
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
19213 |
+
"dev": true,
|
19214 |
"license": "MIT",
|
19215 |
"engines": {
|
19216 |
"node": ">=12"
|
|
|
19256 |
}
|
19257 |
},
|
19258 |
"node_modules/unplugin": {
|
19259 |
+
"version": "2.3.1",
|
19260 |
+
"resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.3.1.tgz",
|
19261 |
+
"integrity": "sha512-l9lOQPGN82rUAnyX7Qw8z0E9oLgQ8tkPxFyAqX3x7DnX/jvgLHUqKX1b8u5RP6u6K0/GKfgvaiaB018j7zr+Nw==",
|
19262 |
"license": "MIT",
|
19263 |
"dependencies": {
|
19264 |
"acorn": "^8.14.1",
|
19265 |
+
"picomatch": "^4.0.2",
|
19266 |
"webpack-virtual-modules": "^0.6.2"
|
19267 |
},
|
19268 |
"engines": {
|
|
|
19302 |
}
|
19303 |
}
|
19304 |
},
|
19305 |
+
"node_modules/unplugin-auto-import/node_modules/escape-string-regexp": {
|
19306 |
+
"version": "5.0.0",
|
19307 |
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
|
19308 |
+
"integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
|
19309 |
+
"dev": true,
|
19310 |
+
"license": "MIT",
|
19311 |
+
"engines": {
|
19312 |
+
"node": ">=12"
|
19313 |
+
},
|
19314 |
+
"funding": {
|
19315 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
19316 |
+
}
|
19317 |
+
},
|
19318 |
+
"node_modules/unplugin-auto-import/node_modules/estree-walker": {
|
19319 |
+
"version": "3.0.3",
|
19320 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
19321 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
19322 |
+
"dev": true,
|
19323 |
+
"license": "MIT",
|
19324 |
+
"dependencies": {
|
19325 |
+
"@types/estree": "^1.0.0"
|
19326 |
+
}
|
19327 |
+
},
|
19328 |
"node_modules/unplugin-auto-import/node_modules/picomatch": {
|
19329 |
"version": "4.0.2",
|
19330 |
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
|
|
19338 |
"url": "https://github.com/sponsors/jonschlinkert"
|
19339 |
}
|
19340 |
},
|
19341 |
+
"node_modules/unplugin-auto-import/node_modules/unimport": {
|
19342 |
+
"version": "4.2.0",
|
19343 |
+
"resolved": "https://registry.npmjs.org/unimport/-/unimport-4.2.0.tgz",
|
19344 |
+
"integrity": "sha512-mYVtA0nmzrysnYnyb3ALMbByJ+Maosee2+WyE0puXl+Xm2bUwPorPaaeZt0ETfuroPOtG8jj1g/qeFZ6buFnag==",
|
19345 |
+
"dev": true,
|
19346 |
+
"license": "MIT",
|
19347 |
+
"dependencies": {
|
19348 |
+
"acorn": "^8.14.1",
|
19349 |
+
"escape-string-regexp": "^5.0.0",
|
19350 |
+
"estree-walker": "^3.0.3",
|
19351 |
+
"local-pkg": "^1.1.1",
|
19352 |
+
"magic-string": "^0.30.17",
|
19353 |
+
"mlly": "^1.7.4",
|
19354 |
+
"pathe": "^2.0.3",
|
19355 |
+
"picomatch": "^4.0.2",
|
19356 |
+
"pkg-types": "^2.1.0",
|
19357 |
+
"scule": "^1.3.0",
|
19358 |
+
"strip-literal": "^3.0.0",
|
19359 |
+
"tinyglobby": "^0.2.12",
|
19360 |
+
"unplugin": "^2.2.2",
|
19361 |
+
"unplugin-utils": "^0.2.4"
|
19362 |
+
},
|
19363 |
+
"engines": {
|
19364 |
+
"node": ">=18.12.0"
|
19365 |
+
}
|
19366 |
+
},
|
19367 |
"node_modules/unplugin-utils": {
|
19368 |
"version": "0.2.4",
|
19369 |
"resolved": "https://registry.npmjs.org/unplugin-utils/-/unplugin-utils-0.2.4.tgz",
|
|
|
19428 |
}
|
19429 |
}
|
19430 |
},
|
19431 |
+
"node_modules/unplugin/node_modules/picomatch": {
|
19432 |
+
"version": "4.0.2",
|
19433 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
19434 |
+
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
19435 |
+
"license": "MIT",
|
19436 |
+
"engines": {
|
19437 |
+
"node": ">=12"
|
19438 |
+
},
|
19439 |
+
"funding": {
|
19440 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
19441 |
+
}
|
19442 |
+
},
|
19443 |
"node_modules/unstorage": {
|
19444 |
"version": "1.15.0",
|
19445 |
"resolved": "https://registry.npmjs.org/unstorage/-/unstorage-1.15.0.tgz",
|
|
|
19830 |
}
|
19831 |
},
|
19832 |
"node_modules/vite": {
|
19833 |
+
"version": "6.2.6",
|
19834 |
+
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.6.tgz",
|
19835 |
+
"integrity": "sha512-9xpjNl3kR4rVDZgPNdTL0/c6ao4km69a/2ihNQbcANz8RuCOK3hQBmLSJf3bRKVQjVMda+YvizNE8AwvogcPbw==",
|
19836 |
"dev": true,
|
19837 |
"license": "MIT",
|
19838 |
"dependencies": {
|
|
|
20437 |
}
|
20438 |
},
|
20439 |
"node_modules/workerd": {
|
20440 |
+
"version": "1.20250408.0",
|
20441 |
+
"resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20250408.0.tgz",
|
20442 |
+
"integrity": "sha512-bBUX+UsvpzAqiWFNeZrlZmDGddiGZdBBbftZJz2wE6iUg/cIAJeVQYTtS/3ahaicguoLBz4nJiDo8luqM9fx1A==",
|
20443 |
"dev": true,
|
20444 |
"hasInstallScript": true,
|
20445 |
"license": "Apache-2.0",
|
|
|
20450 |
"node": ">=16"
|
20451 |
},
|
20452 |
"optionalDependencies": {
|
20453 |
+
"@cloudflare/workerd-darwin-64": "1.20250408.0",
|
20454 |
+
"@cloudflare/workerd-darwin-arm64": "1.20250408.0",
|
20455 |
+
"@cloudflare/workerd-linux-64": "1.20250408.0",
|
20456 |
+
"@cloudflare/workerd-linux-arm64": "1.20250408.0",
|
20457 |
+
"@cloudflare/workerd-windows-64": "1.20250408.0"
|
20458 |
}
|
20459 |
},
|
20460 |
"node_modules/wrangler": {
|
20461 |
+
"version": "3.114.5",
|
20462 |
+
"resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.114.5.tgz",
|
20463 |
+
"integrity": "sha512-iMYC+d0ssbUQDhwRXmcRwidbuvY/dFV8bmTMdVJ1tLTLcmpWrr7bmQZwLawOvjaKBzwQwj7Qp3TKPg6IyRslnQ==",
|
20464 |
"dev": true,
|
20465 |
"license": "MIT OR Apache-2.0",
|
20466 |
"dependencies": {
|
|
|
20470 |
"@esbuild-plugins/node-modules-polyfill": "0.2.2",
|
20471 |
"blake3-wasm": "2.1.5",
|
20472 |
"esbuild": "0.17.19",
|
20473 |
+
"miniflare": "3.20250408.0",
|
20474 |
"path-to-regexp": "6.3.0",
|
20475 |
"unenv": "2.0.0-rc.14",
|
20476 |
+
"workerd": "1.20250408.0"
|
20477 |
},
|
20478 |
"bin": {
|
20479 |
"wrangler": "bin/wrangler.js",
|
|
|
20487 |
"sharp": "^0.33.5"
|
20488 |
},
|
20489 |
"peerDependencies": {
|
20490 |
+
"@cloudflare/workers-types": "^4.20250408.0"
|
20491 |
},
|
20492 |
"peerDependenciesMeta": {
|
20493 |
"@cloudflare/workers-types": {
|