chainlesschain 0.45.9 → 0.45.11

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 (55) hide show
  1. package/bin/chainlesschain.js +0 -0
  2. package/package.json +1 -1
  3. package/src/assets/web-panel/assets/AppLayout-19ZC8w11.js +1 -0
  4. package/src/assets/web-panel/assets/AppLayout-CjgO-ML6.css +1 -0
  5. package/src/assets/web-panel/assets/Chat-5f__rMCR.js +1 -0
  6. package/src/assets/web-panel/assets/Chat-DB46afPg.css +1 -0
  7. package/src/assets/web-panel/assets/Cron-C4mrNC4c.js +2 -0
  8. package/src/assets/web-panel/assets/Dashboard-CRFnDUFh.css +1 -0
  9. package/src/assets/web-panel/assets/Dashboard-DsjXpZor.js +3 -0
  10. package/src/assets/web-panel/assets/Logs-CC_Zuh66.js +2 -0
  11. package/src/assets/web-panel/assets/Logs-Gf_Mv9Nx.css +1 -0
  12. package/src/assets/web-panel/assets/McpTools-B15GiN3u.js +4 -0
  13. package/src/assets/web-panel/assets/McpTools-CyhSLDwf.css +1 -0
  14. package/src/assets/web-panel/assets/Memory-DRghrGJr.css +1 -0
  15. package/src/assets/web-panel/assets/Memory-Dbd7oLOH.js +2 -0
  16. package/src/assets/web-panel/assets/Notes-BG69sJKi.css +1 -0
  17. package/src/assets/web-panel/assets/Notes-CEkc49fY.js +2 -0
  18. package/src/assets/web-panel/assets/Providers-Brm-S_hS.css +1 -0
  19. package/src/assets/web-panel/assets/Providers-CjyPHW00.js +1 -0
  20. package/src/assets/web-panel/assets/Services-C8Qs6KXv.css +1 -0
  21. package/src/assets/web-panel/assets/Services-XFzHMRRd.js +2 -0
  22. package/src/assets/web-panel/assets/Skills-BdjRyorN.css +1 -0
  23. package/src/assets/web-panel/assets/Skills-D8oxmB3U.js +1 -0
  24. package/src/assets/web-panel/assets/{antd-BhDHu4KM.js → antd-ChLPLhSn.js} +89 -89
  25. package/src/assets/web-panel/assets/chat-C_hu-qNs.js +1 -0
  26. package/src/assets/web-panel/assets/index-CyGyEIVX.css +1 -0
  27. package/src/assets/web-panel/assets/index-DQ5xXK7O.js +2 -0
  28. package/src/assets/web-panel/assets/{markdown-CNQE8HeM.js → markdown-DtbPhnFe.js} +1 -1
  29. package/src/assets/web-panel/assets/parsers-DftYMnlk.js +3 -0
  30. package/src/assets/web-panel/assets/vendor-CN0Iv_qZ.js +1 -0
  31. package/src/assets/web-panel/assets/ws-DwluTqT5.js +1 -0
  32. package/src/assets/web-panel/index.html +4 -4
  33. package/src/commands/config.js +44 -0
  34. package/src/constants.js +1 -0
  35. package/src/lib/background-task-manager.js +305 -0
  36. package/src/lib/background-task-worker.js +50 -0
  37. package/src/lib/feature-flags.js +182 -0
  38. package/src/lib/jsonl-session-store.js +237 -0
  39. package/src/lib/prompt-compressor.js +351 -0
  40. package/src/lib/worktree-isolator.js +231 -0
  41. package/src/repl/agent-repl.js +38 -2
  42. package/src/assets/web-panel/assets/AppLayout-CZDQcPAA.css +0 -1
  43. package/src/assets/web-panel/assets/AppLayout-D-KJRC1s.js +0 -1
  44. package/src/assets/web-panel/assets/Chat-BsgVc34I.js +0 -1
  45. package/src/assets/web-panel/assets/Chat-V-g0UHcr.css +0 -1
  46. package/src/assets/web-panel/assets/Dashboard-Bmgu7fEn.js +0 -2
  47. package/src/assets/web-panel/assets/Providers-DlC9S5Nf.js +0 -2
  48. package/src/assets/web-panel/assets/Providers-YRgg8NIn.css +0 -1
  49. package/src/assets/web-panel/assets/Skills--YIq8avF.js +0 -2
  50. package/src/assets/web-panel/assets/Skills-BC4Yu_4f.css +0 -1
  51. package/src/assets/web-panel/assets/chat-_a36nOu_.js +0 -1
  52. package/src/assets/web-panel/assets/index-B6snAd4S.css +0 -1
  53. package/src/assets/web-panel/assets/index-Ze9tR-zc.js +0 -2
  54. package/src/assets/web-panel/assets/vendor-Ks18OpWK.js +0 -1
  55. package/src/assets/web-panel/assets/ws-Bve9vKht.js +0 -1
