@auto-ai/agent 2.1.213 → 2.1.216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/safe-a/404/index.html +1 -1
- package/dist/safe-a/404.html +1 -1
- package/dist/safe-a/_next/static/chunks/009ad4aad9cfa502.js +1 -0
- package/dist/safe-a/_next/static/chunks/00efede689cf035f.css +7 -0
- package/dist/safe-a/_next/static/chunks/0fb74192c4e23fbe.js +1 -0
- package/dist/safe-a/_next/static/chunks/101f70bebf1522b2.js +1 -0
- package/dist/safe-a/_next/static/chunks/11f35a289d90c8f7.js +1 -0
- package/dist/safe-a/_next/static/chunks/{7e2887a3269dfc01.js → 2954e8f94d83412a.js} +1 -1
- package/dist/safe-a/_next/static/chunks/2c300e2a1fb17288.js +1 -0
- package/dist/safe-a/_next/static/chunks/7defa1cc0271dd01.css +1 -0
- package/dist/safe-a/_next/static/chunks/{ece085cc915ab5e5.js → 8249026c4faf64b8.js} +1 -1
- package/dist/safe-a/_next/static/chunks/8ed5273cea590ac8.js +1 -0
- package/dist/safe-a/_next/static/chunks/9311fdc96f82fdcc.js +1 -0
- package/dist/safe-a/_next/static/chunks/b4b8918a2dbddca7.js +1 -0
- package/dist/safe-a/_next/static/chunks/b725c08f4efec3ab.js +1 -0
- package/dist/safe-a/_next/static/chunks/c6362bd055df6043.js +1 -0
- package/dist/safe-a/_next/static/chunks/{e6c441f81a8ea81c.js → dc982433a82e2718.js} +1 -1
- package/dist/safe-a/index.html +2 -2
- package/dist/safe-a/index.txt +29 -31
- package/dist/safe-a/manage/about/index.html +2 -2
- package/dist/safe-a/manage/about/index.txt +29 -30
- package/dist/safe-a/manage/env/index.html +2 -2
- package/dist/safe-a/manage/env/index.txt +32 -33
- package/dist/safe-a/manage/geelib/index.html +2 -2
- package/dist/safe-a/manage/geelib/index.txt +32 -33
- package/dist/safe-a/manage/general/index.html +2 -2
- package/dist/safe-a/manage/general/index.txt +29 -30
- package/dist/safe-a/manage/git/index.html +2 -2
- package/dist/safe-a/manage/git/index.txt +32 -33
- package/dist/safe-a/manage/im/index.html +2 -2
- package/dist/safe-a/manage/im/index.txt +32 -33
- package/dist/safe-a/manage/index.html +2 -2
- package/dist/safe-a/manage/index.txt +26 -27
- package/dist/safe-a/manage/library/index.html +2 -2
- package/dist/safe-a/manage/library/index.txt +30 -31
- package/dist/safe-a/manage/mcp/index.html +2 -2
- package/dist/safe-a/manage/mcp/index.txt +30 -31
- package/dist/safe-a/manage/permissions/index.html +2 -2
- package/dist/safe-a/manage/permissions/index.txt +29 -30
- package/dist/safe-a/manage/skills/index.html +2 -2
- package/dist/safe-a/manage/skills/index.txt +30 -31
- package/dist/safe-a/manage/task/index.html +2 -2
- package/dist/safe-a/manage/task/index.txt +30 -31
- package/dist/safe-a/manage/teams/index.html +2 -2
- package/dist/safe-a/manage/teams/index.txt +30 -31
- package/dist/safe-a/manage/tools/index.html +2 -2
- package/dist/safe-a/manage/tools/index.txt +30 -31
- package/dist/ws-test/ws-test.js +33 -1
- package/mcps-runtime/claude-ws-channel/server/gateway.bundle.mjs +10 -1
- package/package.json +6 -6
- package/dist/safe-a/_next/static/chunks/0d0a0fd8bc7c5154.js +0 -1
- package/dist/safe-a/_next/static/chunks/37e4ac5f3654a688.js +0 -1
- package/dist/safe-a/_next/static/chunks/38e76abda882c1a8.js +0 -1
- package/dist/safe-a/_next/static/chunks/3f74431cdf49e5e1.js +0 -1
- package/dist/safe-a/_next/static/chunks/7cadf95d4932deec.js +0 -1
- package/dist/safe-a/_next/static/chunks/846fd48826ed3d89.js +0 -1
- package/dist/safe-a/_next/static/chunks/913de10eeb8a88d9.js +0 -1
- package/dist/safe-a/_next/static/chunks/9971428081f87b2e.js +0 -1
- package/dist/safe-a/_next/static/chunks/b744b1f1595cffb6.js +0 -1
- package/dist/safe-a/_next/static/chunks/dda0af99af0e0631.css +0 -7
- package/dist/safe-a/_next/static/chunks/e0b6375c01566831.js +0 -1
- package/dist/safe-a/_next/static/chunks/f37854d807ee41ac.css +0 -1
- package/dist/safe-a/_next/static/chunks/fd9b8164ea743aa0.js +0 -1
- /package/dist/safe-a/_next/static/{ydg1pWMUiUWUhsV4OnPd9 → fJY87EWm4q7Foe1k9iCt0}/_buildManifest.js +0 -0
- /package/dist/safe-a/_next/static/{ydg1pWMUiUWUhsV4OnPd9 → fJY87EWm4q7Foe1k9iCt0}/_clientMiddlewareManifest.json +0 -0
- /package/dist/safe-a/_next/static/{ydg1pWMUiUWUhsV4OnPd9 → fJY87EWm4q7Foe1k9iCt0}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40014,e=>{"use strict";e.s(["LibraryView",()=>e9],40014);var t,n=e.i(59992),r=e.i(65765),l=e.i(49377),s=e.i(18805),i=e.i(28661),a=e.i(15692),o=e.i(26162),c=e.i(85941),h=e.i(84081),p=e.i(87655),u=e.i(92369),d=e.i(10602),g=e.i(96745),x=e.i(30164),f=e.i(62445),k=e.i(5950);function m(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var b=m(),w={exec:()=>null};function y(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),l=t[r];return l||(l=e(r),t[r]=l),l}}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let l="string"==typeof t?t:t.source;return l=l.replace(j.caret,"$1"),n=n.replace(e,l),r},getRegex:()=>new RegExp(n,t)};return r}var S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return!!RegExp("(?<=1)(?<!1)"+e)}catch(e){return!1}}(),j={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:RegExp("[\\p{L}\\p{N}]","u"),escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp("^( {0,3}".concat(e,")((?:[ ][^\\n]*)?(?:\\n|$))")),nextBulletRegex:y(e=>new RegExp("^ {0,".concat(e,"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))"))),hrRegex:y(e=>new RegExp("^ {0,".concat(e,"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"))),fencesBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}(?:```|~~~)"))),headingBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}#"))),htmlBeginRegex:y(e=>RegExp("^ {0,".concat(e,"}<(?:[a-z].*>|!--)"),"i")),blockquoteBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}>")))},R=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,z=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,C=v(z).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),A=v(z).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,N=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,P=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",N).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),$=v(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),L="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",E=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,I=v("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",E).replace("tag",L).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),B=v(_).replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex(),q={blockquote:v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",B).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:P,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:R,html:I,lheading:C,list:$,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:B,table:w,text:/^[^\n]+/},D=v("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex(),F={...q,lheading:A,table:D,paragraph:v(_).replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",D).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L).getRegex()},M={...q,html:v("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",E).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(_).replace("hr",R).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Z=/^( {2,}|\\)\n(?!\s*$)/,Q=RegExp("[\\p{P}\\p{S}]","u"),O=RegExp("[\\s\\p{P}\\p{S}]","u"),H=RegExp("[^\\s\\p{P}\\p{S}]","u"),U=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,O).getRegex(),G=RegExp("(?!~)[\\p{P}\\p{S}]","u"),W=RegExp("(?!~)[\\s\\p{P}\\p{S}]","u"),J=RegExp("(?:[^\\s\\p{P}\\p{S}]|~)","u"),X=v(/link|precode-code|html/,"g").replace("link",RegExp("\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("precode-",S?"(?<!`)()":"(^^|[^`])").replace("code",RegExp("(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,V=v(K,"u").replace(/punct/g,Q).getRegex(),Y=v(K,"u").replace(/punct/g,G).getRegex(),ee="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",et=v(ee,"gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),en=v(ee,"gu").replace(/notPunctSpace/g,J).replace(/punctSpace/g,W).replace(/punct/g,G).getRegex(),er=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),el=v(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Q).getRegex(),es=v("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),ei=v(/\\(punct)/,"gu").replace(/punct/g,Q).getRegex(),ea=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),eo=v(E).replace("(?:-->|$)","-->").getRegex(),ec=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",eo).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),eh=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,ep=v(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",eh).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),eu=v(/^!?\[(label)\]\[(ref)\]/).replace("label",eh).replace("ref",N).getRegex(),ed=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",N).getRegex(),eg=v("reflink|nolink(?!\\()","g").replace("reflink",eu).replace("nolink",ed).getRegex(),ex=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ef={_backpedal:w,anyPunctuation:ei,autolink:ea,blockSkip:X,br:Z,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,delLDelim:w,delRDelim:w,emStrongLDelim:V,emStrongRDelimAst:et,emStrongRDelimUnd:er,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:ep,nolink:ed,punctuation:U,reflink:eu,reflinkSearch:eg,tag:ec,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:w},ek={...ef,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",eh).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",eh).getRegex()},em={...ef,emStrongRDelimAst:en,emStrongLDelim:Y,delLDelim:el,delRDelim:es,url:v(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ex).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ex).getRegex()},eb={...em,br:v(Z).replace("{2,}","*").getRegex(),text:v(em.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ew={normal:q,gfm:F,pedantic:M},ey={normal:ef,gfm:em,breaks:eb,pedantic:ek},ev={"&":"&","<":"<",">":">",'"':""","'":"'"},eS=e=>ev[e];function ej(e,t){if(t){if(j.escapeTest.test(e))return e.replace(j.escapeReplace,eS)}else if(j.escapeTestNoEncode.test(e))return e.replace(j.escapeReplaceNoEncode,eS);return e}function eR(e){try{e=encodeURI(e).replace(j.percentDecode,"%")}catch(e){return null}return e}function eT(e,t){var n;let r=e.replace(j.findPipe,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(j.splitPipe),l=0;if(r[0].trim()||r.shift(),!(r.length>0)||(null==(n=r.at(-1))?void 0:n.trim())||r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;l<r.length;l++)r[l]=r[l].trim().replace(j.slashPipe,"|");return r}function ez(e,t,n){let r=e.length;if(0===r)return"";let l=0;for(;l<r;){let s=e.charAt(r-l-1);if(s!==t||n)if(s!==t&&n)l++;else break;else l++}return e.slice(0,r-l)}function eC(e){let t=e.split("\n"),n=t.length-1;for(;n>=0&&j.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join("\n")}function eA(e,t,n,r,l){let s=t.href,i=t.title||null,a=e[1].replace(l.other.outputLinkReplace,"$1");r.state.inLink=!0;let o={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:s,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,o}var e_=class{space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:eC(t[0]),n=e.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e,codeBlockStyle:"indented",text:n}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let l=r[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=l.length?e.slice(l.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=ez(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:ez(t[0],"\n"),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ez(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=ez(t[0],"\n").split("\n"),n="",r="",l=[];for(;e.length>0;){let t=!1,s=[],i;for(i=0;i<e.length;i++)if(this.rules.other.blockquoteStart.test(e[i]))s.push(e[i]),t=!0;else if(t)break;else s.push(e[i]);e=e.slice(i);let a=s.join("\n"),o=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?"".concat(n,"\n").concat(a):a,r=r?"".concat(r,"\n").concat(o):o;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(o,l,!0),this.lexer.state.top=c,0===e.length)break;let h=l.at(-1);if((null==h?void 0:h.type)==="code")break;if((null==h?void 0:h.type)==="blockquote"){let t=h.raw+"\n"+e.join("\n"),s=this.blockquote(t);l[l.length-1]=s,n=n.substring(0,n.length-h.raw.length)+s.raw,r=r.substring(0,r.length-h.text.length)+s.text;break}if((null==h?void 0:h.type)==="list"){let t=h.raw+"\n"+e.join("\n"),s=this.list(t);l[l.length-1]=s,n=n.substring(0,n.length-h.raw.length)+s.raw,r=r.substring(0,r.length-h.raw.length)+s.raw,e=t.substring(l.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:l,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,l={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");let s=this.rules.other.listItemRegex(n),i=!1;for(;e;){let n=!1,r="",a="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split("\n",1)[0],t[1].length),c=e.split("\n",1)[0],h=!o.trim(),p=0;if(this.options.pedantic?(p=2,a=o.trimStart()):h?p=t[1].length+1:(p=(p=o.search(this.rules.other.nonSpaceChar))>4?1:p,a=o.slice(p),p+=t[1].length),h&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),l=this.rules.other.fencesBeginRegex(p),s=this.rules.other.headingBeginRegex(p),i=this.rules.other.htmlBeginRegex(p),u=this.rules.other.blockquoteBeginRegex(p);for(;e;){let d=e.split("\n",1)[0],g;if(c=d,g=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),l.test(c)||s.test(c)||i.test(c)||u.test(c)||t.test(c)||n.test(c))break;if(g.search(this.rules.other.nonSpaceChar)>=p||!c.trim())a+="\n"+g.slice(p);else{if(h||o.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||l.test(o)||s.test(o)||n.test(o))break;a+="\n"+c}h=!c.trim(),r+=d+"\n",e=e.substring(d.length+1),o=g.slice(p)}}l.loose||(i?l.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(i=!0)),l.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),l.raw+=r}let a=l.items.at(-1);if(!a)return;for(let e of(a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),l.raw=l.raw.trimEnd(),l.items)){this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]);let t=e.tokens[0];if(e.task&&((null==t?void 0:t.type)==="text"||(null==t?void 0:t.type)==="paragraph")){e.text=e.text.replace(this.rules.other.listReplaceTask,""),t.raw=t.raw.replace(this.rules.other.listReplaceTask,""),t.text=t.text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:"checkbox",raw:n[0]+" ",checked:"[ ]"!==n[0]};e.checked=t.checked,l.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&(e.task=!1);if(!l.loose){let t=e.tokens.filter(e=>"space"===e.type);l.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(l.loose)for(let e of l.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return l}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=eC(t[0]);return{type:"html",block:!0,raw:e,pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:ez(t[0],"\n"),href:n,title:r}}}table(e){var t;let n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let r=eT(n[1]),l=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=(null==(t=n[3])?void 0:t.trim())?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:ez(n[0],"\n"),header:[],align:[],rows:[]};if(r.length===l.length){for(let e of l)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<r.length;e++)i.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:i.align[e]});for(let e of s)i.rows.push(eT(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:ez(t[0],"\n"),depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=ez(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if("("===e[r])n++;else if(e[r]===t[1]&&--n<0)return r;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),eA(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return eA(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,l,s,i=n,a=0,o="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=o.exec(t));){if(!(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(s=[...l].length,r[3]||r[4]){i+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){a+=s;continue}if((i-=s)>0)continue;s=Math.min(s,s+i+a);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+s);if(Math.min(n,s)%2){let e=o.slice(1,-1);return{type:"em",raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let c=o.slice(2,-2);return{type:"strong",raw:o,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,l,s,i=n,a=this.rules.inline.delRDelim;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=a.exec(t));){if(!(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(s=[...l].length)!==n)continue;if(r[3]||r[4]){i+=s;continue}if((i-=s)>0)continue;s=Math.min(s,s+i);let t=[...r[0]][0].length,a=e.slice(0,n+r.index+t+s),o=a.slice(n,-n);return{type:"del",raw:a,text:o,tokens:this.lexer.inlineTokens(o)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,l;if("@"===t[2])l="mailto:"+(e=t[0]);else{var n,r;let s;do s=t[0],t[0]=null!=(r=null==(n=this.rules.inline._backpedal.exec(t[0]))?void 0:n[0])?r:"";while(s!==t[0])e=t[0],l="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:l,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"rules",void 0),(0,k._)(this,"lexer",void 0),this.options=e||b}},eN=class e{static get rules(){return{block:ew,inline:ey}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(j.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(j.tabCharGlobal," ").replace(j.spaceLine,""));let r=1/0;for(;e;){var l,s,i;let a;if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(null==(s=this.options.extensions)||null==(l=s.block)?void 0:l.some(n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let n=t.at(-1);1===a.raw.length&&void 0!==n?n.raw+="\n":t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if((a=this.tokenizer.fences(e))||(a=this.tokenizer.heading(e))||(a=this.tokenizer.hr(e))||(a=this.tokenizer.blockquote(e))||(a=this.tokenizer.list(e))||(a=this.tokenizer.html(e))){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},t.push(a));continue}if((a=this.tokenizer.table(e))||(a=this.tokenizer.lheading(e))){e=e.substring(a.raw.length),t.push(a);continue}let o=e;if(null==(i=this.options.extensions)?void 0:i.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(o))){let r=t.at(-1);n&&(null==r?void 0:r.type)==="paragraph"?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+a.raw,r.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(a),n=o.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){var t,n,r,l,s,i;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.tokenizer.lexer=this;let c=e,h=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(h=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(h[0].slice(h[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,h.index)+"["+"a".repeat(h[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(h=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,h.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(h=this.tokenizer.rules.inline.blockSkip.exec(c));)a=h[2]?h[2].length:0,c=c.slice(0,h.index+a)+"["+"a".repeat(h[0].length-a-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);c=null!=(r=null==(n=this.options.hooks)||null==(t=n.emStrongMask)?void 0:t.call({lexer:this},c))?r:c;let p=!1,u="",d=1/0;for(;e;){let t;if(e.length<d)d=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(p||(u=""),p=!1,null==(s=this.options.extensions)||null==(l=s.inline)?void 0:l.some(n=>!!(t=n.call({lexer:this},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0)))continue;if((t=this.tokenizer.escape(e))||(t=this.tokenizer.tag(e))||(t=this.tokenizer.link(e))){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);let n=o.at(-1);"text"===t.type&&(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if((t=this.tokenizer.emStrong(e,c,u))||(t=this.tokenizer.codespan(e))||(t=this.tokenizer.br(e))||(t=this.tokenizer.del(e,c,u))||(t=this.tokenizer.autolink(e))||!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),o.push(t);continue}let n=e;if(null==(i=this.options.extensions)?void 0:i.startInline){let t=1/0,r=e.slice(1),l;this.options.extensions.startInline.forEach(e=>{"number"==typeof(l=e.call({lexer:this},r))&&l>=0&&(t=Math.min(t,l))}),t<1/0&&t>=0&&(n=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(n)){e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(u=t.raw.slice(-1)),p=!0;let n=o.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return o}infiniteLoopError(e){let t="Infinite loop on byte: "+e;if(this.options.silent)console.error(t);else throw Error(t)}constructor(e){(0,k._)(this,"tokens",void 0),(0,k._)(this,"options",void 0),(0,k._)(this,"state",void 0),(0,k._)(this,"inlineQueue",void 0),(0,k._)(this,"tokenizer",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b,this.options.tokenizer=this.options.tokenizer||new e_,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:j,block:ew.normal,inline:ey.normal};this.options.pedantic?(t.block=ew.pedantic,t.inline=ey.pedantic):this.options.gfm&&(t.block=ew.gfm,this.options.breaks?t.inline=ey.breaks:t.inline=ey.gfm),this.tokenizer.rules=t}},eP=class{space(e){return""}code(e){var t;let{text:n,lang:r,escaped:l}=e,s=null==(t=(r||"").match(j.notSpaceStart))?void 0:t[0],i=n.replace(j.endingNewline,"")+"\n";return s?'<pre><code class="language-'+ej(s)+'">'+(l?i:ej(i,!0))+"</code></pre>\n":"<pre><code>"+(l?i:ej(i,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;return"<blockquote>\n".concat(this.parser.parse(t),"</blockquote>\n")}html(e){let{text:t}=e;return t}def(e){return""}heading(e){let{tokens:t,depth:n}=e;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}hr(e){return"<hr>\n"}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let l=t?"ol":"ul";return"<"+l+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+l+">\n"}listitem(e){return"<li>".concat(this.parser.parse(e.tokens),"</li>\n")}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph(e){let{tokens:t}=e;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let l=e.rows[t];n="";for(let e=0;e<l.length;e++)n+=this.tablecell(l[e]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return"<tr>\n".concat(t,"</tr>\n")}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong(e){let{tokens:t}=e;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}em(e){let{tokens:t}=e;return"<em>".concat(this.parser.parseInline(t),"</em>")}codespan(e){let{text:t}=e;return"<code>".concat(ej(t,!0),"</code>")}br(e){return"<br>"}del(e){let{tokens:t}=e;return"<del>".concat(this.parser.parseInline(t),"</del>")}link(e){let{href:t,title:n,tokens:r}=e,l=this.parser.parseInline(r),s=eR(t);if(null===s)return l;let i='<a href="'+(t=s)+'"';return n&&(i+=' title="'+ej(n)+'"'),i+=">"+l+"</a>"}image(e){let{href:t,title:n,text:r,tokens:l}=e;l&&(r=this.parser.parseInline(l,this.parser.textRenderer));let s=eR(t);if(null===s)return ej(r);t=s;let i='<img src="'.concat(t,'" alt="').concat(ej(r),'"');return n&&(i+=' title="'.concat(ej(n),'"')),i+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ej(e.text)}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"parser",void 0),this.options=e||b}},e$=class{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}checkbox(e){let{raw:t}=e;return t}},eL=class e{static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let l=0;l<e.length;l++){var n,r;let s=e[l];if(null==(r=this.options.extensions)||null==(n=r.renderers)?void 0:n[s.type]){let e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){t+=e||"";continue}}switch(s.type){case"space":t+=this.renderer.space(s);break;case"hr":t+=this.renderer.hr(s);break;case"heading":t+=this.renderer.heading(s);break;case"code":t+=this.renderer.code(s);break;case"table":t+=this.renderer.table(s);break;case"blockquote":t+=this.renderer.blockquote(s);break;case"list":t+=this.renderer.list(s);break;case"checkbox":t+=this.renderer.checkbox(s);break;case"html":t+=this.renderer.html(s);break;case"def":t+=this.renderer.def(s);break;case"paragraph":t+=this.renderer.paragraph(s);break;case"text":t+=this.renderer.text(s);break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.renderer;this.renderer.parser=this;let n="";for(let s=0;s<e.length;s++){var r,l;let i=e[s];if(null==(l=this.options.extensions)||null==(r=l.renderers)?void 0:r[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"renderer",void 0),(0,k._)(this,"textRenderer",void 0),this.options=e||b,this.options.renderer=this.options.renderer||new eP,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new e$}},eE=(t=class{preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?eN.lex:eN.lexInline}provideParser(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?eL.parse:eL.parseInline}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"block",void 0),this.options=e||b}},(0,k._)(t,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),(0,k._)(t,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),t),eI=new class{walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":for(let e of s.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of s.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(s.items,t));break;default:{var r,l;let e=s;(null==(l=this.defaults.extensions)||null==(r=l.childTokens)?void 0:r[e.type])?this.defaults.extensions.childTokens[e.type].forEach(r=>{let l=e[r].flat(1/0);n=n.concat(this.walkTokens(l,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(e=>{let t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let t=r.renderers[e.name];t?r.renderers[e.name]=function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];let s=e.renderer.apply(this,r);return!1===s&&(s=t.apply(this,r)),s}:r.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let t=r[e.level];t?t.unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(r.childTokens[e.name]=e.childTokens)}),t.extensions=r),e.renderer){let n=this.defaults.renderer||new eP(this.defaults);for(let t in e.renderer){if(!(t in n))throw Error("renderer '".concat(t,"' does not exist"));if(["options","parser"].includes(t))continue;let r=e.renderer[t],l=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];let i=r.apply(n,t);return!1===i&&(i=l.apply(n,t)),i||""}}t.renderer=n}if(e.tokenizer){let n=this.defaults.tokenizer||new e_(this.defaults);for(let t in e.tokenizer){if(!(t in n))throw Error("tokenizer '".concat(t,"' does not exist"));if(["options","rules","lexer"].includes(t))continue;let r=e.tokenizer[t],l=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];let i=r.apply(n,t);return!1===i&&(i=l.apply(n,t)),i}}t.tokenizer=n}if(e.hooks){let r=this.defaults.hooks||new eE;for(let t in e.hooks){var n=this;if(!(t in r))throw Error("hook '".concat(t,"' does not exist"));if(["options","block"].includes(t))continue;let l=e.hooks[t],s=r[t];eE.passThroughHooks.has(t)?r[t]=e=>{if(this.defaults.async&&eE.passThroughHooksRespectAsync.has(t))return(async()=>{let t=await l.call(r,e);return s.call(r,t)})();let n=l.call(r,e);return s.call(r,n)}:r[t]=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(n.defaults.async)return(async()=>{let e=await l.apply(r,t);return!1===e&&(e=await s.apply(r,t)),e})();let a=l.apply(r,t);return!1===a&&(a=s.apply(r,t)),a}}t.hooks=r}if(e.walkTokens){let n=this.defaults.walkTokens,r=e.walkTokens;t.walkTokens=function(e){let t=[];return t.push(r.call(this,e)),n&&(t=t.concat(n.call(this,e))),t}}this.defaults={...this.defaults,...t}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return eN.lex(e,null!=t?t:this.defaults)}parser(e,t){return eL.parse(e,null!=t?t:this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},l={...this.defaults,...r},s=this.onError(!!l.silent,!!l.async);if(!0===this.defaults.async&&!1===r.async)return s(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(l.hooks&&(l.hooks.options=l,l.hooks.block=e),l.async)return(async()=>{let n=l.hooks?await l.hooks.preprocess(t):t,r=await (l.hooks?await l.hooks.provideLexer(e):e?eN.lex:eN.lexInline)(n,l),s=l.hooks?await l.hooks.processAllTokens(r):r;l.walkTokens&&await Promise.all(this.walkTokens(s,l.walkTokens));let i=await (l.hooks?await l.hooks.provideParser(e):e?eL.parse:eL.parseInline)(s,l);return l.hooks?await l.hooks.postprocess(i):i})().catch(s);try{l.hooks&&(t=l.hooks.preprocess(t));let n=(l.hooks?l.hooks.provideLexer(e):e?eN.lex:eN.lexInline)(t,l);l.hooks&&(n=l.hooks.processAllTokens(n)),l.walkTokens&&this.walkTokens(n,l.walkTokens);let r=(l.hooks?l.hooks.provideParser(e):e?eL.parse:eL.parseInline)(n,l);return l.hooks&&(r=l.hooks.postprocess(r)),r}catch(e){return s(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+ej(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}constructor(...e){(0,k._)(this,"defaults",m()),(0,k._)(this,"options",this.setOptions),(0,k._)(this,"parse",this.parseMarkdown(!0)),(0,k._)(this,"parseInline",this.parseMarkdown(!1)),(0,k._)(this,"Parser",eL),(0,k._)(this,"Renderer",eP),(0,k._)(this,"TextRenderer",e$),(0,k._)(this,"Lexer",eN),(0,k._)(this,"Tokenizer",e_),(0,k._)(this,"Hooks",eE),this.use(...e)}};function eB(e,t){return eI.parse(e,t)}eB.options=eB.setOptions=function(e){return eI.setOptions(e),eB.defaults=eI.defaults,b=eB.defaults,eB},eB.getDefaults=m,eB.defaults=b,eB.use=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eI.use(...t),eB.defaults=eI.defaults,b=eB.defaults,eB},eB.walkTokens=function(e,t){return eI.walkTokens(e,t)},eB.parseInline=eI.parseInline,eB.Parser=eL,eB.parser=eL.parse,eB.Renderer=eP,eB.TextRenderer=e$,eB.Lexer=eN,eB.lexer=eN.lex,eB.Tokenizer=e_,eB.Hooks=eE,eB.parse=eB,eB.options,eB.setOptions,eB.use,eB.walkTokens,eB.parseInline,eL.parse,eN.lex;var eq=e.i(97737);eB.setOptions({breaks:!0,gfm:!0});var eD=e.i(54396),eF=e.i(61293),eM=e.i(52371);let eZ=new Set(["txt","md","markdown","json","yaml","yml","toml","ini","cfg","conf","xml","html","htm","css","js","ts","jsx","tsx","py","sh","bash","zsh","fish","rs","go","java","c","cpp","h","hpp","cs","rb","php","swift","kt","sql","graphql","dockerfile","env","log"]),eQ=new Set(["md","markdown"]),eO=new Set(["json","yaml","yml","toml","ini","cfg","conf","xml","html","htm","css","js","ts","jsx","tsx","py","sh","bash","zsh","fish","rs","go","java","c","cpp","h","hpp","cs","rb","php","swift","kt","sql","graphql","env","log"]),eH=new Set(["png","jpg","jpeg","gif","webp","svg","bmp","ico","avif"]),eU={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",py:"python",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",yml:"yaml",htm:"html",rb:"ruby",kt:"kotlin",cs:"csharp",cpp:"cpp",hpp:"cpp",dockerfile:"dockerfile"};function eG(e){let t=e.toLowerCase();if("dockerfile"===t)return"dockerfile";let n=t.split(".");return n.length>1?n[n.length-1]:""}function eW(e){let{label:t,value:r}=e;return(0,n.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md border border-[var(--ds-color-border-default)] bg-[var(--surface-3)] px-2 py-0.5 text-sm leading-5",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:t}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:r})]})}async function eJ(e){if("undefined"!=typeof navigator&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return void await navigator.clipboard.writeText(e);throw Error("clipboard unavailable")}function eX(e){var t,l;let{entry:i,content:a,loading:o,downloadUrl:d,deleting:g,wsUrl:k,apiBase:m,agentId:b,onClose:w,onDelete:y,embedded:v=!1}=e,[S,j]=(0,r.useState)(null),[R,T]=(0,r.useState)(!1),[z,C]=(0,r.useState)(null),A=(t=i.name,eH.has(eG(t))),_=(l=i.name,eQ.has(eG(l))),N=function(e){let t=eG(e);return eO.has(t)||"dockerfile"===e.toLowerCase()}(i.name),P=null!==a&&!A,$=null!==a?new TextEncoder().encode(a).byteLength:null,L=null!=$?$:S;(0,r.useEffect)(()=>{if(null!==$)return void j(null);let e=!1;return T(!0),(0,eM.fetchRepoFileSize)(k,m,b,i.path).then(t=>{e||j(t)}).catch(()=>{e||j(null)}).finally(()=>{e||T(!1)}),()=>{e=!0}},[i.path,k,m,b,$]),(0,r.useEffect)(()=>{if(!A)return void C(null);let e=null,t=!1;return(0,eF.bridgeFetch)(d,{raw:!0}).then(e=>e.blob()).then(n=>{t||C(e=URL.createObjectURL(n))}).catch(()=>{t||C(null)}),()=>{t=!0,e&&URL.revokeObjectURL(e)}},[d,A]);let E=(0,r.useCallback)(()=>{if(!a)return void s.appToast.error("暂无内容可复制");eJ(a).then(()=>{s.appToast.success("已复制到剪贴板")},()=>{s.appToast.error("复制失败,请手动选择复制")})},[a]),I=(0,r.useMemo)(()=>{if(null===a||!_)return null;if(!a)return"";try{return eB.parse(a,{async:!1})}catch(e){return"<pre>".concat((0,eq.escapeHtml)(String(e)),"</pre>")}},[a,_]),B=function(e){var t;let n=eG(e);return n?null!=(t=({doc:"Word",docx:"Word",xls:"Excel",xlsx:"Excel",ppt:"PPT",pptx:"PPT",pdf:"PDF",md:"Markdown",markdown:"Markdown",zip:"ZIP"})[n])?t:n.toUpperCase():"FILE"}(i.name),q=function(e){let t=e.lastIndexOf("/");return t<=0?"workspace":e.slice(0,t)}(i.path),D=null!==L?(0,f.formatBytes)(L):R?"加载中…":"—";return(0,n.jsxs)("div",{className:v?"flex flex-1 flex-col overflow-hidden":"flex h-full flex-col overflow-hidden",children:[!v&&(0,n.jsx)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b px-5 py-3",children:(0,n.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,n.jsx)(u.Button,{type:"button",variant:"ghost",size:"icon",className:"h-auto border-0 bg-transparent px-1 py-0 text-sm font-medium text-foreground shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]","aria-label":"返回列表",onClick:w,children:(0,n.jsx)(p.default,{name:"ChevronLeft",size:16})}),(0,n.jsx)("span",{className:"truncate text-base font-medium",children:i.name})]})}),(0,n.jsxs)("div",{className:"mx-4 mt-4 flex shrink-0 items-center justify-between gap-4 rounded-lg border border-solid border-[var(--ds-color-border-default)] bg-[var(--surface-1)] p-4",children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-3",children:[(0,n.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center",children:(0,n.jsx)(p.default,{name:"File",size:24,className:"!size-8 !text-[var(--ds-color-accent)]",strokeWidth:1})}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"truncate text-base font-semibold text-foreground",children:i.name}),(0,n.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-2",children:[(0,n.jsx)(eW,{label:"类型",value:B}),(0,n.jsx)(eW,{label:"大小",value:D}),(0,n.jsx)(eW,{label:"位置",value:q})]})]})]}),(0,n.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[P&&(0,n.jsx)(c.IconTooltipButton,{icon:"Copy",label:"复制",ariaLabel:"复制 ".concat(i.name),onClick:E}),(0,n.jsx)(c.IconTooltipButton,{icon:"Download",label:"下载",href:d,download:i.name,ariaLabel:"下载 ".concat(i.name)}),(0,n.jsx)(c.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:g,onClick:y})]})]}),(0,n.jsx)("div",{className:"relative flex-1 overflow-auto",children:o?(0,n.jsx)(h.Loading,{text:"加载中…"}):A?z?(0,n.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center p-6",children:(0,n.jsx)(x.default,{src:z,alt:i.name,width:960,height:720,unoptimized:!0,className:"max-h-full max-w-full object-contain"})}):(0,n.jsx)(h.Loading,{text:"加载图片…"}):null===a?(0,n.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 text-sm text-muted-foreground",children:[(0,n.jsx)(p.default,{name:"File",size:32,className:"opacity-40"}),(0,n.jsx)("p",{children:"不支持页面内预览,请下载后查看。"})]}):null!==I?(0,n.jsx)("div",{className:"chat-md prose prose-sm dark:prose-invert max-w-none p-4",dangerouslySetInnerHTML:{__html:I}}):N&&null!==a?(0,n.jsx)(eD.ShikiCodePreview,{code:a,lang:function(e){var t;let n=eG(e);return null!=(t=eU[n])?t:n}(i.name),className:"p-4",theme:"light",pendingContent:(0,n.jsx)(h.Loading,{text:"渲染代码…",className:"min-h-[240px]",showImage:!1})}):(0,n.jsx)("pre",{className:"min-h-full whitespace-pre-wrap break-all p-4 font-mono text-base leading-relaxed",children:a})})]})}function eK(e){let t=e.toLowerCase().split(".");return t.length>1?t[t.length-1]:""}function eV(e){var t;if("dir"===e.type)return"文件夹";let n=eK(e.name);return n?null!=(t=({doc:"Word",docx:"Word",xls:"Excel",xlsx:"Excel",ppt:"PPT",pptx:"PPT",pdf:"PDF",log:"Log",html:"HTML",htm:"HTML",md:"Markdown",markdown:"Markdown",json:"JSON",zip:"压缩包"})[n])?t:n.toUpperCase():"文件"}function eY(e){let{currentPath:t,entriesLoading:l,currentEntries:s,fileSearchQuery:i,onFileSearchQueryChange:a,wsUrl:x,apiBase:f,agentId:k,deleting:m,onSelectDir:b,onSelectFile:w,onDeleteEntry:y,preview:v=null,downloadUrl:S="",onDeletePreview:j}=e,R=(0,r.useMemo)(()=>{if(!s)return null;let e=i.trim().toLowerCase();return e?s.filter(t=>{let n=eV(t).toLowerCase();return t.name.toLowerCase().includes(e)||t.path.toLowerCase().includes(e)||n.includes(e)}):s},[s,i]),T=(v?v.entry.path:t).split("/").filter(Boolean);return(0,n.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,n.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-4 border-b px-5 pt-4",children:(0,n.jsx)("div",{className:"min-w-0",children:(0,n.jsxs)("div",{className:"flex shrink-0 items-center gap-1 border-b pt-1 text-sm text-muted-foreground",children:[(0,n.jsx)("span",{children:"当前位置:"}),(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"sm",className:(0,g.cn)("h-auto border-0 bg-transparent !px-1 py-0 text-sm font-medium shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]",0===T.length?"text-foreground":"text-[var(--ds-color-accent)]"),onClick:()=>b(""),children:"workspace"}),T.map((e,t,r)=>{let l=r.slice(0,t+1).join("/"),s=t===r.length-1,i=v&&s;return(0,n.jsxs)("span",{className:"flex items-center gap-1",children:[(0,n.jsx)("span",{children:"/"}),i||s?(0,n.jsx)("span",{className:"px-1 font-medium text-foreground",children:e}):(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"sm",className:"h-auto border-0 bg-transparent !px-1 text-sm font-medium text-[var(--ds-color-accent)] shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]",onClick:()=>b(l),children:e})]},l)})]})})}),v?(0,n.jsx)(eX,{entry:v.entry,content:v.content,loading:v.loading,downloadUrl:S,deleting:m,wsUrl:x,apiBase:f,agentId:k,onClose:()=>void 0,onDelete:null!=j?j:()=>void 0,embedded:!0}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex-1 overflow-auto",children:l?(0,n.jsx)(h.Loading,{text:"加载中…"}):null===s?(0,n.jsx)(o.Empty,{text:"暂无数据"}):(null==R?void 0:R.length)===0?(0,n.jsx)(o.Empty,{text:i.trim()?"未找到匹配文件":"当前目录为空"}):(0,n.jsxs)("table",{className:"w-full text-sm",children:[(0,n.jsx)("thead",{className:"bg-muted/30 border-b",children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{className:"px-5 py-3 text-left font-medium text-muted-foreground",children:"文件名称"}),(0,n.jsx)("th",{className:"w-28 px-3 py-3 text-left font-medium text-muted-foreground",children:"类型"}),(0,n.jsx)("th",{className:"w-24 shrink-0 px-3 py-3 text-right font-medium text-muted-foreground",children:"操作"})]})}),(0,n.jsx)("tbody",{children:null==R?void 0:R.map(e=>{var t;return(0,n.jsxs)("tr",{className:"hover:bg-accent/35 group cursor-pointer border-b transition-colors last:border-0",onClick:()=>{"dir"===e.type?b(e.path):w(e)},children:[(0,n.jsx)("td",{className:"px-5 py-3",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-[var(--ds-color-surface-item-bg-hover)] text-xs font-semibold text-[var(--ds-color-accent)]",children:(0,n.jsx)(p.default,{name:"dir"===e.type?"Folder":null!=(t=({xml:"Xml",gif:"Gif",html:"Html",htm:"Html",java:"Java",jpg:"Jpg",jpeg:"Jpg",js:"Js",json:"Json",pdf:"Pdf",svg:"Svg"})[eK(e.name)])?t:"File",size:15,className:"dir"===e.type?"text-amber-700":"text-muted-foreground"})}),(0,n.jsxs)("span",{className:(0,g.cn)("flex min-w-0 items-center gap-1 font-medium","text-foreground"),children:[(0,n.jsx)("span",{className:"truncate",children:e.name}),"dir"===e.type&&(0,n.jsx)(p.default,{name:"ChevronRight",size:14,className:"shrink-0 text-[var(--ds-color-accent,hsl(var(--primary)))]"})]})]})}),(0,n.jsx)("td",{className:"px-3 py-3 text-muted-foreground",children:eV(e)}),(0,n.jsx)("td",{className:"w-24 shrink-0 px-3 py-2 text-right",onClick:e=>e.stopPropagation(),children:"file"===e.type&&(0,n.jsxs)("div",{className:"flex items-center justify-end gap-1 opacity-80 transition-opacity group-hover:opacity-100",children:[(0,n.jsx)(c.IconTooltipButton,{icon:"Download",label:"下载",href:(0,d.buildRepoFileUrl)(x,f,k,e.path),download:e.name,ariaLabel:"下载 ".concat(e.name)}),(0,n.jsx)(c.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:m,onClick:()=>y(e)})]})})]},e.path)})})]})})})]})}var e0=e.i(55105);function e1(e,t){var n;return(null!=(n=e.get(t))?n:[]).filter(e=>e.name&&("dir"===e.type||"file"===e.type)).slice().sort((e,t)=>e.type!==t.type?"dir"===e.type?-1:1:e.name.localeCompare(t.name))}function e3(e){let{entry:t,depth:r,treeCache:l,currentPath:s,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:h,onSelectFile:d,onToggleExpand:x}=e,f="file"===t.type,k=!f&&""===t.path,m=i.has(t.path),b=a.has(t.path),w=c.trim().toLowerCase(),y=f?[]:e1(l,t.path).filter(e=>(function e(t,n,r){if(!r||""===n.path)return!0;let l=r.toLowerCase();return!!(n.name.toLowerCase().includes(l)||n.path.toLowerCase().includes(l))||"dir"===n.type&&e1(t,n.path).some(n=>e(t,n,l))})(l,e,w)),v=!!f||l.has(t.path),S=!f&&(!v||y.length>0),j=!f&&s===t.path,R=f&&o===t.path;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:(0,g.cn)("flex h-8 w-full cursor-pointer items-center gap-2 rounded px-1 text-base leading-none","hover:bg-accent/50",f&&"is-file",(j||R)&&"is-selected bg-[var(--surface-2)] text-accent-foreground"),style:{paddingLeft:"".concat(8+14*r,"px")},onClick:()=>{f?d(t):h(t.path)},children:[!f&&S?(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"icon",className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center p-0 text-muted-foreground","aria-label":"展开/折叠",onClick:e=>{e.stopPropagation(),x(t.path)},children:b?(0,n.jsx)(p.default,{name:"Loader2",size:14,className:"animate-spin"}):(0,n.jsx)(p.default,{name:m?"ChevronDown":"ChevronRight",size:14})}):(0,n.jsx)("span",{className:"h-[18px] w-[18px] shrink-0"}),(0,n.jsx)("span",{className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center",children:f?(0,n.jsx)(p.default,{name:"File",size:14,className:"text-muted-foreground"}):(0,n.jsx)(p.default,{name:m?"FolderOpen":"Folder",size:14,className:"text-amber-500"})}),(0,n.jsx)("span",{className:"min-w-0 flex-1 truncate leading-7",children:k?"workspace":t.name}),!f&&v&&(0,n.jsx)("span",{className:"ml-2 shrink-0 text-xs font-medium text-muted-foreground",children:y.length})]}),!f&&S&&(m||!!w)&&y.map(e=>(0,n.jsx)(e3,{entry:e,depth:r+1,treeCache:l,currentPath:s,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:h,onSelectFile:d,onToggleExpand:x},e.path))]})}let e2={name:"",path:"",type:"dir"};function e4(e){let{treeCache:t,currentPath:r,expandedPaths:l,loadingPaths:s,selectedFilePath:i,searchQuery:a,onSearchQueryChange:o,onSelectDir:c,onSelectFile:h,onToggleExpand:u}=e;return(0,n.jsxs)("aside",{className:"flex h-full w-[300px] shrink-0 flex-col rounded-xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},"aria-label":"目录树",children:[(0,n.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-3 px-4 pb-3 pt-4",children:(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("h2",{className:"truncate text-base font-semibold text-foreground",children:"目录管理"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"按业务域组织资料"})]})}),(0,n.jsx)("div",{className:"px-4 pb-3",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(p.default,{name:"Search",size:14,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),(0,n.jsx)(e0.Input,{size:"sm",value:a,onChange:e=>o(e.target.value),placeholder:"搜索目录",className:"bg-background/70 h-8 pl-8"})]})}),(0,n.jsx)("div",{className:"flex-1 overflow-y-auto px-3 pb-3",children:(0,n.jsx)(e3,{entry:e2,depth:0,treeCache:t,currentPath:r,expandedPaths:l,loadingPaths:s,selectedFilePath:i,searchQuery:a,onSelectDir:c,onSelectFile:h,onToggleExpand:u})})]})}function e9(){var e,t;let o=(0,l.useAppStore)(e=>e.wsUrl),c=(0,l.useAppStore)(e=>e.apiBase),h=(0,l.useAppStore)(e=>e.agentId),p=(0,l.useAppStore)(e=>e.agentSelectionResolved),[u,g]=(0,r.useState)(""),[x,f]=(0,r.useState)(()=>new Map),[k,m]=(0,r.useState)(()=>new Set([""])),[b,w]=(0,r.useState)(()=>new Set),[y,v]=(0,r.useState)(!1),[S,j]=(0,r.useState)(null),[R,T]=(0,r.useState)(!1),[z,C]=(0,r.useState)(""),[A,_]=(0,r.useState)(""),N=(0,r.useRef)(!1),P=(0,r.useRef)(""),$=(0,r.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h){t||v(!0);try{let t=await (0,eM.fetchRepoEntries)(o,c,h,e);f(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{t||v(!1)}}},[o,c,h]),L=(0,r.useCallback)(async e=>{if(!(!h||x.has(e))){w(t=>new Set([...t,e]));try{let t=await (0,eM.fetchRepoEntries)(o,c,h,e);f(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{w(t=>{let n=new Set(t);return n.delete(e),n})}}},[o,c,h,x]);(0,r.useEffect)(()=>{h&&h!==P.current&&(P.current=h,N.current=!1,f(new Map),g(""),m(new Set([""])),j(null))},[h]),(0,r.useEffect)(()=>{!N.current&&h&&p&&(N.current=!0,$(""))},[h,p,$]);let E=(0,r.useCallback)(e=>{g(e),j(null),m(t=>{let n=new Set(t);for(let t of function(e){let t=[""],n=e.split("/").filter(Boolean),r="";for(let e of n)r=r?"".concat(r,"/").concat(e):e,t.push(r);return t}(e))n.add(t);return n}),$(e)},[$]),I=(0,r.useCallback)(e=>{m(t=>{let n=new Set(t);return n.has(e)?n.delete(e):(n.add(e),L(e)),n})},[L]),B=(0,r.useCallback)(async e=>{var t,n;if(j({entry:e,content:null,loading:!0}),t=e.name,eH.has(eG(t))||(n=e.name,!eZ.has(eG(n))))return void j({entry:e,content:null,loading:!1});try{let t=await (0,eM.fetchRepoFilePreview)(o,c,h,e.path);j({entry:e,content:t,loading:!1})}catch(t){s.appToast.error("预览失败:".concat(t instanceof Error?t.message:String(t))),j({entry:e,content:null,loading:!1})}},[o,c,h]),q=(0,r.useCallback)(async e=>{if(await (0,i.confirmAlertDialog)({title:"删除文件",description:"确认删除「".concat(e.name,"」?此操作不可撤销。"),confirmText:"删除",cancelText:"取消"})){T(!0);try{await (0,eM.deleteRepoFile)(o,c,h,e.path),s.appToast.success("已删除:".concat(e.name)),j(t=>(null==t?void 0:t.entry.path)===e.path?null:t);let t=e.path.includes("/")?e.path.substring(0,e.path.lastIndexOf("/")):"";f(e=>{let n=new Map(e);return n.delete(t),n}),await $(t)}catch(e){s.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}finally{T(!1)}}},[o,c,h,$]),D=(0,r.useCallback)(async()=>{S&&await q(S.entry)},[S,q]),F=null!=(e=x.get(u))?e:null,M=S?(0,d.buildRepoFileUrl)(o,c,h,S.entry.path):"";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.ManageChromeHeaderActions,{}),(0,n.jsxs)("div",{className:"flex h-full gap-4 overflow-hidden",children:[(0,n.jsx)(e4,{treeCache:x,currentPath:u,expandedPaths:k,loadingPaths:b,selectedFilePath:null!=(t=null==S?void 0:S.entry.path)?t:"",searchQuery:z,onSearchQueryChange:C,onSelectDir:E,onSelectFile:B,onToggleExpand:I}),(0,n.jsx)("section",{className:"flex min-w-0 flex-1 flex-col overflow-hidden rounded-xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},children:(0,n.jsx)(eY,{currentPath:u,entriesLoading:y,currentEntries:F,fileSearchQuery:A,onFileSearchQueryChange:_,wsUrl:o,apiBase:c,agentId:h,deleting:R,onSelectDir:E,onSelectFile:B,onDeleteEntry:e=>void q(e),preview:S,downloadUrl:M,onDeletePreview:()=>void D()})})]})]})}}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40014,e=>{"use strict";e.s(["LibraryView",()=>e9],40014);var t,n=e.i(59992),r=e.i(65765),l=e.i(49377),s=e.i(18805),i=e.i(28661),a=e.i(15692),o=e.i(26162),c=e.i(85941),h=e.i(84081),p=e.i(87655),u=e.i(92369),d=e.i(10602),g=e.i(96745),x=e.i(30164),f=e.i(62445),k=e.i(5950);function m(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var b=m(),w={exec:()=>null};function y(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),l=t[r];return l||(l=e(r),t[r]=l),l}}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let l="string"==typeof t?t:t.source;return l=l.replace(j.caret,"$1"),n=n.replace(e,l),r},getRegex:()=>new RegExp(n,t)};return r}var S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return!!RegExp("(?<=1)(?<!1)"+e)}catch(e){return!1}}(),j={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:RegExp("[\\p{L}\\p{N}]","u"),escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp("^( {0,3}".concat(e,")((?:[ ][^\\n]*)?(?:\\n|$))")),nextBulletRegex:y(e=>new RegExp("^ {0,".concat(e,"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))"))),hrRegex:y(e=>new RegExp("^ {0,".concat(e,"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"))),fencesBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}(?:```|~~~)"))),headingBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}#"))),htmlBeginRegex:y(e=>RegExp("^ {0,".concat(e,"}<(?:[a-z].*>|!--)"),"i")),blockquoteBeginRegex:y(e=>new RegExp("^ {0,".concat(e,"}>")))},R=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,z=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,C=v(z).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),A=v(z).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,N=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,P=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",N).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),L=v(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),$="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",E=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,I=v("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",E).replace("tag",$).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),B=v(_).replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),q={blockquote:v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",B).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:P,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:R,html:I,lheading:C,list:L,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:B,table:w,text:/^[^\n]+/},D=v("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex(),F={...q,lheading:A,table:D,paragraph:v(_).replace("hr",R).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",D).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$).getRegex()},M={...q,html:v("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",E).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(_).replace("hr",R).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Z=/^( {2,}|\\)\n(?!\s*$)/,Q=RegExp("[\\p{P}\\p{S}]","u"),O=RegExp("[\\s\\p{P}\\p{S}]","u"),H=RegExp("[^\\s\\p{P}\\p{S}]","u"),U=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,O).getRegex(),G=RegExp("(?!~)[\\p{P}\\p{S}]","u"),W=RegExp("(?!~)[\\s\\p{P}\\p{S}]","u"),J=RegExp("(?:[^\\s\\p{P}\\p{S}]|~)","u"),X=v(/link|precode-code|html/,"g").replace("link",RegExp("\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("precode-",S?"(?<!`)()":"(^^|[^`])").replace("code",RegExp("(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,V=v(K,"u").replace(/punct/g,Q).getRegex(),Y=v(K,"u").replace(/punct/g,G).getRegex(),ee="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",et=v(ee,"gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),en=v(ee,"gu").replace(/notPunctSpace/g,J).replace(/punctSpace/g,W).replace(/punct/g,G).getRegex(),er=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),el=v(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Q).getRegex(),es=v("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,H).replace(/punctSpace/g,O).replace(/punct/g,Q).getRegex(),ei=v(/\\(punct)/,"gu").replace(/punct/g,Q).getRegex(),ea=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),eo=v(E).replace("(?:-->|$)","-->").getRegex(),ec=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",eo).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),eh=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,ep=v(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",eh).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),eu=v(/^!?\[(label)\]\[(ref)\]/).replace("label",eh).replace("ref",N).getRegex(),ed=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",N).getRegex(),eg=v("reflink|nolink(?!\\()","g").replace("reflink",eu).replace("nolink",ed).getRegex(),ex=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ef={_backpedal:w,anyPunctuation:ei,autolink:ea,blockSkip:X,br:Z,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,delLDelim:w,delRDelim:w,emStrongLDelim:V,emStrongRDelimAst:et,emStrongRDelimUnd:er,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:ep,nolink:ed,punctuation:U,reflink:eu,reflinkSearch:eg,tag:ec,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:w},ek={...ef,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",eh).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",eh).getRegex()},em={...ef,emStrongRDelimAst:en,emStrongLDelim:Y,delLDelim:el,delRDelim:es,url:v(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ex).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ex).getRegex()},eb={...em,br:v(Z).replace("{2,}","*").getRegex(),text:v(em.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ew={normal:q,gfm:F,pedantic:M},ey={normal:ef,gfm:em,breaks:eb,pedantic:ek},ev={"&":"&","<":"<",">":">",'"':""","'":"'"},eS=e=>ev[e];function ej(e,t){if(t){if(j.escapeTest.test(e))return e.replace(j.escapeReplace,eS)}else if(j.escapeTestNoEncode.test(e))return e.replace(j.escapeReplaceNoEncode,eS);return e}function eR(e){try{e=encodeURI(e).replace(j.percentDecode,"%")}catch(e){return null}return e}function eT(e,t){var n;let r=e.replace(j.findPipe,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(j.splitPipe),l=0;if(r[0].trim()||r.shift(),!(r.length>0)||(null==(n=r.at(-1))?void 0:n.trim())||r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;l<r.length;l++)r[l]=r[l].trim().replace(j.slashPipe,"|");return r}function ez(e,t,n){let r=e.length;if(0===r)return"";let l=0;for(;l<r;){let s=e.charAt(r-l-1);if(s!==t||n)if(s!==t&&n)l++;else break;else l++}return e.slice(0,r-l)}function eC(e){let t=e.split("\n"),n=t.length-1;for(;n>=0&&j.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join("\n")}function eA(e,t,n,r,l){let s=t.href,i=t.title||null,a=e[1].replace(l.other.outputLinkReplace,"$1");r.state.inLink=!0;let o={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:s,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,o}var e_=class{space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:eC(t[0]),n=e.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e,codeBlockStyle:"indented",text:n}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let l=r[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=l.length?e.slice(l.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=ez(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:ez(t[0],"\n"),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ez(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=ez(t[0],"\n").split("\n"),n="",r="",l=[];for(;e.length>0;){let t=!1,s=[],i;for(i=0;i<e.length;i++)if(this.rules.other.blockquoteStart.test(e[i]))s.push(e[i]),t=!0;else if(t)break;else s.push(e[i]);e=e.slice(i);let a=s.join("\n"),o=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?"".concat(n,"\n").concat(a):a,r=r?"".concat(r,"\n").concat(o):o;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(o,l,!0),this.lexer.state.top=c,0===e.length)break;let h=l.at(-1);if((null==h?void 0:h.type)==="code")break;if((null==h?void 0:h.type)==="blockquote"){let t=h.raw+"\n"+e.join("\n"),s=this.blockquote(t);l[l.length-1]=s,n=n.substring(0,n.length-h.raw.length)+s.raw,r=r.substring(0,r.length-h.text.length)+s.text;break}if((null==h?void 0:h.type)==="list"){let t=h.raw+"\n"+e.join("\n"),s=this.list(t);l[l.length-1]=s,n=n.substring(0,n.length-h.raw.length)+s.raw,r=r.substring(0,r.length-h.raw.length)+s.raw,e=t.substring(l.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:l,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,l={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");let s=this.rules.other.listItemRegex(n),i=!1;for(;e;){let n=!1,r="",a="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split("\n",1)[0],t[1].length),c=e.split("\n",1)[0],h=!o.trim(),p=0;if(this.options.pedantic?(p=2,a=o.trimStart()):h?p=t[1].length+1:(p=(p=o.search(this.rules.other.nonSpaceChar))>4?1:p,a=o.slice(p),p+=t[1].length),h&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),l=this.rules.other.fencesBeginRegex(p),s=this.rules.other.headingBeginRegex(p),i=this.rules.other.htmlBeginRegex(p),u=this.rules.other.blockquoteBeginRegex(p);for(;e;){let d=e.split("\n",1)[0],g;if(c=d,g=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),l.test(c)||s.test(c)||i.test(c)||u.test(c)||t.test(c)||n.test(c))break;if(g.search(this.rules.other.nonSpaceChar)>=p||!c.trim())a+="\n"+g.slice(p);else{if(h||o.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||l.test(o)||s.test(o)||n.test(o))break;a+="\n"+c}h=!c.trim(),r+=d+"\n",e=e.substring(d.length+1),o=g.slice(p)}}l.loose||(i?l.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(i=!0)),l.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),l.raw+=r}let a=l.items.at(-1);if(!a)return;for(let e of(a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),l.raw=l.raw.trimEnd(),l.items)){this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]);let t=e.tokens[0];if(e.task&&((null==t?void 0:t.type)==="text"||(null==t?void 0:t.type)==="paragraph")){e.text=e.text.replace(this.rules.other.listReplaceTask,""),t.raw=t.raw.replace(this.rules.other.listReplaceTask,""),t.text=t.text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:"checkbox",raw:n[0]+" ",checked:"[ ]"!==n[0]};e.checked=t.checked,l.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&(e.task=!1);if(!l.loose){let t=e.tokens.filter(e=>"space"===e.type);l.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(l.loose)for(let e of l.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return l}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=eC(t[0]);return{type:"html",block:!0,raw:e,pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:ez(t[0],"\n"),href:n,title:r}}}table(e){var t;let n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let r=eT(n[1]),l=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=(null==(t=n[3])?void 0:t.trim())?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:ez(n[0],"\n"),header:[],align:[],rows:[]};if(r.length===l.length){for(let e of l)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<r.length;e++)i.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:i.align[e]});for(let e of s)i.rows.push(eT(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:ez(t[0],"\n"),depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=ez(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if("("===e[r])n++;else if(e[r]===t[1]&&--n<0)return r;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),eA(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return eA(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,l,s,i=n,a=0,o="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=o.exec(t));){if(!(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(s=[...l].length,r[3]||r[4]){i+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){a+=s;continue}if((i-=s)>0)continue;s=Math.min(s,s+i+a);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+s);if(Math.min(n,s)%2){let e=o.slice(1,-1);return{type:"em",raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let c=o.slice(2,-2);return{type:"strong",raw:o,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,l,s,i=n,a=this.rules.inline.delRDelim;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=a.exec(t));){if(!(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(s=[...l].length)!==n)continue;if(r[3]||r[4]){i+=s;continue}if((i-=s)>0)continue;s=Math.min(s,s+i);let t=[...r[0]][0].length,a=e.slice(0,n+r.index+t+s),o=a.slice(n,-n);return{type:"del",raw:a,text:o,tokens:this.lexer.inlineTokens(o)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,l;if("@"===t[2])l="mailto:"+(e=t[0]);else{var n,r;let s;do s=t[0],t[0]=null!=(r=null==(n=this.rules.inline._backpedal.exec(t[0]))?void 0:n[0])?r:"";while(s!==t[0])e=t[0],l="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:l,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"rules",void 0),(0,k._)(this,"lexer",void 0),this.options=e||b}},eN=class e{static get rules(){return{block:ew,inline:ey}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(j.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(j.tabCharGlobal," ").replace(j.spaceLine,""));let r=1/0;for(;e;){var l,s,i;let a;if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(null==(s=this.options.extensions)||null==(l=s.block)?void 0:l.some(n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let n=t.at(-1);1===a.raw.length&&void 0!==n?n.raw+="\n":t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if((a=this.tokenizer.fences(e))||(a=this.tokenizer.heading(e))||(a=this.tokenizer.hr(e))||(a=this.tokenizer.blockquote(e))||(a=this.tokenizer.list(e))||(a=this.tokenizer.html(e))){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},t.push(a));continue}if((a=this.tokenizer.table(e))||(a=this.tokenizer.lheading(e))){e=e.substring(a.raw.length),t.push(a);continue}let o=e;if(null==(i=this.options.extensions)?void 0:i.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(o))){let r=t.at(-1);n&&(null==r?void 0:r.type)==="paragraph"?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+a.raw,r.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(a),n=o.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){var t,n,r,l,s,i;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.tokenizer.lexer=this;let c=e,h=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(h=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(h[0].slice(h[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,h.index)+"["+"a".repeat(h[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(h=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,h.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(h=this.tokenizer.rules.inline.blockSkip.exec(c));)a=h[2]?h[2].length:0,c=c.slice(0,h.index+a)+"["+"a".repeat(h[0].length-a-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);c=null!=(r=null==(n=this.options.hooks)||null==(t=n.emStrongMask)?void 0:t.call({lexer:this},c))?r:c;let p=!1,u="",d=1/0;for(;e;){let t;if(e.length<d)d=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(p||(u=""),p=!1,null==(s=this.options.extensions)||null==(l=s.inline)?void 0:l.some(n=>!!(t=n.call({lexer:this},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0)))continue;if((t=this.tokenizer.escape(e))||(t=this.tokenizer.tag(e))||(t=this.tokenizer.link(e))){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);let n=o.at(-1);"text"===t.type&&(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if((t=this.tokenizer.emStrong(e,c,u))||(t=this.tokenizer.codespan(e))||(t=this.tokenizer.br(e))||(t=this.tokenizer.del(e,c,u))||(t=this.tokenizer.autolink(e))||!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),o.push(t);continue}let n=e;if(null==(i=this.options.extensions)?void 0:i.startInline){let t=1/0,r=e.slice(1),l;this.options.extensions.startInline.forEach(e=>{"number"==typeof(l=e.call({lexer:this},r))&&l>=0&&(t=Math.min(t,l))}),t<1/0&&t>=0&&(n=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(n)){e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(u=t.raw.slice(-1)),p=!0;let n=o.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return o}infiniteLoopError(e){let t="Infinite loop on byte: "+e;if(this.options.silent)console.error(t);else throw Error(t)}constructor(e){(0,k._)(this,"tokens",void 0),(0,k._)(this,"options",void 0),(0,k._)(this,"state",void 0),(0,k._)(this,"inlineQueue",void 0),(0,k._)(this,"tokenizer",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b,this.options.tokenizer=this.options.tokenizer||new e_,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:j,block:ew.normal,inline:ey.normal};this.options.pedantic?(t.block=ew.pedantic,t.inline=ey.pedantic):this.options.gfm&&(t.block=ew.gfm,this.options.breaks?t.inline=ey.breaks:t.inline=ey.gfm),this.tokenizer.rules=t}},eP=class{space(e){return""}code(e){var t;let{text:n,lang:r,escaped:l}=e,s=null==(t=(r||"").match(j.notSpaceStart))?void 0:t[0],i=n.replace(j.endingNewline,"")+"\n";return s?'<pre><code class="language-'+ej(s)+'">'+(l?i:ej(i,!0))+"</code></pre>\n":"<pre><code>"+(l?i:ej(i,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;return"<blockquote>\n".concat(this.parser.parse(t),"</blockquote>\n")}html(e){let{text:t}=e;return t}def(e){return""}heading(e){let{tokens:t,depth:n}=e;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}hr(e){return"<hr>\n"}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let l=t?"ol":"ul";return"<"+l+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+l+">\n"}listitem(e){return"<li>".concat(this.parser.parse(e.tokens),"</li>\n")}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph(e){let{tokens:t}=e;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let l=e.rows[t];n="";for(let e=0;e<l.length;e++)n+=this.tablecell(l[e]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return"<tr>\n".concat(t,"</tr>\n")}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong(e){let{tokens:t}=e;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}em(e){let{tokens:t}=e;return"<em>".concat(this.parser.parseInline(t),"</em>")}codespan(e){let{text:t}=e;return"<code>".concat(ej(t,!0),"</code>")}br(e){return"<br>"}del(e){let{tokens:t}=e;return"<del>".concat(this.parser.parseInline(t),"</del>")}link(e){let{href:t,title:n,tokens:r}=e,l=this.parser.parseInline(r),s=eR(t);if(null===s)return l;let i='<a href="'+(t=s)+'"';return n&&(i+=' title="'+ej(n)+'"'),i+=">"+l+"</a>"}image(e){let{href:t,title:n,text:r,tokens:l}=e;l&&(r=this.parser.parseInline(l,this.parser.textRenderer));let s=eR(t);if(null===s)return ej(r);t=s;let i='<img src="'.concat(t,'" alt="').concat(ej(r),'"');return n&&(i+=' title="'.concat(ej(n),'"')),i+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ej(e.text)}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"parser",void 0),this.options=e||b}},eL=class{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}checkbox(e){let{raw:t}=e;return t}},e$=class e{static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let l=0;l<e.length;l++){var n,r;let s=e[l];if(null==(r=this.options.extensions)||null==(n=r.renderers)?void 0:n[s.type]){let e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){t+=e||"";continue}}switch(s.type){case"space":t+=this.renderer.space(s);break;case"hr":t+=this.renderer.hr(s);break;case"heading":t+=this.renderer.heading(s);break;case"code":t+=this.renderer.code(s);break;case"table":t+=this.renderer.table(s);break;case"blockquote":t+=this.renderer.blockquote(s);break;case"list":t+=this.renderer.list(s);break;case"checkbox":t+=this.renderer.checkbox(s);break;case"html":t+=this.renderer.html(s);break;case"def":t+=this.renderer.def(s);break;case"paragraph":t+=this.renderer.paragraph(s);break;case"text":t+=this.renderer.text(s);break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.renderer;this.renderer.parser=this;let n="";for(let s=0;s<e.length;s++){var r,l;let i=e[s];if(null==(l=this.options.extensions)||null==(r=l.renderers)?void 0:r[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"renderer",void 0),(0,k._)(this,"textRenderer",void 0),this.options=e||b,this.options.renderer=this.options.renderer||new eP,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new eL}},eE=(t=class{preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?eN.lex:eN.lexInline}provideParser(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?e$.parse:e$.parseInline}constructor(e){(0,k._)(this,"options",void 0),(0,k._)(this,"block",void 0),this.options=e||b}},(0,k._)(t,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),(0,k._)(t,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),t),eI=new class{walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":for(let e of s.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of s.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(s.items,t));break;default:{var r,l;let e=s;(null==(l=this.defaults.extensions)||null==(r=l.childTokens)?void 0:r[e.type])?this.defaults.extensions.childTokens[e.type].forEach(r=>{let l=e[r].flat(1/0);n=n.concat(this.walkTokens(l,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(e=>{let t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let t=r.renderers[e.name];t?r.renderers[e.name]=function(){for(var n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];let s=e.renderer.apply(this,r);return!1===s&&(s=t.apply(this,r)),s}:r.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let t=r[e.level];t?t.unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(r.childTokens[e.name]=e.childTokens)}),t.extensions=r),e.renderer){let n=this.defaults.renderer||new eP(this.defaults);for(let t in e.renderer){if(!(t in n))throw Error("renderer '".concat(t,"' does not exist"));if(["options","parser"].includes(t))continue;let r=e.renderer[t],l=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];let i=r.apply(n,t);return!1===i&&(i=l.apply(n,t)),i||""}}t.renderer=n}if(e.tokenizer){let n=this.defaults.tokenizer||new e_(this.defaults);for(let t in e.tokenizer){if(!(t in n))throw Error("tokenizer '".concat(t,"' does not exist"));if(["options","rules","lexer"].includes(t))continue;let r=e.tokenizer[t],l=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];let i=r.apply(n,t);return!1===i&&(i=l.apply(n,t)),i}}t.tokenizer=n}if(e.hooks){let r=this.defaults.hooks||new eE;for(let t in e.hooks){var n=this;if(!(t in r))throw Error("hook '".concat(t,"' does not exist"));if(["options","block"].includes(t))continue;let l=e.hooks[t],s=r[t];eE.passThroughHooks.has(t)?r[t]=e=>{if(this.defaults.async&&eE.passThroughHooksRespectAsync.has(t))return(async()=>{let t=await l.call(r,e);return s.call(r,t)})();let n=l.call(r,e);return s.call(r,n)}:r[t]=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(n.defaults.async)return(async()=>{let e=await l.apply(r,t);return!1===e&&(e=await s.apply(r,t)),e})();let a=l.apply(r,t);return!1===a&&(a=s.apply(r,t)),a}}t.hooks=r}if(e.walkTokens){let n=this.defaults.walkTokens,r=e.walkTokens;t.walkTokens=function(e){let t=[];return t.push(r.call(this,e)),n&&(t=t.concat(n.call(this,e))),t}}this.defaults={...this.defaults,...t}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return eN.lex(e,null!=t?t:this.defaults)}parser(e,t){return e$.parse(e,null!=t?t:this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},l={...this.defaults,...r},s=this.onError(!!l.silent,!!l.async);if(!0===this.defaults.async&&!1===r.async)return s(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(l.hooks&&(l.hooks.options=l,l.hooks.block=e),l.async)return(async()=>{let n=l.hooks?await l.hooks.preprocess(t):t,r=await (l.hooks?await l.hooks.provideLexer(e):e?eN.lex:eN.lexInline)(n,l),s=l.hooks?await l.hooks.processAllTokens(r):r;l.walkTokens&&await Promise.all(this.walkTokens(s,l.walkTokens));let i=await (l.hooks?await l.hooks.provideParser(e):e?e$.parse:e$.parseInline)(s,l);return l.hooks?await l.hooks.postprocess(i):i})().catch(s);try{l.hooks&&(t=l.hooks.preprocess(t));let n=(l.hooks?l.hooks.provideLexer(e):e?eN.lex:eN.lexInline)(t,l);l.hooks&&(n=l.hooks.processAllTokens(n)),l.walkTokens&&this.walkTokens(n,l.walkTokens);let r=(l.hooks?l.hooks.provideParser(e):e?e$.parse:e$.parseInline)(n,l);return l.hooks&&(r=l.hooks.postprocess(r)),r}catch(e){return s(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+ej(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}constructor(...e){(0,k._)(this,"defaults",m()),(0,k._)(this,"options",this.setOptions),(0,k._)(this,"parse",this.parseMarkdown(!0)),(0,k._)(this,"parseInline",this.parseMarkdown(!1)),(0,k._)(this,"Parser",e$),(0,k._)(this,"Renderer",eP),(0,k._)(this,"TextRenderer",eL),(0,k._)(this,"Lexer",eN),(0,k._)(this,"Tokenizer",e_),(0,k._)(this,"Hooks",eE),this.use(...e)}};function eB(e,t){return eI.parse(e,t)}eB.options=eB.setOptions=function(e){return eI.setOptions(e),eB.defaults=eI.defaults,b=eB.defaults,eB},eB.getDefaults=m,eB.defaults=b,eB.use=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eI.use(...t),eB.defaults=eI.defaults,b=eB.defaults,eB},eB.walkTokens=function(e,t){return eI.walkTokens(e,t)},eB.parseInline=eI.parseInline,eB.Parser=e$,eB.parser=e$.parse,eB.Renderer=eP,eB.TextRenderer=eL,eB.Lexer=eN,eB.lexer=eN.lex,eB.Tokenizer=e_,eB.Hooks=eE,eB.parse=eB,eB.options,eB.setOptions,eB.use,eB.walkTokens,eB.parseInline,e$.parse,eN.lex;var eq=e.i(97737);eB.setOptions({breaks:!0,gfm:!0});var eD=e.i(54396),eF=e.i(61293),eM=e.i(52371);let eZ=new Set(["txt","md","markdown","json","yaml","yml","toml","ini","cfg","conf","xml","html","htm","css","js","ts","jsx","tsx","py","sh","bash","zsh","fish","rs","go","java","c","cpp","h","hpp","cs","rb","php","swift","kt","sql","graphql","dockerfile","env","log"]),eQ=new Set(["md","markdown"]),eO=new Set(["json","yaml","yml","toml","ini","cfg","conf","xml","html","htm","css","js","ts","jsx","tsx","py","sh","bash","zsh","fish","rs","go","java","c","cpp","h","hpp","cs","rb","php","swift","kt","sql","graphql","env","log"]),eH=new Set(["png","jpg","jpeg","gif","webp","svg","bmp","ico","avif"]),eU={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",py:"python",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",yml:"yaml",htm:"html",rb:"ruby",kt:"kotlin",cs:"csharp",cpp:"cpp",hpp:"cpp",dockerfile:"dockerfile"};function eG(e){let t=e.toLowerCase();if("dockerfile"===t)return"dockerfile";let n=t.split(".");return n.length>1?n[n.length-1]:""}function eW(e){let{label:t,value:r}=e;return(0,n.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md border border-[var(--ds-color-border-default)] bg-[var(--surface-3)] px-2 py-0.5 text-sm leading-5",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:t}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:r})]})}async function eJ(e){if("undefined"!=typeof navigator&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return void await navigator.clipboard.writeText(e);throw Error("clipboard unavailable")}function eX(e){var t,l,i,a;let{entry:o,content:d,loading:g,downloadUrl:k,deleting:m,wsUrl:b,apiBase:w,agentId:y,onClose:v,onDelete:S,embedded:j=!1}=e,[R,T]=(0,r.useState)(null),[z,C]=(0,r.useState)(!1),[A,_]=(0,r.useState)(null),[N,P]=(0,r.useState)(null),L=(i=o.name,eH.has(eG(i))),$="svg"===eG(o.name),E=(a=o.name,eQ.has(eG(a))),I=function(e){let t=eG(e);return eO.has(t)||"dockerfile"===e.toLowerCase()}(o.name),B=null!==d&&(!L||$),q=null!==d?new TextEncoder().encode(d).byteLength:null,D=null!=q?q:R;(0,r.useEffect)(()=>{if(null!==q)return void T(null);let e=!1;return C(!0),(0,eM.fetchRepoFileSize)(b,w,y,o.path).then(t=>{e||T(t)}).catch(()=>{e||T(null)}).finally(()=>{e||C(!1)}),()=>{e=!0}},[o.path,b,w,y,q]),(0,r.useEffect)(()=>{P(null)},[A]),(0,r.useEffect)(()=>{if(!L)return void _(null);let e=null,t=!1;return(0,eF.bridgeFetch)(k,{raw:!0}).then(async e=>{if(!e.ok)throw Error("请求失败:".concat(e.status));if($){let t=await e.text();if(!t.includes("<svg"))throw Error("返回内容不是有效 SVG");return new Blob([function(e){let t=e.trim();return t.includes("<svg")?t.includes("xmlns=")?t:t.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'):t}(t)],{type:"image/svg+xml;charset=utf-8"})}return e.blob()}).then(n=>{t||_(e=URL.createObjectURL(n))}).catch(()=>{t||_(null)}),()=>{t=!0,e&&URL.revokeObjectURL(e)}},[k,L,$]);let F=(0,r.useCallback)(e=>{let{naturalWidth:t,naturalHeight:n}=e.currentTarget;P(t<=0||n<=0?{width:960,height:960}:t<=960?{width:t,height:n}:{width:960,height:Math.round(960/t*n)})},[]),M=(0,r.useCallback)(()=>{if(!d)return void s.appToast.error("暂无内容可复制");eJ(d).then(()=>{s.appToast.success("已复制到剪贴板")},()=>{s.appToast.error("复制失败,请手动选择复制")})},[d]),Z=(0,r.useMemo)(()=>{if(null===d||!E)return null;if(!d)return"";try{return eB.parse(d,{async:!1})}catch(e){return"<pre>".concat((0,eq.escapeHtml)(String(e)),"</pre>")}},[d,E]),Q=function(e){var t;let n=eG(e);return n?null!=(t=({doc:"Word",docx:"Word",xls:"Excel",xlsx:"Excel",ppt:"PPT",pptx:"PPT",pdf:"PDF",md:"Markdown",markdown:"Markdown",zip:"ZIP"})[n])?t:n.toUpperCase():"FILE"}(o.name),O=function(e){let t=e.lastIndexOf("/");return t<=0?"workspace":e.slice(0,t)}(o.path),H=null!==D?(0,f.formatBytes)(D):z?"加载中…":"—";return(0,n.jsxs)("div",{className:j?"flex flex-1 flex-col overflow-hidden":"flex h-full flex-col overflow-hidden",children:[!j&&(0,n.jsx)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b px-5 py-3",children:(0,n.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,n.jsx)(u.Button,{type:"button",variant:"ghost",size:"icon",className:"h-auto border-0 bg-transparent px-1 py-0 text-sm font-medium text-foreground shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]","aria-label":"返回列表",onClick:v,children:(0,n.jsx)(p.default,{name:"ChevronLeft",size:16})}),(0,n.jsx)("span",{className:"truncate text-base font-medium",children:o.name})]})}),(0,n.jsxs)("div",{className:"mx-4 mt-4 flex shrink-0 items-center justify-between gap-4 rounded-lg border border-solid border-[var(--ds-color-border-default)] bg-[var(--surface-1)] p-4",children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-3",children:[(0,n.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center",children:(0,n.jsx)(p.default,{name:"File",size:24,className:"!size-8 !text-[var(--ds-color-accent)]",strokeWidth:1})}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"truncate text-base font-semibold text-foreground",children:o.name}),(0,n.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-2",children:[(0,n.jsx)(eW,{label:"类型",value:Q}),(0,n.jsx)(eW,{label:"大小",value:H}),(0,n.jsx)(eW,{label:"位置",value:O})]})]})]}),(0,n.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[B&&(0,n.jsx)(c.IconTooltipButton,{icon:"Copy",label:"复制",ariaLabel:"复制 ".concat(o.name),onClick:M}),(0,n.jsx)(c.IconTooltipButton,{icon:"Download",label:"下载",href:k,download:o.name,ariaLabel:"下载 ".concat(o.name)}),(0,n.jsx)(c.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:m,onClick:S})]})]}),(0,n.jsx)("div",{className:"relative flex-1 overflow-auto",children:g?(0,n.jsx)(h.Loading,{text:"加载中…"}):L?A?(0,n.jsx)("div",{className:"flex min-h-[240px] justify-center p-6",children:(0,n.jsx)(x.default,{src:A,alt:o.name,width:null!=(t=null==N?void 0:N.width)?t:960,height:null!=(l=null==N?void 0:N.height)?l:960,unoptimized:!0,onLoad:F,className:"h-auto w-auto max-w-[960px]"})}):(0,n.jsx)(h.Loading,{text:"加载图片…"}):null===d?(0,n.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 text-sm text-muted-foreground",children:[(0,n.jsx)(p.default,{name:"File",size:32,className:"opacity-40"}),(0,n.jsx)("p",{children:"不支持页面内预览,请下载后查看。"})]}):null!==Z?(0,n.jsx)("div",{className:"chat-md prose prose-sm dark:prose-invert max-w-none p-4",dangerouslySetInnerHTML:{__html:Z}}):I&&null!==d?(0,n.jsx)(eD.ShikiCodePreview,{code:d,lang:function(e){var t;let n=eG(e);return null!=(t=eU[n])?t:n}(o.name),className:"p-4",theme:"light",pendingContent:(0,n.jsx)(h.Loading,{text:"渲染代码…",className:"min-h-[240px]",showImage:!1})}):(0,n.jsx)("pre",{className:"min-h-full whitespace-pre-wrap break-all p-4 font-mono text-base leading-relaxed",children:d})})]})}function eK(e){let t=e.toLowerCase().split(".");return t.length>1?t[t.length-1]:""}function eV(e){var t;if("dir"===e.type)return"文件夹";let n=eK(e.name);return n?null!=(t=({doc:"Word",docx:"Word",xls:"Excel",xlsx:"Excel",ppt:"PPT",pptx:"PPT",pdf:"PDF",log:"Log",html:"HTML",htm:"HTML",md:"Markdown",markdown:"Markdown",json:"JSON",zip:"压缩包"})[n])?t:n.toUpperCase():"文件"}function eY(e){let{currentPath:t,entriesLoading:l,currentEntries:s,fileSearchQuery:i,onFileSearchQueryChange:a,wsUrl:x,apiBase:f,agentId:k,deleting:m,onSelectDir:b,onSelectFile:w,onDeleteEntry:y,preview:v=null,downloadUrl:S="",onDeletePreview:j}=e,R=(0,r.useMemo)(()=>{if(!s)return null;let e=i.trim().toLowerCase();return e?s.filter(t=>{let n=eV(t).toLowerCase();return t.name.toLowerCase().includes(e)||t.path.toLowerCase().includes(e)||n.includes(e)}):s},[s,i]),T=(v?v.entry.path:t).split("/").filter(Boolean);return(0,n.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,n.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-4 border-b px-5 pt-4",children:(0,n.jsx)("div",{className:"min-w-0",children:(0,n.jsxs)("div",{className:"flex shrink-0 items-center gap-1 border-b pt-1 text-sm text-muted-foreground",children:[(0,n.jsx)("span",{children:"当前位置:"}),(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"sm",className:(0,g.cn)("h-auto border-0 bg-transparent !px-1 py-0 text-sm font-medium shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]",0===T.length?"text-foreground":"text-[var(--ds-color-accent)]"),onClick:()=>b(""),children:"workspace"}),T.map((e,t,r)=>{let l=r.slice(0,t+1).join("/"),s=t===r.length-1,i=v&&s;return(0,n.jsxs)("span",{className:"flex items-center gap-1",children:[(0,n.jsx)("span",{children:"/"}),i||s?(0,n.jsx)("span",{className:"px-1 font-medium text-foreground",children:e}):(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"sm",className:"h-auto border-0 bg-transparent !px-1 text-sm font-medium text-[var(--ds-color-accent)] shadow-none hover:bg-transparent hover:text-[var(--ds-color-accent)]",onClick:()=>b(l),children:e})]},l)})]})})}),v?(0,n.jsx)(eX,{entry:v.entry,content:v.content,loading:v.loading,downloadUrl:S,deleting:m,wsUrl:x,apiBase:f,agentId:k,onClose:()=>void 0,onDelete:null!=j?j:()=>void 0,embedded:!0}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex-1 overflow-auto",children:l?(0,n.jsx)(h.Loading,{text:"加载中…"}):null===s?(0,n.jsx)(o.Empty,{text:"暂无数据"}):(null==R?void 0:R.length)===0?(0,n.jsx)(o.Empty,{text:i.trim()?"未找到匹配文件":"当前目录为空"}):(0,n.jsxs)("table",{className:"w-full text-sm",children:[(0,n.jsx)("thead",{className:"bg-muted/30 border-b",children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{className:"px-5 py-3 text-left font-medium text-muted-foreground",children:"文件名称"}),(0,n.jsx)("th",{className:"w-28 px-3 py-3 text-left font-medium text-muted-foreground",children:"类型"}),(0,n.jsx)("th",{className:"w-24 shrink-0 px-3 py-3 text-right font-medium text-muted-foreground",children:"操作"})]})}),(0,n.jsx)("tbody",{children:null==R?void 0:R.map(e=>{var t;return(0,n.jsxs)("tr",{className:"hover:bg-accent/35 group cursor-pointer border-b transition-colors last:border-0",onClick:()=>{"dir"===e.type?b(e.path):w(e)},children:[(0,n.jsx)("td",{className:"px-5 py-3",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-[var(--ds-color-surface-item-bg-hover)] text-xs font-semibold text-[var(--ds-color-accent)]",children:(0,n.jsx)(p.default,{name:"dir"===e.type?"Folder":null!=(t=({xml:"Xml",gif:"Gif",html:"Html",htm:"Html",java:"Java",jpg:"Jpg",jpeg:"Jpg",js:"Js",json:"Json",pdf:"Pdf",svg:"Svg"})[eK(e.name)])?t:"File",size:15,className:"dir"===e.type?"text-amber-700":"text-muted-foreground"})}),(0,n.jsxs)("span",{className:(0,g.cn)("flex min-w-0 items-center gap-1 font-medium","text-foreground"),children:[(0,n.jsx)("span",{className:"truncate",children:e.name}),"dir"===e.type&&(0,n.jsx)(p.default,{name:"ChevronRight",size:14,className:"shrink-0 text-[var(--ds-color-accent,hsl(var(--primary)))]"})]})]})}),(0,n.jsx)("td",{className:"px-3 py-3 text-muted-foreground",children:eV(e)}),(0,n.jsx)("td",{className:"w-24 shrink-0 px-3 py-2 text-right",onClick:e=>e.stopPropagation(),children:"file"===e.type&&(0,n.jsxs)("div",{className:"flex items-center justify-end gap-1 opacity-80 transition-opacity group-hover:opacity-100",children:[(0,n.jsx)(c.IconTooltipButton,{icon:"Download",label:"下载",href:(0,d.buildRepoFileUrl)(x,f,k,e.path),download:e.name,ariaLabel:"下载 ".concat(e.name)}),(0,n.jsx)(c.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:m,onClick:()=>y(e)})]})})]},e.path)})})]})})})]})}var e0=e.i(55105);function e1(e,t){var n;return(null!=(n=e.get(t))?n:[]).filter(e=>e.name&&("dir"===e.type||"file"===e.type)).slice().sort((e,t)=>e.type!==t.type?"dir"===e.type?-1:1:e.name.localeCompare(t.name))}function e3(e){let{entry:t,depth:r,treeCache:l,currentPath:s,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:h,onSelectFile:d,onToggleExpand:x}=e,f="file"===t.type,k=!f&&""===t.path,m=i.has(t.path),b=a.has(t.path),w=c.trim().toLowerCase(),y=f?[]:e1(l,t.path).filter(e=>(function e(t,n,r){if(!r||""===n.path)return!0;let l=r.toLowerCase();return!!(n.name.toLowerCase().includes(l)||n.path.toLowerCase().includes(l))||"dir"===n.type&&e1(t,n.path).some(n=>e(t,n,l))})(l,e,w)),v=!!f||l.has(t.path),S=!f&&(!v||y.length>0),j=!f&&s===t.path,R=f&&o===t.path;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:(0,g.cn)("flex h-8 w-full cursor-pointer items-center gap-2 rounded px-1 text-base leading-none","hover:bg-accent/50",f&&"is-file",(j||R)&&"is-selected bg-[var(--surface-2)] text-accent-foreground"),style:{paddingLeft:"".concat(8+14*r,"px")},onClick:()=>{f?d(t):h(t.path)},children:[!f&&S?(0,n.jsx)(u.Button,{type:"button",variant:"plain",size:"icon",className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center p-0 text-muted-foreground","aria-label":"展开/折叠",onClick:e=>{e.stopPropagation(),x(t.path)},children:b?(0,n.jsx)(p.default,{name:"Loader2",size:14,className:"animate-spin"}):(0,n.jsx)(p.default,{name:m?"ChevronDown":"ChevronRight",size:14})}):(0,n.jsx)("span",{className:"h-[18px] w-[18px] shrink-0"}),(0,n.jsx)("span",{className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center",children:f?(0,n.jsx)(p.default,{name:"File",size:14,className:"text-muted-foreground"}):(0,n.jsx)(p.default,{name:m?"FolderOpen":"Folder",size:14,className:"text-amber-500"})}),(0,n.jsx)("span",{className:"min-w-0 flex-1 truncate leading-7",children:k?"workspace":t.name}),!f&&v&&(0,n.jsx)("span",{className:"ml-2 shrink-0 text-xs font-medium text-muted-foreground",children:y.length})]}),!f&&S&&(m||!!w)&&y.map(e=>(0,n.jsx)(e3,{entry:e,depth:r+1,treeCache:l,currentPath:s,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:h,onSelectFile:d,onToggleExpand:x},e.path))]})}let e2={name:"",path:"",type:"dir"};function e4(e){let{treeCache:t,currentPath:r,expandedPaths:l,loadingPaths:s,selectedFilePath:i,searchQuery:a,onSearchQueryChange:o,onSelectDir:c,onSelectFile:h,onToggleExpand:u}=e;return(0,n.jsxs)("aside",{className:"flex h-full w-[300px] shrink-0 flex-col rounded-xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},"aria-label":"目录树",children:[(0,n.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-3 px-4 pb-3 pt-4",children:(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("h2",{className:"truncate text-base font-semibold text-foreground",children:"目录管理"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"按业务域组织资料"})]})}),(0,n.jsx)("div",{className:"px-4 pb-3",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(p.default,{name:"Search",size:14,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),(0,n.jsx)(e0.Input,{size:"sm",value:a,onChange:e=>o(e.target.value),placeholder:"搜索目录",className:"bg-background/70 h-8 pl-8"})]})}),(0,n.jsx)("div",{className:"flex-1 overflow-y-auto px-3 pb-3",children:(0,n.jsx)(e3,{entry:e2,depth:0,treeCache:t,currentPath:r,expandedPaths:l,loadingPaths:s,selectedFilePath:i,searchQuery:a,onSelectDir:c,onSelectFile:h,onToggleExpand:u})})]})}function e9(){var e,t;let o=(0,l.useAppStore)(e=>e.wsUrl),c=(0,l.useAppStore)(e=>e.apiBase),h=(0,l.useAppStore)(e=>e.agentId),p=(0,l.useAppStore)(e=>e.agentSelectionResolved),[u,g]=(0,r.useState)(""),[x,f]=(0,r.useState)(()=>new Map),[k,m]=(0,r.useState)(()=>new Set([""])),[b,w]=(0,r.useState)(()=>new Set),[y,v]=(0,r.useState)(!1),[S,j]=(0,r.useState)(null),[R,T]=(0,r.useState)(!1),[z,C]=(0,r.useState)(""),[A,_]=(0,r.useState)(""),N=(0,r.useRef)(!1),P=(0,r.useRef)(""),L=(0,r.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h){t||v(!0);try{let t=await (0,eM.fetchRepoEntries)(o,c,h,e);f(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{t||v(!1)}}},[o,c,h]),$=(0,r.useCallback)(async e=>{if(!(!h||x.has(e))){w(t=>new Set([...t,e]));try{let t=await (0,eM.fetchRepoEntries)(o,c,h,e);f(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{w(t=>{let n=new Set(t);return n.delete(e),n})}}},[o,c,h,x]);(0,r.useEffect)(()=>{h&&h!==P.current&&(P.current=h,N.current=!1,f(new Map),g(""),m(new Set([""])),j(null))},[h]),(0,r.useEffect)(()=>{!N.current&&h&&p&&(N.current=!0,L(""))},[h,p,L]);let E=(0,r.useCallback)(e=>{g(e),j(null),m(t=>{let n=new Set(t);for(let t of function(e){let t=[""],n=e.split("/").filter(Boolean),r="";for(let e of n)r=r?"".concat(r,"/").concat(e):e,t.push(r);return t}(e))n.add(t);return n}),L(e)},[L]),I=(0,r.useCallback)(e=>{m(t=>{let n=new Set(t);return n.has(e)?n.delete(e):(n.add(e),$(e)),n})},[$]),B=(0,r.useCallback)(async e=>{var t,n;if(j({entry:e,content:null,loading:!0}),t=e.name,eH.has(eG(t))||(n=e.name,!eZ.has(eG(n))))return void j({entry:e,content:null,loading:!1});try{let t=await (0,eM.fetchRepoFilePreview)(o,c,h,e.path);j({entry:e,content:t,loading:!1})}catch(t){s.appToast.error("预览失败:".concat(t instanceof Error?t.message:String(t))),j({entry:e,content:null,loading:!1})}},[o,c,h]),q=(0,r.useCallback)(async e=>{if(await (0,i.confirmAlertDialog)({title:"删除文件",description:"确认删除「".concat(e.name,"」?此操作不可撤销。"),confirmText:"删除",cancelText:"取消"})){T(!0);try{await (0,eM.deleteRepoFile)(o,c,h,e.path),s.appToast.success("已删除:".concat(e.name)),j(t=>(null==t?void 0:t.entry.path)===e.path?null:t);let t=e.path.includes("/")?e.path.substring(0,e.path.lastIndexOf("/")):"";f(e=>{let n=new Map(e);return n.delete(t),n}),await L(t)}catch(e){s.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}finally{T(!1)}}},[o,c,h,L]),D=(0,r.useCallback)(async()=>{S&&await q(S.entry)},[S,q]),F=null!=(e=x.get(u))?e:null,M=S?(0,d.buildRepoFileUrl)(o,c,h,S.entry.path):"";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.ManageChromeHeaderActions,{}),(0,n.jsxs)("div",{className:"flex h-full gap-4 overflow-hidden",children:[(0,n.jsx)(e4,{treeCache:x,currentPath:u,expandedPaths:k,loadingPaths:b,selectedFilePath:null!=(t=null==S?void 0:S.entry.path)?t:"",searchQuery:z,onSearchQueryChange:C,onSelectDir:E,onSelectFile:B,onToggleExpand:I}),(0,n.jsx)("section",{className:"flex min-w-0 flex-1 flex-col overflow-hidden rounded-xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},children:(0,n.jsx)(eY,{currentPath:u,entriesLoading:y,currentEntries:F,fileSearchQuery:A,onFileSearchQueryChange:_,wsUrl:o,apiBase:c,agentId:h,deleting:R,onSelectDir:E,onSelectFile:B,onDeleteEntry:e=>void q(e),preview:S,downloadUrl:M,onDeletePreview:()=>void D()})})]})]})}}]);
|
package/dist/safe-a/index.html
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--ydg1pWMUiUWUhsV4OnPd9--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/dda0af99af0e0631.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/f37854d807ee41ac.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/fa0cb747819a4b88.js"/><script src="/app/_next/static/chunks/39fc6ad79e44f4df.js" async=""></script><script src="/app/_next/static/chunks/68f27d4f860d8f88.js" async=""></script><script src="/app/_next/static/chunks/06e2cd3fae94aae8.js" async=""></script><script src="/app/_next/static/chunks/ea136b1a439307e8.js" async=""></script><script src="/app/_next/static/chunks/turbopack-fd95f1c0ef78a441.js" async=""></script><script src="/app/_next/static/chunks/d2b5664aa6eb613c.js" async=""></script><script src="/app/_next/static/chunks/846fd48826ed3d89.js" async=""></script><script src="/app/_next/static/chunks/d78975cda9119543.js" async=""></script><script src="/app/_next/static/chunks/9971428081f87b2e.js" async=""></script><script src="/app/_next/static/chunks/913de10eeb8a88d9.js" async=""></script><script src="/app/_next/static/chunks/7cadf95d4932deec.js" async=""></script><script src="/app/_next/static/chunks/37e4ac5f3654a688.js" async=""></script><script src="/app/_next/static/chunks/c7ce2c0e40c62b6b.js" async=""></script><script src="/app/_next/static/chunks/42d0ae4192d72f8e.js" async=""></script><script src="/app/_next/static/chunks/e0b6375c01566831.js" async=""></script><script src="/app/_next/static/chunks/5b4c1faefda9575b.js" async=""></script><script src="/app/_next/static/chunks/1a900b3c5a00d59b.js" async=""></script><script src="/app/_next/static/chunks/7e2887a3269dfc01.js" async=""></script><script src="/app/_next/static/chunks/27d9a47efb23fd17.js" async=""></script><script src="/app/_next/static/chunks/ece085cc915ab5e5.js" async=""></script><script src="/app/_next/static/chunks/7c2d68248d759f50.js" async=""></script><meta name="next-size-adjust" content=""/><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$?--><template id="B:0"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><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" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/app/_next/static/chunks/fa0cb747819a4b88.js" id="_R_" async=""></script><div hidden id="S:0"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="ws-config-hidden" aria-hidden="true"><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/></div><div class="app" data-ui-layer="presentation" data-topology="local-first"><aside class="sidebar h-dvh max-h-dvh min-h-0 self-start overflow-hidden " data-region="sidebar-panels"><div class="sidebar-brand"><div class="sidebar-brand-title-row flex items-center justify-between"><div class="logo flex min-w-0 items-center gap-2"><span class="text-zinc-1000 truncate">Claude Code测试平台</span></div><span data-slot="tooltip" class="inline-flex"><button type="button" class="sidebar-icon-btn" title="收起侧边栏" aria-label="收起侧边栏"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 1024 1024" color="#8f8f8f" fill="#8f8f8f" aria-hidden="true"><path d="M331.05 85.333h361.9c34.346 0 62.72 0 85.76 1.878 24.02 1.962 46.08 6.186 66.773 16.725a170.67 170.67 0 0 1 74.581 74.581c10.539 20.694 14.763 42.752 16.725 66.731 1.878 23.125 1.878 51.456 1.878 85.76v361.941c0 34.347 0 62.72-1.878 85.76-1.962 24.022-6.186 46.08-16.725 66.774a170.67 170.67 0 0 1-74.581 74.581c-20.694 10.539-42.752 14.763-66.731 16.725-23.083 1.878-51.456 1.878-85.76 1.878H331.008c-34.347 0-62.72 0-85.76-1.878-24.021-1.962-46.08-6.186-66.773-16.725a170.67 170.67 0 0 1-74.582-74.581c-10.538-20.694-14.762-42.752-16.725-66.731-1.835-23.125-1.835-51.456-1.835-85.76V331.008c0-34.347 0-62.72 1.878-85.76 1.962-24.021 6.186-46.08 16.725-66.773a170.67 170.67 0 0 1 74.581-74.582c20.694-10.538 42.752-14.762 66.731-16.725 23.125-1.835 51.456-1.835 85.76-1.835zm95.617 768H691.2c36.565 0 61.397 0 80.597-1.621 18.688-1.493 28.288-4.267 34.944-7.68a85.33 85.33 0 0 0 37.291-37.29c3.413-6.657 6.187-16.214 7.68-34.945 1.579-19.2 1.621-44.032 1.621-80.597V332.8c0-36.565 0-61.397-1.621-80.597-1.493-18.688-4.267-28.288-7.68-34.944a85.33 85.33 0 0 0-37.29-37.291c-6.657-3.413-16.214-6.187-34.945-7.68-19.2-1.621-44.032-1.621-80.597-1.621H426.667zm-85.334-682.666H332.8c-36.565 0-61.397 0-80.597 1.621-18.688 1.493-28.288 4.267-34.944 7.68a85.33 85.33 0 0 0-37.291 37.29c-3.413 6.657-6.187 16.214-7.68 34.945-1.621 19.2-1.621 44.032-1.621 80.597v358.4c0 36.565 0 61.397 1.621 80.597 1.493 18.688 4.267 28.288 7.68 34.944a85.33 85.33 0 0 0 37.29 37.291c6.657 3.413 16.214 6.187 34.945 7.68 19.2 1.621 44.032 1.621 80.597 1.621h8.533z"></path></svg></button></span></div></div><div class="new-chat"><div class="mb-4 ml-2 mr-2 mt-2 flex cursor-pointer items-center gap-2.5 rounded-2xl px-2 py-2 text-zinc-900 transition-colors hover:bg-white/70" title="开启新对话" aria-label="开启新对话"><span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-[var(--ds-color-surface-item-active)] text-[var(--ds-color-accent)]" aria-hidden="true"><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"><path d="M12 5v14M5 12h14"></path></svg></span><span class="min-w-0 font-medium">新会话</span></div></div><div class="sidebar-scroll-area"><div class="sidebar-drawers sidebar-drawers--nav px-[10px]"><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="m259.413 120.036-149.22 106.666-49.606-69.404L209.92 50.63l49.607 69.405zM814.08 50.63l149.39 106.667-49.607 69.404-149.276-106.666 49.607-69.405zM78.28 554.667a433.778 433.778 0 1 1 867.555 0 433.778 433.778 0 0 1-867.556 0M512 206.222a348.444 348.444 0 1 0 0 696.89 348.444 348.444 0 0 0 0-696.89m-47.787 356.125V327.623h85.334v217.145l153.258 153.316-60.302 60.302-165.831-165.774a42.67 42.67 0 0 1-12.516-30.152z"></path></svg><span class="text-zinc-900">定时任务</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M424.64 115.392A170.432 170.432 0 0 1 714.304 254.4a166.464 166.464 0 0 1 137.728 282.752l-307.84 307.712 94.912 94.848a36.736 36.736 0 0 1-51.712 51.84L466.624 870.784a36.544 36.544 0 0 1 0-51.712l333.568-333.568a93.312 93.312 0 0 0-131.648-132.096l-3.008 2.88v.128L428.352 592.96a36.544 36.544 0 0 1-56.064-5.44c-.576-.768-.96-1.664-1.472-2.432a36.3 36.3 0 0 1-4.352-23.68l.32-1.92a36.4 36.4 0 0 1 5.12-12.608l4.8-5.76 236.992-236.416 6.72-7.488A97.28 97.28 0 0 0 476.288 167.04L136.576 507.008a36.544 36.544 0 0 1-51.712-51.712l339.84-339.84zm94.912 94.4a36.544 36.544 0 0 1 51.008 52.352L329.024 497.856a98.368 98.368 0 1 0 138.624 139.52l240.64-243.584a36.672 36.672 0 0 1 52.096 51.328l-240.64 243.584A171.584 171.584 0 1 1 277.952 445.44z"></path></svg><span class="text-zinc-900">MCP</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M938.667 981.333H85.333C38.4 981.333 0 942.933 0 896V298.667c0-46.934 38.4-85.334 85.333-85.334h192V128c0-46.933 38.4-85.333 85.334-85.333h298.666c46.934 0 85.334 38.4 85.334 85.333v85.333h192c46.933 0 85.333 38.4 85.333 85.334V896c0 46.933-38.4 85.333-85.333 85.333m-277.334-832c0-12.8-8.533-21.333-21.333-21.333H384c-12.8 0-21.333 8.533-21.333 21.333v64h298.666zM938.667 320c0-12.8-8.534-21.333-21.334-21.333H106.667c-12.8 0-21.334 8.533-21.334 21.333v128h213.334c17.066 0 32 10.667 38.4 23.467L388.267 576H633.6l51.2-104.533C691.2 456.533 706.133 448 723.2 448h213.333V320zm0 213.333H750.933l-51.2 104.534c-6.4 14.933-21.333 23.466-38.4 23.466H362.667c-17.067 0-32-10.666-38.4-23.466l-51.2-104.534H85.333v341.334c0 12.8 8.534 21.333 21.334 21.333h810.666c12.8 0 21.334-8.533 21.334-21.333z"></path></svg><span class="text-zinc-900">Tools</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1088 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M370.24 127.232c16.384-44.736 79.68-44.672 96.128 0L556.8 373.504l246.208 90.432c44.8 16.384 44.8 79.68 0 96.128L556.8 650.496 466.368 896.64c-16.448 44.8-79.744 44.8-96.128 0l-90.432-246.208L33.536 560c-44.736-16.448-44.736-79.744 0-96.128l246.272-90.432 90.432-246.272zm-22.464 283.84a51.2 51.2 0 0 1-30.4 30.4L125.44 512l192 70.528a51.2 51.2 0 0 1 28.16 25.28l2.24 5.12 70.528 191.936 70.528-192 2.176-5.12a51.2 51.2 0 0 1 28.16-25.216l192-70.528-192-70.528a51.2 51.2 0 0 1-30.336-30.4l-70.528-192-70.528 192zM756.608 32.64a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.68l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.616l-80-29.376a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552l29.376-80zm0 700.672a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.616l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.552l-80-29.44a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552z"></path></svg><span class="text-zinc-900">Skills</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1103 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M995.146 703.015a136.665 136.665 0 0 0-159.035 15.754L770.89 680.96V494.277a54.11 54.11 0 0 0-27.097-46.868L576.41 350.996v-82.55a137.846 137.846 0 1 0-88.616 0v82.55L320.41 447.409a54.11 54.11 0 0 0-27.097 46.868V680.88l-65.22 37.81a136.665 136.665 0 0 0-158.957-15.754 138.08 138.08 0 0 0-50.491 188.18 136.82 136.82 0 0 0 187.313 50.412 137.85 137.85 0 0 0 66.009-146.196l59.864-34.816 173.056 99.643a54.51 54.51 0 0 0 54.194 0l172.898-99.564 59.943 34.816a138.08 138.08 0 0 0 66.009 146.274 136.743 136.743 0 0 0 187.313-50.412 138.004 138.004 0 0 0-50.097-188.259m-828.337 170.3a58.604 58.604 0 0 1-80.266-21.583 59.077 59.077 0 0 1 21.583-80.66 58.604 58.604 0 0 1 80.266 21.662 59.077 59.077 0 0 1-21.583 80.66zm306.097-735.469a59.077 59.077 0 1 1 118.154 0 59.077 59.077 0 0 1-118.154 0m209.211 549.18-150.134 86.488-150.134-86.489v-172.82l150.134-86.488 150.134 86.489zM977.423 851.81a58.683 58.683 0 0 1-80.266 21.662 59.156 59.156 0 0 1-21.504-80.58 58.683 58.683 0 0 1 80.187-21.662 59.077 59.077 0 0 1 21.583 80.58"></path></svg><span class="text-zinc-900">Agent / Teams</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M197.632 80.896H92.16c-51.2 0-92.16 40.96-92.16 92.16v672.768c0 51.2 40.96 92.16 92.16 92.16h105.472c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 38.912-39.936 38.912H92.16c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 17.408-39.936 39.936-39.936h105.472c21.504 0 39.936 17.408 39.936 39.936zM540.672 80.896H434.176c-51.2 0-92.16 40.96-92.16 92.16V844.8c0 51.2 41.984 92.16 92.16 92.16h106.496c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 39.936-39.936 39.936H434.176c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 18.432-39.936 39.936-39.936h106.496c21.504 0 39.936 17.408 39.936 39.936zm442.368-17.408-102.4-669.696c-7.168-48.128-51.2-82.944-99.328-77.824L731.136 92.16c-22.528 3.072-43.008 14.336-56.32 32.768-14.336 19.456-20.48 44.032-16.384 67.584l102.4 669.696c6.144 45.056 44.032 77.824 89.088 78.848h11.264l90.112-13.312c22.528-3.072 43.008-14.336 56.32-32.768 13.312-17.408 19.456-41.984 15.36-66.56m-59.392 36.864c-5.12 7.168-13.312 11.264-21.504 12.288l-90.112 11.264c-20.48 1.024-37.888-13.312-40.96-33.792l-102.4-669.696c-2.048-10.24 0-21.504 6.144-29.696 5.12-7.168 13.312-11.264 21.504-12.288l90.112-11.264h4.096c18.432 1.024 33.792 15.36 36.864 33.792l102.4 670.72c2.048 10.24 0 20.48-6.144 28.672"></path><path d="M105.472 446.464h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624m343.04 0h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624M184.32 578.56h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624S199.68 578.56 184.32 578.56m343.04 0h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624"></path></svg><span class="text-zinc-900">Workspace</span></div></div><div class="sidebar-drawers sidebar-drawers--sessions is-open"><div class="sidebar-drawer m-[.35rem_.35rem_0] mt-4"><button type="button" class="flex w-full cursor-pointer items-center !border-none !bg-transparent p-[.45rem_.75rem] text-left text-[12px] font-[600] text-zinc-400 hover:text-zinc-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)] focus-visible:ring-offset-2" aria-expanded="true" aria-controls="sessionList" aria-label="收起历史会话列表">历史会话<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ml-1 shrink-0 text-[var(--ds-muted)]" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><div class="sidebar-drawer-body sidebar-drawer-body--sessions"><div id="sessionList"><p class="sidebar-drawer-empty">(暂无会话)</p></div></div></div></div></div><div class="shrink-0 border-t border-solid border-[var(--ds-color-border-default)] transition flex items-center gap-2 p-[1rem_.75rem]"><div class="relative min-w-0 flex-1"><div class="flex min-w-0 cursor-pointer items-center gap-2 rounded-lg px-0.5 py-0.5"><span class="inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-semibold text-white" style="background:var(--avatar-bg)">QI</span><span class="min-w-0 truncate text-[var(--ds-text)]">qihoo</span></div></div><span data-slot="tooltip" class="inline-flex"><button type="button" tabindex="0" data-slot="button" data-size="icon-sm" aria-label="设置" class="group/button inline-flex shrink-0 items-center justify-center cursor-pointer !pl-[16px] !pr-[16px] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:align-middle [&_svg:not([class*='size-']):not([width])]:size-4 [&_svg]:stroke-current [&_svg[fill=none]_path]:fill-none [&_svg:not([fill=none])_path]:fill-current bg-transparent border-0 size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg text-[var(--ds-muted)] hover:bg-[var(--ds-color-surface-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg></button></span></div></aside><main class="main overflow-x-auto is-draft-session" data-region="chat-shell"><div class="main-content"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><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" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><!--$--><!--/$--></div></main><aside class="stage-thread-flyout" data-region="stage-thread-flyout" aria-hidden="true" style="--stage-flyout-width:760px"></aside></div></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
2
|
-
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[18805,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AppToaster\"]\n3:I[3450,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n4:I[58973,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n5:I[82860,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:I[22924,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"12:I[40193,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/dda0af99af0e0631.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"style\"]\n:HL[\"/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"ydg1pWMUiUWUhsV4OnPd9\",\"p\":\"/app\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"(workspace)\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/dda0af99af0e0631.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/d78975cda9119543.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/9971428081f87b2e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/app/_next/static/chunks/e0b6375c01566831.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$6\",null,{\"fallback\":[\"$\",\"div\",null,{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],\"children\":\"$L8\"}],[\"$L9\",\"$La\",\"$Lb\",\"$Lc\",\"$Ld\",\"$Le\"],\"$Lf\"]}],{},null,false]},null,false]},[\"$L10\",[],[]],false],\"$L11\",false]],\"m\":\"$undefined\",\"G\":[\"$12\",[\"$L13\",\"$L14\",\"$L15\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"16:I[69799,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"17:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"OutletBoundary\"]\n19:I[80890,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AsyncMetadataOutlet\"]\n1b:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"ViewportBoundary\"]\n1d:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"$L16\",null,{}]\n9:[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"async\":true,\"nonce\":\"$undefined\"}]\ne:[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nf:[\"$\",\"$L17\",null,{\"children\":[\"$L18\",[\"$\",\"$L19\",null,{\"promise\":\"$@1a\"}]]}]\n10:[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:2:children:2:children:1:props:children:0:props:fallback:props:children:0:props:iconNode\",\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}]\n11:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1b\",null,{\"children\":\"$L1c\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"conten"])</script><script>self.__next_f.push([1,"t\":\"\"}]],[\"$\",\"$L1d\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1e\"}]}]}]]}]\n13:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n14:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/dda0af99af0e0631.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n15:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n18:null\n"])</script><script>self.__next_f.push([1,"1a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"1e:\"$1a:metadata\"\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><!--fJY87EWm4q7Foe1k9iCt0--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/00efede689cf035f.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/7defa1cc0271dd01.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/fa0cb747819a4b88.js"/><script src="/app/_next/static/chunks/39fc6ad79e44f4df.js" async=""></script><script src="/app/_next/static/chunks/68f27d4f860d8f88.js" async=""></script><script src="/app/_next/static/chunks/06e2cd3fae94aae8.js" async=""></script><script src="/app/_next/static/chunks/ea136b1a439307e8.js" async=""></script><script src="/app/_next/static/chunks/turbopack-fd95f1c0ef78a441.js" async=""></script><script src="/app/_next/static/chunks/d2b5664aa6eb613c.js" async=""></script><script src="/app/_next/static/chunks/b725c08f4efec3ab.js" async=""></script><script src="/app/_next/static/chunks/d78975cda9119543.js" async=""></script><script src="/app/_next/static/chunks/9311fdc96f82fdcc.js" async=""></script><script src="/app/_next/static/chunks/b4b8918a2dbddca7.js" async=""></script><script src="/app/_next/static/chunks/101f70bebf1522b2.js" async=""></script><script src="/app/_next/static/chunks/42d0ae4192d72f8e.js" async=""></script><script src="/app/_next/static/chunks/c7ce2c0e40c62b6b.js" async=""></script><script src="/app/_next/static/chunks/11f35a289d90c8f7.js" async=""></script><script src="/app/_next/static/chunks/5b4c1faefda9575b.js" async=""></script><script src="/app/_next/static/chunks/1a900b3c5a00d59b.js" async=""></script><script src="/app/_next/static/chunks/2954e8f94d83412a.js" async=""></script><script src="/app/_next/static/chunks/27d9a47efb23fd17.js" async=""></script><script src="/app/_next/static/chunks/8249026c4faf64b8.js" async=""></script><script src="/app/_next/static/chunks/7c2d68248d759f50.js" async=""></script><meta name="next-size-adjust" content=""/><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$?--><template id="B:0"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><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" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/app/_next/static/chunks/fa0cb747819a4b88.js" id="_R_" async=""></script><div hidden id="S:0"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="ws-config-hidden" aria-hidden="true"><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/></div><div class="app" data-ui-layer="presentation" data-topology="local-first"><aside class="sidebar h-dvh max-h-dvh min-h-0 self-start overflow-hidden " data-region="sidebar-panels"><div class="sidebar-brand"><div class="sidebar-brand-title-row flex items-center justify-between"><div class="logo flex min-w-0 items-center gap-2"><span class="text-zinc-1000 truncate">Claude Code测试平台</span></div><span data-slot="tooltip" class="inline-flex"><button type="button" class="sidebar-icon-btn" title="收起侧边栏" aria-label="收起侧边栏"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 1024 1024" color="#8f8f8f" fill="#8f8f8f" aria-hidden="true"><path d="M331.05 85.333h361.9c34.346 0 62.72 0 85.76 1.878 24.02 1.962 46.08 6.186 66.773 16.725a170.67 170.67 0 0 1 74.581 74.581c10.539 20.694 14.763 42.752 16.725 66.731 1.878 23.125 1.878 51.456 1.878 85.76v361.941c0 34.347 0 62.72-1.878 85.76-1.962 24.022-6.186 46.08-16.725 66.774a170.67 170.67 0 0 1-74.581 74.581c-20.694 10.539-42.752 14.763-66.731 16.725-23.083 1.878-51.456 1.878-85.76 1.878H331.008c-34.347 0-62.72 0-85.76-1.878-24.021-1.962-46.08-6.186-66.773-16.725a170.67 170.67 0 0 1-74.582-74.581c-10.538-20.694-14.762-42.752-16.725-66.731-1.835-23.125-1.835-51.456-1.835-85.76V331.008c0-34.347 0-62.72 1.878-85.76 1.962-24.021 6.186-46.08 16.725-66.773a170.67 170.67 0 0 1 74.581-74.582c20.694-10.538 42.752-14.762 66.731-16.725 23.125-1.835 51.456-1.835 85.76-1.835zm95.617 768H691.2c36.565 0 61.397 0 80.597-1.621 18.688-1.493 28.288-4.267 34.944-7.68a85.33 85.33 0 0 0 37.291-37.29c3.413-6.657 6.187-16.214 7.68-34.945 1.579-19.2 1.621-44.032 1.621-80.597V332.8c0-36.565 0-61.397-1.621-80.597-1.493-18.688-4.267-28.288-7.68-34.944a85.33 85.33 0 0 0-37.29-37.291c-6.657-3.413-16.214-6.187-34.945-7.68-19.2-1.621-44.032-1.621-80.597-1.621H426.667zm-85.334-682.666H332.8c-36.565 0-61.397 0-80.597 1.621-18.688 1.493-28.288 4.267-34.944 7.68a85.33 85.33 0 0 0-37.291 37.29c-3.413 6.657-6.187 16.214-7.68 34.945-1.621 19.2-1.621 44.032-1.621 80.597v358.4c0 36.565 0 61.397 1.621 80.597 1.493 18.688 4.267 28.288 7.68 34.944a85.33 85.33 0 0 0 37.29 37.291c6.657 3.413 16.214 6.187 34.945 7.68 19.2 1.621 44.032 1.621 80.597 1.621h8.533z"></path></svg></button></span></div></div><div class="new-chat"><div class="mb-4 ml-2 mr-2 mt-2 flex cursor-pointer items-center gap-2.5 rounded-2xl px-2 py-2 text-zinc-900 transition-colors hover:bg-white/70" title="开启新对话" aria-label="开启新对话"><span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-[var(--ds-color-surface-item-active)] text-[var(--ds-color-accent)]" aria-hidden="true"><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"><path d="M12 5v14M5 12h14"></path></svg></span><span class="min-w-0 font-medium">新会话</span></div></div><div class="sidebar-scroll-area"><div class="sidebar-drawers sidebar-drawers--nav px-[10px]"><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="m259.413 120.036-149.22 106.666-49.606-69.404L209.92 50.63l49.607 69.405zM814.08 50.63l149.39 106.667-49.607 69.404-149.276-106.666 49.607-69.405zM78.28 554.667a433.778 433.778 0 1 1 867.555 0 433.778 433.778 0 0 1-867.556 0M512 206.222a348.444 348.444 0 1 0 0 696.89 348.444 348.444 0 0 0 0-696.89m-47.787 356.125V327.623h85.334v217.145l153.258 153.316-60.302 60.302-165.831-165.774a42.67 42.67 0 0 1-12.516-30.152z"></path></svg><span class="text-zinc-900">定时任务</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M424.64 115.392A170.432 170.432 0 0 1 714.304 254.4a166.464 166.464 0 0 1 137.728 282.752l-307.84 307.712 94.912 94.848a36.736 36.736 0 0 1-51.712 51.84L466.624 870.784a36.544 36.544 0 0 1 0-51.712l333.568-333.568a93.312 93.312 0 0 0-131.648-132.096l-3.008 2.88v.128L428.352 592.96a36.544 36.544 0 0 1-56.064-5.44c-.576-.768-.96-1.664-1.472-2.432a36.3 36.3 0 0 1-4.352-23.68l.32-1.92a36.4 36.4 0 0 1 5.12-12.608l4.8-5.76 236.992-236.416 6.72-7.488A97.28 97.28 0 0 0 476.288 167.04L136.576 507.008a36.544 36.544 0 0 1-51.712-51.712l339.84-339.84zm94.912 94.4a36.544 36.544 0 0 1 51.008 52.352L329.024 497.856a98.368 98.368 0 1 0 138.624 139.52l240.64-243.584a36.672 36.672 0 0 1 52.096 51.328l-240.64 243.584A171.584 171.584 0 1 1 277.952 445.44z"></path></svg><span class="text-zinc-900">MCP</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M938.667 981.333H85.333C38.4 981.333 0 942.933 0 896V298.667c0-46.934 38.4-85.334 85.333-85.334h192V128c0-46.933 38.4-85.333 85.334-85.333h298.666c46.934 0 85.334 38.4 85.334 85.333v85.333h192c46.933 0 85.333 38.4 85.333 85.334V896c0 46.933-38.4 85.333-85.333 85.333m-277.334-832c0-12.8-8.533-21.333-21.333-21.333H384c-12.8 0-21.333 8.533-21.333 21.333v64h298.666zM938.667 320c0-12.8-8.534-21.333-21.334-21.333H106.667c-12.8 0-21.334 8.533-21.334 21.333v128h213.334c17.066 0 32 10.667 38.4 23.467L388.267 576H633.6l51.2-104.533C691.2 456.533 706.133 448 723.2 448h213.333V320zm0 213.333H750.933l-51.2 104.534c-6.4 14.933-21.333 23.466-38.4 23.466H362.667c-17.067 0-32-10.666-38.4-23.466l-51.2-104.534H85.333v341.334c0 12.8 8.534 21.333 21.334 21.333h810.666c12.8 0 21.334-8.533 21.334-21.333z"></path></svg><span class="text-zinc-900">Tools</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1088 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M370.24 127.232c16.384-44.736 79.68-44.672 96.128 0L556.8 373.504l246.208 90.432c44.8 16.384 44.8 79.68 0 96.128L556.8 650.496 466.368 896.64c-16.448 44.8-79.744 44.8-96.128 0l-90.432-246.208L33.536 560c-44.736-16.448-44.736-79.744 0-96.128l246.272-90.432 90.432-246.272zm-22.464 283.84a51.2 51.2 0 0 1-30.4 30.4L125.44 512l192 70.528a51.2 51.2 0 0 1 28.16 25.28l2.24 5.12 70.528 191.936 70.528-192 2.176-5.12a51.2 51.2 0 0 1 28.16-25.216l192-70.528-192-70.528a51.2 51.2 0 0 1-30.336-30.4l-70.528-192-70.528 192zM756.608 32.64a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.68l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.616l-80-29.376a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552l29.376-80zm0 700.672a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.616l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.552l-80-29.44a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552z"></path></svg><span class="text-zinc-900">Skills</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1103 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M995.146 703.015a136.665 136.665 0 0 0-159.035 15.754L770.89 680.96V494.277a54.11 54.11 0 0 0-27.097-46.868L576.41 350.996v-82.55a137.846 137.846 0 1 0-88.616 0v82.55L320.41 447.409a54.11 54.11 0 0 0-27.097 46.868V680.88l-65.22 37.81a136.665 136.665 0 0 0-158.957-15.754 138.08 138.08 0 0 0-50.491 188.18 136.82 136.82 0 0 0 187.313 50.412 137.85 137.85 0 0 0 66.009-146.196l59.864-34.816 173.056 99.643a54.51 54.51 0 0 0 54.194 0l172.898-99.564 59.943 34.816a138.08 138.08 0 0 0 66.009 146.274 136.743 136.743 0 0 0 187.313-50.412 138.004 138.004 0 0 0-50.097-188.259m-828.337 170.3a58.604 58.604 0 0 1-80.266-21.583 59.077 59.077 0 0 1 21.583-80.66 58.604 58.604 0 0 1 80.266 21.662 59.077 59.077 0 0 1-21.583 80.66zm306.097-735.469a59.077 59.077 0 1 1 118.154 0 59.077 59.077 0 0 1-118.154 0m209.211 549.18-150.134 86.488-150.134-86.489v-172.82l150.134-86.488 150.134 86.489zM977.423 851.81a58.683 58.683 0 0 1-80.266 21.662 59.156 59.156 0 0 1-21.504-80.58 58.683 58.683 0 0 1 80.187-21.662 59.077 59.077 0 0 1 21.583 80.58"></path></svg><span class="text-zinc-900">Agent / Teams</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M197.632 80.896H92.16c-51.2 0-92.16 40.96-92.16 92.16v672.768c0 51.2 40.96 92.16 92.16 92.16h105.472c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 38.912-39.936 38.912H92.16c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 17.408-39.936 39.936-39.936h105.472c21.504 0 39.936 17.408 39.936 39.936zM540.672 80.896H434.176c-51.2 0-92.16 40.96-92.16 92.16V844.8c0 51.2 41.984 92.16 92.16 92.16h106.496c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 39.936-39.936 39.936H434.176c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 18.432-39.936 39.936-39.936h106.496c21.504 0 39.936 17.408 39.936 39.936zm442.368-17.408-102.4-669.696c-7.168-48.128-51.2-82.944-99.328-77.824L731.136 92.16c-22.528 3.072-43.008 14.336-56.32 32.768-14.336 19.456-20.48 44.032-16.384 67.584l102.4 669.696c6.144 45.056 44.032 77.824 89.088 78.848h11.264l90.112-13.312c22.528-3.072 43.008-14.336 56.32-32.768 13.312-17.408 19.456-41.984 15.36-66.56m-59.392 36.864c-5.12 7.168-13.312 11.264-21.504 12.288l-90.112 11.264c-20.48 1.024-37.888-13.312-40.96-33.792l-102.4-669.696c-2.048-10.24 0-21.504 6.144-29.696 5.12-7.168 13.312-11.264 21.504-12.288l90.112-11.264h4.096c18.432 1.024 33.792 15.36 36.864 33.792l102.4 670.72c2.048 10.24 0 20.48-6.144 28.672"></path><path d="M105.472 446.464h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624m343.04 0h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624M184.32 578.56h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624S199.68 578.56 184.32 578.56m343.04 0h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624"></path></svg><span class="text-zinc-900">Workspace</span></div></div><div class="sidebar-drawers sidebar-drawers--sessions is-open"><div class="sidebar-drawer m-[.35rem_.35rem_0] mt-4"><button type="button" class="flex w-full cursor-pointer items-center !border-none !bg-transparent p-[.45rem_.75rem] text-left text-[12px] font-[600] text-zinc-400 hover:text-zinc-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)] focus-visible:ring-offset-2" aria-expanded="true" aria-controls="sessionList" aria-label="收起历史会话列表">历史会话<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ml-1 shrink-0 text-[var(--ds-muted)]" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><div class="sidebar-drawer-body sidebar-drawer-body--sessions"><div id="sessionList"><p class="sidebar-drawer-empty">(暂无会话)</p></div></div></div></div></div><div class="shrink-0 border-t border-solid border-[var(--ds-color-border-default)] transition flex items-center gap-2 p-[1rem_.75rem]"><div class="relative min-w-0 flex-1"><div class="flex min-w-0 cursor-pointer items-center gap-2 rounded-lg px-0.5 py-0.5"><span class="inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-semibold text-white" style="background:var(--avatar-bg)">QI</span><span class="min-w-0 truncate text-[var(--ds-text)]">qihoo</span></div></div><span data-slot="tooltip" class="inline-flex"><button type="button" tabindex="0" data-slot="button" data-size="icon-sm" aria-label="设置" class="group/button inline-flex shrink-0 items-center justify-center cursor-pointer !pl-[16px] !pr-[16px] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:align-middle [&_svg:not([class*='size-']):not([width])]:size-4 [&_svg]:stroke-current [&_svg[fill=none]_path]:fill-none [&_svg:not([fill=none])_path]:fill-current bg-transparent border-0 size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg text-[var(--ds-muted)] hover:bg-[var(--ds-color-surface-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg></button></span></div></aside><main class="main overflow-x-auto is-draft-session" data-region="chat-shell"><div class="main-content"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><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" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><!--$--><!--/$--></div></main><aside class="stage-thread-flyout" data-region="stage-thread-flyout" aria-hidden="true" style="--stage-flyout-width:760px"></aside></div></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
2
|
+
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[18805,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AppToaster\"]\n3:I[3450,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n4:I[58973,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n5:I[82860,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9311fdc96f82fdcc.js\",\"/app/_next/static/chunks/b4b8918a2dbddca7.js\",\"/app/_next/static/chunks/101f70bebf1522b2.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/11f35a289d90c8f7.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:I[22924,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9311fdc96f82fdcc.js\",\"/app/_next/static/chunks/b4b8918a2dbddca7.js\",\"/app/_next/static/chunks/101f70bebf1522b2.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/11f35a289d90c8f7.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/2954e8f94d83412a.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/8249026c4faf64b8.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"8:I[69799,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9311fdc96f82fdcc.js\",\"/app/_next/static/chunks/b4b8918a2dbddca7.js\",\"/app/_next/static/chunks/101f70bebf1522b2.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/11f35a289d90c8f7.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/2954e8f94d83412a.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/8249026c4faf64b8.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"11:I[40193,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/00efede689cf035f.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/7defa1cc0271dd01.css\",\"style\"]\n:HL[\"/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"fJY87EWm4q7Foe1k9iCt0\",\"p\":\"/app\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"(workspace)\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/00efede689cf035f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7defa1cc0271dd01.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/d78975cda9119543.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/9311fdc96f82fdcc.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/b4b8918a2dbddca7.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/101f70bebf1522b2.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/11f35a289d90c8f7.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$6\",null,{\"fallback\":[\"$\",\"div\",null,{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],\"children\":[\"$\",\"$L8\",null,{}]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"async\":true,\"nonce\":\"$undefined\"}],\"$L9\",\"$La\",\"$Lb\",\"$Lc\",\"$Ld\"],\"$Le\"]}],{},null,false]},null,false]},[\"$Lf\",[],[]],false],\"$L10\",false]],\"m\":\"$undefined\",\"G\":[\"$11\",[\"$L12\",\"$L13\",\"$L14\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"15:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"OutletBoundary\"]\n17:I[80890,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AsyncMetadataOutlet\"]\n19:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"ViewportBoundary\"]\n1b:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b725c08f4efec3ab.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"MetadataBoundary\"]\n9:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/2954e8f94d83412a.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/8249026c4faf64b8.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"async\":true,\"nonce\":\"$undefined\"}]\ne:[\"$\",\"$L15\",null,{\"children\":[\"$L16\",[\"$\",\"$L17\",null,{\"promise\":\"$@18\"}]]}]\nf:[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:2:children:2:children:1:props:children:0:props:fallback:props:children:0:props:iconNode\",\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}]\n10:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L19\",null,{\"children\":\"$L1a\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$L1b\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1c\"}]}]}]]}]\n12"])</script><script>self.__next_f.push([1,":[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n13:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/00efede689cf035f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n14:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7defa1cc0271dd01.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n16:null\n"])</script><script>self.__next_f.push([1,"18:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"1c:\"$18:metadata\"\n"])</script></body></html>
|