hub-ui-x 0.0.48 → 0.0.49

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.
Files changed (60) hide show
  1. package/dist/{_basePickBy-Cd8pmkpL.js → _basePickBy-DbZi5TTv.js} +2 -2
  2. package/dist/{_baseUniq-jM4H-QiO.js → _baseUniq-C1Nx8j-D.js} +1 -1
  3. package/dist/{arc-CbEpwggX.js → arc-D_ZQ0ZI9.js} +2 -2
  4. package/dist/{architecture-4AB2E3PP-CH0Y1_wg.js → architecture-4AB2E3PP-DYrqHzNd.js} +1 -1
  5. package/dist/{architectureDiagram-IEHRJDOE-ebT7NIG9.js → architectureDiagram-IEHRJDOE-gV5v3Jiq.js} +6 -6
  6. package/dist/{blockDiagram-JOT3LUYC-Cb3Hpe-L.js → blockDiagram-JOT3LUYC-aVH57lP3.js} +5 -5
  7. package/dist/{c4Diagram-VJAJSXHY-DT4wM3lR.js → c4Diagram-VJAJSXHY-B1jvI5Sl.js} +3 -3
  8. package/dist/{channel-C4Rks5hG.js → channel-72vKK4B5.js} +1 -1
  9. package/dist/{chunk-4BMEZGHF-B2CONRv7.js → chunk-4BMEZGHF-Bh3ptx9q.js} +1 -1
  10. package/dist/{chunk-A2AXSNBT-DWYRDdJ5.js → chunk-A2AXSNBT-oI70Bz0R.js} +3 -3
  11. package/dist/{chunk-AEK57VVT-CaoUaBN7.js → chunk-AEK57VVT-EIOfnefX.js} +2 -2
  12. package/dist/{chunk-D6G4REZN-BU-bur38.js → chunk-D6G4REZN-DRUKzNVA.js} +1 -1
  13. package/dist/{chunk-RZ5BOZE2-Crb8ocLf.js → chunk-RZ5BOZE2-6Y0OuNO4.js} +2 -2
  14. package/dist/{chunk-XZIHB7SX-CIsJBBoD.js → chunk-XZIHB7SX-SmHr8NFQ.js} +1 -1
  15. package/dist/{classDiagram-GIVACNV2-Cr1wE1-e.js → classDiagram-GIVACNV2-CkNlZyNM.js} +3 -3
  16. package/dist/{classDiagram-v2-COTLJTTW-Cr1wE1-e.js → classDiagram-v2-COTLJTTW-CkNlZyNM.js} +3 -3
  17. package/dist/{clone-0EGXwyBJ.js → clone-BoY8qj0q.js} +1 -1
  18. package/dist/{code-BeskrYp_.js → code-Bg2N3lY5.js} +2 -2
  19. package/dist/{copy-jjgzNL6A.js → copy-B0Nl3CPz.js} +1 -1
  20. package/dist/{dagre-OKDRZEBW-B46r3qVJ.js → dagre-OKDRZEBW-47JI8tuW.js} +6 -6
  21. package/dist/{diagram-SSKATNLV-Dvcmth44.js → diagram-SSKATNLV-B-nngJxR.js} +3 -3
  22. package/dist/{diagram-VNBRO52H-CGud_2Go.js → diagram-VNBRO52H-CPxZQ4fP.js} +3 -3
  23. package/dist/{erDiagram-Q7BY3M3F-2rsqIdrQ.js → erDiagram-Q7BY3M3F-B6a61ssC.js} +4 -4
  24. package/dist/{flowDiagram-4HSFHLVR-ZBKXLb5y.js → flowDiagram-4HSFHLVR-DMAXCbaf.js} +4 -4
  25. package/dist/{ganttDiagram-APWFNJXF-B8mKRa37.js → ganttDiagram-APWFNJXF-CpGkNSIV.js} +4 -4
  26. package/dist/{gitGraph-O2Q2CXLX-Cxl_MflF.js → gitGraph-O2Q2CXLX-Br3-fAUu.js} +1 -1
  27. package/dist/{gitGraphDiagram-7IBYFJ6S-DhJVRqKN.js → gitGraphDiagram-7IBYFJ6S-BenCVItS.js} +5 -5
  28. package/dist/{graph-CnL2qMNv.js → graph-CZik35ML.js} +2 -2
  29. package/dist/hub-ui-x.css +1 -1
  30. package/dist/hub-ui-x.es.ts +1 -1
  31. package/dist/hub-ui-x.umd.ts +1 -1
  32. package/dist/{index-DkV4GiJc.js → index-LxQhWGIn.js} +1 -1
  33. package/dist/info-4N47QTOZ-DAqiKEnS.js +5 -0
  34. package/dist/{infoDiagram-PH2N3AL5-CrGaz4cg.js → infoDiagram-PH2N3AL5-BtHlejXl.js} +2 -2
  35. package/dist/{journeyDiagram-U35MCT3I-M7HFq-6y.js → journeyDiagram-U35MCT3I-CZkxQLQV.js} +4 -4
  36. package/dist/{kanban-definition-NDS4AKOZ-DLcNHNlO.js → kanban-definition-NDS4AKOZ-_z_wa9_x.js} +1 -1
  37. package/dist/{layout-CVVN2SoK.js → layout-Cqwi3_Zl.js} +4 -4
  38. package/dist/{linear-C9J-_FRR.js → linear-BjfYWo5Y.js} +1 -1
  39. package/dist/{mermaid-parser.core-wXUZR2CR.js → mermaid-parser.core-DC-OijI-.js} +10 -10
  40. package/dist/{mermaid-SgiuJf0M.js → mermaid-sunvgd5F.js} +29 -29
  41. package/dist/{mindmap-BKXvjAyi.js → mindmap-5U3NYC4S.js} +2 -2
  42. package/dist/{mindmap-definition-ALO5MXBD-D08t1Dpr.js → mindmap-definition-ALO5MXBD-CflPvx4V.js} +3 -3
  43. package/dist/{packet-KVYON367-BImg7vQg.js → packet-KVYON367-C8-dGba4.js} +1 -1
  44. package/dist/pie-R6RNRRYF-ConENb0Z.js +5 -0
  45. package/dist/{pieDiagram-IB7DONF6-0fM6uFGq.js → pieDiagram-IB7DONF6-orAYwiIS.js} +5 -5
  46. package/dist/{quadrantDiagram-7GDLP6J5-VIKui5Fd.js → quadrantDiagram-7GDLP6J5-BIYc1-XC.js} +3 -3
  47. package/dist/radar-MK3ICKWK-B_Ag7OTE.js +5 -0
  48. package/dist/{requirementDiagram-KVF5MWMF-BFz3vc6s.js → requirementDiagram-KVF5MWMF-CBmmYe93.js} +2 -2
  49. package/dist/{sankeyDiagram-QLVOVGJD-uDnEQusO.js → sankeyDiagram-QLVOVGJD-CX3rxhEE.js} +2 -2
  50. package/dist/{sequenceDiagram-X6HHIX6F-DHTe4P-e.js → sequenceDiagram-X6HHIX6F-ZkWOgUVw.js} +4 -4
  51. package/dist/{skill-run-CgC-N8a7.js → skill-run-CCbq4OOK.js} +110 -109
  52. package/dist/{stateDiagram-DGXRK772-Bh240otV.js → stateDiagram-DGXRK772-D1bGT6Op.js} +5 -5
  53. package/dist/{stateDiagram-v2-YXO3MK2T-CEFxiK7y.js → stateDiagram-v2-YXO3MK2T-DG79SYNH.js} +3 -3
  54. package/dist/{timeline-definition-BDJGKUSR-C5tWWAL5.js → timeline-definition-BDJGKUSR-CJPecjgb.js} +3 -3
  55. package/dist/{viewer-CpHuxLh7.js → viewer-XC1IvZi6.js} +2 -2
  56. package/dist/{xychartDiagram-VJFVF3MP-Fz5_Z5Wf.js → xychartDiagram-VJFVF3MP-1SSmGNQK.js} +3 -3
  57. package/package.json +2 -2
  58. package/dist/info-4N47QTOZ-DBMT-mWE.js +0 -5
  59. package/dist/pie-R6RNRRYF-D1dBiAKM.js +0 -5
  60. package/dist/radar-MK3ICKWK-ehVVa6rv.js +0 -5