@@ -0,0 +1 @@
1
+ import{V as k,f as w,r as h}from"./vendor-CN0Iv_qZ.js";import{u as i}from"./ws-DwluTqT5.js";const A=k("chat",()=>{const u=w([]),f=w(null),s=h({}),o=h({}),r=h({}),p=w(!1);function v(t){return s[t]||(s[t]=[]),s[t]}async function q(){const t=i();u.value=await t.listSessions()}async function y(t="chat"){const e=i(),n=await e.createSession(t);return u.value.unshift({id:n,type:t,title:t==="chat"?"新对话":"新 Agent",createdAt:Date.now(),messageCount:0}),e.onSession(n,a=>S(n,a)),f.value=n,s[n]=[],o[n]={content:"",active:!1},n}function S(t,e){const n=v(t);if(e.type==="response-token")o[t]||(o[t]={content:"",active:!0}),o[t].content+=e.token||"",o[t].active=!0;else if(e.type==="response-complete"){const a=e.content||o[t]?.content||"";n.push({role:"assistant",content:a,timestamp:Date.now()}),o[t]&&(o[t].content="",o[t].active=!1);const c=u.value.find(l=>l.id===t);if(c&&c.title.startsWith("新")){const l=n.find(g=>g.role==="user");l&&(c.title=l.content.slice(0,30))}p.value=!1}else if(e.type==="tool-executing")n.push({role:"tool",tool:e.tool,input:e.input,status:"running",timestamp:Date.now()});else if(e.type==="tool-result"){const a=[...n].reverse().find(c=>c.role==="tool"&&c.tool===e.tool);a&&(a.result=e.result,a.status="done")}else e.type==="question"&&(r[t]={requestId:e.requestId||e.id,question:e.question,choices:e.choices||[]})}async function D(t,e){const n=i();v(t).push({role:"user",content:e,timestamp:Date.now()}),o[t]||(o[t]={content:"",active:!1}),o[t].active=!0,p.value=!0,n.sendSessionMessage(t,e)}function M(t,e){const n=i(),a=r[t];a&&(n.answerQuestion(t,a.requestId,e),delete r[t])}async function Q(t){f.value=t,s[t]||(s[t]=[],o[t]={content:"",active:!1},i().onSession(t,n=>S(t,n)))}return{sessions:u,currentSessionId:f,messages:s,streaming:o,pendingQuestion:r,isLoading:p,loadSessions:q,createSession:y,sendMessage:D,answerQuestion:M,switchSession:Q,getMessages:v}});export{A as u};
@@ -0,0 +1 @@
1
+ html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--bg-base: #141414;--bg-sidebar: #1c1c1c;--bg-header: #1c1c1c;--bg-card: #1f1f1f;--bg-card-hover: #262626;--border-color: #252525;--border-subtle: #1e1e1e;--text-primary: #e0e0e0;--text-secondary: #888;--text-muted: #444;--logo-text: #ffffff;--shadow-card: 0 2px 8px rgba(0,0,0,.45);--group-title: #3a3a3a;font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}*,*:before,*:after{transition:background-color .22s ease,border-color .22s ease,color .12s ease}.ant-spin-dot-item,.ant-progress-bg,[class*=ant-tag],svg,img{transition:none!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.ant-card{background:var(--bg-card)!important;border-color:var(--border-color)!important;box-shadow:var(--shadow-card)!important}.ant-card-head{border-bottom-color:var(--border-color)!important;color:var(--text-primary)!important}.ant-card-body{color:var(--text-primary)}.ant-table{background:var(--bg-card)!important}.ant-table-thead>tr>th{background:var(--bg-card-hover)!important;border-bottom-color:var(--border-color)!important;color:var(--text-secondary)!important}.ant-table-tbody>tr>td{border-bottom-color:var(--border-subtle)!important;color:var(--text-primary)!important}.ant-table-tbody>tr:hover>td{background:var(--bg-card-hover)!important}.ant-table-placeholder{background:var(--bg-card)!important;color:var(--text-muted)!important}.ant-modal-content{background:var(--bg-card)!important;border:1px solid var(--border-color)}.ant-modal-header{background:var(--bg-card)!important;border-bottom-color:var(--border-color)!important}.ant-modal-title{color:var(--text-primary)!important}.ant-modal-footer{border-top-color:var(--border-color)!important}.ant-input,.ant-select-selector,.ant-input-affix-wrapper{background:var(--bg-card-hover)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}.ant-input:focus,.ant-input-focused,.ant-select-focused .ant-select-selector{border-color:#1677ff!important}.ant-input::placeholder,.ant-select-selection-placeholder{color:var(--text-muted)!important}.ant-select-dropdown{background:var(--bg-card)!important}.ant-select-item{color:var(--text-primary)!important}.ant-select-item:hover{background:var(--bg-card-hover)!important}.ant-select-item-option-selected{background:#1677ff26!important}.ant-descriptions-item-label{background:var(--bg-card-hover)!important;color:var(--text-secondary)!important;border-color:var(--border-color)!important}.ant-descriptions-item-content{background:var(--bg-card)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.ant-descriptions-bordered .ant-descriptions-view{border-color:var(--border-color)!important}.ant-tabs-nav{border-bottom-color:var(--border-color)!important}.ant-tabs-tab{color:var(--text-secondary)!important}.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1677ff!important}.ant-form-item-label>label{color:var(--text-secondary)!important}.ant-btn-default{background:var(--bg-card-hover)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important}.ant-btn-default:hover{border-color:#1677ff!important;color:#1677ff!important}[data-theme=light] .ant-layout-sider,[data-theme=light] .ant-menu{background:var(--bg-sidebar)!important}[data-theme=light] .ant-menu-item{color:#444!important}[data-theme=light] .ant-menu-item:hover{background:var(--bg-card-hover)!important;color:#1677ff!important}[data-theme=light] .ant-menu-item-selected{background:#1677ff14!important;color:#1677ff!important}[data-theme=light] .ant-menu-item-group-title{color:var(--group-title)!important}.page-title{margin:0;color:var(--text-primary);font-size:20px;font-weight:600}.page-sub{margin:4px 0 0;color:var(--text-secondary);font-size:13px}
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AppLayout-19ZC8w11.js","./vendor-CN0Iv_qZ.js","./ws-DwluTqT5.js","./_plugin-vue_export-helper-DlAUqK2U.js","./antd-ChLPLhSn.js","./AppLayout-CjgO-ML6.css","./Dashboard-DsjXpZor.js","./chat-C_hu-qNs.js","./Dashboard-CRFnDUFh.css","./Chat-5f__rMCR.js","./markdown-DtbPhnFe.js","./Chat-DB46afPg.css","./Services-XFzHMRRd.js","./Services-C8Qs6KXv.css","./Logs-CC_Zuh66.js","./Logs-Gf_Mv9Nx.css","./Skills-D8oxmB3U.js","./parsers-DftYMnlk.js","./Skills-BdjRyorN.css","./Providers-CjyPHW00.js","./Providers-Brm-S_hS.css","./McpTools-B15GiN3u.js","./McpTools-CyhSLDwf.css","./Notes-CEkc49fY.js","./Notes-BG69sJKi.css","./Memory-Dbd7oLOH.js","./Memory-DRghrGJr.css","./Cron-C4mrNC4c.js"])))=>i.map(i=>d[i]);
2
+ import{S as k,U as x,V as L,f as A,c as y,o as I,W as S,u as R,X as E,Y as T,Z as O,k as w,R as V,_ as D}from"./vendor-CN0Iv_qZ.js";import{a as h,A as M}from"./antd-ChLPLhSn.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))d(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&d(a)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function d(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}})();const C="modulepreload",N=function(c,o){return new URL(c,o).href},B={},s=function(o,i,d){let e=Promise.resolve();if(i&&i.length>0){let _=function(n){return Promise.all(n.map(l=>Promise.resolve(l).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),m=r?.nonce||r?.getAttribute("nonce");e=_(i.map(n=>{if(n=N(n,d),n in B)return;B[n]=!0;const l=n.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(d)for(let p=a.length-1;p>=0;p--){const g=a[p];if(g.href===n&&(!l||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${u}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":C,l||(f.as="script"),f.crossOrigin="",f.href=n,m&&f.setAttribute("nonce",m),document.head.appendChild(f),l)return new Promise((p,g)=>{f.addEventListener("load",p),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${n}`)))})}))}function t(a){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a}return e.then(a=>{for(const r of a||[])r.status==="rejected"&&t(r.reason);return o().catch(t)})},U=[{path:"/",component:()=>s(()=>import("./AppLayout-19ZC8w11.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),children:[{path:"",redirect:"/dashboard"},{path:"dashboard",name:"Dashboard",component:()=>s(()=>import("./Dashboard-DsjXpZor.js"),__vite__mapDeps([6,1,2,7,3,4,8]),import.meta.url)},{path:"chat",name:"Chat",component:()=>s(()=>import("./Chat-5f__rMCR.js"),__vite__mapDeps([9,1,10,4,7,2,3,11]),import.meta.url)},{path:"services",name:"Services",component:()=>s(()=>import("./Services-XFzHMRRd.js"),__vite__mapDeps([12,2,1,3,4,13]),import.meta.url)},{path:"logs",name:"Logs",component:()=>s(()=>import("./Logs-CC_Zuh66.js"),__vite__mapDeps([14,2,1,3,4,15]),import.meta.url)},{path:"skills",name:"Skills",component:()=>s(()=>import("./Skills-D8oxmB3U.js"),__vite__mapDeps([16,1,2,17,7,3,4,18]),import.meta.url)},{path:"providers",name:"Providers",component:()=>s(()=>import("./Providers-CjyPHW00.js"),__vite__mapDeps([19,1,2,17,3,4,20]),import.meta.url)},{path:"mcp",name:"McpTools",component:()=>s(()=>import("./McpTools-B15GiN3u.js"),__vite__mapDeps([21,2,1,3,4,22]),import.meta.url)},{path:"notes",name:"Notes",component:()=>s(()=>import("./Notes-CEkc49fY.js"),__vite__mapDeps([23,2,1,3,4,24]),import.meta.url)},{path:"memory",name:"Memory",component:()=>s(()=>import("./Memory-Dbd7oLOH.js"),__vite__mapDeps([25,2,1,3,4,26]),import.meta.url)},{path:"cron",name:"Cron",component:()=>s(()=>import("./Cron-C4mrNC4c.js"),__vite__mapDeps([27,2,1,4]),import.meta.url)}]}],F=k({history:x(),routes:U}),P="cc_theme",v={dark:{label:"暗黑",icon:"🌑",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#1677ff",colorBgBase:"#141414",colorBgContainer:"#1f1f1f",colorBgElevated:"#2a2a2a",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#1c1c1c",headerBg:"#1c1c1c",bodyBg:"#141414"},Menu:{darkItemBg:"#1c1c1c",darkSubMenuItemBg:"#171717"}}},vars:{"--bg-base":"#141414","--bg-sidebar":"#1c1c1c","--bg-header":"#1c1c1c","--bg-card":"#1f1f1f","--bg-card-hover":"#262626","--border-color":"#252525","--border-subtle":"#1e1e1e","--text-primary":"#e0e0e0","--text-secondary":"#888","--text-muted":"#444","--logo-text":"#ffffff","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,0,0,.45)","--group-title":"#3a3a3a"}},light:{label:"亮白",icon:"☀️",antd:{algorithm:h.defaultAlgorithm,token:{colorPrimary:"#1677ff",colorBgBase:"#ffffff",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#ffffff",headerBg:"#ffffff",bodyBg:"#f4f6fb"},Menu:{itemBg:"#ffffff"}}},vars:{"--bg-base":"#f4f6fb","--bg-sidebar":"#ffffff","--bg-header":"#ffffff","--bg-card":"#ffffff","--bg-card-hover":"#f0f4ff","--border-color":"#e8edf5","--border-subtle":"#f0f0f0","--text-primary":"#1a1a2e","--text-secondary":"#5a6474","--text-muted":"#b0b8c8","--logo-text":"#1a1a2e","--menu-mode":"light","--shadow-card":"0 2px 12px rgba(0,0,0,.07)","--group-title":"#aab0bc"}},blue:{label:"深蓝",icon:"🌊",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#2f80ed",colorBgBase:"#0d1117",colorBgContainer:"#161b22",colorBgElevated:"#1c2230",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#0f1923",headerBg:"#0f1923",bodyBg:"#0d1117"},Menu:{darkItemBg:"#0f1923",darkSubMenuItemBg:"#0b1520"}}},vars:{"--bg-base":"#0d1117","--bg-sidebar":"#0f1923","--bg-header":"#0f1923","--bg-card":"#161b22","--bg-card-hover":"#1c2230","--border-color":"#21303f","--border-subtle":"#182030","--text-primary":"#c9d8ef","--text-secondary":"#6e8caa","--text-muted":"#2d4060","--logo-text":"#e0eeff","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,40,80,.5)","--group-title":"#2d4060"}},green:{label:"翠绿",icon:"🌿",antd:{algorithm:h.darkAlgorithm,token:{colorPrimary:"#29a270",colorBgBase:"#0a1a12",colorBgContainer:"#0f2318",colorBgElevated:"#152e20",borderRadius:8,fontFamily:'system-ui, -apple-system, "Segoe UI", sans-serif'},components:{Layout:{siderBg:"#0c1e14",headerBg:"#0c1e14",bodyBg:"#0a1a12"},Menu:{darkItemBg:"#0c1e14",darkSubMenuItemBg:"#091810"}}},vars:{"--bg-base":"#0a1a12","--bg-sidebar":"#0c1e14","--bg-header":"#0c1e14","--bg-card":"#0f2318","--bg-card-hover":"#152e20","--border-color":"#1a3828","--border-subtle":"#122a1c","--text-primary":"#c0e8c8","--text-secondary":"#5a9a6a","--text-muted":"#1e4028","--logo-text":"#d8f0e0","--menu-mode":"dark","--shadow-card":"0 2px 8px rgba(0,40,20,.5)","--group-title":"#1e4028"}}},$=L("theme",()=>{const c=A(localStorage.getItem(P)||"dark"),o=y(()=>v[c.value]||v.dark),i=y(()=>o.value.antd),d=y(()=>c.value!=="light");function e(){const r=o.value.vars,m=document.documentElement;for(const[_,n]of Object.entries(r))m.style.setProperty(_,n);m.setAttribute("data-theme",c.value)}function t(r){v[r]&&(c.value=r,localStorage.setItem(P,r),e())}function a(){e()}return{current:c,config:o,antdTheme:i,isDark:d,setTheme:t,init:a}}),j={__name:"App",setup(c){const o=$();return I(()=>o.init()),(i,d)=>{const e=E("router-view"),t=E("a-config-provider");return T(),S(t,{theme:R(o).antdTheme},{default:O(()=>[w(e)]),_:1},8,["theme"])}}},b=V(j);b.use(D());b.use(F);b.use(M);b.mount("#app");export{v as T,$ as u};
@@ -1,4 +1,4 @@
1
- import{g as Yc}from"./antd-BhDHu4KM.js";function Ni(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let He=Ni();function Mc(a){He=a}const Lc=/[&<>"']/,qc=new RegExp(Lc.source,"g"),xc=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hc=new RegExp(xc.source,"g"),Vc={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$i=a=>Vc[a];function Ne(a,e){if(e){if(Lc.test(a))return a.replace(qc,$i)}else if(xc.test(a))return a.replace(Hc,$i);return a}const zc=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wc(a){return a.replace(zc,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const $c=/(^|[^\[])\^/g;function Z(a,e){let t=typeof a=="string"?a:a.source;e=e||"";const n={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace($c,"$1"),t=t.replace(r,o),n},getRegex:()=>new RegExp(t,e)};return n}function Ki(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const pt={exec:()=>null};function Qi(a,e){const t=a.replace(/\|/g,(i,o,s)=>{let l=!1,_=o;for(;--_>=0&&s[_]==="\\";)l=!l;return l?"|":" |"}),n=t.split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function yt(a,e,t){const n=a.length;if(n===0)return"";let r=0;for(;r<n&&a.charAt(n-r-1)===e;)r++;return a.slice(0,n-r)}function Kc(a,e){if(a.indexOf(e[1])===-1)return-1;let t=0;for(let n=0;n<a.length;n++)if(a[n]==="\\")n++;else if(a[n]===e[0])t++;else if(a[n]===e[1]&&(t--,t<0))return n;return-1}function Xi(a,e,t,n){const r=e.href,i=e.title?Ne(e.title):null,o=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:t,href:r,title:i,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,s}return{type:"image",raw:t,href:r,title:i,text:Ne(o)}}function Qc(a,e){const t=a.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
1
+ import{g as Yc}from"./antd-ChLPLhSn.js";function Ni(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let He=Ni();function Mc(a){He=a}const Lc=/[&<>"']/,qc=new RegExp(Lc.source,"g"),xc=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hc=new RegExp(xc.source,"g"),Vc={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$i=a=>Vc[a];function Ne(a,e){if(e){if(Lc.test(a))return a.replace(qc,$i)}else if(xc.test(a))return a.replace(Hc,$i);return a}const zc=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wc(a){return a.replace(zc,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const $c=/(^|[^\[])\^/g;function Z(a,e){let t=typeof a=="string"?a:a.source;e=e||"";const n={replace:(r,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace($c,"$1"),t=t.replace(r,o),n},getRegex:()=>new RegExp(t,e)};return n}function Ki(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const pt={exec:()=>null};function Qi(a,e){const t=a.replace(/\|/g,(i,o,s)=>{let l=!1,_=o;for(;--_>=0&&s[_]==="\\";)l=!l;return l?"|":" |"}),n=t.split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function yt(a,e,t){const n=a.length;if(n===0)return"";let r=0;for(;r<n&&a.charAt(n-r-1)===e;)r++;return a.slice(0,n-r)}function Kc(a,e){if(a.indexOf(e[1])===-1)return-1;let t=0;for(let n=0;n<a.length;n++)if(a[n]==="\\")n++;else if(a[n]===e[0])t++;else if(a[n]===e[1]&&(t--,t<0))return n;return-1}function Xi(a,e,t,n){const r=e.href,i=e.title?Ne(e.title):null,o=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:t,href:r,title:i,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,s}return{type:"image",raw:t,href:r,title:i,text:Ne(o)}}function Qc(a,e){const t=a.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
2
2
  `).map(r=>{const i=r.match(/^\s+/);if(i===null)return r;const[o]=i;return o.length>=n.length?r.slice(n.length):r}).join(`
3
3
  `)}class Lt{options;rules;lexer;constructor(e){this.options=e||He}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:yt(n,`
4
4
  `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],r=Qc(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const r=yt(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let n=t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
@@ -0,0 +1,3 @@
1
+ function p(a){const e=a.split(`
2
+ `),n=[];let i="built-in";for(const l of e){const t=l.trim();if(!t||t.startsWith("─")||t.startsWith("="))continue;const r=t.match(/^([a-z][a-z0-9-]+)\s+\(\d+\)$/);if(r){i=r[1];continue}const s=t.match(/^[●•]\s+([a-z][a-z0-9-]+)\s+(.+)$/);if(s){let c=s[2].trim();const m=c.match(/\s+\[(bundled|project|managed|workspace|marketplace)\]$/);m&&(c=c.slice(0,-m[0].length).trim());const u=i.includes("agent")?"agent":i.includes("llm")?"llm-query":i==="cli-direct"||i.includes("cli")?"cli-direct":"built-in";n.push({name:s[1],description:c,category:i,executionMode:u});continue}const o=t.match(/^([a-z][a-z0-9-]+)\s+[-–]\s+(.+)/)||t.match(/^([a-z][a-z0-9-]+)\s{2,}(.+)/);o&&n.push({name:o[1],description:o[2],category:i,executionMode:i.includes("agent")?"agent":i.includes("llm")?"llm-query":i.includes("cli")?"cli-direct":"built-in"})}return n}const d=[{name:"anthropic",label:"Anthropic (Claude)",icon:"🤖"},{name:"openai",label:"OpenAI (GPT)",icon:"🧠"},{name:"ollama",label:"Ollama (本地)",icon:"🦙"},{name:"deepseek",label:"DeepSeek",icon:"🔍"},{name:"gemini",label:"Google Gemini",icon:"✨"},{name:"volcengine",label:"火山引擎 (豆包)",icon:"🌋"},{name:"dashscope",label:"通义千问 (DashScope)",icon:"🌊"},{name:"kimi",label:"Kimi (月之暗面)",icon:"🌙"},{name:"minimax",label:"MiniMax (海螺AI)",icon:"🐚"},{name:"mistral",label:"Mistral AI",icon:"💨"}];function h(a){const e=[];for(const n of d)e.push({...n,configured:a.toLowerCase().includes(n.name),active:a.match(new RegExp(`\\*\\s*${n.name}`,"i"))!==null,status:"unknown"});if(!e.find(n=>n.active)){const n=a.match(/active[:\s]+(\w+)/i);if(n){const i=e.find(l=>l.name===n[1].toLowerCase());i&&(i.active=!0)}}return e}function f(a){return a.split(`
3
+ `).map(e=>e.trim()).filter(e=>e&&!e.startsWith("#")&&!e.startsWith("─")&&e.includes(":")).map(e=>({name:e,size:""})).slice(0,20)}export{h as a,f as b,p};
@@ -0,0 +1 @@
1
+ function Us(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const oe={},Vt=[],Ze=()=>{},bi=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),de=Object.assign,Ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dl=Object.prototype.hasOwnProperty,se=(e,t)=>dl.call(e,t),K=Array.isArray,jt=e=>yn(e)==="[object Map]",Ei=e=>yn(e)==="[object Set]",_r=e=>yn(e)==="[object Date]",W=e=>typeof e=="function",ue=e=>typeof e=="string",et=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Ai=e=>(ee(e)||W(e))&&W(e.then)&&W(e.catch),Ci=Object.prototype.toString,yn=e=>Ci.call(e),pl=e=>yn(e).slice(8,-1),Si=e=>yn(e)==="[object Object]",Kn=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},gl=/-\w/g,Se=Gn(e=>e.replace(gl,t=>t.slice(1).toUpperCase())),ml=/\B([A-Z])/g,Et=Gn(e=>e.replace(ml,"-$1").toLowerCase()),Wn=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Gn(e=>e?`on${Wn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},_l=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yl=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let yr;const $n=()=>yr||(yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gs(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ue(s)?Al(s):Gs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ue(e)||ee(e))return e}const vl=/;(?![^(]*\))/g,bl=/:([^]+)/,El=/\/\*[^]*?\*\//g;function Al(e){const t={};return e.replace(El,"").split(vl).forEach(n=>{if(n){const s=n.split(bl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ws(e){let t="";if(ue(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Ws(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Cl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Sl=Us(Cl);function Ri(e){return!!e||e===""}function xl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=$s(e[s],t[s]);return n}function $s(e,t){if(e===t)return!0;let n=_r(e),s=_r(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=et(e),s=et(t),n||s)return e===t;if(n=K(e),s=K(t),n||s)return n&&s?xl(e,t):!1;if(n=ee(e),s=ee(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!$s(e[o],t[o]))return!1}}return String(e)===String(t)}const wi=e=>!!(e&&e.__v_isRef===!0),Rl=e=>ue(e)?e:e==null?"":K(e)||ee(e)&&(e.toString===Ci||!W(e.toString))?wi(e)?Rl(e.value):JSON.stringify(e,Ti,2):String(e),Ti=(e,t)=>wi(t)?Ti(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[os(s,i)+" =>"]=r,n),{})}:Ei(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>os(n))}:et(t)?os(t):ee(t)&&!K(t)&&!Si(t)?String(t):t,os=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let me;class Oi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){++this._on===1&&(this.prevScope=me,me=this)}off(){this._on>0&&--this._on===0&&(me=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Pi(e){return new Oi(e)}function Ii(){return me}function wl(e,t=!1){me&&me.cleanups.push(e)}let ce;const ls=new WeakSet;class Ni{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&me.active&&me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ls.has(this)&&(ls.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Di(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,vr(this),Li(this);const t=ce,n=Be;ce=this,Be=!0;try{return this.fn()}finally{Fi(this),ce=t,Be=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zs(t);this.deps=this.depsTail=void 0,vr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ls.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){As(this)&&this.run()}get dirty(){return As(this)}}let Mi=0,en,tn;function Di(e,t=!1){if(e.flags|=8,t){e.next=tn,tn=e;return}e.next=en,en=e}function qs(){Mi++}function Js(){if(--Mi>0)return;if(tn){let t=tn;for(tn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;en;){let t=en;for(en=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Li(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),zs(s),Tl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function As(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===an)||(e.globalVersion=an,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!As(e))))return;e.flags|=2;const t=e.dep,n=ce,s=Be;ce=e,Be=!0;try{Li(e);const r=e.fn(e._value);(t.version===0||Xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ce=n,Be=s,Fi(e),e.flags&=-3}}function zs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)zs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Tl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Be=!0;const Bi=[];function ft(){Bi.push(Be),Be=!1}function ut(){const e=Bi.pop();Be=e===void 0?!0:e}function vr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let an=0;class Ol{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ys{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ce||!Be||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Ol(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,Vi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,an++,this.notify(t)}notify(t){qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Js()}}}function Vi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Vi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const In=new WeakMap,Ot=Symbol(""),Cs=Symbol(""),hn=Symbol("");function _e(e,t,n){if(Be&&ce){let s=In.get(e);s||In.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ys),r.map=s,r.key=n),r.track()}}function ot(e,t,n,s,r,i){const o=In.get(e);if(!o){an++;return}const l=c=>{c&&c.trigger()};if(qs(),t==="clear")o.forEach(l);else{const c=K(e),u=c&&Kn(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,p)=>{(p==="length"||p===hn||!et(p)&&p>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(hn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Ot)),jt(e)&&l(o.get(Cs)));break;case"delete":c||(l(o.get(Ot)),jt(e)&&l(o.get(Cs)));break;case"set":jt(e)&&l(o.get(Ot));break}}Js()}function Pl(e,t){const n=In.get(e);return n&&n.get(t)}function Lt(e){const t=Z(e);return t===e?t:(_e(t,"iterate",hn),Ne(e)?t:t.map(Ve))}function qn(e){return _e(e=Z(e),"iterate",hn),e}function Ye(e,t){return at(e)?kt(ct(e)?Ve(t):t):Ve(t)}const Il={__proto__:null,[Symbol.iterator](){return cs(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Lt(this).concat(...e.map(t=>K(t)?Lt(t):t))},entries(){return cs(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return nt(this,"every",e,t,void 0,arguments)},filter(e,t){return nt(this,"filter",e,t,n=>n.map(s=>Ye(this,s)),arguments)},find(e,t){return nt(this,"find",e,t,n=>Ye(this,n),arguments)},findIndex(e,t){return nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nt(this,"findLast",e,t,n=>Ye(this,n),arguments)},findLastIndex(e,t){return nt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nt(this,"forEach",e,t,void 0,arguments)},includes(...e){return fs(this,"includes",e)},indexOf(...e){return fs(this,"indexOf",e)},join(e){return Lt(this).join(e)},lastIndexOf(...e){return fs(this,"lastIndexOf",e)},map(e,t){return nt(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return br(this,"reduce",e,t)},reduceRight(e,...t){return br(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return nt(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Lt(this).toReversed()},toSorted(e){return Lt(this).toSorted(e)},toSpliced(...e){return Lt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return cs(this,"values",e=>Ye(this,e))}};function cs(e,t,n){const s=qn(e),r=s[t]();return s!==e&&!Ne(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Nl=Array.prototype;function nt(e,t,n,s,r,i){const o=qn(e),l=o!==e&&!Ne(e),c=o[t];if(c!==Nl[t]){const h=c.apply(e,i);return l?Ve(h):h}let u=n;o!==e&&(l?u=function(h,p){return n.call(this,Ye(e,h),p,e)}:n.length>2&&(u=function(h,p){return n.call(this,h,p,e)}));const f=c.call(o,u,s);return l&&r?r(f):f}function br(e,t,n,s){const r=qn(e),i=r!==e&&!Ne(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(u,f,h){return l&&(l=!1,u=Ye(e,u)),n.call(this,u,Ye(e,f),h,e)}):n.length>3&&(o=function(u,f,h){return n.call(this,u,f,h,e)}));const c=r[t](o,...s);return l?Ye(e,c):c}function fs(e,t,n){const s=Z(e);_e(s,"iterate",hn);const r=s[t](...n);return(r===-1||r===!1)&&Jn(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function qt(e,t,n=[]){ft(),qs();const s=Z(e)[t].apply(e,n);return Js(),ut(),s}const Ml=Us("__proto__,__v_isRef,__isVue"),ji=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function Dl(e){et(e)||(e=String(e));const t=Z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class Ui{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Gl:Wi:i?Gi:Ki).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!r){let c;if(o&&(c=Il[n]))return c;if(n==="hasOwnProperty")return Dl}const l=Reflect.get(t,n,fe(t)?t:s);if((et(n)?ji.has(n):Ml(n))||(r||_e(t,"get",n),i))return l;if(fe(l)){const c=o&&Kn(n)?l:l.value;return r&&ee(c)?xs(c):c}return ee(l)?r?xs(l):vn(l):l}}class ki extends Ui{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=K(t)&&Kn(n);if(!this._isShallow){const u=at(i);if(!Ne(s)&&!at(s)&&(i=Z(i),s=Z(s)),!o&&fe(i)&&!fe(s))return u||(i.value=s),!0}const l=o?Number(n)<t.length:se(t,n),c=Reflect.set(t,n,s,fe(t)?t:r);return t===Z(r)&&(l?Xe(s,i)&&ot(t,"set",n,s):ot(t,"add",n,s)),c}deleteProperty(t,n){const s=se(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ot(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!ji.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",K(t)?"length":Ot),Reflect.ownKeys(t)}}class Ll extends Ui{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fl=new ki,Hl=new Ll,Bl=new ki(!0);const Ss=e=>e,Cn=e=>Reflect.getPrototypeOf(e);function Vl(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=jt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),f=n?Ss:t?kt:Ve;return!t&&_e(i,"iterate",c?Cs:Ot),de(Object.create(u),{next(){const{value:h,done:p}=u.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function jl(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Xe(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=Cn(o),u=t?Ss:e?kt:Ve;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(Z(r),"iterate",Ot),r.size},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Xe(r,l)&&_e(o,"has",r),_e(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Z(l),u=t?Ss:e?kt:Ve;return!e&&_e(c,"iterate",Ot),l.forEach((f,h)=>r.call(i,u(f),u(h),o))}};return de(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(r){const i=Z(this),o=Cn(i),l=Z(r),c=!t&&!Ne(r)&&!at(r)?l:r;return o.has.call(i,c)||Xe(r,c)&&o.has.call(i,r)||Xe(l,c)&&o.has.call(i,l)||(i.add(c),ot(i,"add",c,c)),this},set(r,i){!t&&!Ne(i)&&!at(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=Cn(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const f=c.call(o,r);return o.set(r,i),u?Xe(i,f)&&ot(o,"set",r,i):ot(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=Cn(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&ot(i,"delete",r,void 0),u},clear(){const r=Z(this),i=r.size!==0,o=r.clear();return i&&ot(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Vl(r,e,t)}),n}function Qs(e,t){const n=jl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,i)}const Ul={get:Qs(!1,!1)},kl={get:Qs(!1,!0)},Kl={get:Qs(!0,!1)};const Ki=new WeakMap,Gi=new WeakMap,Wi=new WeakMap,Gl=new WeakMap;function Wl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $l(e){return e.__v_skip||!Object.isExtensible(e)?0:Wl(pl(e))}function vn(e){return at(e)?e:Xs(e,!1,Fl,Ul,Ki)}function $i(e){return Xs(e,!1,Bl,kl,Gi)}function xs(e){return Xs(e,!0,Hl,Kl,Wi)}function Xs(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=$l(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ct(e){return at(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function Ne(e){return!!(e&&e.__v_isShallow)}function Jn(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function Zs(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&xi(e,"__v_skip",!0),e}const Ve=e=>ee(e)?vn(e):e,kt=e=>ee(e)?xs(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function er(e){return qi(e,!1)}function ql(e){return qi(e,!0)}function qi(e,t){return fe(e)?e:new Jl(e,t)}class Jl{constructor(t,n){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:Ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ne(t)||at(t);t=s?t:Z(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:Ve(t),this.dep.trigger())}}function ra(e){e.dep&&e.dep.trigger()}function Pt(e){return fe(e)?e.value:e}const zl={get:(e,t,n)=>t==="__v_raw"?e:Pt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ji(e){return ct(e)?e:new Proxy(e,zl)}function Yl(e){const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=zi(e,n);return t}class Ql{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=Z(t);let r=!0,i=t;if(!K(t)||!Kn(String(n)))do r=!Jn(i)||Ne(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Pt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&fe(this._raw[this._key])){const n=this._object[this._key];if(fe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Pl(this._raw,this._key)}}class Xl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ia(e,t,n){return fe(e)?e:W(e)?new Xl(e):ee(e)&&arguments.length>1?zi(e,t,n):er(e)}function zi(e,t,n){return new Ql(e,t,n)}class Zl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=an-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return Di(this,!0),!0}get value(){const t=this.dep.track();return Hi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ec(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Zl(s,r,n)}const xn={},Nn=new WeakMap;let Rt;function tc(e,t=!1,n=Rt){if(n){let s=Nn.get(n);s||Nn.set(n,s=[]),s.push(e)}}function nc(e,t,n=oe){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=N=>r?N:Ne(N)||r===!1||r===0?lt(N,1):lt(N);let f,h,p,m,A=!1,C=!1;if(fe(e)?(h=()=>e.value,A=Ne(e)):ct(e)?(h=()=>u(e),A=!0):K(e)?(C=!0,A=e.some(N=>ct(N)||Ne(N)),h=()=>e.map(N=>{if(fe(N))return N.value;if(ct(N))return u(N);if(W(N))return c?c(N,2):N()})):W(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){ft();try{p()}finally{ut()}}const N=Rt;Rt=f;try{return c?c(e,3,[m]):e(m)}finally{Rt=N}}:h=Ze,t&&r){const N=h,V=r===!0?1/0:r;h=()=>lt(N(),V)}const F=Ii(),M=()=>{f.stop(),F&&F.active&&Ks(F.effects,f)};if(i&&t){const N=t;t=(...V)=>{N(...V),M()}}let S=C?new Array(e.length).fill(xn):xn;const L=N=>{if(!(!(f.flags&1)||!f.dirty&&!N))if(t){const V=f.run();if(r||A||(C?V.some((J,q)=>Xe(J,S[q])):Xe(V,S))){p&&p();const J=Rt;Rt=f;try{const q=[V,S===xn?void 0:C&&S[0]===xn?[]:S,m];S=V,c?c(t,3,q):t(...q)}finally{Rt=J}}}else f.run()};return l&&l(L),f=new Ni(h),f.scheduler=o?()=>o(L,!1):L,m=N=>tc(N,!1,f),p=f.onStop=()=>{const N=Nn.get(f);if(N){if(c)c(N,4);else for(const V of N)V();Nn.delete(f)}},t?s?L(!0):S=f.run():o?o(L.bind(null,!0),!0):f.run(),M.pause=f.pause.bind(f),M.resume=f.resume.bind(f),M.stop=M,M}function lt(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fe(e))lt(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(Ei(e)||jt(e))e.forEach(s=>{lt(s,t,n)});else if(Si(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&lt(e[s],t,n)}return e}function bn(e,t,n,s){try{return s?e(...s):e()}catch(r){zn(r,t,n)}}function je(e,t,n,s){if(W(e)){const r=bn(e,t,n,s);return r&&Ai(r)&&r.catch(i=>{zn(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i<e.length;i++)r.push(je(e[i],t,n,s));return r}}function zn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||oe;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,u)===!1)return}l=l.parent}if(i){ft(),bn(i,null,10,[e,c,u]),ut();return}}sc(e,n,r,s,o)}function sc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ae=[];let Je=-1;const Ut=[];let yt=null,Ht=0;const Yi=Promise.resolve();let Mn=null;function tr(e){const t=Mn||Yi;return e?t.then(this?e.bind(this):e):t}function rc(e){let t=Je+1,n=Ae.length;for(;t<n;){const s=t+n>>>1,r=Ae[s],i=dn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function nr(e){if(!(e.flags&1)){const t=dn(e),n=Ae[Ae.length-1];!n||!(e.flags&2)&&t>=dn(n)?Ae.push(e):Ae.splice(rc(t),0,e),e.flags|=1,Qi()}}function Qi(){Mn||(Mn=Yi.then(Zi))}function ic(e){K(e)?Ut.push(...e):yt&&e.id===-1?yt.splice(Ht+1,0,e):e.flags&1||(Ut.push(e),e.flags|=1),Qi()}function Er(e,t,n=Je+1){for(;n<Ae.length;n++){const s=Ae[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ae.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Xi(e){if(Ut.length){const t=[...new Set(Ut)].sort((n,s)=>dn(n)-dn(s));if(Ut.length=0,yt){yt.push(...t);return}for(yt=t,Ht=0;Ht<yt.length;Ht++){const n=yt[Ht];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}yt=null,Ht=0}}const dn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zi(e){try{for(Je=0;Je<Ae.length;Je++){const t=Ae[Je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),bn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Je<Ae.length;Je++){const t=Ae[Je];t&&(t.flags&=-2)}Je=-1,Ae.length=0,Xi(),Mn=null,(Ae.length||Ut.length)&&Zi()}}let Pe=null,eo=null;function Dn(e){const t=Pe;return Pe=e,eo=e&&e.type.__scopeId||null,t}function oc(e,t=Pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Hn(-1);const i=Dn(t);let o;try{o=e(...r)}finally{Dn(i),s._d&&Hn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function oa(e,t){if(Pe===null)return e;const n=es(Pe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=oe]=t[r];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&lt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(ft(),je(c,n,8,[e.el,l,e,t]),ut())}}function wn(e,t){if(ye){let n=ye.provides;const s=ye.parent&&ye.parent.provides;s===n&&(n=ye.provides=Object.create(s)),n[e]=t}}function Fe(e,t,n=!1){const s=En();if(s||It){let r=It?It._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s&&s.proxy):t}}function lc(){return!!(En()||It)}const cc=Symbol.for("v-scx"),fc=()=>Fe(cc);function la(e,t){return sr(e,null,t)}function nn(e,t,n){return sr(e,t,n)}function sr(e,t,n=oe){const{immediate:s,deep:r,flush:i,once:o}=n,l=de({},n),c=t&&s||!t&&i!=="post";let u;if(mn){if(i==="sync"){const m=fc();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const f=ye;l.call=(m,A,C)=>je(m,f,A,C);let h=!1;i==="post"?l.scheduler=m=>{ge(m,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,A)=>{A?m():nr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=nc(e,t,l);return mn&&(u?u.push(p):c&&p()),p}function uc(e,t,n){const s=this.proxy,r=ue(e)?e.includes(".")?to(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=An(this),l=sr(r,i.bind(s),n);return o(),l}function to(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const no=Symbol("_vte"),so=e=>e.__isTeleport,sn=e=>e&&(e.disabled||e.disabled===""),Ar=e=>e&&(e.defer||e.defer===""),Cr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const n=e&&e.to;return ue(n)?t?t(n):null:n},ro={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:f,pc:h,pbc:p,o:{insert:m,querySelector:A,createText:C,createComment:F}}=u,M=sn(t.props);let{shapeFlag:S,children:L,dynamicChildren:N}=t;if(e==null){const V=t.el=C(""),J=t.anchor=C("");m(V,n,s),m(J,n,s);const q=(x,U)=>{S&16&&f(L,x,U,r,i,o,l,c)},j=()=>{const x=t.target=Rs(t.props,A),U=ws(x,t,C,m);x&&(o!=="svg"&&Cr(x)?o="svg":o!=="mathml"&&Sr(x)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(x),M||(q(x,U),Tn(t,!1)))};M&&(q(n,J),Tn(t,!0)),Ar(t.props)?(t.el.__isMounted=!1,ge(()=>{j(),delete t.el.__isMounted},i)):j()}else{if(Ar(t.props)&&e.el.__isMounted===!1){ge(()=>{ro.process(e,t,n,s,r,i,o,l,c,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const V=t.anchor=e.anchor,J=t.target=e.target,q=t.targetAnchor=e.targetAnchor,j=sn(e.props),x=j?n:J,U=j?V:q;if(o==="svg"||Cr(J)?o="svg":(o==="mathml"||Sr(J))&&(o="mathml"),N?(p(e.dynamicChildren,N,x,r,i,o,l),fr(e,t,!0)):c||h(e,t,x,U,r,i,o,l,!1),M)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rn(t,n,V,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Rs(t.props,A);z&&Rn(t,z,null,u,0)}else j&&Rn(t,J,q,u,1);Tn(t,M)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:p}=e;if(h&&(r(u),r(f)),i&&r(c),o&16){const m=i||!sn(p);for(let A=0;A<l.length;A++){const C=l[A];s(C,t,n,m,!!C.dynamicChildren)}}},move:Rn,hydrate:ac};function Rn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:f}=e,h=i===2;if(h&&s(o,t,n),(!h||sn(f))&&c&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);h&&s(l,t,n)}function ac(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:f}},h){function p(F,M){let S=M;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,F._lpa=t.targetAnchor&&o(t.targetAnchor);break}}S=o(S)}}function m(F,M){M.anchor=h(o(F),M,l(F),n,s,r,i)}const A=t.target=Rs(t.props,c),C=sn(t.props);if(A){const F=A._lpa||A.firstChild;t.shapeFlag&16&&(C?(m(e,t),p(A,F),t.targetAnchor||ws(A,t,f,u,l(e)===A?e:null)):(t.anchor=o(e),p(A,F),t.targetAnchor||ws(A,t,f,u),h(F&&o(F),t,A,n,s,r,i))),Tn(t,C)}else C&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const ca=ro;function Tn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function ws(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[no]=o,e&&(s(i,e,r),s(o,e,r)),o}const ze=Symbol("_leaveCb"),Jt=Symbol("_enterCb");function io(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return po(()=>{e.isMounted=!0}),mo(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],oo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},lo=e=>{const t=e.subTree;return t.component?lo(t.component):t},hc={name:"BaseTransition",props:oo,setup(e,{slots:t}){const n=En(),s=io();return()=>{const r=t.default&&rr(t.default(),!0);if(!r||!r.length)return;const i=co(r),o=Z(e),{mode:l}=o;if(s.isLeaving)return us(i);const c=xr(i);if(!c)return us(i);let u=pn(c,o,s,n,h=>u=h);c.type!==Ce&&Nt(c,u);let f=n.subTree&&xr(n.subTree);if(f&&f.type!==Ce&&!wt(f,c)&&lo(n).type!==Ce){let h=pn(f,o,s,n);if(Nt(f,h),l==="out-in"&&c.type!==Ce)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},us(i);l==="in-out"&&c.type!==Ce?h.delayLeave=(p,m,A)=>{const C=fo(s,f);C[String(f.key)]=f,p[ze]=()=>{m(),p[ze]=void 0,delete u.delayedLeave,f=void 0},u.delayedLeave=()=>{A(),delete u.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function co(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ce){t=n;break}}return t}const dc=hc;function fo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function pn(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:A,onLeaveCancelled:C,onBeforeAppear:F,onAppear:M,onAfterAppear:S,onAppearCancelled:L}=t,N=String(e.key),V=fo(n,e),J=(x,U)=>{x&&je(x,s,9,U)},q=(x,U)=>{const z=U[1];J(x,U),K(x)?x.every(P=>P.length<=1)&&z():x.length<=1&&z()},j={mode:o,persisted:l,beforeEnter(x){let U=c;if(!n.isMounted)if(i)U=F||c;else return;x[ze]&&x[ze](!0);const z=V[N];z&&wt(e,z)&&z.el[ze]&&z.el[ze](),J(U,[x])},enter(x){if(V[N]===e)return;let U=u,z=f,P=h;if(!n.isMounted)if(i)U=M||u,z=S||f,P=L||h;else return;let Y=!1;x[Jt]=ve=>{Y||(Y=!0,ve?J(P,[x]):J(z,[x]),j.delayedLeave&&j.delayedLeave(),x[Jt]=void 0)};const he=x[Jt].bind(null,!1);U?q(U,[x,he]):he()},leave(x,U){const z=String(e.key);if(x[Jt]&&x[Jt](!0),n.isUnmounting)return U();J(p,[x]);let P=!1;x[ze]=he=>{P||(P=!0,U(),he?J(C,[x]):J(A,[x]),x[ze]=void 0,V[z]===e&&delete V[z])};const Y=x[ze].bind(null,!1);V[z]=e,m?q(m,[x,Y]):Y()},clone(x){const U=pn(x,t,n,s,r);return r&&r(U),U}};return j}function us(e){if(Yn(e))return e=bt(e),e.children=null,e}function xr(e){if(!Yn(e))return so(e.type)&&e.children?co(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function Nt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Nt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function rr(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===He?(o.patchFlag&128&&r++,s=s.concat(rr(o.children,t,l))):(t||o.type!==Ce)&&s.push(l!=null?bt(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function uo(e,t){return W(e)?de({name:e.name},t,{setup:e}):e}function ao(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ln=new WeakMap;function rn(e,t,n,s,r=!1){if(K(e)){e.forEach((C,F)=>rn(C,t&&(K(t)?t[F]:t),n,s,r));return}if(on(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&rn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?es(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,f=l.refs===oe?l.refs={}:l.refs,h=l.setupState,p=Z(h),m=h===oe?bi:C=>Rr(f,C)?!1:se(p,C),A=(C,F)=>!(F&&Rr(f,F));if(u!=null&&u!==c){if(wr(t),ue(u))f[u]=null,m(u)&&(h[u]=null);else if(fe(u)){const C=t;A(u,C.k)&&(u.value=null),C.k&&(f[C.k]=null)}}if(W(c))bn(c,l,12,[o,f]);else{const C=ue(c),F=fe(c);if(C||F){const M=()=>{if(e.f){const S=C?m(c)?h[c]:f[c]:A()||!e.k?c.value:f[e.k];if(r)K(S)&&Ks(S,i);else if(K(S))S.includes(i)||S.push(i);else if(C)f[c]=[i],m(c)&&(h[c]=f[c]);else{const L=[i];A(c,e.k)&&(c.value=L),e.k&&(f[e.k]=L)}}else C?(f[c]=o,m(c)&&(h[c]=o)):F&&(A(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const S=()=>{M(),Ln.delete(e)};S.id=-1,Ln.set(e,S),ge(S,n)}else wr(e),M()}}}function wr(e){const t=Ln.get(e);t&&(t.flags|=8,Ln.delete(e))}$n().requestIdleCallback;$n().cancelIdleCallback;const on=e=>!!e.type.__asyncLoader,Yn=e=>e.type.__isKeepAlive;function pc(e,t){ho(e,"a",t)}function gc(e,t){ho(e,"da",t)}function ho(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Yn(r.parent.vnode)&&mc(s,t,n,r),r=r.parent}}function mc(e,t,n,s){const r=Qn(t,e,s,!0);_o(()=>{Ks(s[t],r)},n)}function Qn(e,t,n=ye,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ft();const l=An(n),c=je(t,n,e,o);return l(),ut(),c});return s?r.unshift(i):r.push(i),i}}const ht=e=>(t,n=ye)=>{(!mn||e==="sp")&&Qn(e,(...s)=>t(...s),n)},_c=ht("bm"),po=ht("m"),yc=ht("bu"),go=ht("u"),mo=ht("bum"),_o=ht("um"),vc=ht("sp"),bc=ht("rtg"),Ec=ht("rtc");function Ac(e,t=ye){Qn("ec",e,t)}const ir="components",Cc="directives";function fa(e,t){return or(ir,e,!0,t)||e}const yo=Symbol.for("v-ndc");function ua(e){return ue(e)?or(ir,e,!1)||e:e||yo}function aa(e){return or(Cc,e)}function or(e,t,n=!0,s=!1){const r=Pe||ye;if(r){const i=r.type;if(e===ir){const l=af(i,!1);if(l&&(l===t||l===Se(t)||l===Wn(Se(t))))return i}const o=Tr(r[e]||i[e],t)||Tr(r.appContext[e],t);return!o&&s?i:o}}function Tr(e,t){return e&&(e[t]||e[Se(t)]||e[Wn(Se(t))])}function ha(e,t,n,s){let r;const i=n,o=K(e);if(o||ue(e)){const l=o&&ct(e);let c=!1,u=!1;l&&(c=!Ne(e),u=at(e),e=qn(e)),r=new Array(e.length);for(let f=0,h=e.length;f<h;f++)r[f]=t(c?u?kt(Ve(e[f])):Ve(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const f=l[c];r[c]=t(e[f],f,c,i)}}else r=[];return r}const Ts=e=>e?Bo(e)?es(e):Ts(e.parent):null,ln=de(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ts(e.parent),$root:e=>Ts(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bo(e),$forceUpdate:e=>e.f||(e.f=()=>{nr(e.update)}),$nextTick:e=>e.n||(e.n=tr.bind(e.proxy)),$watch:e=>uc.bind(e)}),as=(e,t)=>e!==oe&&!e.__isScriptSetup&&se(e,t),Sc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(as(s,t))return o[t]=1,s[t];if(r!==oe&&se(r,t))return o[t]=2,r[t];if(se(i,t))return o[t]=3,i[t];if(n!==oe&&se(n,t))return o[t]=4,n[t];Os&&(o[t]=0)}}const u=ln[t];let f,h;if(u)return t==="$attrs"&&_e(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==oe&&se(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,se(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return as(r,t)?(r[t]=n,!0):s!==oe&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==oe&&l[0]!=="$"&&se(e,l)||as(t,l)||se(i,l)||se(s,l)||se(ln,l)||se(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function da(){return xc().attrs}function xc(e){const t=En();return t.setupContext||(t.setupContext=jo(t))}function Or(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Os=!0;function Rc(e){const t=bo(e),n=e.proxy,s=e.ctx;Os=!1,t.beforeCreate&&Pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:A,activated:C,deactivated:F,beforeDestroy:M,beforeUnmount:S,destroyed:L,unmounted:N,render:V,renderTracked:J,renderTriggered:q,errorCaptured:j,serverPrefetch:x,expose:U,inheritAttrs:z,components:P,directives:Y,filters:he}=t;if(u&&wc(u,s,null),o)for(const $ in o){const te=o[$];W(te)&&(s[$]=te.bind(n))}if(r){const $=r.call(n,n);ee($)&&(e.data=vn($))}if(Os=!0,i)for(const $ in i){const te=i[$],tt=W(te)?te.bind(n,n):W(te.get)?te.get.bind(n,n):Ze,dt=!W(te)&&W(te.set)?te.set.bind(n):Ze,ke=Le({get:tt,set:dt});Object.defineProperty(s,$,{enumerable:!0,configurable:!0,get:()=>ke.value,set:xe=>ke.value=xe})}if(l)for(const $ in l)vo(l[$],s,n,$);if(c){const $=W(c)?c.call(n):c;Reflect.ownKeys($).forEach(te=>{wn(te,$[te])})}f&&Pr(f,e,"c");function ie($,te){K(te)?te.forEach(tt=>$(tt.bind(n))):te&&$(te.bind(n))}if(ie(_c,h),ie(po,p),ie(yc,m),ie(go,A),ie(pc,C),ie(gc,F),ie(Ac,j),ie(Ec,J),ie(bc,q),ie(mo,S),ie(_o,N),ie(vc,x),K(U))if(U.length){const $=e.exposed||(e.exposed={});U.forEach(te=>{Object.defineProperty($,te,{get:()=>n[te],set:tt=>n[te]=tt,enumerable:!0})})}else e.exposed||(e.exposed={});V&&e.render===Ze&&(e.render=V),z!=null&&(e.inheritAttrs=z),P&&(e.components=P),Y&&(e.directives=Y),x&&ao(e)}function wc(e,t,n=Ze){K(e)&&(e=Ps(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Fe(r.from||s,r.default,!0):i=Fe(r.from||s):i=Fe(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Pr(e,t,n){je(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,s){let r=s.includes(".")?to(n,s):()=>n[s];if(ue(e)){const i=t[e];W(i)&&nn(r,i)}else if(W(e))nn(r,e.bind(n));else if(ee(e))if(K(e))e.forEach(i=>vo(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&nn(r,i,e)}}function bo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Fn(c,u,o,!0)),Fn(c,t,o)),ee(t)&&i.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Fn(e,i,n,!0),r&&r.forEach(o=>Fn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Tc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Tc={data:Ir,props:Nr,emits:Nr,methods:Xt,computed:Xt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Xt,directives:Xt,watch:Pc,provide:Ir,inject:Oc};function Ir(e,t){return t?e?function(){return de(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Oc(e,t){return Xt(Ps(e),Ps(t))}function Ps(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function Xt(e,t){return e?de(Object.create(null),e,t):t}function Nr(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:de(Object.create(null),Or(e),Or(t??{})):t}function Pc(e,t){if(!e)return t;if(!t)return e;const n=de(Object.create(null),e);for(const s in t)n[s]=be(e[s],t[s]);return n}function Eo(){return{app:null,config:{isNativeTag:bi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ic=0;function Nc(e,t){return function(s,r=null){W(s)||(s=de({},s)),r!=null&&!ee(r)&&(r=null);const i=Eo(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:Ic++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:df,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&W(f.install)?(o.add(f),f.install(u,...h)):W(f)&&(o.add(f),f(u,...h))),u},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),u},component(f,h){return h?(i.components[f]=h,u):i.components[f]},directive(f,h){return h?(i.directives[f]=h,u):i.directives[f]},mount(f,h,p){if(!c){const m=u._ceVNode||Te(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,u._container=f,f.__vue_app__=u,es(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(je(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,h){return i.provides[f]=h,u},runWithContext(f){const h=It;It=u;try{return f()}finally{It=h}}};return u}}let It=null;const Mc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Se(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function Dc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||oe;let r=n;const i=t.startsWith("update:"),o=i&&Mc(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>ue(f)?f.trim():f)),o.number&&(r=n.map(_l)));let l,c=s[l=rs(t)]||s[l=rs(Se(t))];!c&&i&&(c=s[l=rs(Et(t))]),c&&je(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,je(u,e,6,r)}}const Lc=new WeakMap;function Ao(e,t,n=!1){const s=n?Lc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=u=>{const f=Ao(u,t,!0);f&&(l=!0,de(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):de(o,i),ee(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Et(t))||se(e,t))}function Mr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:f,props:h,data:p,setupState:m,ctx:A,inheritAttrs:C}=e,F=Dn(e);let M,S;try{if(n.shapeFlag&4){const N=r||s,V=N;M=Qe(u.call(V,N,f,h,m,p,A)),S=l}else{const N=t;M=Qe(N.length>1?N(h,{attrs:l,slots:o,emit:c}):N(h,null)),S=t.props?l:Fc(l)}}catch(N){cn.length=0,zn(N,e,1),M=Te(Ce)}let L=M;if(S&&C!==!1){const N=Object.keys(S),{shapeFlag:V}=L;N.length&&V&7&&(i&&N.some(ks)&&(S=Hc(S,i)),L=bt(L,S,!1,!0))}return n.dirs&&(L=bt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Nt(L,n.transition),M=L,Dn(F),M}const Fc=e=>{let t;for(const n in e)(n==="class"||n==="style"||kn(n))&&((t||(t={}))[n]=e[n]);return t},Hc=(e,t)=>{const n={};for(const s in e)(!ks(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Dr(s,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(Co(o,s,p)&&!Xn(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Dr(s,o,u):!0:!!o;return!1}function Dr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(Co(t,e,i)&&!Xn(n,i))return!0}return!1}function Co(e,t,n){const s=e[n],r=t[n];return n==="style"&&ee(s)&&ee(r)?!$s(s,r):s!==r}function Vc({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const So={},xo=()=>Object.create(So),Ro=e=>Object.getPrototypeOf(e)===So;function jc(e,t,n,s=!1){const r={},i=xo();e.propsDefaults=Object.create(null),wo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:$i(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Uc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let p=f[h];if(Xn(e.emitsOptions,p))continue;const m=t[p];if(c)if(se(i,p))m!==i[p]&&(i[p]=m,u=!0);else{const A=Se(p);r[A]=Is(c,l,A,m,e,!1)}else m!==i[p]&&(i[p]=m,u=!0)}}}else{wo(e,t,r,i)&&(u=!0);let f;for(const h in l)(!t||!se(t,h)&&((f=Et(h))===h||!se(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(r[h]=Is(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!se(t,h))&&(delete i[h],u=!0)}u&&ot(e.attrs,"set","")}function wo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Zt(c))continue;const u=t[c];let f;r&&se(r,f=Se(c))?!i||!i.includes(f)?n[f]=u:(l||(l={}))[f]=u:Xn(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=Z(n),u=l||oe;for(let f=0;f<i.length;f++){const h=i[f];n[h]=Is(r,c,h,u[h],e,!se(u,h))}}return o}function Is(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=se(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const f=An(r);s=u[n]=c.call(null,t),f()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Et(n))&&(s=!0))}return s}const kc=new WeakMap;function To(e,t,n=!1){const s=n?kc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!W(e)){const f=h=>{c=!0;const[p,m]=To(h,t,!0);de(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ee(e)&&s.set(e,Vt),Vt;if(K(i))for(let f=0;f<i.length;f++){const h=Se(i[f]);Lr(h)&&(o[h]=oe)}else if(i)for(const f in i){const h=Se(f);if(Lr(h)){const p=i[f],m=o[h]=K(p)||W(p)?{type:p}:de({},p),A=m.type;let C=!1,F=!0;if(K(A))for(let M=0;M<A.length;++M){const S=A[M],L=W(S)&&S.name;if(L==="Boolean"){C=!0;break}else L==="String"&&(F=!1)}else C=W(A)&&A.name==="Boolean";m[0]=C,m[1]=F,(C||se(m,"default"))&&l.push(h)}}const u=[o,l];return ee(e)&&s.set(e,u),u}function Lr(e){return e[0]!=="$"&&!Zt(e)}const lr=e=>e==="_"||e==="_ctx"||e==="$stable",cr=e=>K(e)?e.map(Qe):[Qe(e)],Kc=(e,t,n)=>{if(t._n)return t;const s=oc((...r)=>cr(t(...r)),n);return s._c=!1,s},Oo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(lr(r))continue;const i=e[r];if(W(i))t[r]=Kc(r,i,s);else if(i!=null){const o=cr(i);t[r]=()=>o}}},Po=(e,t)=>{const n=cr(t);e.slots.default=()=>n},Io=(e,t,n)=>{for(const s in t)(n||!lr(s))&&(e[s]=t[s])},Gc=(e,t,n)=>{const s=e.slots=xo();if(e.vnode.shapeFlag&32){const r=t._;r?(Io(s,t,n),n&&xi(s,"_",r,!0)):Oo(t,s)}else t&&Po(e,t)},Wc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Io(r,t,n):(i=!t.$stable,Oo(t,r)),o=t}else t&&(Po(e,t),o={default:1});if(i)for(const l in r)!lr(l)&&o[l]==null&&delete r[l]},ge=Yc;function $c(e){return qc(e)}function qc(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=Ze,insertStaticContent:A}=e,C=(a,d,g,_=null,b=null,y=null,T=void 0,w=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!wt(a,d)&&(_=v(a),xe(a,b,y,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:k,shapeFlag:I}=d;switch(E){case Zn:F(a,d,g,_);break;case Ce:M(a,d,g,_);break;case ds:a==null&&S(d,g,_,T);break;case He:P(a,d,g,_,b,y,T,w,R);break;default:I&1?V(a,d,g,_,b,y,T,w,R):I&6?Y(a,d,g,_,b,y,T,w,R):(I&64||I&128)&&E.process(a,d,g,_,b,y,T,w,R,H)}k!=null&&b?rn(k,a&&a.ref,y,d||a,!d):k==null&&a&&a.ref!=null&&rn(a.ref,null,y,a,!0)},F=(a,d,g,_)=>{if(a==null)s(d.el=l(d.children),g,_);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},M=(a,d,g,_)=>{a==null?s(d.el=c(d.children||""),g,_):d.el=a.el},S=(a,d,g,_)=>{[a.el,a.anchor]=A(a.children,d,g,_,a.el,a.anchor)},L=({el:a,anchor:d},g,_)=>{let b;for(;a&&a!==d;)b=p(a),s(a,g,_),a=b;s(d,g,_)},N=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=p(a),r(a),a=g;r(d)},V=(a,d,g,_,b,y,T,w,R)=>{if(d.type==="svg"?T="svg":d.type==="math"&&(T="mathml"),a==null)J(d,g,_,b,y,T,w,R);else{const E=a.el&&a.el._isVueCE?a.el:null;try{E&&E._beginPatch(),x(a,d,b,y,T,w,R)}finally{E&&E._endPatch()}}},J=(a,d,g,_,b,y,T,w)=>{let R,E;const{props:k,shapeFlag:I,transition:B,dirs:G}=a;if(R=a.el=o(a.type,y,k&&k.is,k),I&8?f(R,a.children):I&16&&j(a.children,R,null,_,b,hs(a,y),T,w),G&&Ct(a,null,_,"created"),q(R,a,a.scopeId,T,_),k){for(const le in k)le!=="value"&&!Zt(le)&&i(R,le,null,k[le],y,_);"value"in k&&i(R,"value",null,k.value,y),(E=k.onVnodeBeforeMount)&&$e(E,_,a)}G&&Ct(a,null,_,"beforeMount");const X=Jc(b,B);X&&B.beforeEnter(R),s(R,d,g),((E=k&&k.onVnodeMounted)||X||G)&&ge(()=>{E&&$e(E,_,a),X&&B.enter(R),G&&Ct(a,null,_,"mounted")},b)},q=(a,d,g,_,b)=>{if(g&&m(a,g),_)for(let y=0;y<_.length;y++)m(a,_[y]);if(b){let y=b.subTree;if(d===y||Do(y.type)&&(y.ssContent===d||y.ssFallback===d)){const T=b.vnode;q(a,T,T.scopeId,T.slotScopeIds,b.parent)}}},j=(a,d,g,_,b,y,T,w,R=0)=>{for(let E=R;E<a.length;E++){const k=a[E]=w?it(a[E]):Qe(a[E]);C(null,k,d,g,_,b,y,T,w)}},x=(a,d,g,_,b,y,T)=>{const w=d.el=a.el;let{patchFlag:R,dynamicChildren:E,dirs:k}=d;R|=a.patchFlag&16;const I=a.props||oe,B=d.props||oe;let G;if(g&&St(g,!1),(G=B.onVnodeBeforeUpdate)&&$e(G,g,d,a),k&&Ct(d,a,g,"beforeUpdate"),g&&St(g,!0),(I.innerHTML&&B.innerHTML==null||I.textContent&&B.textContent==null)&&f(w,""),E?U(a.dynamicChildren,E,w,g,_,hs(d,b),y):T||te(a,d,w,null,g,_,hs(d,b),y,!1),R>0){if(R&16)z(w,I,B,g,b);else if(R&2&&I.class!==B.class&&i(w,"class",null,B.class,b),R&4&&i(w,"style",I.style,B.style,b),R&8){const X=d.dynamicProps;for(let le=0;le<X.length;le++){const re=X[le],Re=I[re],we=B[re];(we!==Re||re==="value")&&i(w,re,Re,we,b,g)}}R&1&&a.children!==d.children&&f(w,d.children)}else!T&&E==null&&z(w,I,B,g,b);((G=B.onVnodeUpdated)||k)&&ge(()=>{G&&$e(G,g,d,a),k&&Ct(d,a,g,"updated")},_)},U=(a,d,g,_,b,y,T)=>{for(let w=0;w<d.length;w++){const R=a[w],E=d[w],k=R.el&&(R.type===He||!wt(R,E)||R.shapeFlag&198)?h(R.el):g;C(R,E,k,null,_,b,y,T,!0)}},z=(a,d,g,_,b)=>{if(d!==g){if(d!==oe)for(const y in d)!Zt(y)&&!(y in g)&&i(a,y,d[y],null,b,_);for(const y in g){if(Zt(y))continue;const T=g[y],w=d[y];T!==w&&y!=="value"&&i(a,y,w,T,b,_)}"value"in g&&i(a,"value",d.value,g.value,b)}},P=(a,d,g,_,b,y,T,w,R)=>{const E=d.el=a?a.el:l(""),k=d.anchor=a?a.anchor:l("");let{patchFlag:I,dynamicChildren:B,slotScopeIds:G}=d;G&&(w=w?w.concat(G):G),a==null?(s(E,g,_),s(k,g,_),j(d.children||[],g,k,b,y,T,w,R)):I>0&&I&64&&B&&a.dynamicChildren&&a.dynamicChildren.length===B.length?(U(a.dynamicChildren,B,g,b,y,T,w),(d.key!=null||b&&d===b.subTree)&&fr(a,d,!0)):te(a,d,g,k,b,y,T,w,R)},Y=(a,d,g,_,b,y,T,w,R)=>{d.slotScopeIds=w,a==null?d.shapeFlag&512?b.ctx.activate(d,g,_,T,R):he(d,g,_,b,y,T,R):ve(a,d,R)},he=(a,d,g,_,b,y,T)=>{const w=a.component=lf(a,_,b);if(Yn(a)&&(w.ctx.renderer=H),cf(w,!1,T),w.asyncDep){if(b&&b.registerDep(w,ie,T),!a.el){const R=w.subTree=Te(Ce);M(null,R,d,g),a.placeholder=R.el}}else ie(w,a,d,g,b,y,T)},ve=(a,d,g)=>{const _=d.component=a.component;if(Bc(a,d,g))if(_.asyncDep&&!_.asyncResolved){$(_,d,g);return}else _.next=d,_.update();else d.el=a.el,_.vnode=d},ie=(a,d,g,_,b,y,T)=>{const w=()=>{if(a.isMounted){let{next:I,bu:B,u:G,parent:X,vnode:le}=a;{const Ge=No(a);if(Ge){I&&(I.el=le.el,$(a,I,T)),Ge.asyncDep.then(()=>{ge(()=>{a.isUnmounted||E()},b)});return}}let re=I,Re;St(a,!1),I?(I.el=le.el,$(a,I,T)):I=le,B&&is(B),(Re=I.props&&I.props.onVnodeBeforeUpdate)&&$e(Re,X,I,le),St(a,!0);const we=Mr(a),Ke=a.subTree;a.subTree=we,C(Ke,we,h(Ke.el),v(Ke),a,b,y),I.el=we.el,re===null&&Vc(a,we.el),G&&ge(G,b),(Re=I.props&&I.props.onVnodeUpdated)&&ge(()=>$e(Re,X,I,le),b)}else{let I;const{el:B,props:G}=d,{bm:X,m:le,parent:re,root:Re,type:we}=a,Ke=on(d);St(a,!1),X&&is(X),!Ke&&(I=G&&G.onVnodeBeforeMount)&&$e(I,re,d),St(a,!0);{Re.ce&&Re.ce._hasShadowRoot()&&Re.ce._injectChildStyle(we,a.parent?a.parent.type:void 0);const Ge=a.subTree=Mr(a);C(null,Ge,g,_,a,b,y),d.el=Ge.el}if(le&&ge(le,b),!Ke&&(I=G&&G.onVnodeMounted)){const Ge=d;ge(()=>$e(I,re,Ge),b)}(d.shapeFlag&256||re&&on(re.vnode)&&re.vnode.shapeFlag&256)&&a.a&&ge(a.a,b),a.isMounted=!0,d=g=_=null}};a.scope.on();const R=a.effect=new Ni(w);a.scope.off();const E=a.update=R.run.bind(R),k=a.job=R.runIfDirty.bind(R);k.i=a,k.id=a.uid,R.scheduler=()=>nr(k),St(a,!0),E()},$=(a,d,g)=>{d.component=a;const _=a.vnode.props;a.vnode=d,a.next=null,Uc(a,d.props,_,g),Wc(a,d.children,g),ft(),Er(a),ut()},te=(a,d,g,_,b,y,T,w,R=!1)=>{const E=a&&a.children,k=a?a.shapeFlag:0,I=d.children,{patchFlag:B,shapeFlag:G}=d;if(B>0){if(B&128){dt(E,I,g,_,b,y,T,w,R);return}else if(B&256){tt(E,I,g,_,b,y,T,w,R);return}}G&8?(k&16&&Me(E,b,y),I!==E&&f(g,I)):k&16?G&16?dt(E,I,g,_,b,y,T,w,R):Me(E,b,y,!0):(k&8&&f(g,""),G&16&&j(I,g,_,b,y,T,w,R))},tt=(a,d,g,_,b,y,T,w,R)=>{a=a||Vt,d=d||Vt;const E=a.length,k=d.length,I=Math.min(E,k);let B;for(B=0;B<I;B++){const G=d[B]=R?it(d[B]):Qe(d[B]);C(a[B],G,g,null,b,y,T,w,R)}E>k?Me(a,b,y,!0,!1,I):j(d,g,_,b,y,T,w,R,I)},dt=(a,d,g,_,b,y,T,w,R)=>{let E=0;const k=d.length;let I=a.length-1,B=k-1;for(;E<=I&&E<=B;){const G=a[E],X=d[E]=R?it(d[E]):Qe(d[E]);if(wt(G,X))C(G,X,g,null,b,y,T,w,R);else break;E++}for(;E<=I&&E<=B;){const G=a[I],X=d[B]=R?it(d[B]):Qe(d[B]);if(wt(G,X))C(G,X,g,null,b,y,T,w,R);else break;I--,B--}if(E>I){if(E<=B){const G=B+1,X=G<k?d[G].el:_;for(;E<=B;)C(null,d[E]=R?it(d[E]):Qe(d[E]),g,X,b,y,T,w,R),E++}}else if(E>B)for(;E<=I;)xe(a[E],b,y,!0),E++;else{const G=E,X=E,le=new Map;for(E=X;E<=B;E++){const Oe=d[E]=R?it(d[E]):Qe(d[E]);Oe.key!=null&&le.set(Oe.key,E)}let re,Re=0;const we=B-X+1;let Ke=!1,Ge=0;const $t=new Array(we);for(E=0;E<we;E++)$t[E]=0;for(E=G;E<=I;E++){const Oe=a[E];if(Re>=we){xe(Oe,b,y,!0);continue}let We;if(Oe.key!=null)We=le.get(Oe.key);else for(re=X;re<=B;re++)if($t[re-X]===0&&wt(Oe,d[re])){We=re;break}We===void 0?xe(Oe,b,y,!0):($t[We-X]=E+1,We>=Ge?Ge=We:Ke=!0,C(Oe,d[We],g,null,b,y,T,w,R),Re++)}const pr=Ke?zc($t):Vt;for(re=pr.length-1,E=we-1;E>=0;E--){const Oe=X+E,We=d[Oe],gr=d[Oe+1],mr=Oe+1<k?gr.el||Mo(gr):_;$t[E]===0?C(null,We,g,mr,b,y,T,w,R):Ke&&(re<0||E!==pr[re]?ke(We,g,mr,2):re--)}}},ke=(a,d,g,_,b=null)=>{const{el:y,type:T,transition:w,children:R,shapeFlag:E}=a;if(E&6){ke(a.component.subTree,d,g,_);return}if(E&128){a.suspense.move(d,g,_);return}if(E&64){T.move(a,d,g,H);return}if(T===He){s(y,d,g);for(let I=0;I<R.length;I++)ke(R[I],d,g,_);s(a.anchor,d,g);return}if(T===ds){L(a,d,g);return}if(_!==2&&E&1&&w)if(_===0)w.beforeEnter(y),s(y,d,g),ge(()=>w.enter(y),b);else{const{leave:I,delayLeave:B,afterLeave:G}=w,X=()=>{a.ctx.isUnmounted?r(y):s(y,d,g)},le=()=>{y._isLeaving&&y[ze](!0),I(y,()=>{X(),G&&G()})};B?B(y,X,le):le()}else s(y,d,g)},xe=(a,d,g,_=!1,b=!1)=>{const{type:y,props:T,ref:w,children:R,dynamicChildren:E,shapeFlag:k,patchFlag:I,dirs:B,cacheIndex:G}=a;if(I===-2&&(b=!1),w!=null&&(ft(),rn(w,null,g,a,!0),ut()),G!=null&&(d.renderCache[G]=void 0),k&256){d.ctx.deactivate(a);return}const X=k&1&&B,le=!on(a);let re;if(le&&(re=T&&T.onVnodeBeforeUnmount)&&$e(re,d,a),k&6)At(a.component,g,_);else{if(k&128){a.suspense.unmount(g,_);return}X&&Ct(a,null,d,"beforeUnmount"),k&64?a.type.remove(a,d,g,H,_):E&&!E.hasOnce&&(y!==He||I>0&&I&64)?Me(E,d,g,!1,!0):(y===He&&I&384||!b&&k&16)&&Me(R,d,g),_&&Mt(a)}(le&&(re=T&&T.onVnodeUnmounted)||X)&&ge(()=>{re&&$e(re,d,a),X&&Ct(a,null,d,"unmounted")},g)},Mt=a=>{const{type:d,el:g,anchor:_,transition:b}=a;if(d===He){Dt(g,_);return}if(d===ds){N(a);return}const y=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:T,delayLeave:w}=b,R=()=>T(g,y);w?w(a.el,y,R):R()}else y()},Dt=(a,d)=>{let g;for(;a!==d;)g=p(a),r(a),a=g;r(d)},At=(a,d,g)=>{const{bum:_,scope:b,job:y,subTree:T,um:w,m:R,a:E}=a;Fr(R),Fr(E),_&&is(_),b.stop(),y&&(y.flags|=8,xe(T,a,d,g)),w&&ge(w,d),ge(()=>{a.isUnmounted=!0},d)},Me=(a,d,g,_=!1,b=!1,y=0)=>{for(let T=y;T<a.length;T++)xe(a[T],d,g,_,b)},v=a=>{if(a.shapeFlag&6)return v(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=p(a.anchor||a.el),g=d&&d[no];return g?p(g):d};let D=!1;const O=(a,d,g)=>{let _;a==null?d._vnode&&(xe(d._vnode,null,null,!0),_=d._vnode.component):C(d._vnode||null,a,d,null,null,null,g),d._vnode=a,D||(D=!0,Er(_),Xi(),D=!1)},H={p:C,um:xe,m:ke,r:Mt,mt:he,mc:j,pc:te,pbc:U,n:v,o:e};return{render:O,hydrate:void 0,createApp:Nc(O)}}function hs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function St({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fr(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=it(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&fr(o,l)),l.type===Zn&&(l.patchFlag===-1&&(l=r[i]=it(l)),l.el=o.el),l.type===Ce&&!l.el&&(l.el=o.el)}}function zc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function No(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:No(t)}function Fr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mo(t.subTree):null}const Do=e=>e.__isSuspense;function Yc(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):ic(e)}const He=Symbol.for("v-fgt"),Zn=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),ds=Symbol.for("v-stc"),cn=[];let Ie=null;function Qc(e=!1){cn.push(Ie=e?null:[])}function Xc(){cn.pop(),Ie=cn[cn.length-1]||null}let gn=1;function Hn(e,t=!1){gn+=e,e<0&&Ie&&t&&(Ie.hasOnce=!0)}function Lo(e){return e.dynamicChildren=gn>0?Ie||Vt:null,Xc(),gn>0&&Ie&&Ie.push(e),e}function pa(e,t,n,s,r,i){return Lo(Ho(e,t,n,s,r,i,!0))}function Zc(e,t,n,s,r){return Lo(Te(e,t,n,s,r,!0))}function Bn(e){return e?e.__v_isVNode===!0:!1}function wt(e,t){return e.type===t.type&&e.key===t.key}const Fo=({key:e})=>e??null,On=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||fe(e)||W(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function Ho(e,t=null,n=null,s=0,r=null,i=e===He?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fo(t),ref:t&&On(t),scopeId:eo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pe};return l?(ur(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),gn>0&&!o&&Ie&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ie.push(c),c}const Te=ef;function ef(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===yo)&&(e=Ce),Bn(e)){const l=bt(e,t,!0);return n&&ur(l,n),gn>0&&!i&&Ie&&(l.shapeFlag&6?Ie[Ie.indexOf(e)]=l:Ie.push(l)),l.patchFlag=-2,l}if(hf(e)&&(e=e.__vccOpts),t){t=tf(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=Ws(l)),ee(c)&&(Jn(c)&&!K(c)&&(c=de({},c)),t.style=Gs(c))}const o=ue(e)?1:Do(e)?128:so(e)?64:ee(e)?4:W(e)?2:0;return Ho(e,t,n,s,r,o,i,!0)}function tf(e){return e?Jn(e)||Ro(e)?de({},e):e:null}function bt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?sf(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fo(u),ref:t&&t.ref?n&&i?K(i)?i.concat(On(t)):[i,On(t)]:On(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Nt(f,c.clone(f)),f}function nf(e=" ",t=0){return Te(Zn,null,e,t)}function ga(e="",t=!1){return t?(Qc(),Zc(Ce,null,e)):Te(Ce,null,e)}function Qe(e){return e==null||typeof e=="boolean"?Te(Ce):K(e)?Te(He,null,e.slice()):Bn(e)?it(e):Te(Zn,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ro(t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[nf(t)]):n=8);e.children=t,e.shapeFlag|=n}function sf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ws([t.class,s.class]));else if(r==="style")t.style=Gs([t.style,s.style]);else if(kn(r)){const i=t[r],o=s[r];o&&i!==o&&!(K(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function $e(e,t,n,s=null){je(e,t,7,[n,s])}const rf=Eo();let of=0;function lf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||rf,i={uid:of++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Oi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:To(s,r),emitsOptions:Ao(s,r),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:s.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Dc.bind(null,i),e.ce&&e.ce(i),i}let ye=null;const En=()=>ye||Pe;let Vn,Ns;{const e=$n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Vn=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Ns=t("__VUE_SSR_SETTERS__",n=>mn=n)}const An=e=>{const t=ye;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}},Hr=()=>{ye&&ye.scope.off(),Vn(null)};function Bo(e){return e.vnode.shapeFlag&4}let mn=!1;function cf(e,t=!1,n=!1){t&&Ns(t);const{props:s,children:r}=e.vnode,i=Bo(e);jc(e,s,i,t),Gc(e,r,n||t);const o=i?ff(e,t):void 0;return t&&Ns(!1),o}function ff(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sc);const{setup:s}=n;if(s){ft();const r=e.setupContext=s.length>1?jo(e):null,i=An(e),o=bn(s,e,0,[e.props,r]),l=Ai(o);if(ut(),i(),(l||e.sp)&&!on(e)&&ao(e),l){if(o.then(Hr,Hr),t)return o.then(c=>{Br(e,c)}).catch(c=>{zn(c,e,0)});e.asyncDep=o}else Br(e,o)}else Vo(e)}function Br(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Ji(t)),Vo(e)}function Vo(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=An(e);ft();try{Rc(e)}finally{ut(),r()}}}const uf={get(e,t){return _e(e,"get",""),e[t]}};function jo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,uf),slots:e.slots,emit:e.emit,expose:t}}function es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ji(Zs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ln)return ln[n](e)},has(t,n){return n in t||n in ln}})):e.proxy}function af(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function hf(e){return W(e)&&"__vccOpts"in e}const Le=(e,t)=>ec(e,t,mn);function ar(e,t,n){try{Hn(-1);const s=arguments.length;return s===2?ee(t)&&!K(t)?Bn(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Bn(n)&&(n=[n]),Te(e,t,n))}finally{Hn(1)}}const df="3.5.30";let Ms;const Vr=typeof window<"u"&&window.trustedTypes;if(Vr)try{Ms=Vr.createPolicy("vue",{createHTML:e=>e})}catch{}const Uo=Ms?e=>Ms.createHTML(e):e=>e,pf="http://www.w3.org/2000/svg",gf="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,jr=rt&&rt.createElement("template"),mf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?rt.createElementNS(pf,e):t==="mathml"?rt.createElementNS(gf,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{jr.innerHTML=Uo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=jr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pt="transition",zt="animation",Kt=Symbol("_vtc"),ko={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ko=de({},oo,ko),_f=e=>(e.displayName="Transition",e.props=Ko,e),ma=_f((e,{slots:t})=>ar(dc,Go(e),t)),xt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ur=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Go(e){const t={};for(const P in e)P in ko||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,A=yf(r),C=A&&A[0],F=A&&A[1],{onBeforeEnter:M,onEnter:S,onEnterCancelled:L,onLeave:N,onLeaveCancelled:V,onBeforeAppear:J=M,onAppear:q=S,onAppearCancelled:j=L}=t,x=(P,Y,he,ve)=>{P._enterCancelled=ve,mt(P,Y?f:l),mt(P,Y?u:o),he&&he()},U=(P,Y)=>{P._isLeaving=!1,mt(P,h),mt(P,m),mt(P,p),Y&&Y()},z=P=>(Y,he)=>{const ve=P?q:S,ie=()=>x(Y,P,he);xt(ve,[Y,ie]),kr(()=>{mt(Y,P?c:i),qe(Y,P?f:l),Ur(ve)||Kr(Y,s,C,ie)})};return de(t,{onBeforeEnter(P){xt(M,[P]),qe(P,i),qe(P,o)},onBeforeAppear(P){xt(J,[P]),qe(P,c),qe(P,u)},onEnter:z(!1),onAppear:z(!0),onLeave(P,Y){P._isLeaving=!0;const he=()=>U(P,Y);qe(P,h),P._enterCancelled?(qe(P,p),Ds(P)):(Ds(P),qe(P,p)),kr(()=>{P._isLeaving&&(mt(P,h),qe(P,m),Ur(N)||Kr(P,s,F,he))}),xt(N,[P,he])},onEnterCancelled(P){x(P,!1,void 0,!0),xt(L,[P])},onAppearCancelled(P){x(P,!0,void 0,!0),xt(j,[P])},onLeaveCancelled(P){U(P),xt(V,[P])}})}function yf(e){if(e==null)return null;if(ee(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return yl(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kt]||(e[Kt]=new Set)).add(t)}function mt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Kt];n&&(n.delete(t),n.size||(e[Kt]=void 0))}function kr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vf=0;function Kr(e,t,n,s){const r=e._endId=++vf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Wo(e,t);if(!o)return s();const u=o+"end";let f=0;const h=()=>{e.removeEventListener(u,p),i()},p=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(u,p)}function Wo(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${pt}Delay`),i=s(`${pt}Duration`),o=Gr(r,i),l=s(`${zt}Delay`),c=s(`${zt}Duration`),u=Gr(l,c);let f=null,h=0,p=0;t===pt?o>0&&(f=pt,h=o,p=i.length):t===zt?u>0&&(f=zt,h=u,p=c.length):(h=Math.max(o,u),f=h>0?o>u?pt:zt:null,p=f?f===pt?i.length:c.length:0);const m=f===pt&&/\b(?:transform|all)(?:,|$)/.test(s(`${pt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function Gr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Wr(n)+Wr(e[s])))}function Wr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ds(e){return(e?e.ownerDocument:document).body.offsetHeight}function bf(e,t,n){const s=e[Kt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jn=Symbol("_vod"),$o=Symbol("_vsh"),_a={name:"show",beforeMount(e,{value:t},{transition:n}){e[jn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Yt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Yt(e,!0),s.enter(e)):s.leave(e,()=>{Yt(e,!1)}):Yt(e,t))},beforeUnmount(e,{value:t}){Yt(e,t)}};function Yt(e,t){e.style.display=t?e[jn]:"none",e[$o]=!t}const Ef=Symbol(""),Af=/(?:^|;)\s*display\s*:/;function Cf(e,t,n){const s=e.style,r=ue(n);let i=!1;if(n&&!r){if(t)if(ue(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Pn(s,l,"")}else for(const o in t)n[o]==null&&Pn(s,o,"");for(const o in n)o==="display"&&(i=!0),Pn(s,o,n[o])}else if(r){if(t!==n){const o=s[Ef];o&&(n+=";"+o),s.cssText=n,i=Af.test(n)}}else t&&e.removeAttribute("style");jn in e&&(e[jn]=i?s.display:"",e[$o]&&(s.display="none"))}const $r=/\s*!important$/;function Pn(e,t,n){if(K(n))n.forEach(s=>Pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Sf(e,t);$r.test(n)?e.setProperty(Et(s),n.replace($r,""),"important"):e[s]=n}}const qr=["Webkit","Moz","ms"],gs={};function Sf(e,t){const n=gs[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return gs[t]=s;s=Wn(s);for(let r=0;r<qr.length;r++){const i=qr[r]+s;if(i in e)return gs[t]=i}return t}const Jr="http://www.w3.org/1999/xlink";function zr(e,t,n,s,r,i=Sl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Jr,t.slice(6,t.length)):e.setAttributeNS(Jr,t,n):n==null||i&&!Ri(n)?e.removeAttribute(t):e.setAttribute(t,i?"":et(n)?String(n):n)}function Yr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Uo(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ri(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function xf(e,t,n,s){e.addEventListener(t,n,s)}function Rf(e,t,n,s){e.removeEventListener(t,n,s)}const Qr=Symbol("_vei");function wf(e,t,n,s,r=null){const i=e[Qr]||(e[Qr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Tf(t);if(s){const u=i[t]=If(s,r);xf(e,l,u,c)}else o&&(Rf(e,l,o,c),i[t]=void 0)}}const Xr=/(?:Once|Passive|Capture)$/;function Tf(e){let t;if(Xr.test(e)){t={};let s;for(;s=e.match(Xr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let ms=0;const Of=Promise.resolve(),Pf=()=>ms||(Of.then(()=>ms=0),ms=Date.now());function If(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;je(Nf(s,n.value),t,5,[s])};return n.value=e,n.attached=Pf(),n}function Nf(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Zr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mf=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?bf(e,s,o):t==="style"?Cf(e,n,s):kn(t)?ks(t)||wf(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Df(e,t,s,o))?(Yr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zr(e,t,s,o,i,t!=="value")):e._isVueCE&&(Lf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ue(s)))?Yr(e,Se(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),zr(e,t,s,o))};function Df(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zr(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Zr(t)&&ue(n)?!1:t in e}function Lf(e,t){const n=e._def.props;if(!n)return!1;const s=Se(t);return Array.isArray(n)?n.some(r=>Se(r)===s):Object.keys(n).some(r=>Se(r)===s)}const qo=new WeakMap,Jo=new WeakMap,Un=Symbol("_moveCb"),ei=Symbol("_enterCb"),Ff=e=>(delete e.props.mode,e),Hf=Ff({name:"TransitionGroup",props:de({},Ko,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=En(),s=io();let r,i;return go(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Uf(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(Bf),r.forEach(Vf);const l=r.filter(jf);Ds(n.vnode.el),l.forEach(c=>{const u=c.el,f=u.style;qe(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const h=u[Un]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",h),u[Un]=null,mt(u,o))};u.addEventListener("transitionend",h)}),r=[]}),()=>{const o=Z(e),l=Go(o);let c=o.tag||He;if(r=[],i)for(let u=0;u<i.length;u++){const f=i[u];f.el&&f.el instanceof Element&&(r.push(f),Nt(f,pn(f,l,s,n)),qo.set(f,zo(f.el)))}i=t.default?rr(t.default()):[];for(let u=0;u<i.length;u++){const f=i[u];f.key!=null&&Nt(f,pn(f,l,s,n))}return Te(c,null,i)}}}),ya=Hf;function Bf(e){const t=e.el;t[Un]&&t[Un](),t[ei]&&t[ei]()}function Vf(e){Jo.set(e,zo(e.el))}function jf(e){const t=qo.get(e),n=Jo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el,o=i.style,l=i.getBoundingClientRect();let c=1,u=1;return i.offsetWidth&&(c=l.width/i.offsetWidth),i.offsetHeight&&(u=l.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(c-1)<.01&&(c=1),Math.abs(u-1)<.01&&(u=1),o.transform=o.webkitTransform=`translate(${s/c}px,${r/u}px)`,o.transitionDuration="0s",e}}function zo(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Uf(e,t,n){const s=e.cloneNode(),r=e[Kt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Wo(s);return i.removeChild(s),o}const kf=["ctrl","shift","alt","meta"],Kf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>kf.some(n=>e[`${n}Key`]&&!t.includes(n))},va=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=Kf[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},Gf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ba=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=Et(r.key);if(t.some(o=>o===i||Gf[o]===i))return e(r)}))},Wf=de({patchProp:Mf},mf);let ti;function Yo(){return ti||(ti=$c(Wf))}const Ea=((...e)=>{Yo().render(...e)}),Aa=((...e)=>{const t=Yo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=qf(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,$f(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function $f(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qf(e){return ue(e)?document.querySelector(e):e}let Qo;const ts=e=>Qo=e,Xo=Symbol();function Ls(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var fn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fn||(fn={}));function Ca(){const e=Pi(!0),t=e.run(()=>er({}));let n=[],s=[];const r=Zs({install(i){ts(r),r._a=i,i.provide(Xo,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Zo=()=>{};function ni(e,t,n,s=Zo){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&Ii()&&wl(r),r}function Ft(e,...t){e.slice().forEach(n=>{n(...t)})}const Jf=e=>e(),si=Symbol(),_s=Symbol();function Fs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Ls(r)&&Ls(s)&&e.hasOwnProperty(n)&&!fe(s)&&!ct(s)?e[n]=Fs(r,s):e[n]=s}return e}const zf=Symbol();function Yf(e){return!Ls(e)||!e.hasOwnProperty(zf)}const{assign:_t}=Object;function Qf(e){return!!(fe(e)&&e.effect)}function Xf(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const f=Yl(n.state.value[e]);return _t(f,i,Object.keys(o||{}).reduce((h,p)=>(h[p]=Zs(Le(()=>{ts(n);const m=n._s.get(e);return o[p].call(m,m)})),h),{}))}return c=el(e,u,t,n,s,!0),c}function el(e,t,n={},s,r,i){let o;const l=_t({actions:{}},n),c={deep:!0};let u,f,h=[],p=[],m;const A=s.state.value[e];!i&&!A&&(s.state.value[e]={});let C;function F(j){let x;u=f=!1,typeof j=="function"?(j(s.state.value[e]),x={type:fn.patchFunction,storeId:e,events:m}):(Fs(s.state.value[e],j),x={type:fn.patchObject,payload:j,storeId:e,events:m});const U=C=Symbol();tr().then(()=>{C===U&&(u=!0)}),f=!0,Ft(h,x,s.state.value[e])}const M=i?function(){const{state:x}=n,U=x?x():{};this.$patch(z=>{_t(z,U)})}:Zo;function S(){o.stop(),h=[],p=[],s._s.delete(e)}const L=(j,x="")=>{if(si in j)return j[_s]=x,j;const U=function(){ts(s);const z=Array.from(arguments),P=[],Y=[];function he($){P.push($)}function ve($){Y.push($)}Ft(p,{args:z,name:U[_s],store:V,after:he,onError:ve});let ie;try{ie=j.apply(this&&this.$id===e?this:V,z)}catch($){throw Ft(Y,$),$}return ie instanceof Promise?ie.then($=>(Ft(P,$),$)).catch($=>(Ft(Y,$),Promise.reject($))):(Ft(P,ie),ie)};return U[si]=!0,U[_s]=x,U},N={_p:s,$id:e,$onAction:ni.bind(null,p),$patch:F,$reset:M,$subscribe(j,x={}){const U=ni(h,j,x.detached,()=>z()),z=o.run(()=>nn(()=>s.state.value[e],P=>{(x.flush==="sync"?f:u)&&j({storeId:e,type:fn.direct,events:m},P)},_t({},c,x)));return U},$dispose:S},V=vn(N);s._s.set(e,V);const q=(s._a&&s._a.runWithContext||Jf)(()=>s._e.run(()=>(o=Pi()).run(()=>t({action:L}))));for(const j in q){const x=q[j];if(fe(x)&&!Qf(x)||ct(x))i||(A&&Yf(x)&&(fe(x)?x.value=A[j]:Fs(x,A[j])),s.state.value[e][j]=x);else if(typeof x=="function"){const U=L(x,j);q[j]=U,l.actions[j]=x}}return _t(V,q),_t(Z(V),q),Object.defineProperty(V,"$state",{get:()=>s.state.value[e],set:j=>{F(x=>{_t(x,j)})}}),s._p.forEach(j=>{_t(V,o.run(()=>j({store:V,app:s._a,pinia:s,options:l})))}),A&&i&&n.hydrate&&n.hydrate(V.$state,A),u=!0,f=!0,V}function Sa(e,t,n){let s,r;const i=typeof t=="function";typeof e=="string"?(s=e,r=i?n:t):(r=e,s=e.id);function o(l,c){const u=lc();return l=l||(u?Fe(Xo,null):null),l&&ts(l),l=Qo,l._s.has(s)||(i?el(s,t,r,l):Xf(s,r,l)),l._s.get(s)}return o.$id=s,o}const Bt=typeof document<"u";function tl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tl(e.default)}const ne=Object.assign;function ys(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ue(r)?r.map(e):e(r)}return n}const un=()=>{},Ue=Array.isArray;function ri(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const nl=/#/g,eu=/&/g,tu=/\//g,nu=/=/g,su=/\?/g,sl=/\+/g,ru=/%5B/g,iu=/%5D/g,rl=/%5E/g,ou=/%60/g,il=/%7B/g,lu=/%7C/g,ol=/%7D/g,cu=/%20/g;function hr(e){return e==null?"":encodeURI(""+e).replace(lu,"|").replace(ru,"[").replace(iu,"]")}function fu(e){return hr(e).replace(il,"{").replace(ol,"}").replace(rl,"^")}function Hs(e){return hr(e).replace(sl,"%2B").replace(cu,"+").replace(nl,"%23").replace(eu,"%26").replace(ou,"`").replace(il,"{").replace(ol,"}").replace(rl,"^")}function uu(e){return Hs(e).replace(nu,"%3D")}function au(e){return hr(e).replace(nl,"%23").replace(su,"%3F")}function hu(e){return au(e).replace(tu,"%2F")}function _n(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const du=/\/$/,pu=e=>e.replace(du,"");function vs(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=yu(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:_n(o)}}function gu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Gt(t.matched[s],n.matched[r])&&ll(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ll(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!_u(e[n],t[n]))return!1;return!0}function _u(e,t){return Ue(e)?oi(e,t):Ue(t)?oi(t,e):e?.valueOf()===t?.valueOf()}function oi(e,t){return Ue(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Bs=(function(e){return e.pop="pop",e.push="push",e})({}),bs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function vu(e){if(!e)if(Bt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),pu(e)}const bu=/^[^#]+#/;function Eu(e,t){return e.replace(bu,"#")+t}function Au(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ns=()=>({left:window.scrollX,top:window.scrollY});function Cu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Au(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function li(e,t){return(history.state?history.state.position-t:-1)+e}const Vs=new Map;function Su(e,t){Vs.set(e,t)}function xu(e){const t=Vs.get(e);return Vs.delete(e),t}function Ru(e){return typeof e=="string"||e&&typeof e=="object"}function cl(e){return typeof e=="string"||typeof e=="symbol"}let ae=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const fl=Symbol("");ae.MATCHER_NOT_FOUND+"",ae.NAVIGATION_GUARD_REDIRECT+"",ae.NAVIGATION_ABORTED+"",ae.NAVIGATION_CANCELLED+"",ae.NAVIGATION_DUPLICATED+"";function Wt(e,t){return ne(new Error,{type:e,[fl]:!0},t)}function st(e,t){return e instanceof Error&&fl in e&&(t==null||!!(e.type&t))}const wu=["params","query","hash"];function Tu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of wu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ou(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(sl," "),i=r.indexOf("="),o=_n(i<0?r:r.slice(0,i)),l=i<0?null:_n(r.slice(i+1));if(o in t){let c=t[o];Ue(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function ci(e){let t="";for(let n in e){const s=e[n];if(n=uu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ue(s)?s.map(r=>r&&Hs(r)):[s&&Hs(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Pu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ue(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Iu=Symbol(""),fi=Symbol(""),ss=Symbol(""),dr=Symbol(""),js=Symbol("");function Qt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(Wt(ae.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):Ru(p)?c(Wt(ae.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},f=i(()=>e.call(s&&s.instances[r],t,n,u));let h=Promise.resolve(f);e.length<3&&(h=h.then(u)),h.catch(p=>c(p))})}function Es(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(tl(c)){const u=(c.__vccOpts||c)[t];u&&i.push(vt(u,n,s,o,l,r))}else{let u=c();i.push(()=>u.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const h=Zf(f)?f.default:f;o.mods[l]=f,o.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&vt(p,n,s,o,l,r)()}))}}return i}function Nu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(u=>Gt(u,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(u=>Gt(u,c))||r.push(c))}return[n,s,r]}let Mu=()=>location.protocol+"//"+location.host;function ul(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),ii(l,"")}return ii(n,e)+s+r}function Du(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=ul(e,location),A=n.value,C=t.value;let F=0;if(p){if(n.value=m,t.value=p,o&&o===A){o=null;return}F=C?p.position-C.position:0}else s(m);r.forEach(M=>{M(n.value,A,{delta:F,type:Bs.pop,direction:F?F>0?bs.forward:bs.back:bs.unknown})})};function c(){o=n.value}function u(p){r.push(p);const m=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ne({},p.state,{scroll:ns()}),"")}}function h(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:u,destroy:h}}function ui(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ns():null}}function Lu(e){const{history:t,location:n}=window,s={value:ul(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Mu()+e+c;try{t[f?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function o(c,u){i(c,ne({},t.state,ui(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const f=ne({},r.value,t.state,{forward:c,scroll:ns()});i(f.current,f,!0),i(c,ne({},ui(s.value,c,null),{position:f.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function Fu(e){e=vu(e);const t=Lu(e),n=Du(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=ne({location:"",base:e,go:s,createHref:Eu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function xa(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Fu(e)}let Tt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var pe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(pe||{});const Hu={type:Tt.Static,value:""},Bu=/[a-zA-Z0-9_]/;function Vu(e){if(!e)return[[]];if(e==="/")return[[Hu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=pe.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,u="",f="";function h(){u&&(n===pe.Static?i.push({type:Tt.Static,value:u}):n===pe.Param||n===pe.ParamRegExp||n===pe.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Tt.Param,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==pe.ParamRegExp){s=n,n=pe.EscapeNext;continue}switch(n){case pe.Static:c==="/"?(u&&h(),o()):c===":"?(h(),n=pe.Param):p();break;case pe.EscapeNext:p(),n=s;break;case pe.Param:c==="("?n=pe.ParamRegExp:Bu.test(c)?p():(h(),n=pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case pe.ParamRegExp:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=pe.ParamRegExpEnd:f+=c;break;case pe.ParamRegExpEnd:h(),n=pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===pe.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),h(),o(),r}const ai="[^/]+?",ju={sensitive:!1,strict:!1,start:!0,end:!0};var Ee=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ee||{});const Uu=/[.+*?^${}()[\]/\\]/g;function ku(e,t){const n=ne({},ju,t),s=[];let r=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[Ee.Root];n.strict&&!u.length&&(r+="/");for(let h=0;h<u.length;h++){const p=u[h];let m=Ee.Segment+(n.sensitive?Ee.BonusCaseSensitive:0);if(p.type===Tt.Static)h||(r+="/"),r+=p.value.replace(Uu,"\\$&"),m+=Ee.Static;else if(p.type===Tt.Param){const{value:A,repeatable:C,optional:F,regexp:M}=p;i.push({name:A,repeatable:C,optional:F});const S=M||ai;if(S!==ai){m+=Ee.BonusCustomRegExp;try{`${S}`}catch(N){throw new Error(`Invalid custom RegExp for param "${A}" (${S}): `+N.message)}}let L=C?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;h||(L=F&&u.length<2?`(?:/${L})`:"/"+L),F&&(L+="?"),r+=L,m+=Ee.Dynamic,F&&(m+=Ee.BonusOptional),C&&(m+=Ee.BonusRepeatable),S===".*"&&(m+=Ee.BonusWildcard)}f.push(m)}s.push(f)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Ee.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(u){const f=u.match(o),h={};if(!f)return null;for(let p=1;p<f.length;p++){const m=f[p]||"",A=i[p-1];h[A.name]=m&&A.repeatable?m.split("/"):m}return h}function c(u){let f="",h=!1;for(const p of e){(!h||!f.endsWith("/"))&&(f+="/"),h=!1;for(const m of p)if(m.type===Tt.Static)f+=m.value;else if(m.type===Tt.Param){const{value:A,repeatable:C,optional:F}=m,M=A in u?u[A]:"";if(Ue(M)&&!C)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const S=Ue(M)?M.join("/"):M;if(!S)if(F)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):h=!0);else throw new Error(`Missing required param "${A}"`);f+=S}}return f||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function Ku(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ee.Static+Ee.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ee.Static+Ee.Segment?1:-1:0}function al(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Ku(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(hi(s))return 1;if(hi(r))return-1}return r.length-s.length}function hi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gu={strict:!1,end:!0,sensitive:!1};function Wu(e,t,n){const s=ku(Vu(e.path),n),r=ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function $u(e,t){const n=[],s=new Map;t=ri(Gu,t);function r(h){return s.get(h)}function i(h,p,m){const A=!m,C=pi(h);C.aliasOf=m&&m.record;const F=ri(t,h),M=[C];if("alias"in h){const N=typeof h.alias=="string"?[h.alias]:h.alias;for(const V of N)M.push(pi(ne({},C,{components:m?m.record.components:C.components,path:V,aliasOf:m?m.record:C})))}let S,L;for(const N of M){const{path:V}=N;if(p&&V[0]!=="/"){const J=p.record.path,q=J[J.length-1]==="/"?"":"/";N.path=p.record.path+(V&&q+V)}if(S=Wu(N,p,F),m?m.alias.push(S):(L=L||S,L!==S&&L.alias.push(S),A&&h.name&&!gi(S)&&o(h.name)),hl(S)&&c(S),C.children){const J=C.children;for(let q=0;q<J.length;q++)i(J[q],S,m&&m.children[q])}m=m||S}return L?()=>{o(L)}:un}function o(h){if(cl(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function l(){return n}function c(h){const p=zu(h,n);n.splice(p,0,h),h.record.name&&!gi(h)&&s.set(h.record.name,h)}function u(h,p){let m,A={},C,F;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw Wt(ae.MATCHER_NOT_FOUND,{location:h});F=m.record.name,A=ne(di(p.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),h.params&&di(h.params,m.keys.map(L=>L.name))),C=m.stringify(A)}else if(h.path!=null)C=h.path,m=n.find(L=>L.re.test(C)),m&&(A=m.parse(C),F=m.record.name);else{if(m=p.name?s.get(p.name):n.find(L=>L.re.test(p.path)),!m)throw Wt(ae.MATCHER_NOT_FOUND,{location:h,currentLocation:p});F=m.record.name,A=ne({},p.params,h.params),C=m.stringify(A)}const M=[];let S=m;for(;S;)M.unshift(S.record),S=S.parent;return{name:F,path:C,params:A,matched:M,meta:Ju(M)}}e.forEach(h=>i(h));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function di(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function pi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function qu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function gi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ju(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function zu(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;al(e,t[i])<0?s=i:n=i+1}const r=Yu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Yu(e){let t=e;for(;t=t.parent;)if(hl(t)&&al(e,t)===0)return t}function hl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function mi(e){const t=Fe(ss),n=Fe(dr),s=Le(()=>{const c=Pt(e.to);return t.resolve(c)}),r=Le(()=>{const{matched:c}=s.value,{length:u}=c,f=c[u-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(Gt.bind(null,f));if(p>-1)return p;const m=_i(c[u-2]);return u>1&&_i(f)===m&&h[h.length-1].path!==m?h.findIndex(Gt.bind(null,c[u-2])):p}),i=Le(()=>r.value>-1&&ta(n.params,s.value.params)),o=Le(()=>r.value>-1&&r.value===n.matched.length-1&&ll(n.params,s.value.params));function l(c={}){if(ea(c)){const u=t[Pt(e.replace)?"replace":"push"](Pt(e.to)).catch(un);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:Le(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Qu(e){return e.length===1?e[0]:e}const Xu=uo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:mi,setup(e,{slots:t}){const n=vn(mi(e)),{options:s}=Fe(ss),r=Le(()=>({[yi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[yi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Qu(t.default(n));return e.custom?i:ar("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Zu=Xu;function ea(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ta(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ue(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function _i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yi=(e,t,n)=>e??t??n,na=uo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Fe(js),r=Le(()=>e.route||s.value),i=Fe(fi,0),o=Le(()=>{let u=Pt(i);const{matched:f}=r.value;let h;for(;(h=f[u])&&!h.components;)u++;return u}),l=Le(()=>r.value.matched[o.value]);wn(fi,Le(()=>o.value+1)),wn(Iu,l),wn(js,r);const c=er();return nn(()=>[c.value,l.value,e.name],([u,f,h],[p,m,A])=>{f&&(f.instances[h]=u,m&&m!==f&&u&&u===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),u&&f&&(!m||!Gt(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(C=>C(u))},{flush:"post"}),()=>{const u=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return vi(n.default,{Component:p,route:u});const m=h.props[f],A=m?m===!0?u.params:typeof m=="function"?m(u):m:null,F=ar(p,ne({},A,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return vi(n.default,{Component:F,route:u})||F}}});function vi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sa=na;function Ra(e){const t=$u(e.routes,e),n=e.parseQuery||Ou,s=e.stringifyQuery||ci,r=e.history,i=Qt(),o=Qt(),l=Qt(),c=ql(gt);let u=gt;Bt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ys.bind(null,v=>""+v),h=ys.bind(null,hu),p=ys.bind(null,_n);function m(v,D){let O,H;return cl(v)?(O=t.getRecordMatcher(v),H=D):H=v,t.addRoute(H,O)}function A(v){const D=t.getRecordMatcher(v);D&&t.removeRoute(D)}function C(){return t.getRoutes().map(v=>v.record)}function F(v){return!!t.getRecordMatcher(v)}function M(v,D){if(D=ne({},D||c.value),typeof v=="string"){const g=vs(n,v,D.path),_=t.resolve({path:g.path},D),b=r.createHref(g.fullPath);return ne(g,_,{params:p(_.params),hash:_n(g.hash),redirectedFrom:void 0,href:b})}let O;if(v.path!=null)O=ne({},v,{path:vs(n,v.path,D.path).path});else{const g=ne({},v.params);for(const _ in g)g[_]==null&&delete g[_];O=ne({},v,{params:h(g)}),D.params=h(D.params)}const H=t.resolve(O,D),Q=v.hash||"";H.params=f(p(H.params));const a=gu(s,ne({},v,{hash:fu(Q),path:H.path})),d=r.createHref(a);return ne({fullPath:a,hash:Q,query:s===ci?Pu(v.query):v.query||{}},H,{redirectedFrom:void 0,href:d})}function S(v){return typeof v=="string"?vs(n,v,c.value.path):ne({},v)}function L(v,D){if(u!==v)return Wt(ae.NAVIGATION_CANCELLED,{from:D,to:v})}function N(v){return q(v)}function V(v){return N(ne(S(v),{replace:!0}))}function J(v,D){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:H}=O;let Q=typeof H=="function"?H(v,D):H;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=S(Q):{path:Q},Q.params={}),ne({query:v.query,hash:v.hash,params:Q.path!=null?{}:v.params},Q)}}function q(v,D){const O=u=M(v),H=c.value,Q=v.state,a=v.force,d=v.replace===!0,g=J(O,H);if(g)return q(ne(S(g),{state:typeof g=="object"?ne({},Q,g.state):Q,force:a,replace:d}),D||O);const _=O;_.redirectedFrom=D;let b;return!a&&mu(s,H,O)&&(b=Wt(ae.NAVIGATION_DUPLICATED,{to:_,from:H}),ke(H,H,!0,!1)),(b?Promise.resolve(b):U(_,H)).catch(y=>st(y)?st(y,ae.NAVIGATION_GUARD_REDIRECT)?y:dt(y):te(y,_,H)).then(y=>{if(y){if(st(y,ae.NAVIGATION_GUARD_REDIRECT))return q(ne({replace:d},S(y.to),{state:typeof y.to=="object"?ne({},Q,y.to.state):Q,force:a}),D||_)}else y=P(_,H,!0,d,Q);return z(_,H,y),y})}function j(v,D){const O=L(v,D);return O?Promise.reject(O):Promise.resolve()}function x(v){const D=Dt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(v):v()}function U(v,D){let O;const[H,Q,a]=Nu(v,D);O=Es(H.reverse(),"beforeRouteLeave",v,D);for(const g of H)g.leaveGuards.forEach(_=>{O.push(vt(_,v,D))});const d=j.bind(null,v,D);return O.push(d),Me(O).then(()=>{O=[];for(const g of i.list())O.push(vt(g,v,D));return O.push(d),Me(O)}).then(()=>{O=Es(Q,"beforeRouteUpdate",v,D);for(const g of Q)g.updateGuards.forEach(_=>{O.push(vt(_,v,D))});return O.push(d),Me(O)}).then(()=>{O=[];for(const g of a)if(g.beforeEnter)if(Ue(g.beforeEnter))for(const _ of g.beforeEnter)O.push(vt(_,v,D));else O.push(vt(g.beforeEnter,v,D));return O.push(d),Me(O)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),O=Es(a,"beforeRouteEnter",v,D,x),O.push(d),Me(O))).then(()=>{O=[];for(const g of o.list())O.push(vt(g,v,D));return O.push(d),Me(O)}).catch(g=>st(g,ae.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function z(v,D,O){l.list().forEach(H=>x(()=>H(v,D,O)))}function P(v,D,O,H,Q){const a=L(v,D);if(a)return a;const d=D===gt,g=Bt?history.state:{};O&&(H||d?r.replace(v.fullPath,ne({scroll:d&&g&&g.scroll},Q)):r.push(v.fullPath,Q)),c.value=v,ke(v,D,O,d),dt()}let Y;function he(){Y||(Y=r.listen((v,D,O)=>{if(!At.listening)return;const H=M(v),Q=J(H,At.currentRoute.value);if(Q){q(ne(Q,{replace:!0,force:!0}),H).catch(un);return}u=H;const a=c.value;Bt&&Su(li(a.fullPath,O.delta),ns()),U(H,a).catch(d=>st(d,ae.NAVIGATION_ABORTED|ae.NAVIGATION_CANCELLED)?d:st(d,ae.NAVIGATION_GUARD_REDIRECT)?(q(ne(S(d.to),{force:!0}),H).then(g=>{st(g,ae.NAVIGATION_ABORTED|ae.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===Bs.pop&&r.go(-1,!1)}).catch(un),Promise.reject()):(O.delta&&r.go(-O.delta,!1),te(d,H,a))).then(d=>{d=d||P(H,a,!1),d&&(O.delta&&!st(d,ae.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===Bs.pop&&st(d,ae.NAVIGATION_ABORTED|ae.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(H,a,d)}).catch(un)}))}let ve=Qt(),ie=Qt(),$;function te(v,D,O){dt(v);const H=ie.list();return H.length?H.forEach(Q=>Q(v,D,O)):console.error(v),Promise.reject(v)}function tt(){return $&&c.value!==gt?Promise.resolve():new Promise((v,D)=>{ve.add([v,D])})}function dt(v){return $||($=!v,he(),ve.list().forEach(([D,O])=>v?O(v):D()),ve.reset()),v}function ke(v,D,O,H){const{scrollBehavior:Q}=e;if(!Bt||!Q)return Promise.resolve();const a=!O&&xu(li(v.fullPath,0))||(H||!O)&&history.state&&history.state.scroll||null;return tr().then(()=>Q(v,D,a)).then(d=>d&&Cu(d)).catch(d=>te(d,v,D))}const xe=v=>r.go(v);let Mt;const Dt=new Set,At={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:C,resolve:M,options:e,push:N,replace:V,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ie.add,isReady:tt,install(v){v.component("RouterLink",Zu),v.component("RouterView",sa),v.config.globalProperties.$router=At,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Pt(c)}),Bt&&!Mt&&c.value===gt&&(Mt=!0,N(r.location).catch(H=>{}));const D={};for(const H in gt)Object.defineProperty(D,H,{get:()=>c.value[H],enumerable:!0});v.provide(ss,At),v.provide(dr,$i(D)),v.provide(js,c);const O=v.unmount;Dt.add(v),v.unmount=function(){Dt.delete(v),Dt.size<1&&(u=gt,Y&&Y(),Y=null,c.value=gt,Mt=!1,$=!1),O()}}};function Me(v){return v.reduce((D,O)=>D.then(()=>x(O)),Promise.resolve())}return At}function wa(){return Fe(ss)}function Ta(e){return Fe(dr)}export{wa as $,va as A,ia as B,Ce as C,_c as D,ca as E,He as F,nf as G,fe as H,Yl as I,Z as J,da as K,yc as L,Ii as M,wl as N,ya as O,pc as P,gc as Q,Aa as R,Ra as S,Zn as T,xa as U,Sa as V,Zc as W,fa as X,Qc as Y,oc as Z,Ca as _,go as a,Ta as a0,Ho as a1,Ws as a2,pa as a3,ga as a4,Rl as a5,ua as a6,ha as a7,Gs as a8,ba as a9,_o as b,Le as c,uo as d,Fe as e,er as f,En as g,la as h,Bn as i,mo as j,Te as k,ar as l,ma as m,tr as n,po as o,wn as p,oa as q,vn as r,ql as s,ra as t,Pt as u,aa as v,nn as w,bt as x,Ea as y,_a as z};
@@ -0,0 +1 @@
1
+ import{V as _,f as m,c as $}from"./vendor-CN0Iv_qZ.js";let R=0;const f=()=>`wp-${++R}`,H=_("ws",()=>{const c=m(null),s=m("disconnected"),w=m(null),u=new Map,a=new Map;let h=null,v=1e3;const i=window.__CC_CONFIG__||{},g=$(()=>`ws://${i.wsHost||"127.0.0.1"}:${i.wsPort||18800}`);function p(){if(c.value?.readyState!==WebSocket.OPEN){s.value="connecting",w.value=null;try{const e=new WebSocket(g.value);c.value=e,e.onopen=()=>{v=1e3,i.wsToken?l({type:"auth",id:f(),token:i.wsToken}).then(()=>{s.value="connected"}).catch(()=>{s.value="connected"}):s.value="connected"},e.onmessage=n=>{let t;try{t=JSON.parse(n.data)}catch{return}N(t)},e.onerror=()=>{w.value="WebSocket error",s.value="error"},e.onclose=()=>{s.value="disconnected",c.value=null,u.forEach(({reject:n})=>n(new Error("WebSocket closed"))),u.clear(),h=setTimeout(()=>{v=Math.min(v*2,3e4),p()},v)}}catch(e){s.value="error",w.value=e.message}}}function E(){clearTimeout(h),c.value?.close(),c.value=null,s.value="disconnected"}function N(e){const{type:n,id:t}=e;if(t&&u.has(t)){const{resolve:o,reject:d,timeout:M}=u.get(t);clearTimeout(M),u.delete(t),n==="error"?d(new Error(e.message||"Unknown error")):o(e);return}const r=e.sessionId;r&&a.has(r)&&a.get(r).forEach(d=>d(e)),y.forEach(o=>o(e))}const y=new Set;function O(e){return y.add(e),()=>y.delete(e)}function W(e,n){return a.has(e)||a.set(e,new Set),a.get(e).add(n),()=>{a.get(e)?.delete(n),a.get(e)?.size===0&&a.delete(e)}}function l(e,n=15e3){return new Promise((t,r)=>{if(c.value?.readyState!==WebSocket.OPEN){r(new Error("WebSocket not connected"));return}const o=e.id||f(),d=setTimeout(()=>{u.delete(o),r(new Error("Request timeout"))},n);u.set(o,{resolve:t,reject:r,timeout:d}),c.value.send(JSON.stringify({...e,id:o}))})}function S(e=8e3){return s.value==="connected"?Promise.resolve():new Promise((n,t)=>{const r=Date.now()+e,o=()=>{if(s.value==="connected")return n();if(s.value==="error"||Date.now()>=r)return t(new Error(`WS not ready: ${s.value}`));setTimeout(o,150)};s.value==="disconnected"&&p(),o()})}async function k(e,n=3e4){await S(8e3);const t=await l({type:"execute",command:e},n),r=t.output??t.stdout??"",o=t.stderr??"";return{output:r||o,exitCode:t.exitCode??0}}async function b(e,n=3e4){const{output:t,exitCode:r}=await k(e,n);if(r!==0)throw new Error(`Command failed: ${t}`);try{return JSON.parse(t.trim())}catch{const o=t.match(/\{[\s\S]*\}|\[[\s\S]*\]/);if(o)return JSON.parse(o[0]);throw new Error(`Invalid JSON output: ${t.slice(0,200)}`)}}async function C(e="chat",n=null){await S(8e3);const t=f();return(await l({type:"session-create",id:t,sessionType:e,projectRoot:n||i.projectRoot||null})).sessionId}function J(e,n){c.value?.readyState===WebSocket.OPEN&&c.value.send(JSON.stringify({type:"session-message",id:f(),sessionId:e,content:n}))}function P(e,n,t){c.value?.readyState===WebSocket.OPEN&&c.value.send(JSON.stringify({type:"session-answer",id:f(),sessionId:e,requestId:n,answer:t}))}async function T(){return await S(8e3),(await l({type:"session-list"},1e4)).sessions||[]}async function x(e){try{await l({type:"session-close",sessionId:e},5e3)}catch{}}return{status:s,error:w,wsUrl:g,connect:p,disconnect:E,waitConnected:S,onMessage:O,onSession:W,execute:k,executeJson:b,createSession:C,sendSessionMessage:J,answerQuestion:P,listSessions:T,closeSession:x}});export{H as u};
@@ -8,10 +8,10 @@
8
8
  // Injected by web-ui-server.js at serve time
9
9
  window.__CC_CONFIG__ = __CC_CONFIG_PLACEHOLDER__;
10
10
  </script>
11
- <script type="module" crossorigin src="./assets/index-Ze9tR-zc.js"></script>
12
- <link rel="modulepreload" crossorigin href="./assets/vendor-Ks18OpWK.js">
13
- <link rel="modulepreload" crossorigin href="./assets/antd-BhDHu4KM.js">
14
- <link rel="stylesheet" crossorigin href="./assets/index-B6snAd4S.css">
11
+ <script type="module" crossorigin src="./assets/index-DQ5xXK7O.js"></script>
12
+ <link rel="modulepreload" crossorigin href="./assets/vendor-CN0Iv_qZ.js">
13
+ <link rel="modulepreload" crossorigin href="./assets/antd-ChLPLhSn.js">
14
+ <link rel="stylesheet" crossorigin href="./assets/index-CyGyEIVX.css">
15
15
  </head>
16
16
  <body>
17
17
  <div id="app"></div>
@@ -8,6 +8,7 @@ import {
8
8
  } from "../lib/config-manager.js";
9
9
  import { getConfigPath } from "../lib/paths.js";
10
10
  import logger from "../lib/logger.js";
11
+ import { listFeatures, setFeature, getFlagInfo } from "../lib/feature-flags.js";
11
12
 
12
13
  export function registerConfigCommand(program) {
13
14
  const cmd = program
@@ -69,6 +70,49 @@ export function registerConfigCommand(program) {
69
70
  }
70
71
  });
71
72
 
73
+ // ── Feature Flags ──────────────────────────────────────────────────
74
+
75
+ const featuresCmd = cmd
76
+ .command("features")
77
+ .description("Manage feature flags");
78
+
79
+ featuresCmd
80
+ .command("list")
81
+ .alias("ls")
82
+ .description("Show all feature flags and their status")
83
+ .action(() => {
84
+ const flags = listFeatures();
85
+ logger.log(chalk.bold("\n Feature Flags\n"));
86
+ for (const f of flags) {
87
+ const status = f.enabled ? chalk.green("● ON ") : chalk.gray("○ OFF");
88
+ const src = chalk.gray(`[${f.source}]`);
89
+ logger.log(` ${status} ${chalk.cyan(f.name)} ${src}`);
90
+ logger.log(` ${chalk.gray(f.description)}`);
91
+ }
92
+ logger.newline();
93
+ });
94
+
95
+ featuresCmd
96
+ .command("enable")
97
+ .description("Enable a feature flag")
98
+ .argument("<name>", "Flag name (e.g. CONTEXT_SNIP)")
99
+ .action((name) => {
100
+ setFeature(name, true);
101
+ const info = getFlagInfo(name);
102
+ logger.success(`Enabled ${name}${info ? ` — ${info.description}` : ""}`);
103
+ });
104
+
105
+ featuresCmd
106
+ .command("disable")
107
+ .description("Disable a feature flag")
108
+ .argument("<name>", "Flag name (e.g. CONTEXT_SNIP)")
109
+ .action((name) => {
110
+ setFeature(name, false);
111
+ logger.success(`Disabled ${name}`);
112
+ });
113
+
114
+ // ── Reset ──────────────────────────────────────────────────────────
115
+
72
116
  cmd
73
117
  .command("reset")
74
118
  .description("Reset configuration to defaults")
package/src/constants.js CHANGED
@@ -135,6 +135,7 @@ export const DEFAULT_CONFIG = {
135
135
  setupCompleted: false,
136
136
  completedAt: null,
137
137
  edition: "personal",
138
+ features: {},
138
139
  paths: {
139
140
  projectRoot: null,
140
141
  database: null,