@@ -666,7 +666,7 @@ l0,-`+(w+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
666
666
  `,P$e=`<svg width="16" height="16" viewBox="0 -3 24 24"><path fill-rule="evenodd" d="M6 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-5z" clip-rule="evenodd"/></svg>
667
667
  `,B$e="checkbox",jJ={" ":P$e.trim(),x:M$e.trim()},F$e={name:B$e,transform(t){return t.parser.tap(e=>{e.core.ruler.before("inline","checkbox",r=>{for(let n=2;n<r.tokens.length;n+=1){const i=r.tokens[n];if(i.type==="inline"&&i.content){const a=r.tokens[n-1].type,s=r.tokens[n-2].type;(a==="heading_open"||a==="paragraph_open"&&s==="list_item_open")&&(i.content=i.content.replace(/^\[(.)\] /,(o,l)=>jJ[l]?`${jJ[l]} `:o))}}return!1})}),{}}},U$e={name:"frontmatter",transform(t){return t.beforeParse.tap((e,r)=>{var n;const{content:i}=r;if(!/^---\r?\n/.test(i))return;const a=/\n---\r?\n/.exec(i);if(!a)return;const s=i.slice(4,a.index).trimEnd();let o;try{o=A$e(s.replace(/\r?\n|\r/g,`
668
668
  `)),o!=null&&o.markmap&&(o.markmap=$$e(o.markmap))}catch{return}r.frontmatter=o,r.parserOptions={...r.parserOptions,...(n=o==null?void 0:o.markmap)==null?void 0:n.htmlParser},r.frontmatterInfo={lines:i.slice(0,a.index).split(`
669
- `).length+1,offset:a.index+a[0].length}}),{}}};function $$e(t){if(t)return["color","extraJs","extraCss"].forEach(e=>{t[e]!=null&&(t[e]=z$e(t[e]))}),["duration","maxWidth","initialExpandLevel"].forEach(e=>{t[e]!=null&&(t[e]=G$e(t[e]))}),t}function z$e(t){let e;return typeof t=="string"?e=[t]:Array.isArray(t)&&(e=t.filter(r=>r&&typeof r=="string")),e!=null&&e.length?e:void 0}function G$e(t){if(!isNaN(+t))return+t}function T8(t,e){return e.type==="script"&&e.data.src?{...e,data:{...e.data,src:t.getFullUrl(e.data.src)}}:e}function q$e(t,e){return e.type==="stylesheet"&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}const ZJ="hljs",V$e=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map(t=>dR(t)),Y$e=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map(t=>Bj(t)),x8={name:ZJ,config:{versions:{hljs:"11.11.1"},preloadScripts:V$e,styles:Y$e},transform(t){var e,r,n;let i;const a=((r=(e=x8.config)==null?void 0:e.preloadScripts)==null?void 0:r.map(l=>T8(t.transformer.urlBuilder,l)))||[],s=()=>(i||(i=Pj(a)),i);let o=np;return t.parser.tap(l=>{l.set({highlight:(u,d)=>{o();const{hljs:h}=window;return h?h.highlightAuto(u,d?[d]:void 0).value:(s().then(()=>{t.retransform.call()}),u)}})}),t.beforeParse.tap((l,u)=>{o=()=>{u.features[ZJ]=!0}}),{styles:(n=x8.config)==null?void 0:n.styles}}};function H$e(t,e,r){return t.map(n=>{if(typeof n=="string"&&!n.includes("://")){n.startsWith("npm:")||(n=`npm:${n}`);const i=4+e.length;n.startsWith(`npm:${e}/`)&&(n=`${n.slice(0,i)}@${r}${n.slice(i)}`)}return n})}var W$e=["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"];const C8="katex",K$e=["katex@0.16.18/dist/katex.min.js"].map(t=>dR(t)),JJ=dR("webfontloader@1.6.28/webfontloader.js");JJ.data.defer=!0;const X$e=["katex@0.16.18/dist/katex.min.css"].map(t=>Bj(t)),Q$e={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:K$e,scripts:[{type:"iife",data:{fn:t=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{t().refreshHook.call()}}},getParams({getMarkmap:t}){return[t]}}},JJ],styles:X$e,resources:W$e};function j$e(t){return t.default||t}const Z$e=j$e(I$e),x_={name:C8,config:Q$e,transform(t){var e,r,n,i;let a;const s=((r=(e=x_.config)==null?void 0:e.preloadScripts)==null?void 0:r.map(d=>T8(t.transformer.urlBuilder,d)))||[],o=()=>(a||(a=Pj(s)),a),l=(d,h)=>{const{katex:f}=window;return f?f.renderToString(d,{displayMode:h,throwOnError:!1}):(o().then(()=>{t.retransform.call()}),d)};let u=np;return t.parser.tap(d=>{d.use(Z$e),["math_block","math_inline"].forEach(h=>{const f=(g,p)=>(u(),l(g[p].content,!!g[p].block));d.renderer.rules[h]=f})}),t.beforeParse.tap((d,h)=>{u=()=>{h.features[C8]=!0}}),t.afterParse.tap((d,h)=>{var f;const g=(f=h.frontmatter)==null?void 0:f.markmap;g&&["extraJs","extraCss"].forEach(p=>{var m,_;const v=g[p];v&&(g[p]=H$e(v,C8,((_=(m=x_.config)==null?void 0:m.versions)==null?void 0:_.katex)||""))})}),{styles:(n=x_.config)==null?void 0:n.styles,scripts:(i=x_.config)==null?void 0:i.scripts}}},J$e={name:"npmUrl",transform(t){return t.afterParse.tap((e,r)=>{const{frontmatter:n}=r,i=n==null?void 0:n.markmap;i&&["extraJs","extraCss"].forEach(a=>{const s=i[a];s&&(i[a]=s.map(o=>o.startsWith("npm:")?t.transformer.urlBuilder.getFullUrl(o.slice(4)):o))})}),{}}},eze={name:"sourceLines",transform(t){let e=0;return t.beforeParse.tap((r,n)=>{var i;e=((i=n.frontmatterInfo)==null?void 0:i.lines)||0}),t.parser.tap(r=>{r.renderer.renderAttrs=Rj(r.renderer.renderAttrs,(n,i)=>{if(i.block&&i.map){const a=i.map.map(s=>s+e);i.attrSet("data-lines",a.join(","))}return n(i)}),r.renderer.rules.fence&&(r.renderer.rules.fence=Rj(r.renderer.rules.fence,(n,i,a,...s)=>{let o=n(i,a,...s);const l=i[a];if(o.startsWith("<pre>")&&l.map){const u=l.map.map(d=>d+e);o=o.slice(0,4)+` data-lines="${u.join(",")}"`+o.slice(4)}return o}))}),{}}},tze=[U$e,x_,x8,J$e,F$e,eze];function eee(t){for(;!t.content&&t.children.length===1;)t=t.children[0];for(;t.children.length===1&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(eee)}}class rze{constructor(e=tze){this.assetsMap={},this.urlBuilder=new _Le,this.hooks=L$e(this),this.plugins=e.map(i=>typeof i=="function"?i():i);const r={};for(const{name:i,transform:a}of this.plugins)r[i]=a(this.hooks);this.assetsMap=r;const n=D$e();this.md=n,this.hooks.parser.call(n)}transform(e,r){var n;const i={content:e,features:{},parserOptions:r};this.hooks.beforeParse.call(this.md,i);let{content:a}=i;i.frontmatterInfo&&(a=a.slice(i.frontmatterInfo.offset));const s=this.md.render(a,{});this.hooks.afterParse.call(this.md,i);const o=eee(cUe(s,i.parserOptions));return o.content||(o.content=`${((n=i.frontmatter)==null?void 0:n.title)||""}`),{...i,root:o}}resolveJS(e){return T8(this.urlBuilder,e)}resolveCSS(e){return q$e(this.urlBuilder,e)}getAssets(e){const r=[],n=[];e??(e=this.plugins.map(i=>i.name));for(const i of e.map(a=>this.assetsMap[a]))i&&(i.styles&&r.push(...i.styles),i.scripts&&n.push(...i.scripts));return{styles:r.map(i=>this.resolveCSS(i)),scripts:n.map(i=>this.resolveJS(i))}}getUsedAssets(e){const r=this.plugins.map(n=>n.name).filter(n=>e[n]);return this.getAssets(r)}}const nze=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"mindmap",props:{value:{type:String,default:""},viewerClass:{type:String,default:""},viewerStyle:{type:Object,default:()=>({})}},setup(t){const e=t,r=new rze,n=q.ref(),i=q.ref(null),a=q.ref(),s=q.ref(!1);q.ref("image");const o=q.ref(!1),l=q.ref(!1);let u;const d=async _=>{if(u)try{const v=s.value;s.value=!1;const{root:y}=r.transform(_);await u.setData(y),u.fit(),v&&a.value&&a.value.mode&&a.value.mode==="code"&&(a.value.mode="image")}catch(v){console.error("Markmap render error:",v),s.value=!0,q.nextTick(()=>{a.value&&a.value.mode&&(a.value.mode="code")})}},h=()=>{u==null||u.fit()},f=()=>{u==null||u.rescale(1.25)},g=()=>{u==null||u.rescale(.8)},p=()=>{l.value=!l.value,s.value&&a.value&&a.value.mode&&(a.value.mode="code"),q.nextTick(()=>{h()})};q.watchEffect(()=>{d(e.value)});let m;return q.onMounted(()=>{try{s.value=!1,u=mR.create(n.value),d(e.value)}catch(_){console.error("Markmap initialization error:",_),s.value=!0,q.nextTick(()=>{a.value&&a.value.mode&&(a.value.mode="code")})}m=wj(i.value,()=>{o.value=!1})}),q.onUnmounted(()=>{m==null||m.destroy()}),(_,v)=>(q.openBlock(),q.createBlock(kj,{ref_key:"viewerRef",ref:a,value:t.value,hideImageTab:s.value,onRefresh:h,onZoomIn:f,onZoomOut:g,onFullscreen:p,viewerClass:t.viewerClass,viewerStyle:t.viewerStyle},{"image-content":q.withCtx(()=>[(q.openBlock(),q.createElementBlock("svg",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},ref_key:"svgRef",ref:n},null,512))]),_:1},8,["value","hideImageTab","viewerClass","viewerStyle"]))}}},Symbol.toStringTag,{value:"Module"})),ize={pending:"开始",running:"运行中",completed:""};function aze(t){if(!t||typeof t!="object")return!1;const e=t.type;return e==="search"?!1:e==="script"||e==="script_run"||!e&&("bash"in t||"output"in t)}function C_(t){return t&&typeof t=="object"&&t.type==="skill"}function sze(t){if(!t||typeof t!="object")return!1;const e=t.type;return e==="search"||e==="web_search"}function oze(t){const e=t==null?void 0:t.status;return e==="pending"||e==="running"||e==="completed"?e:"completed"}function lze(t){return ize[t]??""}function cze(t){return C_(t)&&t.intentData?t.intentData:null}function uze(t){return Array.isArray(t==null?void 0:t.tags)?t.tags:[]}function tee(t){return Array.isArray(t==null?void 0:t.sources)?t.sources:[]}function dze(t){const e=t;return typeof(e==null?void 0:e.sourceCount)=="number"?e.sourceCount:tee(t).length}function hze(t){return typeof t=="string"&&(t.startsWith("http")||t.startsWith("/"))}function ree(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function fze(t){const e=(String(t??"").match(/\n/g)||[]).length;return Array.from({length:e+1},(r,n)=>n)}function pze(t){const e=String(t??"");if(!e)return"";try{return gl.highlight(e,{language:"bash"}).value}catch{return ree(e)}}function gze(t){const e=(String(t??"").match(/\n/g)||[]).length;return Array.from({length:e+1},(r,n)=>n)}function mze(t){const e=String(t??"");if(!e)return"";let r;try{r=gl.highlight(e,{language:"plaintext"}).value}catch{r=ree(e)}return r.replace(/(https?:\/\/[^\s<]+|\/app\/data\/[^\s<]+)/g,'<a href="$&" target="_blank" rel="noopener" class="skill-run__link">$&</a>')}function _ze(t){g2(String(t??"")),ba.success(kn.global.t("hubx.bubble.copied"))}function vze(t){g2(String(t??"")),ba.success(kn.global.t("hubx.bubble.copied"))}function yze(){const t=q.ref(new Set);return{expandedKeys:t,toggleCollapsed:r=>{const n=new Set(t.value);n.has(r)?n.delete(r):n.add(r),t.value=n},isScriptItem:aze,isSkillItem:C_,isSearchItem:sze,getItemStatus:oze,getItemStatusLabel:lze,getSkillIntentData:cze,getSearchTags:uze,getSearchSources:tee,getSearchSourceCount:dze,isSourceIconUrl:hze,getBashLines:fze,getBashHtml:pze,getOutputLines:gze,getOutputHtml:mze,copyBash:_ze,copyOutput:vze}}const bze={class:"skill-run-group"},Eze={key:0,class:"skill-run__header skill-run__header--no-collapse"},Sze={class:"skill-run__header-left"},Tze={class:"skill-run__title"},xze={class:"skill-run__header-actions"},Cze={style:{color:"#999999"}},wze=["onClick"],Aze={class:"skill-run__header-left"},kze={class:"skill-run__title"},Nze={class:"skill-run__header-actions"},Rze={key:0,class:"skill-run__source-badge"},Oze={key:2,class:"skill-run__body"},Ize={class:"skill-run__panel"},Dze={class:"skill-run__panel-header"},Lze=["onClick"],Mze={class:"skill-run__panel-content"},Pze={class:"skill-run__lines"},Bze=["innerHTML"],Fze={class:"skill-run__panel"},Uze={class:"skill-run__panel-header"},$ze=["onClick"],zze={class:"skill-run__panel-content"},Gze={class:"skill-run__lines"},qze=["innerHTML"],Vze={key:0,class:"skill-run__info"},Yze={class:"skill-run__info-list"},Hze={key:0,class:"skill-run__tags"},Wze={class:"skill-run__panel"},Kze={class:"skill-run__sources-list"},Xze=["href"],Qze={key:0,class:"skill-run__source-icon"},jze=["src"],Zze={class:"skill-run__source-title"},Jze={key:1,class:"skill-run__source-link skill-run__source-link--plain"},eGe={key:0,class:"skill-run__source-icon"},tGe=["src"],rGe={class:"skill-run__source-title"},nGe={key:3,class:"skill-run__line"},iGe=Object.freeze(Object.defineProperty({__proto__:null,default:hs(q.defineComponent({__name:"skill-run",props:{items:{default:()=>[]},title:{default:""},bash:{default:""},output:{default:""}},setup(t){const e=t,r=q.computed(()=>{var k;return(k=e.items)!=null&&k.length?e.items:e.title||e.bash||e.output?[{type:"script",title:e.title,bash:e.bash,output:e.output}]:[]}),{expandedKeys:n,toggleCollapsed:i,isScriptItem:a,isSearchItem:s,getSkillIntentData:o,getBashLines:l,getOutputLines:u,getBashHtml:d,getOutputHtml:h,copyBash:f,copyOutput:g,getSearchTags:p,getSearchSources:m,getSearchSourceCount:_,isSourceIconUrl:v,getItemStatus:y,getItemStatusLabel:b}=yze(),E=q.ref(!1),S=()=>{E.value=!E.value},x=q.computed(()=>{if(!E.value)return r.value;const k=r.value;return k.length>0&&C_(k[0])?k.slice(1):k}),C=(k,R)=>C_(k)&&R===0&&!E.value;return(k,R)=>(q.openBlock(),q.createElementBlock("div",bze,[q.createElementVNode("div",{class:"skill-run-head",onClick:S},[q.createVNode(Yr,{size:"18px",name:"down"}),q.createTextVNode(" "+q.toDisplayString(E.value?`${r.value.length} 个步骤`:"隐藏步骤"),1)]),(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(x.value,(I,A)=>{var M,U,O,L,P,F,B,$,V,G,Y;return q.openBlock(),q.createElementBlock("div",{key:"sr-"+A,class:"skill-run"},[C(I,A)?(q.openBlock(),q.createElementBlock("div",Eze,[q.createElementVNode("span",Sze,[q.createVNode(Yr,{size:"16px",name:"terminal",class:"skill-run__skill-icon",color:"#1d1e1f"}),q.createElementVNode("h3",Tze,q.toDisplayString(I.title),1)]),q.createElementVNode("div",xze,[q.unref(b)(q.unref(y)(I))?(q.openBlock(),q.createElementBlock("span",{key:0,class:q.normalizeClass(["skill-run__status","skill-run__status--"+q.unref(y)(I)])},q.toDisplayString(q.unref(b)(q.unref(y)(I))),3)):q.createCommentVNode("",!0),q.createElementVNode("span",Cze,q.toDisplayString(I.skillName),1)])])):(q.openBlock(),q.createElementBlock("div",{key:1,class:"skill-run__header",onClick:Q=>q.unref(i)(A)},[q.createElementVNode("span",Aze,[q.createVNode(Yr,{size:"16px",name:"terminal",class:"skill-run__skill-icon",color:"#1d1e1f"}),q.createElementVNode("h3",kze,q.toDisplayString(I.title),1)]),q.createElementVNode("div",Nze,[q.unref(s)(I)?(q.openBlock(),q.createElementBlock("span",Rze,q.toDisplayString(q.unref(_)(I))+"个来源 ",1)):q.createCommentVNode("",!0),q.unref(b)(q.unref(y)(I))?(q.openBlock(),q.createElementBlock("span",{key:1,class:q.normalizeClass(["skill-run__status","skill-run__status--"+q.unref(y)(I)])},q.toDisplayString(q.unref(b)(q.unref(y)(I))),3)):q.createCommentVNode("",!0),q.createElementVNode("span",{class:q.normalizeClass(["skill-run__chevron",{"skill-run__chevron--collapsed":q.unref(n).has(A)}])},[q.createVNode(Yr,{size:"18px",name:"down"})],2)])],8,wze)),C(I,A)?q.createCommentVNode("",!0):q.withDirectives((q.openBlock(),q.createElementBlock("div",Oze,[q.unref(a)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:0},[q.createElementVNode("div",Ize,[q.createElementVNode("div",Dze,[R[0]||(R[0]=q.createElementVNode("span",{class:"skill-run__panel-label"},"Bash",-1)),q.createVNode(fi,{content:q.unref(kn).global.t("hubx.bubble.copy"),placement:"top",trigger:"hover"},{default:q.withCtx(()=>[q.createElementVNode("i",{class:"skill-run__icon",onClick:Q=>q.unref(f)(I.bash)},[q.createVNode(Yr,{size:"16px",name:"copy"})],8,Lze)]),_:2},1032,["content"])]),q.createElementVNode("div",Mze,[q.createElementVNode("div",Pze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(l)(I.bash),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"bash-"+Z,class:"skill-run__line-num"},q.toDisplayString(Z+1),1))),128))]),q.createElementVNode("pre",{class:"skill-run__code-pre hljs",innerHTML:q.unref(d)(I.bash)},null,8,Bze)])]),q.createElementVNode("div",Fze,[q.createElementVNode("div",Uze,[R[1]||(R[1]=q.createElementVNode("span",{class:"skill-run__panel-label"},"Output",-1)),q.createVNode(fi,{content:q.unref(kn).global.t("hubx.bubble.copy"),placement:"top",trigger:"hover"},{default:q.withCtx(()=>[q.createElementVNode("i",{class:"skill-run__icon",onClick:Q=>q.unref(g)(I.output)},[q.createVNode(Yr,{size:"16px",name:"copy"})],8,$ze)]),_:2},1032,["content"])]),q.createElementVNode("div",zze,[q.createElementVNode("div",Gze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(u)(I.output),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"out-"+Z,class:"skill-run__line-num"},q.toDisplayString(Z+1),1))),128))]),q.createElementVNode("pre",{class:"skill-run__output-pre hljs",innerHTML:q.unref(h)(I.output)},null,8,qze)])])],64)):q.unref(C_)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:1},[q.unref(o)(I)?(q.openBlock(),q.createElementBlock("div",Vze,[R[7]||(R[7]=q.createElementVNode("div",{class:"skill-run__info-title"},"信息展示",-1)),q.createElementVNode("dl",Yze,[(M=q.unref(o)(I))!=null&&M.intent?(q.openBlock(),q.createElementBlock(q.Fragment,{key:0},[R[2]||(R[2]=q.createElementVNode("dt",null,"意图",-1)),q.createElementVNode("dd",null,q.toDisplayString((U=q.unref(o)(I))==null?void 0:U.intent),1)],64)):q.createCommentVNode("",!0),(O=q.unref(o)(I))!=null&&O.skill_name?(q.openBlock(),q.createElementBlock(q.Fragment,{key:1},[R[3]||(R[3]=q.createElementVNode("dt",null,"技能",-1)),q.createElementVNode("dd",null,q.toDisplayString((L=q.unref(o)(I))==null?void 0:L.skill_name),1)],64)):q.createCommentVNode("",!0),((P=q.unref(o)(I))==null?void 0:P.confidence)!=null?(q.openBlock(),q.createElementBlock(q.Fragment,{key:2},[R[4]||(R[4]=q.createElementVNode("dt",null,"置信度",-1)),q.createElementVNode("dd",null,q.toDisplayString((F=q.unref(o)(I))==null?void 0:F.confidence),1)],64)):q.createCommentVNode("",!0),(B=q.unref(o)(I))!=null&&B.reasoning?(q.openBlock(),q.createElementBlock(q.Fragment,{key:3},[R[5]||(R[5]=q.createElementVNode("dt",null,"推理",-1)),q.createElementVNode("dd",null,q.toDisplayString(($=q.unref(o)(I))==null?void 0:$.reasoning),1)],64)):q.createCommentVNode("",!0),(G=(V=q.unref(o)(I))==null?void 0:V.keywords)!=null&&G.length?(q.openBlock(),q.createElementBlock(q.Fragment,{key:4},[R[6]||(R[6]=q.createElementVNode("dt",null,"关键词",-1)),q.createElementVNode("dd",null,q.toDisplayString(((Y=q.unref(o)(I))==null?void 0:Y.keywords).join("、")),1)],64)):q.createCommentVNode("",!0)])])):q.createCommentVNode("",!0)],64)):q.unref(s)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:2},[q.unref(p)(I).length?(q.openBlock(),q.createElementBlock("div",Hze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(p)(I),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"tag-"+Z,class:"skill-run__tag"},q.toDisplayString(Q),1))),128))])):q.createCommentVNode("",!0),q.createElementVNode("div",Wze,[R[8]||(R[8]=q.createElementVNode("div",{class:"skill-run__panel-header"},[q.createElementVNode("span",{class:"skill-run__panel-label"},"来源")],-1)),q.createElementVNode("ul",Kze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(m)(I),(Q,Z)=>(q.openBlock(),q.createElementBlock("li",{key:"src-"+Z,class:"skill-run__source-item"},[Q.url?(q.openBlock(),q.createElementBlock("a",{key:0,href:Q.url,target:"_blank",rel:"noopener",class:"skill-run__source-link"},[Q.icon?(q.openBlock(),q.createElementBlock("span",Qze,[q.unref(v)(Q.icon)?(q.openBlock(),q.createElementBlock("img",{key:0,src:Q.icon,alt:""},null,8,jze)):(q.openBlock(),q.createBlock(Yr,{key:1,size:"16px",name:Q.icon},null,8,["name"]))])):q.createCommentVNode("",!0),q.createElementVNode("span",Zze,q.toDisplayString(Q.title),1)],8,Xze)):(q.openBlock(),q.createElementBlock("div",Jze,[Q.icon?(q.openBlock(),q.createElementBlock("span",eGe,[q.unref(v)(Q.icon)?(q.openBlock(),q.createElementBlock("img",{key:0,src:Q.icon,alt:""},null,8,tGe)):(q.openBlock(),q.createBlock(Yr,{key:1,size:"16px",name:Q.icon},null,8,["name"]))])):q.createCommentVNode("",!0),q.createElementVNode("span",rGe,q.toDisplayString(Q.title),1)]))]))),128))])])],64)):q.createCommentVNode("",!0)],512)),[[q.vShow,q.unref(n).has(A)]]),A<x.value.length-1?(q.openBlock(),q.createElementBlock("div",nGe)):q.createCommentVNode("",!0)])}),128))]))}}),[["__scopeId","data-v-204487f4"]])},Symbol.toStringTag,{value:"Module"}));class _o{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new _o(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Wo{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new Wo(r,_o.range(this,e))}}class zt{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),u;i>15?u="…"+o.slice(i-15,i):u=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=u+l+d}var h=new Error(n);return h.name="ParseError",h.__proto__=zt.prototype,h.position=i,i!=null&&a!=null&&(h.length=a-i),h.rawMessage=e,h}}zt.prototype.__proto__=Error.prototype;var aGe=function(e,r){return e.indexOf(r)!==-1},sGe=function(e,r){return e===void 0?r:e},oGe=/([A-Z])/g,lGe=function(e){return e.replace(oGe,"-$1").toLowerCase()},cGe={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},uGe=/[&><"']/g;function dGe(t){return String(t).replace(uGe,e=>cGe[e])}var nee=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},hGe=function(e){var r=nee(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},fGe=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},pGe=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},br={contains:aGe,deflt:sGe,escape:dGe,hyphenate:lGe,getBaseElem:nee,isCharacterBox:hGe,protocolFromUrl:pGe},w_={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function gGe(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class w8{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in w_)if(w_.hasOwnProperty(r)){var n=w_[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:gGe(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new zt("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=br.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class S0{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return uc[mGe[this.id]]}sub(){return uc[_Ge[this.id]]}fracNum(){return uc[vGe[this.id]]}fracDen(){return uc[yGe[this.id]]}cramp(){return uc[bGe[this.id]]}text(){return uc[EGe[this.id]]}isTight(){return this.size>=2}}var A8=0,aS=1,xp=2,_u=3,A_=4,Ko=5,Cp=6,xs=7,uc=[new S0(A8,0,!1),new S0(aS,0,!0),new S0(xp,1,!1),new S0(_u,1,!0),new S0(A_,2,!1),new S0(Ko,2,!0),new S0(Cp,3,!1),new S0(xs,3,!0)],mGe=[A_,Ko,A_,Ko,Cp,xs,Cp,xs],_Ge=[Ko,Ko,Ko,Ko,xs,xs,xs,xs],vGe=[xp,_u,A_,Ko,Cp,xs,Cp,xs],yGe=[_u,_u,Ko,Ko,xs,xs,xs,xs],bGe=[aS,aS,_u,_u,Ko,Ko,xs,xs],EGe=[A8,aS,xp,_u,xp,_u,xp,_u],Cr={DISPLAY:uc[A8],TEXT:uc[xp],SCRIPT:uc[A_],SCRIPTSCRIPT:uc[Cp]},k8=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function SGe(t){for(var e=0;e<k8.length;e++)for(var r=k8[e],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(t>=i[0]&&t<=i[1])return r.name}return null}var sS=[];k8.forEach(t=>t.blocks.forEach(e=>sS.push(...e)));function iee(t){for(var e=0;e<sS.length;e+=2)if(t>=sS[e]&&t<=sS[e+1])return!0;return!1}var wp=80,TGe=function(e,r){return"M95,"+(622+e+r)+`
669
+ `).length+1,offset:a.index+a[0].length}}),{}}};function $$e(t){if(t)return["color","extraJs","extraCss"].forEach(e=>{t[e]!=null&&(t[e]=z$e(t[e]))}),["duration","maxWidth","initialExpandLevel"].forEach(e=>{t[e]!=null&&(t[e]=G$e(t[e]))}),t}function z$e(t){let e;return typeof t=="string"?e=[t]:Array.isArray(t)&&(e=t.filter(r=>r&&typeof r=="string")),e!=null&&e.length?e:void 0}function G$e(t){if(!isNaN(+t))return+t}function T8(t,e){return e.type==="script"&&e.data.src?{...e,data:{...e.data,src:t.getFullUrl(e.data.src)}}:e}function q$e(t,e){return e.type==="stylesheet"&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}const ZJ="hljs",V$e=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map(t=>dR(t)),Y$e=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map(t=>Bj(t)),x8={name:ZJ,config:{versions:{hljs:"11.11.1"},preloadScripts:V$e,styles:Y$e},transform(t){var e,r,n;let i;const a=((r=(e=x8.config)==null?void 0:e.preloadScripts)==null?void 0:r.map(l=>T8(t.transformer.urlBuilder,l)))||[],s=()=>(i||(i=Pj(a)),i);let o=np;return t.parser.tap(l=>{l.set({highlight:(u,d)=>{o();const{hljs:h}=window;return h?h.highlightAuto(u,d?[d]:void 0).value:(s().then(()=>{t.retransform.call()}),u)}})}),t.beforeParse.tap((l,u)=>{o=()=>{u.features[ZJ]=!0}}),{styles:(n=x8.config)==null?void 0:n.styles}}};function H$e(t,e,r){return t.map(n=>{if(typeof n=="string"&&!n.includes("://")){n.startsWith("npm:")||(n=`npm:${n}`);const i=4+e.length;n.startsWith(`npm:${e}/`)&&(n=`${n.slice(0,i)}@${r}${n.slice(i)}`)}return n})}var W$e=["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"];const C8="katex",K$e=["katex@0.16.18/dist/katex.min.js"].map(t=>dR(t)),JJ=dR("webfontloader@1.6.28/webfontloader.js");JJ.data.defer=!0;const X$e=["katex@0.16.18/dist/katex.min.css"].map(t=>Bj(t)),Q$e={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:K$e,scripts:[{type:"iife",data:{fn:t=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{t().refreshHook.call()}}},getParams({getMarkmap:t}){return[t]}}},JJ],styles:X$e,resources:W$e};function j$e(t){return t.default||t}const Z$e=j$e(I$e),x_={name:C8,config:Q$e,transform(t){var e,r,n,i;let a;const s=((r=(e=x_.config)==null?void 0:e.preloadScripts)==null?void 0:r.map(d=>T8(t.transformer.urlBuilder,d)))||[],o=()=>(a||(a=Pj(s)),a),l=(d,h)=>{const{katex:f}=window;return f?f.renderToString(d,{displayMode:h,throwOnError:!1}):(o().then(()=>{t.retransform.call()}),d)};let u=np;return t.parser.tap(d=>{d.use(Z$e),["math_block","math_inline"].forEach(h=>{const f=(g,p)=>(u(),l(g[p].content,!!g[p].block));d.renderer.rules[h]=f})}),t.beforeParse.tap((d,h)=>{u=()=>{h.features[C8]=!0}}),t.afterParse.tap((d,h)=>{var f;const g=(f=h.frontmatter)==null?void 0:f.markmap;g&&["extraJs","extraCss"].forEach(p=>{var m,_;const v=g[p];v&&(g[p]=H$e(v,C8,((_=(m=x_.config)==null?void 0:m.versions)==null?void 0:_.katex)||""))})}),{styles:(n=x_.config)==null?void 0:n.styles,scripts:(i=x_.config)==null?void 0:i.scripts}}},J$e={name:"npmUrl",transform(t){return t.afterParse.tap((e,r)=>{const{frontmatter:n}=r,i=n==null?void 0:n.markmap;i&&["extraJs","extraCss"].forEach(a=>{const s=i[a];s&&(i[a]=s.map(o=>o.startsWith("npm:")?t.transformer.urlBuilder.getFullUrl(o.slice(4)):o))})}),{}}},eze={name:"sourceLines",transform(t){let e=0;return t.beforeParse.tap((r,n)=>{var i;e=((i=n.frontmatterInfo)==null?void 0:i.lines)||0}),t.parser.tap(r=>{r.renderer.renderAttrs=Rj(r.renderer.renderAttrs,(n,i)=>{if(i.block&&i.map){const a=i.map.map(s=>s+e);i.attrSet("data-lines",a.join(","))}return n(i)}),r.renderer.rules.fence&&(r.renderer.rules.fence=Rj(r.renderer.rules.fence,(n,i,a,...s)=>{let o=n(i,a,...s);const l=i[a];if(o.startsWith("<pre>")&&l.map){const u=l.map.map(d=>d+e);o=o.slice(0,4)+` data-lines="${u.join(",")}"`+o.slice(4)}return o}))}),{}}},tze=[U$e,x_,x8,J$e,F$e,eze];function eee(t){for(;!t.content&&t.children.length===1;)t=t.children[0];for(;t.children.length===1&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(eee)}}class rze{constructor(e=tze){this.assetsMap={},this.urlBuilder=new _Le,this.hooks=L$e(this),this.plugins=e.map(i=>typeof i=="function"?i():i);const r={};for(const{name:i,transform:a}of this.plugins)r[i]=a(this.hooks);this.assetsMap=r;const n=D$e();this.md=n,this.hooks.parser.call(n)}transform(e,r){var n;const i={content:e,features:{},parserOptions:r};this.hooks.beforeParse.call(this.md,i);let{content:a}=i;i.frontmatterInfo&&(a=a.slice(i.frontmatterInfo.offset));const s=this.md.render(a,{});this.hooks.afterParse.call(this.md,i);const o=eee(cUe(s,i.parserOptions));return o.content||(o.content=`${((n=i.frontmatter)==null?void 0:n.title)||""}`),{...i,root:o}}resolveJS(e){return T8(this.urlBuilder,e)}resolveCSS(e){return q$e(this.urlBuilder,e)}getAssets(e){const r=[],n=[];e??(e=this.plugins.map(i=>i.name));for(const i of e.map(a=>this.assetsMap[a]))i&&(i.styles&&r.push(...i.styles),i.scripts&&n.push(...i.scripts));return{styles:r.map(i=>this.resolveCSS(i)),scripts:n.map(i=>this.resolveJS(i))}}getUsedAssets(e){const r=this.plugins.map(n=>n.name).filter(n=>e[n]);return this.getAssets(r)}}const nze=Object.freeze(Object.defineProperty({__proto__:null,default:{__name:"mindmap",props:{value:{type:String,default:""},viewerClass:{type:String,default:""},viewerStyle:{type:Object,default:()=>({})}},setup(t){const e=t,r=new rze,n=q.ref(),i=q.ref(null),a=q.ref(),s=q.ref(!1);q.ref("image");const o=q.ref(!1),l=q.ref(!1);let u;const d=async _=>{if(u)try{const v=s.value;s.value=!1;const{root:y}=r.transform(_);await u.setData(y),u.fit(),v&&a.value&&a.value.mode&&a.value.mode==="code"&&(a.value.mode="image")}catch(v){console.error("Markmap render error:",v),s.value=!0,q.nextTick(()=>{a.value&&a.value.mode&&(a.value.mode="code")})}},h=()=>{u==null||u.fit()},f=()=>{u==null||u.rescale(1.25)},g=()=>{u==null||u.rescale(.8)},p=()=>{l.value=!l.value,s.value&&a.value&&a.value.mode&&(a.value.mode="code"),q.nextTick(()=>{h()})};q.watchEffect(()=>{d(e.value)});let m;return q.onMounted(()=>{try{s.value=!1,u=mR.create(n.value),d(e.value)}catch(_){console.error("Markmap initialization error:",_),s.value=!0,q.nextTick(()=>{a.value&&a.value.mode&&(a.value.mode="code")})}m=wj(i.value,()=>{o.value=!1})}),q.onUnmounted(()=>{m==null||m.destroy()}),(_,v)=>(q.openBlock(),q.createBlock(kj,{ref_key:"viewerRef",ref:a,value:t.value,hideImageTab:s.value,onRefresh:h,onZoomIn:f,onZoomOut:g,onFullscreen:p,viewerClass:t.viewerClass,viewerStyle:t.viewerStyle},{"image-content":q.withCtx(()=>[(q.openBlock(),q.createElementBlock("svg",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},ref_key:"svgRef",ref:n},null,512))]),_:1},8,["value","hideImageTab","viewerClass","viewerStyle"]))}}},Symbol.toStringTag,{value:"Module"})),ize={pending:"开始",running:"运行中",completed:""};function aze(t){if(!t||typeof t!="object")return!1;const e=t.type;return e==="search"?!1:e==="script"||e==="script_run"||!e&&("bash"in t||"output"in t)}function C_(t){return t&&typeof t=="object"&&t.type==="skill"}function sze(t){if(!t||typeof t!="object")return!1;const e=t.type;return e==="search"||e==="web_search"}function oze(t){const e=t==null?void 0:t.status;return e==="pending"||e==="running"||e==="completed"?e:"completed"}function lze(t){return ize[t]??""}function cze(t){return C_(t)&&t.intentData?t.intentData:null}function uze(t){return Array.isArray(t==null?void 0:t.tags)?t.tags:[]}function tee(t){return Array.isArray(t==null?void 0:t.sources)?t.sources:[]}function dze(t){const e=t;return typeof(e==null?void 0:e.sourceCount)=="number"?e.sourceCount:tee(t).length}function hze(t){return typeof t=="string"&&(t.startsWith("http")||t.startsWith("/"))}function ree(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function fze(t){const e=(String(t??"").match(/\n/g)||[]).length;return Array.from({length:e+1},(r,n)=>n)}function pze(t){const e=String(t??"");if(!e)return"";try{return gl.highlight(e,{language:"bash"}).value}catch{return ree(e)}}function gze(t){const e=(String(t??"").match(/\n/g)||[]).length;return Array.from({length:e+1},(r,n)=>n)}function mze(t){const e=String(t??"");if(!e)return"";let r;try{r=gl.highlight(e,{language:"plaintext"}).value}catch{r=ree(e)}return r.replace(/(https?:\/\/[^\s<]+|\/app\/data\/[^\s<]+)/g,'<a href="$&" target="_blank" rel="noopener" class="skill-run__link">$&</a>')}function _ze(t){g2(String(t??"")),ba.success(kn.global.t("hubx.bubble.copied"))}function vze(t){g2(String(t??"")),ba.success(kn.global.t("hubx.bubble.copied"))}function yze(){const t=q.ref(new Set);return{expandedKeys:t,toggleCollapsed:r=>{const n=new Set(t.value);n.has(r)?n.delete(r):n.add(r),t.value=n},isScriptItem:aze,isSkillItem:C_,isSearchItem:sze,getItemStatus:oze,getItemStatusLabel:lze,getSkillIntentData:cze,getSearchTags:uze,getSearchSources:tee,getSearchSourceCount:dze,isSourceIconUrl:hze,getBashLines:fze,getBashHtml:pze,getOutputLines:gze,getOutputHtml:mze,copyBash:_ze,copyOutput:vze}}const bze={class:"skill-run-group"},Eze={key:0,class:"skill-run__header skill-run__header--no-collapse"},Sze={class:"skill-run__header-left"},Tze={class:"skill-run__title"},xze={class:"skill-run__header-actions"},Cze={style:{color:"#999999"}},wze=["onClick"],Aze={class:"skill-run__header-left"},kze={class:"skill-run__title"},Nze={class:"skill-run__header-actions"},Rze={key:0,class:"skill-run__source-badge"},Oze={key:2,class:"skill-run__body"},Ize={class:"skill-run__panel"},Dze={class:"skill-run__panel-header"},Lze=["onClick"],Mze={class:"skill-run__panel-content"},Pze={class:"skill-run__lines"},Bze=["innerHTML"],Fze={class:"skill-run__panel"},Uze={class:"skill-run__panel-header"},$ze=["onClick"],zze={class:"skill-run__panel-content"},Gze={class:"skill-run__lines"},qze=["innerHTML"],Vze={key:0,class:"skill-run__info"},Yze={class:"skill-run__info-list"},Hze={key:0,class:"skill-run__tags"},Wze={class:"skill-run__panel"},Kze={class:"skill-run__sources-list"},Xze=["href"],Qze={key:0,class:"skill-run__source-icon"},jze=["src"],Zze={class:"skill-run__source-title"},Jze={key:1,class:"skill-run__source-link skill-run__source-link--plain"},eGe={key:0,class:"skill-run__source-icon"},tGe=["src"],rGe={class:"skill-run__source-title"},nGe={key:3,class:"skill-run__line"},iGe=Object.freeze(Object.defineProperty({__proto__:null,default:hs(q.defineComponent({__name:"skill-run",props:{items:{default:()=>[]},title:{default:""},bash:{default:""},output:{default:""}},setup(t){const e=t,r=q.computed(()=>{var k;return(k=e.items)!=null&&k.length?e.items:e.title||e.bash||e.output?[{type:"script",title:e.title,bash:e.bash,output:e.output}]:[]}),{expandedKeys:n,toggleCollapsed:i,isScriptItem:a,isSearchItem:s,getSkillIntentData:o,getBashLines:l,getOutputLines:u,getBashHtml:d,getOutputHtml:h,copyBash:f,copyOutput:g,getSearchTags:p,getSearchSources:m,getSearchSourceCount:_,isSourceIconUrl:v,getItemStatus:y,getItemStatusLabel:b}=yze(),E=q.ref(!1),S=()=>{E.value=!E.value},x=q.computed(()=>{if(!E.value)return r.value;const k=r.value;return k.length>0&&C_(k[0])?k.slice(1):k}),C=(k,R)=>C_(k)&&R===0&&!E.value;return(k,R)=>(q.openBlock(),q.createElementBlock("div",bze,[q.createElementVNode("div",{class:"skill-run-head",onClick:S},[q.createVNode(Yr,{size:"18px",name:"down",style:q.normalizeStyle({transform:E.value?"rotate(-90deg)":""})},null,8,["style"]),q.createTextVNode(" "+q.toDisplayString(E.value?`${r.value.length} 个步骤`:"隐藏步骤"),1)]),(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(x.value,(I,A)=>{var M,U,O,L,P,F,B,$,V,G,Y;return q.openBlock(),q.createElementBlock("div",{key:"sr-"+A,class:"skill-run"},[C(I,A)?(q.openBlock(),q.createElementBlock("div",Eze,[q.createElementVNode("span",Sze,[q.createVNode(Yr,{size:"16px",name:"terminal",class:"skill-run__skill-icon",color:"#1d1e1f"}),q.createElementVNode("h3",Tze,q.toDisplayString(I.title),1)]),q.createElementVNode("div",xze,[q.unref(b)(q.unref(y)(I))?(q.openBlock(),q.createElementBlock("span",{key:0,class:q.normalizeClass(["skill-run__status","skill-run__status--"+q.unref(y)(I)])},q.toDisplayString(q.unref(b)(q.unref(y)(I))),3)):q.createCommentVNode("",!0),q.createElementVNode("span",Cze,q.toDisplayString(I.skillName),1)])])):(q.openBlock(),q.createElementBlock("div",{key:1,class:"skill-run__header",onClick:Q=>q.unref(i)(A)},[q.createElementVNode("span",Aze,[q.createVNode(Yr,{size:"16px",name:"terminal",class:"skill-run__skill-icon",color:"#1d1e1f"}),q.createElementVNode("h3",kze,q.toDisplayString(I.title),1)]),q.createElementVNode("div",Nze,[q.unref(s)(I)?(q.openBlock(),q.createElementBlock("span",Rze,q.toDisplayString(q.unref(_)(I))+"个来源 ",1)):q.createCommentVNode("",!0),q.unref(b)(q.unref(y)(I))?(q.openBlock(),q.createElementBlock("span",{key:1,class:q.normalizeClass(["skill-run__status","skill-run__status--"+q.unref(y)(I)])},q.toDisplayString(q.unref(b)(q.unref(y)(I))),3)):q.createCommentVNode("",!0),q.createElementVNode("span",{class:q.normalizeClass(["skill-run__chevron",{"skill-run__chevron--collapsed":q.unref(n).has(A)}])},[q.createVNode(Yr,{size:"18px",name:"down"})],2)])],8,wze)),C(I,A)?q.createCommentVNode("",!0):q.withDirectives((q.openBlock(),q.createElementBlock("div",Oze,[q.unref(a)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:0},[q.createElementVNode("div",Ize,[q.createElementVNode("div",Dze,[R[0]||(R[0]=q.createElementVNode("span",{class:"skill-run__panel-label"},"Bash",-1)),q.createVNode(fi,{content:q.unref(kn).global.t("hubx.bubble.copy"),placement:"top",trigger:"hover"},{default:q.withCtx(()=>[q.createElementVNode("i",{class:"skill-run__icon",onClick:Q=>q.unref(f)(I.bash)},[q.createVNode(Yr,{size:"16px",name:"copy"})],8,Lze)]),_:2},1032,["content"])]),q.createElementVNode("div",Mze,[q.createElementVNode("div",Pze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(l)(I.bash),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"bash-"+Z,class:"skill-run__line-num"},q.toDisplayString(Z+1),1))),128))]),q.createElementVNode("pre",{class:"skill-run__code-pre hljs",innerHTML:q.unref(d)(I.bash)},null,8,Bze)])]),q.createElementVNode("div",Fze,[q.createElementVNode("div",Uze,[R[1]||(R[1]=q.createElementVNode("span",{class:"skill-run__panel-label"},"Output",-1)),q.createVNode(fi,{content:q.unref(kn).global.t("hubx.bubble.copy"),placement:"top",trigger:"hover"},{default:q.withCtx(()=>[q.createElementVNode("i",{class:"skill-run__icon",onClick:Q=>q.unref(g)(I.output)},[q.createVNode(Yr,{size:"16px",name:"copy"})],8,$ze)]),_:2},1032,["content"])]),q.createElementVNode("div",zze,[q.createElementVNode("div",Gze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(u)(I.output),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"out-"+Z,class:"skill-run__line-num"},q.toDisplayString(Z+1),1))),128))]),q.createElementVNode("pre",{class:"skill-run__output-pre hljs",innerHTML:q.unref(h)(I.output)},null,8,qze)])])],64)):q.unref(C_)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:1},[q.unref(o)(I)?(q.openBlock(),q.createElementBlock("div",Vze,[R[7]||(R[7]=q.createElementVNode("div",{class:"skill-run__info-title"},"信息展示",-1)),q.createElementVNode("dl",Yze,[(M=q.unref(o)(I))!=null&&M.intent?(q.openBlock(),q.createElementBlock(q.Fragment,{key:0},[R[2]||(R[2]=q.createElementVNode("dt",null,"意图",-1)),q.createElementVNode("dd",null,q.toDisplayString((U=q.unref(o)(I))==null?void 0:U.intent),1)],64)):q.createCommentVNode("",!0),(O=q.unref(o)(I))!=null&&O.skill_name?(q.openBlock(),q.createElementBlock(q.Fragment,{key:1},[R[3]||(R[3]=q.createElementVNode("dt",null,"技能",-1)),q.createElementVNode("dd",null,q.toDisplayString((L=q.unref(o)(I))==null?void 0:L.skill_name),1)],64)):q.createCommentVNode("",!0),((P=q.unref(o)(I))==null?void 0:P.confidence)!=null?(q.openBlock(),q.createElementBlock(q.Fragment,{key:2},[R[4]||(R[4]=q.createElementVNode("dt",null,"置信度",-1)),q.createElementVNode("dd",null,q.toDisplayString((F=q.unref(o)(I))==null?void 0:F.confidence),1)],64)):q.createCommentVNode("",!0),(B=q.unref(o)(I))!=null&&B.reasoning?(q.openBlock(),q.createElementBlock(q.Fragment,{key:3},[R[5]||(R[5]=q.createElementVNode("dt",null,"推理",-1)),q.createElementVNode("dd",null,q.toDisplayString(($=q.unref(o)(I))==null?void 0:$.reasoning),1)],64)):q.createCommentVNode("",!0),(G=(V=q.unref(o)(I))==null?void 0:V.keywords)!=null&&G.length?(q.openBlock(),q.createElementBlock(q.Fragment,{key:4},[R[6]||(R[6]=q.createElementVNode("dt",null,"关键词",-1)),q.createElementVNode("dd",null,q.toDisplayString(((Y=q.unref(o)(I))==null?void 0:Y.keywords).join("、")),1)],64)):q.createCommentVNode("",!0)])])):q.createCommentVNode("",!0)],64)):q.unref(s)(I)?(q.openBlock(),q.createElementBlock(q.Fragment,{key:2},[q.unref(p)(I).length?(q.openBlock(),q.createElementBlock("div",Hze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(p)(I),(Q,Z)=>(q.openBlock(),q.createElementBlock("span",{key:"tag-"+Z,class:"skill-run__tag"},q.toDisplayString(Q),1))),128))])):q.createCommentVNode("",!0),q.createElementVNode("div",Wze,[R[8]||(R[8]=q.createElementVNode("div",{class:"skill-run__panel-header"},[q.createElementVNode("span",{class:"skill-run__panel-label"},"来源")],-1)),q.createElementVNode("ul",Kze,[(q.openBlock(!0),q.createElementBlock(q.Fragment,null,q.renderList(q.unref(m)(I),(Q,Z)=>(q.openBlock(),q.createElementBlock("li",{key:"src-"+Z,class:"skill-run__source-item"},[Q.url?(q.openBlock(),q.createElementBlock("a",{key:0,href:Q.url,target:"_blank",rel:"noopener",class:"skill-run__source-link"},[Q.icon?(q.openBlock(),q.createElementBlock("span",Qze,[q.unref(v)(Q.icon)?(q.openBlock(),q.createElementBlock("img",{key:0,src:Q.icon,alt:""},null,8,jze)):(q.openBlock(),q.createBlock(Yr,{key:1,size:"16px",name:Q.icon},null,8,["name"]))])):q.createCommentVNode("",!0),q.createElementVNode("span",Zze,q.toDisplayString(Q.title),1)],8,Xze)):(q.openBlock(),q.createElementBlock("div",Jze,[Q.icon?(q.openBlock(),q.createElementBlock("span",eGe,[q.unref(v)(Q.icon)?(q.openBlock(),q.createElementBlock("img",{key:0,src:Q.icon,alt:""},null,8,tGe)):(q.openBlock(),q.createBlock(Yr,{key:1,size:"16px",name:Q.icon},null,8,["name"]))])):q.createCommentVNode("",!0),q.createElementVNode("span",rGe,q.toDisplayString(Q.title),1)]))]))),128))])])],64)):q.createCommentVNode("",!0)],512)),[[q.vShow,q.unref(n).has(A)]]),A<x.value.length-1?(q.openBlock(),q.createElementBlock("div",nGe)):q.createCommentVNode("",!0)])}),128))]))}}),[["__scopeId","data-v-f040dacd"]])},Symbol.toStringTag,{value:"Module"}));class _o{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new _o(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Wo{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new Wo(r,_o.range(this,e))}}class zt{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),u;i>15?u="…"+o.slice(i-15,i):u=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=u+l+d}var h=new Error(n);return h.name="ParseError",h.__proto__=zt.prototype,h.position=i,i!=null&&a!=null&&(h.length=a-i),h.rawMessage=e,h}}zt.prototype.__proto__=Error.prototype;var aGe=function(e,r){return e.indexOf(r)!==-1},sGe=function(e,r){return e===void 0?r:e},oGe=/([A-Z])/g,lGe=function(e){return e.replace(oGe,"-$1").toLowerCase()},cGe={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},uGe=/[&><"']/g;function dGe(t){return String(t).replace(uGe,e=>cGe[e])}var nee=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},hGe=function(e){var r=nee(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},fGe=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},pGe=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},br={contains:aGe,deflt:sGe,escape:dGe,hyphenate:lGe,getBaseElem:nee,isCharacterBox:hGe,protocolFromUrl:pGe},w_={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function gGe(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class w8{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in w_)if(w_.hasOwnProperty(r)){var n=w_[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:gGe(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new zt("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=br.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class S0{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return uc[mGe[this.id]]}sub(){return uc[_Ge[this.id]]}fracNum(){return uc[vGe[this.id]]}fracDen(){return uc[yGe[this.id]]}cramp(){return uc[bGe[this.id]]}text(){return uc[EGe[this.id]]}isTight(){return this.size>=2}}var A8=0,aS=1,xp=2,_u=3,A_=4,Ko=5,Cp=6,xs=7,uc=[new S0(A8,0,!1),new S0(aS,0,!0),new S0(xp,1,!1),new S0(_u,1,!0),new S0(A_,2,!1),new S0(Ko,2,!0),new S0(Cp,3,!1),new S0(xs,3,!0)],mGe=[A_,Ko,A_,Ko,Cp,xs,Cp,xs],_Ge=[Ko,Ko,Ko,Ko,xs,xs,xs,xs],vGe=[xp,_u,A_,Ko,Cp,xs,Cp,xs],yGe=[_u,_u,Ko,Ko,xs,xs,xs,xs],bGe=[aS,aS,_u,_u,Ko,Ko,xs,xs],EGe=[A8,aS,xp,_u,xp,_u,xp,_u],Cr={DISPLAY:uc[A8],TEXT:uc[xp],SCRIPT:uc[A_],SCRIPTSCRIPT:uc[Cp]},k8=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function SGe(t){for(var e=0;e<k8.length;e++)for(var r=k8[e],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(t>=i[0]&&t<=i[1])return r.name}return null}var sS=[];k8.forEach(t=>t.blocks.forEach(e=>sS.push(...e)));function iee(t){for(var e=0;e<sS.length;e+=2)if(t>=sS[e]&&t<=sS[e+1])return!0;return!1}var wp=80,TGe=function(e,r){return"M95,"+(622+e+r)+`
670
670
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
671
671
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
672
672
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -61896,7 +61896,7 @@ class Cv {
61896
61896
  }, 1e3);
61897
61897
  }
61898
61898
  }
61899
- const Rv = Lr(() => import("./code-BeskrYp_.js")), Nv = Lr(() => import("./mermaid-SgiuJf0M.js").then((t) => t.bi)), vv = Lr(() => import("./mindmap-BKXvjAyi.js")), Ov = Lr(() => import("./skill-run-CgC-N8a7.js")), $t = new ht({
61899
+ const Rv = Lr(() => import("./code-Bg2N3lY5.js")), Nv = Lr(() => import("./mermaid-sunvgd5F.js").then((t) => t.bi)), vv = Lr(() => import("./mindmap-5U3NYC4S.js")), Ov = Lr(() => import("./skill-run-CCbq4OOK.js")), $t = new ht({
61900
61900
  html: !0,
61901
61901
  breaks: !0,
61902
61902
  linkify: !0,
@@ -0,0 +1,5 @@
1
+ import { I as r, c as a } from "./mermaid-parser.core-DC-OijI-.js";
2
+ export {
3
+ r as InfoModule,
4
+ a as createInfoServices
5
+ };
@@ -1,5 +1,5 @@
1
- import { _ as e, l as s, G as o, d as i, H as g } from "./mermaid-SgiuJf0M.js";
2
- import { p as d } from "./mermaid-parser.core-wXUZR2CR.js";
1
+ import { _ as e, l as s, G as o, d as i, H as g } from "./mermaid-sunvgd5F.js";
2
+ import { p as d } from "./mermaid-parser.core-DC-OijI-.js";
3
3
  var p = {
4
4
  parse: /* @__PURE__ */ e(async (r) => {
5
5
  const a = await d("info", r);
@@ -1,7 +1,7 @@
1
- import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-BU-bur38.js";
2
- import { _ as i, g as xt, s as kt, a as _t, b as vt, p as bt, o as wt, c as A, d as Tt, x as St } from "./mermaid-SgiuJf0M.js";
3
- import { s as W } from "./viewer-CpHuxLh7.js";
4
- import { d as tt } from "./arc-CbEpwggX.js";
1
+ import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-DRUKzNVA.js";
2
+ import { _ as i, g as xt, s as kt, a as _t, b as vt, p as bt, o as wt, c as A, d as Tt, x as St } from "./mermaid-sunvgd5F.js";
3
+ import { s as W } from "./viewer-XC1IvZi6.js";
4
+ import { d as tt } from "./arc-D_ZQ0ZI9.js";
5
5
  var H = function() {
6
6
  var t = /* @__PURE__ */ i(function(g, r, a, l) {
7
7
  for (a = a || {}, l = g.length; l--; a[g[l]] = r) ;
@@ -1,4 +1,4 @@
1
- import { _ as c, l as te, c as W, G as fe, ab as ye, ac as be, ad as me, T as Ee, E as Y, h as F, q as _e, J as ke, U as Se, V as le, W as ce } from "./mermaid-SgiuJf0M.js";
1
+ import { _ as c, l as te, c as W, G as fe, ab as ye, ac as be, ad as me, T as Ee, E as Y, h as F, q as _e, J as ke, U as Se, V as le, W as ce } from "./mermaid-sunvgd5F.js";
2
2
  var $ = function() {
3
3
  var t = /* @__PURE__ */ c(function(E, s, n, a) {
4
4
  for (n = n || {}, a = E.length; a--; n[E[a]] = s) ;
@@ -1,7 +1,7 @@
1
- import { G as g } from "./graph-CnL2qMNv.js";
2
- import { b as Te, p as ce, q as le, g as z, e as ee, l as j, o as Ie, s as Me, c as Se, u as Fe, d as f, i as m, f as _, v as x, r as M } from "./_baseUniq-jM4H-QiO.js";
3
- import { f as O, b as he, a as je, c as Ve, d as Ae, t as V, m as w, e as P, h as ve, g as U, l as T, i as Be } from "./_basePickBy-Cd8pmkpL.js";
4
- import { aP as Ge, aQ as Ye, aR as De, aH as qe, aS as $e, aL as pe, aK as we, aT as We, aG as q, aw as ze, aN as Ue, ay as Xe, aU as $ } from "./mermaid-SgiuJf0M.js";
1
+ import { G as g } from "./graph-CZik35ML.js";
2
+ import { b as Te, p as ce, q as le, g as z, e as ee, l as j, o as Ie, s as Me, c as Se, u as Fe, d as f, i as m, f as _, v as x, r as M } from "./_baseUniq-C1Nx8j-D.js";
3
+ import { f as O, b as he, a as je, c as Ve, d as Ae, t as V, m as w, e as P, h as ve, g as U, l as T, i as Be } from "./_basePickBy-DbZi5TTv.js";
4
+ import { aP as Ge, aQ as Ye, aR as De, aH as qe, aS as $e, aL as pe, aK as we, aT as We, aG as q, aw as ze, aN as Ue, ay as Xe, aU as $ } from "./mermaid-sunvgd5F.js";
5
5
  function He(e) {
6
6
  return Ge(Ye(e, void 0, O), e + "");
7
7
  }
@@ -1,4 +1,4 @@
1
- import { b as un, i as I, f as U, g as fn, j as Y } from "./viewer-CpHuxLh7.js";
1
+ import { b as un, i as I, f as U, g as fn, j as Y } from "./viewer-XC1IvZi6.js";
2
2
  import { i as cn } from "./init-DjUOC4st.js";
3
3
  function F(n, t) {
4
4
  return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
@@ -1,10 +1,10 @@
1
1
  var au = Object.defineProperty;
2
2
  var ou = (n, e, t) => e in n ? au(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Qe = (n, e, t) => ou(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { bg as lu, bh as cu, aJ as gl, b0 as uu, aN as du, aK as te, aw as fu, ax as la, aS as hu, aV as yl, aW as Tl, aT as pu, b5 as ca, az as Tt, aA as D, aL as ua, aF as mu } from "./mermaid-SgiuJf0M.js";
5
- import { k as Ht, j as _s, g as Qt, S as gu, w as yu, x as Tu, c as Rl, v as z, y as vl, l as Ru, z as vu, A as Au, B as Eu, C as ku, a as Al, d as $, i as qe, r as oe, f as xe, D as Y } from "./_baseUniq-jM4H-QiO.js";
6
- import { j as Ls, m as S, d as xu, f as Ne, g as jt, h as N, i as Os, l as zt, e as Su } from "./_basePickBy-Cd8pmkpL.js";
7
- import { c as re } from "./clone-0EGXwyBJ.js";
4
+ import { bg as lu, bh as cu, aJ as gl, b0 as uu, aN as du, aK as te, aw as fu, ax as la, aS as hu, aV as yl, aW as Tl, aT as pu, b5 as ca, az as Tt, aA as D, aL as ua, aF as mu } from "./mermaid-sunvgd5F.js";
5
+ import { k as Ht, j as _s, g as Qt, S as gu, w as yu, x as Tu, c as Rl, v as z, y as vl, l as Ru, z as vu, A as Au, B as Eu, C as ku, a as Al, d as $, i as qe, r as oe, f as xe, D as Y } from "./_baseUniq-C1Nx8j-D.js";
6
+ import { j as Ls, m as S, d as xu, f as Ne, g as jt, h as N, i as Os, l as zt, e as Su } from "./_basePickBy-DbZi5TTv.js";
7
+ import { c as re } from "./clone-BoY8qj0q.js";
8
8
  var Iu = Object.prototype, Cu = Iu.hasOwnProperty, ke = lu(function(n, e) {
9
9
  if (cu(e) || gl(e)) {
10
10
  uu(e, Ht(e), n);
@@ -12775,27 +12775,27 @@ function ly(n = kt) {
12775
12775
  k(ly, "createRadarServices");
12776
12776
  var Ze = {}, cy = {
12777
12777
  info: /* @__PURE__ */ k(async () => {
12778
- const { createInfoServices: n } = await import("./info-4N47QTOZ-DBMT-mWE.js"), e = n().Info.parser.LangiumParser;
12778
+ const { createInfoServices: n } = await import("./info-4N47QTOZ-DAqiKEnS.js"), e = n().Info.parser.LangiumParser;
12779
12779
  Ze.info = e;
12780
12780
  }, "info"),
12781
12781
  packet: /* @__PURE__ */ k(async () => {
12782
- const { createPacketServices: n } = await import("./packet-KVYON367-BImg7vQg.js"), e = n().Packet.parser.LangiumParser;
12782
+ const { createPacketServices: n } = await import("./packet-KVYON367-C8-dGba4.js"), e = n().Packet.parser.LangiumParser;
12783
12783
  Ze.packet = e;
12784
12784
  }, "packet"),
12785
12785
  pie: /* @__PURE__ */ k(async () => {
12786
- const { createPieServices: n } = await import("./pie-R6RNRRYF-D1dBiAKM.js"), e = n().Pie.parser.LangiumParser;
12786
+ const { createPieServices: n } = await import("./pie-R6RNRRYF-ConENb0Z.js"), e = n().Pie.parser.LangiumParser;
12787
12787
  Ze.pie = e;
12788
12788
  }, "pie"),
12789
12789
  architecture: /* @__PURE__ */ k(async () => {
12790
- const { createArchitectureServices: n } = await import("./architecture-4AB2E3PP-CH0Y1_wg.js"), e = n().Architecture.parser.LangiumParser;
12790
+ const { createArchitectureServices: n } = await import("./architecture-4AB2E3PP-DYrqHzNd.js"), e = n().Architecture.parser.LangiumParser;
12791
12791
  Ze.architecture = e;
12792
12792
  }, "architecture"),
12793
12793
  gitGraph: /* @__PURE__ */ k(async () => {
12794
- const { createGitGraphServices: n } = await import("./gitGraph-O2Q2CXLX-Cxl_MflF.js"), e = n().GitGraph.parser.LangiumParser;
12794
+ const { createGitGraphServices: n } = await import("./gitGraph-O2Q2CXLX-Br3-fAUu.js"), e = n().GitGraph.parser.LangiumParser;
12795
12795
  Ze.gitGraph = e;
12796
12796
  }, "gitGraph"),
12797
12797
  radar: /* @__PURE__ */ k(async () => {
12798
- const { createRadarServices: n } = await import("./radar-MK3ICKWK-ehVVa6rv.js"), e = n().Radar.parser.LangiumParser;
12798
+ const { createRadarServices: n } = await import("./radar-MK3ICKWK-B_Ag7OTE.js"), e = n().Radar.parser.LangiumParser;
12799
12799
  Ze.radar = e;
12800
12800
  }, "radar")
12801
12801
  };
@@ -2,8 +2,8 @@ var hg = Object.defineProperty;
2
2
  var ug = (e, t, r) => t in e ? hg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var dt = (e, t, r) => ug(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { ref as Ri, watchEffect as zo, onUnmounted as pg, createBlock as fg, openBlock as dg, withCtx as gg, createElementVNode as mg, normalizeClass as yg, nextTick as Wo } from "vue";
5
- import { g as dc, _ as xg, s as qo, i as Ho } from "./index-DkV4GiJc.js";
6
- import { w as bg, a as Cg, c as pr, x as vg, y as wg, u as gc, l as mc, s as ct, V as kg } from "./viewer-CpHuxLh7.js";
5
+ import { g as dc, _ as xg, s as qo, i as Ho } from "./index-LxQhWGIn.js";
6
+ import { w as bg, a as Cg, c as pr, x as vg, y as wg, u as gc, l as mc, s as ct, V as kg } from "./viewer-XC1IvZi6.js";
7
7
  var Ui = { exports: {} }, Sg = Ui.exports, jo;
8
8
  function _g() {
9
9
  return jo || (jo = 1, function(e, t) {
@@ -12332,7 +12332,7 @@ var Zl = /* @__PURE__ */ d(function(e, t, r) {
12332
12332
  ld([
12333
12333
  {
12334
12334
  name: "dagre",
12335
- loader: /* @__PURE__ */ d(async () => await import("./dagre-OKDRZEBW-B46r3qVJ.js"), "loader")
12335
+ loader: /* @__PURE__ */ d(async () => await import("./dagre-OKDRZEBW-47JI8tuW.js"), "loader")
12336
12336
  }
12337
12337
  ]);
12338
12338
  }, "registerDefaultLayoutLoaders");
@@ -12827,7 +12827,7 @@ function ic(e) {
12827
12827
  return !0;
12828
12828
  }
12829
12829
  var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), dv = /* @__PURE__ */ d(async () => {
12830
- const { diagram: e } = await import("./c4Diagram-VJAJSXHY-DT4wM3lR.js");
12830
+ const { diagram: e } = await import("./c4Diagram-VJAJSXHY-B1jvI5Sl.js");
12831
12831
  return { id: gd, diagram: e };
12832
12832
  }, "loader"), gv = {
12833
12833
  id: gd,
@@ -12837,7 +12837,7 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12837
12837
  var r, i;
12838
12838
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" || ((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(e);
12839
12839
  }, "detector"), xv = /* @__PURE__ */ d(async () => {
12840
- const { diagram: e } = await import("./flowDiagram-4HSFHLVR-ZBKXLb5y.js");
12840
+ const { diagram: e } = await import("./flowDiagram-4HSFHLVR-DMAXCbaf.js");
12841
12841
  return { id: md, diagram: e };
12842
12842
  }, "loader"), bv = {
12843
12843
  id: md,
@@ -12847,70 +12847,70 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12847
12847
  var r, i, a;
12848
12848
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-d3" ? !1 : (((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && ((a = t == null ? void 0 : t.flowchart) == null ? void 0 : a.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e));
12849
12849
  }, "detector"), wv = /* @__PURE__ */ d(async () => {
12850
- const { diagram: e } = await import("./flowDiagram-4HSFHLVR-ZBKXLb5y.js");
12850
+ const { diagram: e } = await import("./flowDiagram-4HSFHLVR-DMAXCbaf.js");
12851
12851
  return { id: yd, diagram: e };
12852
12852
  }, "loader"), kv = {
12853
12853
  id: yd,
12854
12854
  detector: vv,
12855
12855
  loader: wv
12856
12856
  }, Sv = kv, xd = "er", _v = /* @__PURE__ */ d((e) => /^\s*erDiagram/.test(e), "detector"), Tv = /* @__PURE__ */ d(async () => {
12857
- const { diagram: e } = await import("./erDiagram-Q7BY3M3F-2rsqIdrQ.js");
12857
+ const { diagram: e } = await import("./erDiagram-Q7BY3M3F-B6a61ssC.js");
12858
12858
  return { id: xd, diagram: e };
12859
12859
  }, "loader"), Bv = {
12860
12860
  id: xd,
12861
12861
  detector: _v,
12862
12862
  loader: Tv
12863
12863
  }, Lv = Bv, bd = "gitGraph", Mv = /* @__PURE__ */ d((e) => /^\s*gitGraph/.test(e), "detector"), Av = /* @__PURE__ */ d(async () => {
12864
- const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-DhJVRqKN.js");
12864
+ const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-BenCVItS.js");
12865
12865
  return { id: bd, diagram: e };
12866
12866
  }, "loader"), Ev = {
12867
12867
  id: bd,
12868
12868
  detector: Mv,
12869
12869
  loader: Av
12870
12870
  }, Fv = Ev, Cd = "gantt", Dv = /* @__PURE__ */ d((e) => /^\s*gantt/.test(e), "detector"), Ov = /* @__PURE__ */ d(async () => {
12871
- const { diagram: e } = await import("./ganttDiagram-APWFNJXF-B8mKRa37.js");
12871
+ const { diagram: e } = await import("./ganttDiagram-APWFNJXF-CpGkNSIV.js");
12872
12872
  return { id: Cd, diagram: e };
12873
12873
  }, "loader"), $v = {
12874
12874
  id: Cd,
12875
12875
  detector: Dv,
12876
12876
  loader: Ov
12877
12877
  }, Rv = $v, vd = "info", Iv = /* @__PURE__ */ d((e) => /^\s*info/.test(e), "detector"), Pv = /* @__PURE__ */ d(async () => {
12878
- const { diagram: e } = await import("./infoDiagram-PH2N3AL5-CrGaz4cg.js");
12878
+ const { diagram: e } = await import("./infoDiagram-PH2N3AL5-BtHlejXl.js");
12879
12879
  return { id: vd, diagram: e };
12880
12880
  }, "loader"), Nv = {
12881
12881
  id: vd,
12882
12882
  detector: Iv,
12883
12883
  loader: Pv
12884
12884
  }, wd = "pie", zv = /* @__PURE__ */ d((e) => /^\s*pie/.test(e), "detector"), Wv = /* @__PURE__ */ d(async () => {
12885
- const { diagram: e } = await import("./pieDiagram-IB7DONF6-0fM6uFGq.js");
12885
+ const { diagram: e } = await import("./pieDiagram-IB7DONF6-orAYwiIS.js");
12886
12886
  return { id: wd, diagram: e };
12887
12887
  }, "loader"), qv = {
12888
12888
  id: wd,
12889
12889
  detector: zv,
12890
12890
  loader: Wv
12891
12891
  }, kd = "quadrantChart", Hv = /* @__PURE__ */ d((e) => /^\s*quadrantChart/.test(e), "detector"), jv = /* @__PURE__ */ d(async () => {
12892
- const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-VIKui5Fd.js");
12892
+ const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-BIYc1-XC.js");
12893
12893
  return { id: kd, diagram: e };
12894
12894
  }, "loader"), Uv = {
12895
12895
  id: kd,
12896
12896
  detector: Hv,
12897
12897
  loader: jv
12898
12898
  }, Yv = Uv, Sd = "xychart", Gv = /* @__PURE__ */ d((e) => /^\s*xychart-beta/.test(e), "detector"), Zv = /* @__PURE__ */ d(async () => {
12899
- const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-Fz5_Z5Wf.js");
12899
+ const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-1SSmGNQK.js");
12900
12900
  return { id: Sd, diagram: e };
12901
12901
  }, "loader"), Vv = {
12902
12902
  id: Sd,
12903
12903
  detector: Gv,
12904
12904
  loader: Zv
12905
12905
  }, Xv = Vv, _d = "requirement", Kv = /* @__PURE__ */ d((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), Qv = /* @__PURE__ */ d(async () => {
12906
- const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-BFz3vc6s.js");
12906
+ const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-CBmmYe93.js");
12907
12907
  return { id: _d, diagram: e };
12908
12908
  }, "loader"), Jv = {
12909
12909
  id: _d,
12910
12910
  detector: Kv,
12911
12911
  loader: Qv
12912
12912
  }, tw = Jv, Td = "sequence", ew = /* @__PURE__ */ d((e) => /^\s*sequenceDiagram/.test(e), "detector"), rw = /* @__PURE__ */ d(async () => {
12913
- const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-DHTe4P-e.js");
12913
+ const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-ZkWOgUVw.js");
12914
12914
  return { id: Td, diagram: e };
12915
12915
  }, "loader"), iw = {
12916
12916
  id: Td,
@@ -12920,7 +12920,7 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12920
12920
  var r;
12921
12921
  return ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e);
12922
12922
  }, "detector"), sw = /* @__PURE__ */ d(async () => {
12923
- const { diagram: e } = await import("./classDiagram-GIVACNV2-Cr1wE1-e.js");
12923
+ const { diagram: e } = await import("./classDiagram-GIVACNV2-CkNlZyNM.js");
12924
12924
  return { id: Bd, diagram: e };
12925
12925
  }, "loader"), ow = {
12926
12926
  id: Bd,
@@ -12930,7 +12930,7 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12930
12930
  var r;
12931
12931
  return /^\s*classDiagram/.test(e) && ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e);
12932
12932
  }, "detector"), hw = /* @__PURE__ */ d(async () => {
12933
- const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-Cr1wE1-e.js");
12933
+ const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-CkNlZyNM.js");
12934
12934
  return { id: Ld, diagram: e };
12935
12935
  }, "loader"), uw = {
12936
12936
  id: Ld,
@@ -12940,7 +12940,7 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12940
12940
  var r;
12941
12941
  return ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e);
12942
12942
  }, "detector"), dw = /* @__PURE__ */ d(async () => {
12943
- const { diagram: e } = await import("./stateDiagram-DGXRK772-Bh240otV.js");
12943
+ const { diagram: e } = await import("./stateDiagram-DGXRK772-D1bGT6Op.js");
12944
12944
  return { id: Md, diagram: e };
12945
12945
  }, "loader"), gw = {
12946
12946
  id: Md,
@@ -12950,14 +12950,14 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
12950
12950
  var r;
12951
12951
  return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
12952
12952
  }, "detector"), xw = /* @__PURE__ */ d(async () => {
12953
- const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-CEFxiK7y.js");
12953
+ const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-DG79SYNH.js");
12954
12954
  return { id: Ad, diagram: e };
12955
12955
  }, "loader"), bw = {
12956
12956
  id: Ad,
12957
12957
  detector: yw,
12958
12958
  loader: xw
12959
12959
  }, Cw = bw, Ed = "journey", vw = /* @__PURE__ */ d((e) => /^\s*journey/.test(e), "detector"), ww = /* @__PURE__ */ d(async () => {
12960
- const { diagram: e } = await import("./journeyDiagram-U35MCT3I-M7HFq-6y.js");
12960
+ const { diagram: e } = await import("./journeyDiagram-U35MCT3I-CZkxQLQV.js");
12961
12961
  return { id: Ed, diagram: e };
12962
12962
  }, "loader"), kw = {
12963
12963
  id: Ed,
@@ -13001,63 +13001,63 @@ var gd = "c4", fv = /* @__PURE__ */ d((e) => /^\s*C4Context|C4Container|C4Compon
13001
13001
  /^\s*flowchart|graph/.test(e) && ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? (t.layout = "elk", !0) : !1
13002
13002
  );
13003
13003
  }, "detector"), Aw = /* @__PURE__ */ d(async () => {
13004
- const { diagram: e } = await import("./flowDiagram-4HSFHLVR-ZBKXLb5y.js");
13004
+ const { diagram: e } = await import("./flowDiagram-4HSFHLVR-DMAXCbaf.js");
13005
13005
  return { id: Dd, diagram: e };
13006
13006
  }, "loader"), Ew = {
13007
13007
  id: Dd,
13008
13008
  detector: Mw,
13009
13009
  loader: Aw
13010
13010
  }, Fw = Ew, Od = "timeline", Dw = /* @__PURE__ */ d((e) => /^\s*timeline/.test(e), "detector"), Ow = /* @__PURE__ */ d(async () => {
13011
- const { diagram: e } = await import("./timeline-definition-BDJGKUSR-C5tWWAL5.js");
13011
+ const { diagram: e } = await import("./timeline-definition-BDJGKUSR-CJPecjgb.js");
13012
13012
  return { id: Od, diagram: e };
13013
13013
  }, "loader"), $w = {
13014
13014
  id: Od,
13015
13015
  detector: Dw,
13016
13016
  loader: Ow
13017
13017
  }, Rw = $w, $d = "mindmap", Iw = /* @__PURE__ */ d((e) => /^\s*mindmap/.test(e), "detector"), Pw = /* @__PURE__ */ d(async () => {
13018
- const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-D08t1Dpr.js");
13018
+ const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-CflPvx4V.js");
13019
13019
  return { id: $d, diagram: e };
13020
13020
  }, "loader"), Nw = {
13021
13021
  id: $d,
13022
13022
  detector: Iw,
13023
13023
  loader: Pw
13024
13024
  }, zw = Nw, Rd = "kanban", Ww = /* @__PURE__ */ d((e) => /^\s*kanban/.test(e), "detector"), qw = /* @__PURE__ */ d(async () => {
13025
- const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-DLcNHNlO.js");
13025
+ const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-_z_wa9_x.js");
13026
13026
  return { id: Rd, diagram: e };
13027
13027
  }, "loader"), Hw = {
13028
13028
  id: Rd,
13029
13029
  detector: Ww,
13030
13030
  loader: qw
13031
13031
  }, jw = Hw, Id = "sankey", Uw = /* @__PURE__ */ d((e) => /^\s*sankey-beta/.test(e), "detector"), Yw = /* @__PURE__ */ d(async () => {
13032
- const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-uDnEQusO.js");
13032
+ const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-CX3rxhEE.js");
13033
13033
  return { id: Id, diagram: e };
13034
13034
  }, "loader"), Gw = {
13035
13035
  id: Id,
13036
13036
  detector: Uw,
13037
13037
  loader: Yw
13038
13038
  }, Zw = Gw, Pd = "packet", Vw = /* @__PURE__ */ d((e) => /^\s*packet-beta/.test(e), "detector"), Xw = /* @__PURE__ */ d(async () => {
13039
- const { diagram: e } = await import("./diagram-VNBRO52H-CGud_2Go.js");
13039
+ const { diagram: e } = await import("./diagram-VNBRO52H-CPxZQ4fP.js");
13040
13040
  return { id: Pd, diagram: e };
13041
13041
  }, "loader"), Kw = {
13042
13042
  id: Pd,
13043
13043
  detector: Vw,
13044
13044
  loader: Xw
13045
13045
  }, Nd = "radar", Qw = /* @__PURE__ */ d((e) => /^\s*radar-beta/.test(e), "detector"), Jw = /* @__PURE__ */ d(async () => {
13046
- const { diagram: e } = await import("./diagram-SSKATNLV-Dvcmth44.js");
13046
+ const { diagram: e } = await import("./diagram-SSKATNLV-B-nngJxR.js");
13047
13047
  return { id: Nd, diagram: e };
13048
13048
  }, "loader"), tk = {
13049
13049
  id: Nd,
13050
13050
  detector: Qw,
13051
13051
  loader: Jw
13052
13052
  }, zd = "block", ek = /* @__PURE__ */ d((e) => /^\s*block-beta/.test(e), "detector"), rk = /* @__PURE__ */ d(async () => {
13053
- const { diagram: e } = await import("./blockDiagram-JOT3LUYC-Cb3Hpe-L.js");
13053
+ const { diagram: e } = await import("./blockDiagram-JOT3LUYC-aVH57lP3.js");
13054
13054
  return { id: zd, diagram: e };
13055
13055
  }, "loader"), ik = {
13056
13056
  id: zd,
13057
13057
  detector: ek,
13058
13058
  loader: rk
13059
13059
  }, ak = ik, Wd = "architecture", nk = /* @__PURE__ */ d((e) => /^\s*architecture/.test(e), "detector"), sk = /* @__PURE__ */ d(async () => {
13060
- const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-ebT7NIG9.js");
13060
+ const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-gV5v3Jiq.js");
13061
13061
  return { id: Wd, diagram: e };
13062
13062
  }, "loader"), ok = {
13063
13063
  id: Wd,
@@ -1,9 +1,9 @@
1
1
  import { ref as un, watchEffect as Sh, onMounted as Ah, nextTick as wi, onUnmounted as Th, createBlock as Nh, openBlock as yo, withCtx as Mh, createElementBlock as Eh } from "vue";
2
- import { s as nn, w as Ch, x as _h, c as bo, y as Ih, k as zh, l as Oh, m as Bh, o as l0, T as xi, p as ki, t as er, q as Dh, V as Lh } from "./viewer-CpHuxLh7.js";
2
+ import { s as nn, w as Ch, x as _h, c as bo, y as Ih, k as zh, l as Oh, m as Bh, o as l0, T as xi, p as ki, t as er, q as Dh, V as Lh } from "./viewer-XC1IvZi6.js";
3
3
  import { a as wo, m as xo } from "./min-DLf0xQMm.js";
4
4
  import { o as qh } from "./ordinal-DfAQgscy.js";
5
5
  import { c as Rh } from "./colors-BD7LS4qt.js";
6
- import { g as $h, M as Ph } from "./index-DkV4GiJc.js";
6
+ import { g as $h, M as Ph } from "./index-LxQhWGIn.js";
7
7
  function Fh(t, e) {
8
8
  let n, r = -1, a = -1;
9
9
  if (e === void 0)
@@ -1,7 +1,7 @@
1
- import { _ as S, l as z, c as ot, G as Nt, T as Dt, E as it, h as nt, U as mt, V as Ot, W as At, ag as It, M as Ct } from "./mermaid-SgiuJf0M.js";
1
+ import { _ as S, l as z, c as ot, G as Nt, T as Dt, E as it, h as nt, U as mt, V as Ot, W as At, ag as It, M as Ct } from "./mermaid-sunvgd5F.js";
2
2
  import { c as dt } from "./cytoscape.esm-Swd9B-1A.js";
3
- import { g as Rt } from "./index-DkV4GiJc.js";
4
- import { s as xt } from "./viewer-CpHuxLh7.js";
3
+ import { g as Rt } from "./index-LxQhWGIn.js";
4
+ import { s as xt } from "./viewer-XC1IvZi6.js";
5
5
  var tt = { exports: {} }, et = { exports: {} }, rt = { exports: {} }, Mt = rt.exports, ut;
6
6
  function wt() {
7
7
  return ut || (ut = 1, function(I, w) {
@@ -1,4 +1,4 @@
1
- import { P as c, a as r } from "./mermaid-parser.core-wXUZR2CR.js";
1
+ import { P as c, a as r } from "./mermaid-parser.core-DC-OijI-.js";
2
2
  export {
3
3
  c as PacketModule,
4
4
  r as createPacketServices
@@ -0,0 +1,5 @@
1
+ import { b as a, d as i } from "./mermaid-parser.core-DC-OijI-.js";
2
+ export {
3
+ a as PieModule,
4
+ i as createPieServices
5
+ };
@@ -1,8 +1,8 @@
1
- import { p as V } from "./chunk-4BMEZGHF-B2CONRv7.js";
2
- import { a0 as z, _ as u, g as U, s as j, a as Z, b as q, p as H, o as J, l as G, c as K, C as Q, G as X, M as Y, d as tt, x as et, E as at } from "./mermaid-SgiuJf0M.js";
3
- import { p as rt } from "./mermaid-parser.core-wXUZR2CR.js";
4
- import { c as x, a as nt } from "./viewer-CpHuxLh7.js";
5
- import { d as P } from "./arc-CbEpwggX.js";
1
+ import { p as V } from "./chunk-4BMEZGHF-Bh3ptx9q.js";
2
+ import { a0 as z, _ as u, g as U, s as j, a as Z, b as q, p as H, o as J, l as G, c as K, C as Q, G as X, M as Y, d as tt, x as et, E as at } from "./mermaid-sunvgd5F.js";
3
+ import { p as rt } from "./mermaid-parser.core-DC-OijI-.js";
4
+ import { c as x, a as nt } from "./viewer-XC1IvZi6.js";
5
+ import { d as P } from "./arc-D_ZQ0ZI9.js";
6
6
  import { o as it } from "./ordinal-DfAQgscy.js";
7
7
  function st(t, a) {
8
8
  return a < t ? -1 : a > t ? 1 : a >= t ? 0 : NaN;
@@ -1,6 +1,6 @@
1
- import { _ as o, s as _e, g as Ae, p as ie, o as ke, a as Fe, b as Pe, c as wt, l as At, d as ve, x as Ce, E as D, I as Le, h as Ee } from "./mermaid-SgiuJf0M.js";
2
- import { s as zt } from "./viewer-CpHuxLh7.js";
3
- import { l as ee } from "./linear-C9J-_FRR.js";
1
+ import { _ as o, s as _e, g as Ae, p as ie, o as ke, a as Fe, b as Pe, c as wt, l as At, d as ve, x as Ce, E as D, I as Le, h as Ee } from "./mermaid-sunvgd5F.js";
2
+ import { s as zt } from "./viewer-XC1IvZi6.js";
3
+ import { l as ee } from "./linear-BjfYWo5Y.js";
4
4
  var Vt = function() {
5
5
  var t = /* @__PURE__ */ o(function(j, r, l, g) {
6
6
  for (l = l || {}, g = j.length; g--; l[j[g]] = r) ;
@@ -0,0 +1,5 @@
1
+ import { R as r, g as d } from "./mermaid-parser.core-DC-OijI-.js";
2
+ export {
3
+ r as RadarModule,
4
+ d as createRadarServices
5
+ };
@@ -1,5 +1,5 @@
1
- import { g as Ge, s as ze } from "./chunk-RZ5BOZE2-Crb8ocLf.js";
2
- import { _ as f, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as Ne, l as qe, x as it, A as rt, n as nt, r as at, u as lt } from "./mermaid-SgiuJf0M.js";
1
+ import { g as Ge, s as ze } from "./chunk-RZ5BOZE2-6Y0OuNO4.js";
2
+ import { _ as f, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as Ne, l as qe, x as it, A as rt, n as nt, r as at, u as lt } from "./mermaid-sunvgd5F.js";
3
3
  var Ae = function() {
4
4
  var e = /* @__PURE__ */ f(function(P, i, r, l) {
5
5
  for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;