@minimaxclaw/cli 1.0.44 → 1.0.45

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 (75) hide show
  1. package/README.md +17 -19
  2. package/package.json +9 -9
  3. package/web/dist/assets/{AssistantsView-Y4TXobGE.js → AssistantsView-Y3nFezhd.js} +1 -1
  4. package/web/dist/assets/AutomationView-bf7_zU_p.js +4 -0
  5. package/web/dist/assets/Button-B43HsIQ3.js +1 -0
  6. package/web/dist/assets/{ChannelConfigView-WJ-zUV8p.js → ChannelConfigView---Dwl3Fk.js} +3 -3
  7. package/web/dist/assets/ChartsView-Dw6G-jf3.js +1 -0
  8. package/web/dist/assets/{ConnectorsView-DaHmxnGE.js → ConnectorsView-BWvdrpyK.js} +2 -2
  9. package/web/dist/assets/{DiffPreview-D8tIj_aF.js → DiffPreview-WQihq3bK.js} +57 -56
  10. package/web/dist/assets/{FileContextMenu-C5WYeBNu.js → FileContextMenu-CyjXlSHp.js} +1 -1
  11. package/web/dist/assets/FileTreeView-Cafy33nT.js +1 -0
  12. package/web/dist/assets/HookConfigView-D-lASVju.js +2 -0
  13. package/web/dist/assets/InboxView-BWajw-Yx.js +1 -0
  14. package/web/dist/assets/InputArea-CSqaA55j.js +31 -0
  15. package/web/dist/assets/Install-ClEm4oGX.js +2 -0
  16. package/web/dist/assets/MemoryView-DLri75dm.js +1 -0
  17. package/web/dist/assets/ModelsView-BBLUMzR5.js +1 -0
  18. package/web/dist/assets/PluginsView-C-fnbDGZ.js +1 -0
  19. package/web/dist/assets/ProjectsView-BruI2W_l.js +1 -0
  20. package/web/dist/assets/{SessionGrid-BQSrCDqQ.js → SessionGrid-7GLpwn6d.js} +4 -4
  21. package/web/dist/assets/SettingsModal-cc9Qu2QU.js +4 -0
  22. package/web/dist/assets/SkillsView-Bf-2-U_q.js +1 -0
  23. package/web/dist/assets/TemplatesTab-CKul8nbL.js +2 -0
  24. package/web/dist/assets/{ToolsView-CjdYiaNz.js → ToolsView-D_aluOsK.js} +1 -1
  25. package/web/dist/assets/WorkspaceDirPicker-Z42YqE4a.js +5 -0
  26. package/web/dist/assets/{agentIconSet-CDeMxTHf.js → agentIconSet-Cqhm4UOl.js} +1 -1
  27. package/web/dist/assets/api-BW4-5gtM.js +1 -0
  28. package/web/dist/assets/chatStore-D8Zzr1hE.js +242 -0
  29. package/web/dist/assets/cn-CoHJgTJ5.js +1 -0
  30. package/web/dist/assets/{common-CPZxdYLs.js → common-CP2UB8TN.js} +99 -99
  31. package/web/dist/assets/icons-CittejKL.js +1 -0
  32. package/web/dist/assets/imageUrl-BVgcEm7e.js +2 -0
  33. package/web/dist/assets/index-CEUbTcNL.css +1 -0
  34. package/web/dist/assets/index-CxrzleFg.js +122 -0
  35. package/web/dist/assets/{markdown-Cps-36Z5.js → markdown-DZQBOzWk.js} +1 -1
  36. package/web/dist/assets/{panels-DCwx2Pbu.js → panels-CuDz4aqU.js} +1 -1
  37. package/web/dist/assets/projectsStore-B7fdKRzl.js +1 -0
  38. package/web/dist/assets/{react-vendor-CXI113IS.js → react-vendor-BEA-EtI-.js} +1 -1
  39. package/web/dist/assets/{settingsStore-BSdi9gNd.js → settingsStore-DYqiXodu.js} +1 -1
  40. package/web/dist/assets/src-55YckF5W.js +2 -0
  41. package/web/dist/assets/{state-pOTP5BEk.js → state-A4wJ8QgR.js} +1 -1
  42. package/web/dist/assets/{statusAxesRefresh--2evRuAU.js → statusAxesRefresh-BBqszCp-.js} +1 -1
  43. package/web/dist/assets/sttLanguages-jnSk4aqg.js +6 -0
  44. package/web/dist/assets/threadStore-CQi4OzSe.js +1 -0
  45. package/web/dist/assets/useConfirm-kTv3x0H6.js +1 -0
  46. package/web/dist/assets/{useTranslation-gGKZZfux.js → useTranslation-2BGEBvJE.js} +1 -1
  47. package/web/dist/assets/websocket-DCs7f54y.js +1 -0
  48. package/web/dist/assets/whatsNewStore-DoCQvcMq.js +1 -0
  49. package/web/dist/index.html +27 -23
  50. package/web/dist/assets/AutomationView-DfAF2L92.js +0 -3
  51. package/web/dist/assets/Button-D-g7PgYh.js +0 -1
  52. package/web/dist/assets/ChartsView-CSAfGqTC.js +0 -1
  53. package/web/dist/assets/FileTreeView-B7IN0KmE.js +0 -1
  54. package/web/dist/assets/HookConfigView-9gqvrRhQ.js +0 -2
  55. package/web/dist/assets/InboxView-BcEfijbj.js +0 -1
  56. package/web/dist/assets/InputArea-D5F91Uwk.js +0 -14
  57. package/web/dist/assets/Install-Cuelo0If.js +0 -2
  58. package/web/dist/assets/MemoryView-BvZSh5-T.js +0 -1
  59. package/web/dist/assets/ModelsView-BgvMN8xv.js +0 -1
  60. package/web/dist/assets/PluginsView-C3d6e8vV.js +0 -1
  61. package/web/dist/assets/ProjectsView-CM7GOsoK.js +0 -1
  62. package/web/dist/assets/SettingsModal-BvGXq5EE.js +0 -4
  63. package/web/dist/assets/SkillsView-87kGRliE.js +0 -1
  64. package/web/dist/assets/TemplatesTab-8MLwVNwV.js +0 -1
  65. package/web/dist/assets/api-ZQf0Ys8y.js +0 -1
  66. package/web/dist/assets/icons-B8Ngx6rM.js +0 -1
  67. package/web/dist/assets/imageUrl-CrQM4gmf.js +0 -74
  68. package/web/dist/assets/index-Bm7r92T3.css +0 -1
  69. package/web/dist/assets/index-STsyoFCk.js +0 -145
  70. package/web/dist/assets/src-BK8SoTFV.js +0 -1
  71. package/web/dist/assets/sttLanguages-BPcOF0nQ.js +0 -2
  72. package/web/dist/assets/useConfirm-CQjBnYuP.js +0 -1
  73. package/web/dist/assets/websocket-CeKJTCdp.js +0 -1
  74. package/web/dist/assets/whatsNewStore-C0hbStfc.js +0 -1
  75. package/web/dist/assets/workspaceSemantics-CW8ytHq2.js +0 -3
@@ -1 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{$ as t,An as n,C as r,Dr as i,Er as a,Jn as o,T as s,b as c,dt as l,g as u,hn as d,it as f,kr as p,m as ee,n as m,ni as h,t as g,v as _,y as v}from"./icons-B8Ngx6rM.js";import{t as y}from"./useTranslation-gGKZZfux.js";import{r as b,t as x}from"./Button-D-g7PgYh.js";import{t as S}from"./api-ZQf0Ys8y.js";import{I as C}from"./markdown-Cps-36Z5.js";import{n as w,r as T}from"./useConfirm-CQjBnYuP.js";import{a as te,c as E,f as ne,o as D,s as re}from"./common-CPZxdYLs.js";import{t as ie}from"./Install-Cuelo0If.js";var O=e(h(),1),k=C();function ae(){let{t:e}=y(),[t,n]=(0,O.useState)([]),[r,i]=(0,O.useState)(!0),[a,o]=(0,O.useState)(null),[s,c]=(0,O.useState)(null),[ee,h]=(0,O.useState)(!1),[g,_]=(0,O.useState)({skillName:``,description:``,trigger:``,content:``}),[v,b]=(0,O.useState)(!1),[C,w]=(0,O.useState)(null),T=(0,O.useCallback)(async()=>{i(!0);try{let e=await S.skills.workshop.list();n(e.data??[]),o(null)}catch(e){o(e instanceof Error?e.message:String(e))}finally{i(!1)}},[]);(0,O.useEffect)(()=>{T()},[T]);let te=async e=>{c(e);try{await S.skills.workshop.apply(e),await T()}catch(e){o(e instanceof Error?e.message:String(e))}finally{c(null)}},E=async e=>{c(e);try{await S.skills.workshop.reject(e),await T()}catch(e){o(e instanceof Error?e.message:String(e))}finally{c(null)}};return(0,k.jsxs)(`div`,{className:`flex-1 min-h-0 overflow-y-auto custom-scrollbar pe-1 space-y-3`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,k.jsx)(`div`,{className:`text-xs text-dark-muted`,children:e(`skills.workshopHint`)||`技能提案:从会话/手动生成,审核后一键应用为技能`}),(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(l,{size:14}),onClick:()=>{h(e=>!e),w(null)},children:e(`skills.workshopPropose`)||`新建提案`})]}),ee&&(0,k.jsxs)(`div`,{className:`rounded-xl border border-dark-border bg-dark-surface p-3 space-y-2`,children:[(0,k.jsxs)(`div`,{className:`grid grid-cols-2 gap-2`,children:[(0,k.jsx)(`input`,{value:g.skillName,onChange:e=>_(t=>({...t,skillName:e.target.value})),placeholder:e(`skills.workshopName`)||`技能名 (skill-name) 如 format-json`,className:`px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue text-sm`}),(0,k.jsx)(`input`,{value:g.trigger,onChange:e=>_(t=>({...t,trigger:e.target.value})),placeholder:e(`skills.workshopTrigger`)||`触发关键词(可选)`,className:`px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue text-sm`})]}),(0,k.jsx)(`input`,{value:g.description,onChange:e=>_(t=>({...t,description:e.target.value})),placeholder:e(`skills.workshopDescription`)||`一句话描述`,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue text-sm`}),(0,k.jsx)(`textarea`,{value:g.content,onChange:e=>_(t=>({...t,content:e.target.value})),placeholder:e(`skills.workshopContent`)||`技能正文(系统提示 / 工作流指令)`,rows:5,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue text-sm resize-y`}),C&&(0,k.jsx)(`div`,{className:`text-xs text-accent-red`,children:C}),(0,k.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[(0,k.jsx)(`button`,{onClick:()=>h(!1),className:`px-3 py-1.5 rounded-lg text-sm border border-dark-border hover:bg-dark-hover`,children:e(`common.cancel`)||`取消`}),(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(p,{size:14}),loading:v,onClick:async()=>{if(!g.skillName.trim()||!g.content.trim())w(e(`skills.workshopFormRequired`)||`skillName and content are required`);else{b(!0),w(null);try{await S.skills.workshop.propose({skillName:g.skillName.trim(),description:g.description.trim(),trigger:g.trigger.trim(),content:g.content.trim(),reason:`manual proposal`}),_({skillName:``,description:``,trigger:``,content:``}),h(!1),await T()}catch(e){w(e instanceof Error?e.message:String(e))}finally{b(!1)}}},children:e(`skills.workshopSubmit`)||`提交提案`})]})]}),a&&(0,k.jsxs)(`div`,{className:`flex items-center gap-2 px-3 py-2 rounded-lg bg-accent-red/10 text-accent-red text-sm`,children:[(0,k.jsx)(u,{size:14,className:`shrink-0`}),(0,k.jsx)(`span`,{className:`min-w-0 flex-1`,children:a}),(0,k.jsx)(`button`,{onClick:()=>o(null),className:`shrink-0 p-0.5 rounded hover:bg-dark-hover`,children:(0,k.jsx)(m,{size:14})})]}),r?(0,k.jsx)(`div`,{className:`flex items-center justify-center py-16`,children:(0,k.jsx)(f,{size:24,className:`animate-spin text-accent-blue`})}):t.length===0?(0,k.jsx)(`div`,{className:`text-sm text-dark-muted py-10 text-center`,children:e(`skills.workshopEmpty`)||`暂无技能提案`}):t.map(t=>(0,k.jsxs)(`div`,{className:`rounded-xl border border-dark-border bg-dark-surface p-3 space-y-1.5`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,k.jsx)(d,{size:14,className:`text-accent-blue shrink-0`}),(0,k.jsx)(`span`,{className:`font-medium text-sm truncate`,children:t.skillName}),(0,k.jsx)(`span`,{className:`text-xs px-1.5 py-0.5 rounded-full shrink-0 ${t.status===`applied`?`bg-accent-green/15 text-accent-green`:t.status===`rejected`?`bg-dark-hover text-dark-muted`:`bg-accent-yellow/15 text-accent-yellow`}`,children:t.status})]}),(0,k.jsx)(`div`,{className:`flex items-center gap-1 shrink-0`,children:t.status===`pending`&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`button`,{onClick:()=>te(t.id),disabled:s===t.id,className:`px-2 py-1 bg-accent-green text-accent-fg rounded text-xs flex items-center gap-1 disabled:opacity-50`,children:[(0,k.jsx)(p,{size:12}),e(`skills.workshopApply`)||`应用`]}),(0,k.jsx)(`button`,{onClick:()=>E(t.id),disabled:s===t.id,className:`px-2 py-1 rounded text-xs border border-dark-border hover:bg-dark-hover disabled:opacity-50`,children:(0,k.jsx)(m,{size:12})})]})})]}),t.description&&(0,k.jsx)(`div`,{className:`text-xs text-dark-muted truncate`,children:t.description}),t.trigger&&(0,k.jsxs)(`div`,{className:`text-xs text-accent-blue`,children:[`trigger: `,t.trigger]}),(0,k.jsx)(`div`,{className:`text-xs text-dark-muted line-clamp-3 whitespace-pre-wrap`,children:t.content}),(0,k.jsxs)(`div`,{className:`text-meta text-dark-muted/70 flex items-center justify-between`,children:[(0,k.jsx)(`span`,{children:t.reason}),(0,k.jsx)(`span`,{children:new Date(t.createdAt).toLocaleString()})]})]},t.id))]})}var oe=/^(https?:|data:)/i;function A({icon:e,className:t=`w-4 h-4 rounded object-cover shrink-0`}){return e&&oe.test(e)?(0,k.jsx)(`img`,{src:e,alt:``,loading:`lazy`,className:t}):(0,k.jsx)(`span`,{children:e||`⭐`})}function se({marketplaces:e,value:t,onChange:n}){let{t:r}=y(),i=Array.from(new Map(e.filter(e=>e.domain).map(e=>[e.domain,e.domainIcon||`📁`])).entries());return i.length===0?null:(0,k.jsx)(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[{id:``,icon:`🗂️`},...i.map(([e,t])=>({id:e,icon:t}))].map(e=>(0,k.jsxs)(`button`,{onClick:()=>n(e.id),className:`flex items-center gap-1 px-2.5 py-1 rounded-full border text-xs transition-colors ${t===e.id?`border-accent-blue bg-accent-blue/15 text-accent-blue`:`border-dark-border bg-dark-surface text-dark-muted hover:bg-dark-hover`}`,children:[(0,k.jsx)(A,{icon:e.icon,className:`w-3.5 h-3.5 rounded-sm object-cover shrink-0`}),(0,k.jsx)(`span`,{children:e.id||r(`skills.marketDomainAll`)})]},e.id||`__all__`))})}function ce({id:e,installed:t=!0,className:n}){let{t:r}=y(),{configured:i,settingFor:a,effectiveFor:o}=D(`skills`);if(!i)return null;let s=a(e),c=o(e),l=s===`inherit`&&!c,u=r(s===`inherit`?l?`settings.kindCapability.excluded`:`settings.kindCapability.inherit`:`settings.kindCapability.${s}`);return(0,k.jsxs)(`span`,{title:r(`settings.kindCapability.hint`),className:b(`inline-flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs`,s===`allow`&&`border-accent-green/40 bg-accent-green/15 text-accent-green`,s===`deny`&&`border-accent-red/40 bg-accent-red/15 text-accent-red`,s===`inherit`&&!l&&`border-dark-border text-dark-muted`,l&&`border-dark-border text-dark-tertiary line-through`,n),children:[(0,k.jsx)(`span`,{children:u}),!t&&(0,k.jsx)(`span`,{className:`text-dark-tertiary no-underline`,children:r(`skills.kindTagUninstalled`)})]})}function le({ids:e,className:t}){let{t:n}=y(),r=E(e=>e.kinds),i=E(e=>e.activeKind),{configured:a,effectiveFor:o}=D(`skills`);if(e.length===0)return null;let s=r.find(e=>e.id===i),c=s?s.labelKey?n(s.labelKey):s.id:i||`—`,l=e.filter(e=>o(e)).length;return(0,k.jsxs)(`p`,{className:b(`text-xs`,a?`text-dark-muted`:`text-dark-tertiary`,t),children:[a?n(`skills.kindAvailabilityNarrowed`,{kind:c,available:l,total:e.length}):n(`skills.kindAvailabilityInherit`,{kind:c,total:e.length}),(0,k.jsx)(`span`,{className:`ms-1 text-dark-tertiary`,children:n(`skills.kindAvailabilityHint`)})]})}function ue({index:e,children:t}){let n=E(e=>e.activeKind),r=Math.min(e,10)*70;return(0,k.jsx)(`div`,{className:`animate-fade-in h-full [&>*]:h-full`,style:{animationDelay:`${r}ms`},children:t},n)}var de={id:``,name:``,description:``,category:``,trigger:``,systemPrompt:``,injection:`lazy`,tags:``,requiredTools:``},j=8,fe=(e,t)=>`${e}::${t}`;function pe({onUseSkill:e}){let{t:h}=y(),[b,C]=(0,O.useState)(`marketplace`),[E,D]=(0,O.useState)([]),[oe,pe]=(0,O.useState)(!0),[he,N]=(0,O.useState)(null),[P,ge]=(0,O.useState)(``),[_e,F]=(0,O.useState)(!1),[I,L]=(0,O.useState)(null),[ve,ye]=(0,O.useState)(!1),[be,R]=(0,O.useState)(null),[z,B]=(0,O.useState)(de),[xe,V]=(0,O.useState)(!1),[Se,Ce]=(0,O.useState)(!1),[we,H]=(0,O.useState)(null),U=(0,O.useRef)(null),[W,G]=(0,O.useState)([]),[Te,Ee]=(0,O.useState)([]),[De,K]=(0,O.useState)({}),[Oe,ke]=(0,O.useState)(!1),[Ae,q]=(0,O.useState)(null),[je,Me]=(0,O.useState)([]),Ne=(0,O.useRef)(new Set),[Pe,Fe]=(0,O.useState)({}),[J,Ie]=(0,O.useState)({}),[Le,Re]=(0,O.useState)({}),[ze,Be]=(0,O.useState)({}),[Ve,He]=(0,O.useState)({}),[Ue,We]=(0,O.useState)(``),[Ge,Ke]=(0,O.useState)(``),[qe,Je]=(0,O.useState)(``),[Ye,Xe]=(0,O.useState)(!1),[Y,Ze]=(0,O.useState)(null),X=(0,O.useMemo)(()=>E.filter(e=>e.source===`marketplace`||e.provenance===`marketplace`),[E]),Qe=(0,O.useMemo)(()=>E.filter(e=>e.source!==`marketplace`&&e.provenance!==`marketplace`),[E]),$e=e=>{let t=De[e]?.skills||[];return Math.max(1,Math.ceil(t.length/j))},et=(e,t)=>{Re(n=>({...n,[e]:Math.max(0,Math.min($e(e)-1,t))}))},tt=async()=>{ke(!0),q(null);let e=await S.skills.marketplaces.list();e.success?(G(e.data?.marketplaces||[]),Ee(e.data?.installed||[]),K(e.data?.indexes||{}),ke(!1)):(q(e.error||h(`skills.loadMarketplaceFail`)),ke(!1))},nt=async()=>{let e=Ge.trim();if(!e)return;Xe(!0),q(null);let t=await S.skills.marketplaces.add({url:e,name:qe.trim()||void 0});if(t.success&&t.data){Ke(``),Je(``);let e=t.data.marketplace;G(t=>[...t.filter(t=>t.id!==e.id),e]),K(n=>({...n,[e.id]:t.data.index}))}else q(t.error||h(`skills.addFail`));Xe(!1)},rt=async e=>{q(null);let t=await S.skills.marketplaces.refresh(e);t.success&&t.data?K(n=>({...n,[e]:t.data.index})):q(t.error||h(`skills.loadMarketplaceFail`))},it=async e=>{await S.skills.marketplaces.remove(e),G(t=>t.filter(t=>t.id!==e)),K(t=>{let n={...t};return delete n[e],n})},at=async()=>{let e=await S.skills.list();e.success&&Array.isArray(e.data)&&D(e.data)},ot=async(e,t)=>{let n=Date.now()+6e5;for(;;){if(Date.now()>n)throw Error(h(`skills.installTimeout`));await new Promise(e=>setTimeout(e,400));let r=await S.installs.get(t);if(!r.success||!r.data)throw Error(r.error||h(`skills.installFail`));let i=r.data;if(Ie(n=>({...n,[e]:{stage:i.stage,progress:i.progress,logs:i.logs,jobId:t,...i.logPath?{logPath:i.logPath}:{}}})),i.status===`done`)return i.skill;if(i.status===`error`)throw Error(i.error||h(`skills.installFail`))}},st=async(e,t)=>{let n=fe(e,t);if(!Ne.current.has(n)){Ne.current.add(n),Me(e=>[...e,n]),Fe(e=>{if(!(n in e))return e;let t={...e};return delete t[n],t}),q(null);try{let r=await S.skills.marketplaces.install(e,t);if(!r.success||!r.data?.jobId){Fe(e=>({...e,[n]:r.error||h(`skills.installFail`)}));return}let i=await ot(n,r.data.jobId);Ee(e=>[...e.filter(e=>e!==i.id),i.id]),D(e=>[...e.filter(e=>e.id!==i.id),i]),at()}catch(e){Fe(t=>({...t,[n]:e instanceof Error?e.message:h(`skills.installFail`)}))}finally{Ne.current.delete(n),Me(e=>e.filter(e=>e!==n))}}},ct=async e=>{q(null);let t=await S.skills.delete(e);t.success?(Ee(t=>t.filter(t=>t!==e)),D(t=>t.filter(t=>t.id!==e)),at()):q(t.error||h(`skills.uninstallFail`)),Ze(null)},Z=async()=>{pe(!0),N(null);let e=await S.skills.list();if(e.success){let t=Array.isArray(e.data)?e.data:[];D(t),e.data!==null&&e.data!==void 0&&!Array.isArray(e.data)&&N(`服务端返回的技能数据格式异常`)}else N(e.error||h(`skills.loadFailedFallback`));pe(!1)};(0,O.useEffect)(()=>{Z(),tt()},[]);let Q=(0,O.useMemo)(()=>{let e=P.trim().toLowerCase();return e?Qe.filter(t=>[t.id,t.name,t.description,t.category,...t.tags||[]].join(` `).toLowerCase().includes(e)):Qe},[Qe,P]),lt=()=>{L(null),B(de),R(null),F(!0)},ut=e=>{L(e.id),B({id:e.id,name:e.name,description:e.description,category:e.category,trigger:e.trigger||``,systemPrompt:e.systemPrompt||``,injection:e.injection||`lazy`,tags:(e.tags||[]).join(`, `),requiredTools:(e.requiredTools||[]).join(`, `)}),R(null),F(!0)},dt=async()=>{let e=z.id.trim();if(!e){R(h(`skills.fieldId`)+` is required`);return}ye(!0),R(null);let t={id:e,name:z.name.trim(),description:z.description.trim(),category:z.category.trim(),trigger:z.trigger.trim(),systemPrompt:z.systemPrompt,injection:z.injection.trim(),tags:me(z.tags),requiredTools:me(z.requiredTools)},n=I?await S.skills.update(I,t):await S.skills.create(t);n.success?(F(!1),L(null),B(de),await Z()):R(n.error||h(`skills.save`)),ye(!1)},ft=async e=>{(await S.skills.toggle(e.id,!e.enabled)).success&&D(t=>t.map(t=>t.id===e.id?{...t,enabled:!t.enabled}:t))},pt=async e=>{Ce(!0),H(null);try{let t=await e.text(),n=await S.skills.import({fileName:e.name,content:t});n.success?(V(!1),await Z()):H(n.error||h(`skills.import`))}catch(e){H(e instanceof Error?e.message:h(`skills.import`))}finally{Ce(!1),U.current&&(U.current.value=``)}};if(oe)return(0,k.jsx)(`div`,{className:`flex-1 overflow-y-auto p-4`,role:`status`,children:(0,k.jsx)(ne,{count:5})});if(he)return(0,k.jsx)(`div`,{className:`flex-1 flex items-center justify-center`,children:(0,k.jsxs)(`div`,{className:`text-center`,children:[(0,k.jsx)(u,{size:32,className:`mx-auto mb-2 text-accent-red`}),(0,k.jsx)(`p`,{className:`text-accent-red mb-4`,children:he}),(0,k.jsx)(x,{variant:`accent`,onClick:Z,children:h(`skills.retry`)})]})});let $=e=>`flex items-center gap-2 px-4 py-1.5 rounded-lg text-sm font-medium transition-colors ${e?`bg-accent-blue/20 text-accent-blue`:`text-dark-muted hover:bg-dark-hover`}`;return(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col overflow-hidden p-4 gap-3`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,k.jsxs)(`h2`,{className:`text-lg font-semibold flex items-center gap-2 shrink-0`,children:[(0,k.jsx)(r,{size:20}),h(`skills.title`),(0,k.jsxs)(`span`,{className:`text-sm font-normal text-dark-muted`,children:[`(`,E.length,`)`]})]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-1 bg-dark-surface border border-dark-border rounded-xl p-1`,children:[(0,k.jsxs)(`button`,{onClick:()=>C(`marketplace`),className:$(b===`marketplace`),children:[(0,k.jsx)(s,{size:14}),h(`skills.marketplaceTab`)]}),(0,k.jsxs)(`button`,{onClick:()=>C(`mine`),className:$(b===`mine`),children:[(0,k.jsx)(r,{size:14}),h(`skills.mineTab`)]}),(0,k.jsxs)(`button`,{onClick:()=>C(`installed`),className:$(b===`installed`),children:[(0,k.jsx)(p,{size:14}),h(`skills.installedTab`),(0,k.jsx)(`span`,{className:`text-xs px-1.5 py-0.5 rounded-full bg-dark-bg border border-dark-border`,children:X.length})]}),(0,k.jsxs)(`button`,{onClick:()=>C(`workshop`),className:$(b===`workshop`),children:[(0,k.jsx)(d,{size:14}),h(`skills.workshopTab`)]})]})]}),(0,k.jsx)(re,{slot:h(`nav.skills`)}),Ae&&(0,k.jsxs)(`div`,{className:`flex items-center gap-2 px-3 py-2 rounded-lg bg-accent-red/10 text-accent-red text-sm`,children:[(0,k.jsx)(u,{size:14,className:`shrink-0`}),(0,k.jsx)(`span`,{className:`min-w-0 flex-1`,children:Ae}),(0,k.jsx)(`button`,{onClick:()=>q(null),className:`shrink-0 p-0.5 rounded hover:bg-dark-hover`,children:(0,k.jsx)(m,{size:14})})]}),b===`marketplace`&&(0,k.jsxs)(`div`,{className:`flex-1 min-h-0 overflow-y-auto custom-scrollbar pe-1 space-y-4`,children:[(0,k.jsxs)(`div`,{className:`flex gap-2`,children:[(0,k.jsx)(`input`,{value:Ge,onChange:e=>Ke(e.target.value),placeholder:h(`skills.marketplaceUrlPlaceholder`),className:`flex-1 px-3 py-2 rounded-lg bg-dark-surface border border-dark-border outline-none focus:border-accent-blue text-sm`}),(0,k.jsx)(`input`,{value:qe,onChange:e=>Je(e.target.value),placeholder:h(`skills.marketplaceName`),className:`w-40 px-3 py-2 rounded-lg bg-dark-surface border border-dark-border outline-none focus:border-accent-blue text-sm`}),(0,k.jsx)(x,{variant:`accent`,onClick:nt,disabled:!Ge.trim(),loading:Ye,leftIcon:(0,k.jsx)(l,{size:14}),children:h(Ye?`skills.adding`:`skills.addMarketplace`)})]}),(0,k.jsx)(`div`,{className:`text-xs text-dark-muted`,children:h(`skills.marketplaceHint`)}),(0,k.jsx)(se,{marketplaces:W,value:Ue,onChange:We}),Oe?(0,k.jsx)(`div`,{className:`flex items-center justify-center py-16`,children:(0,k.jsx)(f,{size:24,className:`animate-spin text-accent-blue`})}):(0,k.jsxs)(k.Fragment,{children:[W.length===0&&(0,k.jsx)(`div`,{className:`text-sm text-dark-muted py-10 text-center`,children:h(`skills.noMarketplaces`)}),W.filter(e=>!Ue||e.domain===Ue).map(e=>{let t=De[e.id],n=t?.skills||[],r=(ze[e.id]||``).trim().toLowerCase(),s=Ve[e.id]||``,c=Array.from(new Set(n.map(e=>e.category).filter(Boolean))).sort(),l=n.filter(e=>(!r||[e.name,e.id,e.description,...e.tags||[]].join(` `).toLowerCase().includes(r))&&(!s||e.category===s)),u=Math.max(1,Math.ceil(l.length/j)),d=Math.min(Le[e.id]||0,u-1),ee=l.slice(d*j,(d+1)*j),g=r||s?`${l.length}/${n.length}`:String(n.length);return(0,k.jsxs)(`div`,{className:`border border-dark-border rounded-lg overflow-hidden`,children:[(0,k.jsxs)(`div`,{className:`px-3 py-2 border-b border-dark-border bg-dark-surface flex items-center justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsxs)(`div`,{className:`font-medium flex items-center gap-2`,children:[e.builtin&&(0,k.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-accent-blue/20 text-accent-blue`,children:h(`skills.presets`)}),(0,k.jsx)(`span`,{className:`truncate`,children:e.name})]}),(0,k.jsx)(`div`,{className:`text-xs text-dark-muted truncate`,children:e.url})]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-2 shrink-0`,children:[(0,k.jsx)(`span`,{className:`text-xs text-dark-muted whitespace-nowrap`,children:h(`skills.skillCount`,{count:g})}),(0,k.jsx)(`button`,{onClick:()=>rt(e.id),className:`p-1.5 rounded hover:bg-dark-hover`,title:h(`skills.refreshMarketplace`),children:(0,k.jsx)(f,{size:14})}),!e.builtin&&(0,k.jsx)(`button`,{onClick:()=>it(e.id),className:`p-1.5 rounded hover:bg-dark-hover text-accent-red`,title:h(`skills.removeMarketplace`),children:(0,k.jsx)(m,{size:14})})]})]}),t?.error?(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2 px-3 py-2 bg-accent-red/10 text-accent-red text-xs`,children:[(0,k.jsx)(`span`,{className:`min-w-0 truncate`,title:t.error,children:h(`skills.marketplaceError`,{error:t.error})}),(0,k.jsxs)(`button`,{onClick:()=>rt(e.id),className:`flex items-center gap-1 px-2 py-1 rounded bg-dark-surface border border-dark-border whitespace-nowrap shrink-0`,children:[(0,k.jsx)(f,{size:12}),h(`skills.retryMarket`)]})]}):n.length===0?(0,k.jsx)(`div`,{className:`text-xs text-dark-muted py-4 text-center`,children:h(`skills.noSkillsInMarket`)}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 px-3 py-2 border-b border-dark-border/60 bg-dark-surface/40`,children:[(0,k.jsx)(`input`,{value:ze[e.id]||``,onChange:t=>Be(n=>({...n,[e.id]:t.target.value})),placeholder:h(`skills.marketFilterPlaceholder`),className:`flex-1 px-2.5 py-1.5 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue text-xs`}),c.length>1&&(0,k.jsxs)(`select`,{value:Ve[e.id]||``,onChange:t=>He(n=>({...n,[e.id]:t.target.value})),className:`px-2.5 py-1.5 rounded-lg bg-dark-bg border border-dark-border outline-none text-xs`,children:[(0,k.jsx)(`option`,{value:``,children:h(`skills.marketCategoryAll`)}),c.map(e=>(0,k.jsx)(`option`,{value:e,children:e},e))]})]}),(0,k.jsx)(le,{ids:l.map(e=>e.id),className:`px-3 pt-2`}),l.length===0?(0,k.jsx)(`div`,{className:`text-xs text-dark-muted py-4 text-center`,children:h(`skills.noSkillsInMarket`)}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-2 p-3`,children:ee.map((t,n)=>{let r=fe(e.id,t.id),i=Te.includes(t.id),a=je.includes(r),s=Pe[r];return(0,k.jsx)(ue,{index:n,children:(0,k.jsxs)(`div`,{className:`border border-dark-border rounded-lg p-3 flex flex-col gap-2`,children:[(0,k.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-1.5 min-w-0`,children:[(0,k.jsxs)(`span`,{className:`font-medium text-sm truncate`,children:[(0,k.jsx)(A,{icon:t.icon}),` `,t.name]}),t.risk===`critical`&&(0,k.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-accent-red/20 text-accent-red shrink-0`,children:h(`skills.riskCritical`)})]}),(0,k.jsxs)(`div`,{className:`text-xs text-dark-muted truncate`,children:[t.category,t.author?` · ${t.author}`:``,t.version?` · v${t.version}`:``]})]}),(0,k.jsxs)(`button`,{disabled:i||a,onClick:()=>st(e.id,t.id),className:`flex items-center gap-1 px-2.5 py-1.5 rounded-lg text-xs font-medium whitespace-nowrap shrink-0 disabled:opacity-60 ${i?`bg-accent-green/20 text-accent-green`:`bg-accent-blue text-accent-fg hover:bg-accent-blue/80`}`,children:[i?(0,k.jsx)(p,{size:12}):a?(0,k.jsx)(f,{size:12,className:`animate-spin`}):(0,k.jsx)(o,{size:12}),h(i?`skills.installed`:a?`skills.installing`:`skills.installSkill`)]})]}),(a||J[r])&&(0,k.jsx)(ie,{job:J[r]?{status:a?`running`:s?`error`:`done`,stage:J[r].stage,progress:J[r].progress,logs:J[r].logs}:null,error:s,testId:`skill-install-console`,diagnosis:{kind:`skill`,targetId:t.id,label:t.name,...J[r]?.jobId?{jobId:J[r].jobId}:{},...J[r]?.logPath?{logPath:J[r].logPath}:{}},onClose:()=>Ie(e=>{let t={...e};return delete t[r],t})}),t.description&&(0,k.jsx)(`p`,{className:`text-xs text-dark-muted line-clamp-2`,children:t.description}),s&&(0,k.jsx)(`p`,{className:`text-xs text-accent-red line-clamp-2`,children:s}),(0,k.jsx)(ce,{id:t.id,installed:i,className:`mt-auto`})]})},t.id)})}),u>1&&(0,k.jsxs)(`div`,{className:`flex items-center justify-center gap-3 pb-3 text-xs text-dark-muted`,children:[(0,k.jsxs)(`button`,{disabled:d<=0,onClick:()=>et(e.id,d-1),className:`flex items-center gap-1 px-2 py-1 rounded border border-dark-border hover:bg-dark-hover disabled:opacity-40`,children:[(0,k.jsx)(i,{size:14}),h(`skills.pagePrev`)]}),(0,k.jsx)(`span`,{className:`whitespace-nowrap`,children:h(`skills.pageOf`,{page:d+1,total:u})}),(0,k.jsxs)(`button`,{disabled:d>=u-1,onClick:()=>et(e.id,d+1),className:`flex items-center gap-1 px-2 py-1 rounded border border-dark-border hover:bg-dark-hover disabled:opacity-40`,children:[h(`skills.pageNext`),(0,k.jsx)(a,{size:14})]})]})]})]})]},e.id)})]})]}),b===`installed`&&(0,k.jsx)(`div`,{className:`flex-1 min-h-0 overflow-y-auto custom-scrollbar pe-1`,children:X.length===0?(0,k.jsxs)(`div`,{className:`text-center py-16 text-dark-muted`,children:[(0,k.jsx)(`p`,{className:`mb-1`,children:h(`skills.emptyInstalled`)}),(0,k.jsx)(`p`,{className:`text-xs mb-4`,children:h(`skills.emptyInstalledHint`)}),(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(s,{size:14}),onClick:()=>C(`marketplace`),children:h(`skills.browseMarket`)})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(le,{ids:X.map(e=>e.id),className:`px-1 pb-2`}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-2`,children:X.map((n,r)=>(0,k.jsx)(ue,{index:r,children:(0,k.jsxs)(`div`,{className:`border border-dark-border rounded-lg p-3 flex flex-col gap-2`,children:[(0,k.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsxs)(`div`,{className:`font-medium text-sm truncate`,children:[(0,k.jsx)(A,{icon:n.icon}),` `,n.name]}),(0,k.jsxs)(`div`,{className:`text-xs text-dark-muted truncate`,children:[n.id,` · `,n.category]})]}),(0,k.jsxs)(`button`,{onClick:()=>ft(n),className:`flex items-center gap-1 px-2 py-1 rounded text-xs font-medium whitespace-nowrap shrink-0 transition-colors ${n.enabled?`bg-accent-green/20 text-accent-green hover:bg-accent-green/30`:`bg-accent-red/20 text-accent-red hover:bg-accent-red/30`}`,title:n.enabled?h(`skills.disable`):h(`skills.enable`),children:[n.enabled?(0,k.jsx)(v,{size:14}):(0,k.jsx)(c,{size:14}),n.enabled?h(`skills.enabled`):h(`skills.disabled`)]})]}),n.description&&(0,k.jsx)(`p`,{className:`text-xs text-dark-muted line-clamp-2`,children:n.description}),(0,k.jsx)(ce,{id:n.id}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2 mt-auto`,children:[(0,k.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-dark-bg border border-dark-border text-dark-muted truncate`,children:n.marketplace||n.source||h(`skills.marketplace`)}),(0,k.jsxs)(`div`,{className:`flex gap-2 shrink-0`,children:[e&&(0,k.jsxs)(`button`,{onClick:()=>e(n),className:`flex items-center gap-1 px-2 py-1 rounded bg-accent-blue/15 text-accent-blue text-xs hover:bg-accent-blue/25 transition-colors`,title:h(`skills.useHint`),children:[(0,k.jsx)(g,{size:12}),h(`skills.use`)]}),(0,k.jsxs)(`button`,{onClick:()=>ut(n),className:`flex items-center gap-1 px-2 py-1 rounded border border-dark-border text-xs hover:bg-dark-hover`,children:[(0,k.jsx)(t,{size:12}),h(`skills.edit`)]}),(0,k.jsxs)(`button`,{onClick:()=>Ze(n.id),className:`flex items-center gap-1 px-2 py-1 rounded border border-dark-border text-accent-red text-xs hover:bg-accent-red/10`,children:[(0,k.jsx)(_,{size:12}),h(`skills.uninstall`)]})]})]})]})},n.id))})]})}),b===`workshop`&&(0,k.jsx)(ae,{}),b===`mine`&&(0,k.jsxs)(`div`,{className:`flex-1 min-h-0 flex flex-col gap-3`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-3 min-w-0`,children:[(0,k.jsx)(`input`,{value:P,onChange:e=>ge(e.target.value),placeholder:`Search skills`,className:`w-56 px-3 py-2 bg-dark-surface border border-dark-border rounded-lg text-sm outline-none focus:border-accent-blue`}),(0,k.jsx)(`span`,{className:`text-sm text-dark-muted shrink-0`,children:Q.length})]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-2 shrink-0`,children:[(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(l,{size:14}),onClick:lt,children:h(`skills.new`)}),(0,k.jsxs)(`button`,{onClick:()=>V(!0),className:`flex items-center gap-2 px-3 py-2 bg-dark-surface border border-dark-border rounded-lg`,children:[(0,k.jsx)(ee,{size:14}),h(`skills.import`)]}),(0,k.jsxs)(`button`,{onClick:Z,className:`flex items-center gap-2 px-3 py-2 bg-dark-surface border border-dark-border rounded-lg`,children:[(0,k.jsx)(f,{size:14}),h(`skills.refresh`)]})]})]}),Q.length===0?(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col items-center justify-center text-dark-muted gap-3`,children:[(0,k.jsx)(`p`,{children:h(`skills.noSkills`)}),(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(l,{size:14}),onClick:lt,children:h(`skills.new`)})]}):(0,k.jsx)(`div`,{className:`flex-1 min-h-0 overflow-y-auto custom-scrollbar pe-1`,children:(0,k.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-3`,children:Q.map((n,r)=>(0,k.jsx)(ue,{index:r,children:(0,k.jsxs)(`div`,{className:`border border-dark-border rounded-lg p-3 flex flex-col gap-2 bg-dark-surface`,children:[(0,k.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsxs)(`div`,{className:`font-medium text-sm truncate`,children:[(0,k.jsx)(A,{icon:n.icon}),` `,n.name]}),(0,k.jsx)(`div`,{className:`text-xs text-dark-muted truncate`,children:n.id})]}),(0,k.jsxs)(`button`,{onClick:()=>ft(n),className:`flex items-center gap-1 px-2 py-1 rounded text-xs font-medium whitespace-nowrap shrink-0 transition-colors ${n.enabled?`bg-accent-green/20 text-accent-green hover:bg-accent-green/30`:`bg-accent-red/20 text-accent-red hover:bg-accent-red/30`}`,title:n.enabled?h(`skills.disable`):h(`skills.enable`),children:[n.enabled?(0,k.jsx)(v,{size:14}):(0,k.jsx)(c,{size:14}),n.enabled?h(`skills.enabled`):h(`skills.disabled`)]})]}),n.description&&(0,k.jsx)(`p`,{className:`text-xs text-dark-muted line-clamp-2`,children:n.description}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2 mt-auto`,children:[(0,k.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-dark-bg border border-dark-border text-dark-muted truncate`,children:n.category}),(0,k.jsxs)(`div`,{className:`flex gap-2 shrink-0`,children:[(0,k.jsx)(te,{slot:`skills`,id:n.id}),e&&(0,k.jsxs)(`button`,{onClick:()=>e(n),className:`flex items-center gap-1 px-2 py-1 rounded bg-accent-blue/15 text-accent-blue text-xs hover:bg-accent-blue/25 transition-colors`,title:h(`skills.useHint`),children:[(0,k.jsx)(g,{size:12}),h(`skills.use`)]}),(0,k.jsxs)(`button`,{onClick:()=>ut(n),className:`flex items-center gap-1 px-2 py-1 rounded border border-dark-border text-xs hover:bg-dark-hover shrink-0`,children:[(0,k.jsx)(t,{size:12}),h(`skills.edit`)]})]})]})]})},n.id))})})]}),(0,k.jsx)(T,{isOpen:_e,onClose:()=>F(!1),title:h(I?`skills.edit`:`skills.new`),size:`xl`,children:(0,k.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,k.jsx)(M,{label:h(`skills.fieldId`),value:z.id,onChange:e=>B(t=>({...t,id:e}))}),(0,k.jsx)(M,{label:h(`skills.fieldName`),value:z.name,onChange:e=>B(t=>({...t,name:e}))}),(0,k.jsx)(M,{label:h(`skills.fieldCategory`),value:z.category,onChange:e=>B(t=>({...t,category:e}))}),(0,k.jsx)(M,{label:h(`skills.fieldTrigger`),value:z.trigger,onChange:e=>B(t=>({...t,trigger:e}))}),(0,k.jsx)(M,{label:h(`skills.tags`),value:z.tags,onChange:e=>B(t=>({...t,tags:e}))}),(0,k.jsx)(M,{label:h(`skills.fieldTools`),value:z.requiredTools,onChange:e=>B(t=>({...t,requiredTools:e}))}),(0,k.jsxs)(`div`,{className:`col-span-2`,children:[(0,k.jsx)(`label`,{className:`block text-sm mb-1 text-dark-muted`,children:h(`skills.description`)}),(0,k.jsx)(`textarea`,{value:z.description,onChange:e=>B(t=>({...t,description:e.target.value})),className:`w-full h-20 px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none resize-none`})]}),(0,k.jsxs)(`div`,{className:`col-span-2`,children:[(0,k.jsx)(`label`,{className:`block text-sm mb-1 text-dark-muted`,children:h(`skills.systemPrompt`)}),(0,k.jsx)(`textarea`,{value:z.systemPrompt,onChange:e=>B(t=>({...t,systemPrompt:e.target.value})),className:`w-full h-40 px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none resize-none font-mono text-sm`})]}),be&&(0,k.jsx)(`div`,{className:`col-span-2 text-sm text-accent-red`,children:be}),(0,k.jsxs)(`div`,{className:`col-span-2 flex justify-end gap-2`,children:[(0,k.jsx)(x,{variant:`secondary`,onClick:()=>F(!1),children:h(`skills.cancel`)}),(0,k.jsx)(x,{variant:`accent`,leftIcon:(0,k.jsx)(t,{size:14}),loading:ve,onClick:dt,children:h(`skills.save`)})]})]})}),(0,k.jsx)(T,{isOpen:xe,onClose:()=>V(!1),title:h(`skills.importTitle`),size:`md`,children:(0,k.jsxs)(`div`,{className:`space-y-3`,children:[(0,k.jsx)(`input`,{ref:U,type:`file`,accept:`.md,.skill.md,.txt`,className:`hidden`,onChange:e=>{let t=e.target.files?.[0];t&&pt(t)}}),(0,k.jsxs)(`button`,{onClick:()=>U.current?.click(),disabled:Se,className:`w-full py-6 border border-dashed border-dark-border rounded-lg flex items-center justify-center gap-2`,children:[(0,k.jsx)(n,{size:16}),h(`skills.chooseFile`)]}),we&&(0,k.jsx)(`div`,{className:`text-sm text-accent-red`,children:we}),(0,k.jsx)(`div`,{className:`text-xs text-dark-muted`,children:h(`skills.importHint`)})]})}),(0,k.jsx)(w,{isOpen:Y!==null,onClose:()=>Ze(null),onConfirm:()=>{Y&&ct(Y)},title:h(`skills.uninstall`),message:h(`skills.uninstallConfirm`,{name:X.find(e=>e.id===Y)?.name||Y||``}),confirmText:h(`skills.uninstall`),cancelText:h(`skills.cancel`),variant:`danger`})]})}function me(e){return e.split(`,`).map(e=>e.trim()).filter(Boolean)}function M({label:e,value:t,onChange:n}){return(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`label`,{className:`block text-sm mb-1 text-dark-muted`,children:e}),(0,k.jsx)(`input`,{value:t,onChange:e=>n(e.target.value),className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border outline-none focus:border-accent-blue`})]})}export{pe as SkillsView};
@@ -1 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{$ as t,A as n,B as r,Jn as i,Kt as a,Un as o,V as s,Y as c,Yr as l,dt as u,g as d,gr as f,it as p,kr as ee,n as m,ni as h,nn as te,nr as g,or as _,pt as ne,qn as v,rt as re,sr as ie,v as ae,vn as oe,yt as se}from"./icons-B8Ngx6rM.js";import{t as y}from"./useTranslation-gGKZZfux.js";import{r as b,t as x}from"./Button-D-g7PgYh.js";import{t as S}from"./api-ZQf0Ys8y.js";import{I as ce}from"./markdown-Cps-36Z5.js";import{n as le,r as ue}from"./useConfirm-CQjBnYuP.js";import{l as C,u as de}from"./common-CPZxdYLs.js";import{_ as fe,g as pe,h as me,m as he}from"./index-STsyoFCk.js";var w=e(h(),1),T=new Set([`read_file`,`grep`,`glob`,`list_dir`,`web_fetch`,`web_search`,`git_status`,`git_diff`,`git_log`,`code_intel_lookup`,`lsp_diagnostics`,`artifact_query`,`artifact_read`]),E=new Set([`write_file`,`edit_file`,`file_delete`,`apply_patch`,`bash`,`git_commit`,`git_apply_patch`,`notebook_edit`,`git_branch`,`git_pr`]);function D(e){let t=(e.metadata??{}).primitive?.options;return Array.isArray(t?.tools)?t.tools.map(String):null}var ge=new Set([`explore`,`plan`,`verify`]);function O(e){let t=D(e);if(t!==null)return t;let n=e.metadata??{},r=typeof n.role==`string`?n.role:e.type;return ge.has(r)?[]:null}function _e(e){if(ye(e))return!1;let t=O(e);return t===null||t.length!==0&&t.some(e=>E.has(e))}var ve=new Set([`parallel`,`pipeline`,`phase`,`condition`,`loop`,`synthesize`,`checkpoint`,`retry`]);function ye(e){let t=(e.metadata??{}).primitive,n=typeof t?.kind==`string`?t.kind:void 0;return n===void 0?ve.has(e.type):n!==`agent`&&n!==`tool`}function k(e){let t=[];for(let n of e)t.push(n),Array.isArray(n.children)&&n.children.length&&t.push(...k(n.children));return t}function be(e){let t=new Map(e.map(e=>[e.id,e])),n=new Set,r=[],i=[...e];for(;i.length>0;){let e=i.filter(e=>(e.dependencies??[]).every(e=>n.has(e)||!t.has(e)));if(e.length===0){r.push(i);break}r.push(e);for(let t of e)n.add(t.id);i=i.filter(e=>!n.has(e.id))}return r}function xe(e){return be(e).reduce((e,t)=>Math.max(e,t.length),1)}function Se(e){let t=e.children??[];if(t.length===0)return 1;let n=Math.max(...t.map(e=>Se(e)));return e.type===`parallel`?Math.max(t.length,n):Math.max(1,n)}function Ce(e){let t=xe(e),n=e.reduce((e,t)=>Math.max(e,Se(t)),1);return Math.max(t,n)}function we(e,t=0){if(!e||!Array.isArray(e.nodes)||e.nodes.length===0)return{readonly:!0,risk:`low`,maxParallel:0,nodeCount:0,inputCount:t||0,roles:[]};let n=k(e.nodes),r=[],i=!0;for(let e of n){let t=typeof(e.metadata??{}).role==`string`?String(e.metadata.role):e.type;r.includes(t)||r.push(t),_e(e)&&(i=!1)}return{readonly:i,risk:i?`low`:`medium`,maxParallel:Ce(e.nodes),nodeCount:n.length,inputCount:t||0,roles:r}}var Te={parallel:`templates.nodeParallel`,pipeline:`templates.nodePipeline`,phase:`templates.nodePhase`,synthesize:`templates.nodeSynthesize`,condition:`templates.nodeCondition`,loop:`templates.nodeLoop`,checkpoint:`templates.nodeCheckpoint`},Ee={retry:`templates.nodeRetry`};function De(e){let t=e.metadata?.primitive,n=typeof t?.kind==`string`?t.kind:void 0;return n&&Ee[n]?Ee[n]:Te[e.type]}var A=ce(),j={explore:`info`,plan:`default`,execute:`success`,verify:`warning`,summarize:`info`,generic:`default`},Oe={explore:`templates.roleExplore`,plan:`templates.rolePlan`,execute:`templates.roleExecute`,verify:`templates.roleVerify`,summarize:`templates.roleSummarize`,generic:`templates.roleGeneric`},M={explore:`text-accent-blue`,plan:`text-dark-muted`,execute:`text-accent-green`,verify:`text-accent-yellow`,summarize:`text-dark-muted`};function ke(e){let t=e.metadata?.role;return typeof t==`string`?t:e.type}function Ae({definition:e}){let{t}=y(),n=(0,w.useMemo)(()=>k(e.nodes||[]),[e.nodes]),i=(0,w.useMemo)(()=>be(n),[n]),a=(0,w.useMemo)(()=>new Map(n.map(e=>[e.id,e])),[n]);return i.length===0?(0,A.jsx)(`p`,{className:`text-xs text-dark-muted`,children:t(`templates.noNodes`)}):(0,A.jsxs)(`div`,{className:`space-y-0`,children:[i.map((e,n)=>(0,A.jsxs)(`div`,{className:`flex`,children:[(0,A.jsxs)(`div`,{className:`flex flex-col items-center shrink-0 w-6 me-2`,children:[n>0&&(0,A.jsx)(`span`,{className:`w-px h-3 bg-dark-border/60`}),e.length>1&&(0,A.jsx)(`span`,{className:`inline-flex items-center gap-0.5 mt-0.5 mb-0.5`,children:e.map((e,t)=>(0,A.jsx)(`span`,{className:`w-[2px] h-2 rounded bg-accent-blue/40`},t))}),n<i.length-1&&(0,A.jsx)(`span`,{className:`w-px flex-1 bg-dark-border/60 my-0.5`})]}),(0,A.jsx)(`div`,{className:b(`flex-1 min-w-0`,e.length>1?`grid grid-cols-2 gap-2 py-1 max-md:grid-cols-1`:`py-0.5`),children:e.map(e=>{let n=ke(e),r=M[n]||`text-dark-muted`,i=(e.dependencies??[]).map(e=>a.get(e)?.title||e),o=De(e);return(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border bg-dark-bg/60 overflow-hidden`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 px-2.5 py-1.5`,children:[(0,A.jsx)(f,{size:12,className:b(`shrink-0`,r)}),(0,A.jsx)(`span`,{className:`text-xs font-medium text-dark-text truncate flex-1`,title:e.title,children:e.title}),(0,A.jsx)(C,{size:`sm`,variant:j[n]||`default`,children:t(o||Oe[n]||`templates.roleGeneric`)})]}),e.description&&(0,A.jsx)(`p`,{className:`px-2.5 pb-1.5 text-meta text-dark-muted leading-relaxed`,children:e.description}),i.length>0&&(0,A.jsx)(`div`,{className:`px-2.5 pb-1.5 flex items-center flex-wrap gap-1`,children:i.map(e=>(0,A.jsxs)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-dark-hover text-dark-muted truncate max-w-[14rem]`,children:[`← `,e]},e))})]},e.id)})})]},n)),(0,A.jsxs)(`div`,{className:`flex items-center gap-3 mt-3 pt-2 border-t border-dark-border text-badge text-dark-muted max-md:flex-wrap`,children:[(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[(0,A.jsx)(r,{size:11,className:`text-accent-yellow`}),` `,t(`templates.roleVerify`)]}),(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[(0,A.jsx)(f,{size:11,className:`text-accent-blue`}),` `,t(`templates.roleExplore`)]})]})]})}function N(e){let t=e.metadata?.role;return typeof t==`string`?t:e.type}function je({definition:e}){let{t}=y(),n=(0,w.useMemo)(()=>k(e.nodes||[]),[e.nodes]),{readonly:i,allowList:a,toolSet:o}=(0,w.useMemo)(()=>{let e=new Set,t=!1;for(let r of n){let n=D(r);if(n!==null){for(let t of n)e.add(t);n.some(e=>E.has(e))&&(t=!0)}else N(r)!==`explore`&&N(r)!==`plan`&&N(r)!==`verify`&&(t=!0)}let r=[...e].filter(e=>T.has(e));return{readonly:!t,allowList:r,toolSet:e}},[n]),c=(0,w.useMemo)(()=>[...E].filter(e=>!o.has(e)),[o]);return(0,A.jsxs)(`div`,{className:`space-y-3`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2`,children:[i?(0,A.jsx)(r,{size:16,className:`text-accent-green`}):(0,A.jsx)(s,{size:16,className:`text-accent-yellow`}),(0,A.jsx)(`span`,{className:`text-sm text-dark-text`,children:t(i?`templates.readonly`:`templates.writable`)}),(0,A.jsx)(C,{size:`sm`,variant:i?`success`:`warning`,children:t(i?`templates.riskLow`:`templates.riskMedium`)})]}),(0,A.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 max-md:grid-cols-1`,children:[(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsx)(`div`,{className:`text-meta uppercase tracking-wider text-dark-muted/70 mb-2`,children:t(`templates.allowDuringReplay`)}),a.length>0?(0,A.jsx)(`ul`,{className:`space-y-1`,children:a.map(e=>(0,A.jsxs)(`li`,{className:`flex items-center gap-1.5 text-xs text-dark-muted`,children:[(0,A.jsx)(ee,{size:12,className:`text-accent-green shrink-0`}),` `,e]},e))}):(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/70`,children:t(`templates.noToolsRestriction`)})]}),(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsx)(`div`,{className:`text-meta uppercase tracking-wider text-dark-muted/70 mb-2`,children:t(`templates.denyDuringReplay`)}),i?(0,A.jsx)(`ul`,{className:`space-y-1`,children:c.map(e=>(0,A.jsxs)(`li`,{className:`flex items-center gap-1.5 text-xs text-dark-muted`,children:[(0,A.jsx)(m,{size:12,className:`text-accent-red shrink-0`}),` `,e]},e))}):(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/70`,children:`—`})]})]}),o.size>0&&(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsx)(`div`,{className:`text-meta uppercase tracking-wider text-dark-muted/70 mb-1.5`,children:t(`templates.toolWhitelist`)}),(0,A.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:[...o].map(e=>(0,A.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-dark-hover text-dark-muted`,children:e},e))})]})]})}function Me(e){let{t,detail:n,sourceLabelKey:a,detailTab:c,onTabChange:u,onReplay:d,onPreflight:f,onEdit:ee,onDelete:m,onExport:h,onCopyId:ie,onToggleAdvanced:y,onToggleVersions:S,onReRecord:ce,versions:le,historyView:ue,onLoadVersion:de,onClearHistory:fe,onRefresh:pe,menuOpen:me,setMenuOpen:he,saveMsg:T}=e,E=(0,w.useMemo)(()=>we(n.definition,n.inputs?.length??0),[n.definition,n.inputs]),D=a?t(a):n.source.type,ge=E.inputCount,O=[{id:`overview`,label:t(`templates.overviewTab`)},{id:`flow`,label:t(`templates.flowTab`)},{id:`permissions`,label:t(`templates.permissionsTab`)},{id:`history`,label:t(`templates.historyTab`)}];return(0,A.jsx)(`div`,{className:`flex-1 min-w-0 flex flex-col overflow-y-auto custom-scrollbar`,children:(0,A.jsxs)(`div`,{className:`p-5 space-y-4 max-md:p-3`,children:[(0,A.jsxs)(`div`,{className:`flex items-start gap-3 flex-wrap`,children:[(0,A.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,A.jsx)(`h2`,{className:`text-lg font-semibold text-dark-text truncate`,children:n.name}),(0,A.jsxs)(C,{variant:`info`,children:[`v`,n.version]}),n.status===`degraded`&&(0,A.jsxs)(C,{variant:`warning`,children:[`⚠ `,t(`templates.degradedBadge`)]}),(0,A.jsx)(C,{variant:n.source.type===`saved`?`success`:`default`,children:D})]}),n.description&&(0,A.jsx)(`p`,{className:`text-sm text-dark-muted mt-1`,children:n.description})]}),(0,A.jsxs)(`div`,{className:`flex items-center gap-2 shrink-0 max-md:w-full max-md:flex-wrap max-md:justify-start`,children:[(0,A.jsx)(x,{variant:`accent`,leftIcon:(0,A.jsx)(ne,{className:`w-4 h-4`}),onClick:d,children:t(`templates.replay`)}),(0,A.jsx)(x,{variant:`secondary`,leftIcon:(0,A.jsx)(o,{className:`w-4 h-4`}),onClick:f,children:t(`templates.preflight`)}),(0,A.jsxs)(`button`,{onClick:ee,className:`px-3 py-2 rounded-lg border border-dark-border text-dark-text hover:bg-dark-hover transition-colors inline-flex items-center gap-1.5`,children:[(0,A.jsx)(se,{className:`w-4 h-4`}),` `,t(`templates.edit`)]}),(0,A.jsxs)(`div`,{className:`relative`,children:[(0,A.jsx)(`button`,{onClick:()=>he(!me),className:`p-2 rounded-lg text-dark-muted hover:bg-dark-hover transition-colors`,"aria-label":t(`templates.more`),children:(0,A.jsx)(v,{className:`w-4 h-4`})}),me&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(`div`,{className:`fixed inset-0 z-40`,onClick:()=>he(!1)}),(0,A.jsxs)(`div`,{className:`absolute right-0 top-full mt-1 z-50 w-52 rounded-lg border border-dark-border bg-dark-overlay ui-surface-overlay shadow-pop p-1.5 space-y-0.5 text-compact`,children:[(0,A.jsx)(P,{icon:(0,A.jsx)(i,{size:13}),label:t(`templates.exportJson`),onClick:h}),(0,A.jsx)(P,{icon:(0,A.jsx)(g,{size:13}),label:t(`templates.copyId`),onClick:ie}),(0,A.jsx)(P,{icon:(0,A.jsx)(re,{size:13}),label:t(`templates.versionHistory`),onClick:S}),(0,A.jsx)(P,{icon:(0,A.jsx)(_,{size:13}),label:t(`templates.advancedJson`),onClick:y}),(0,A.jsx)(`div`,{className:`border-t border-dark-border my-1`}),(0,A.jsx)(P,{icon:(0,A.jsx)(ae,{size:13}),label:t(`templates.deleteTemplate`),onClick:m,danger:!0})]})]})]})]})]}),(0,A.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[n.category&&(0,A.jsxs)(C,{size:`sm`,variant:`info`,className:`gap-1`,children:[(0,A.jsx)(te,{size:11}),n.category]}),(0,A.jsxs)(C,{size:`sm`,variant:E.readonly?`success`:`warning`,className:`gap-1`,children:[E.readonly?(0,A.jsx)(r,{size:11}):(0,A.jsx)(s,{size:11}),E.readonly?`${t(`templates.readonly`)} · ${t(`templates.riskLow`)}`:`${t(`templates.writable`)} · ${t(`templates.riskMedium`)}`]}),(0,A.jsxs)(C,{size:`sm`,variant:`default`,className:`gap-1`,children:[(0,A.jsx)(oe,{size:11}),E.maxParallel>1?t(`templates.parallelCount`,{n:E.nodeCount,p:E.maxParallel}):t(`templates.stepCount`,{n:E.nodeCount})]}),(0,A.jsxs)(C,{size:`sm`,variant:`default`,className:`gap-1`,children:[(0,A.jsx)(l,{size:11}),ge>0?t(`templates.confirmCount`,{n:ge}):t(`templates.confirmCountNone`)]}),T&&(0,A.jsx)(`span`,{className:`text-xs text-dark-muted`,children:T})]}),(0,A.jsxs)(`div`,{className:`flex items-center gap-1 border-b border-dark-border pb-1.5`,children:[O.map(e=>(0,A.jsx)(`button`,{onClick:()=>u(e.id),className:b(`px-3 py-1.5 rounded-md text-xs transition-colors`,c===e.id?`bg-accent-blue/10 text-accent-blue font-medium`:`text-dark-muted hover:text-dark-text hover:bg-dark-hover`),children:e.label},e.id)),(0,A.jsx)(`div`,{className:`ms-auto flex items-center gap-1`,children:(0,A.jsx)(`button`,{onClick:pe,className:`p-1.5 rounded-md text-dark-muted hover:text-dark-text hover:bg-dark-hover`,title:t(`templates.refresh`),children:(0,A.jsx)(p,{className:`w-3.5 h-3.5`})})})]}),(0,A.jsxs)(`div`,{children:[c===`overview`&&(0,A.jsx)(F,{t,detail:n,meta:E,inputCount:ge}),c===`flow`&&(0,A.jsx)(Ae,{definition:n.definition}),c===`permissions`&&(0,A.jsx)(je,{definition:n.definition}),c===`history`&&(0,A.jsx)(I,{t,versions:le,currentVersion:n.version,historyView:ue,onLoadVersion:de,onClearHistory:fe,onReRecord:ce})]})]})})}function P({icon:e,label:t,onClick:n,danger:r}){return(0,A.jsxs)(`button`,{onClick:n,className:b(`w-full flex items-center gap-2 px-2 py-1.5 rounded-md hover:bg-dark-hover text-start transition-colors`,r?`text-accent-red hover:text-accent-red`:`text-dark-muted hover:text-dark-text`),children:[e,` `,t]})}function F({t:e,detail:t,meta:n,inputCount:r}){let i=t.inputs??[],a=t.outputs??[];return(0,A.jsxs)(`div`,{className:`grid grid-cols-2 gap-4 max-md:grid-cols-1`,children:[(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsx)(`div`,{className:`text-meta uppercase tracking-wider text-dark-muted/70 mb-2`,children:e(`templates.inputsNeeded`)}),r>0?(0,A.jsx)(`ul`,{className:`space-y-1.5`,children:i.map(e=>(0,A.jsxs)(`li`,{className:`flex items-center justify-between gap-2 text-xs`,children:[(0,A.jsx)(`span`,{className:`text-dark-text truncate`,children:e.label||e.name}),e.required&&(0,A.jsx)(`span`,{className:`text-accent-red shrink-0`,children:`*`})]},e.name))}):(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/70`,children:e(`templates.confirmCountNone`)})]}),(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsx)(`div`,{className:`text-meta uppercase tracking-wider text-dark-muted/70 mb-2`,children:e(`templates.outputsProduced`)}),a.length>0?(0,A.jsx)(`ul`,{className:`space-y-1.5`,children:a.map(e=>(0,A.jsxs)(`li`,{className:`flex items-center justify-between gap-2 text-xs`,children:[(0,A.jsx)(`span`,{className:`text-dark-text truncate`,children:e.label||e.name}),e.kind&&(0,A.jsx)(C,{size:`sm`,children:e.kind})]},e.name))}):(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/70`,children:e(`templates.noOutputsDeclared`)})]}),(0,A.jsxs)(`div`,{className:`col-span-2 text-meta text-dark-muted/70 max-md:col-span-1`,children:[e(`templates.replayNewSession`),` · `,n.readonly?e(`templates.readonlyHint`):e(`templates.writable`)]})]})}function I({t:e,versions:t,currentVersion:n,historyView:r,onLoadVersion:i,onClearHistory:a,onReRecord:o}){return(0,A.jsxs)(`div`,{className:`space-y-2`,children:[t.length===0&&(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/70`,children:e(`templates.noVersions`)}),[...t].reverse().map(t=>(0,A.jsxs)(`div`,{className:`flex items-center gap-2 rounded-lg border border-dark-border px-3 py-2 max-md:flex-wrap`,children:[(0,A.jsxs)(C,{variant:t===n?`success`:`default`,children:[`v`,t]}),t===n&&(0,A.jsx)(`span`,{className:`text-meta text-accent-green`,children:e(`templates.statusReady`)}),(0,A.jsx)(`span`,{className:`text-meta text-dark-muted/60`,children:t===n?e(`templates.reRecordHint`,{v:t}):``}),(0,A.jsxs)(`div`,{className:`ms-auto flex items-center gap-1.5`,children:[(0,A.jsx)(`button`,{onClick:()=>i(t),className:`text-meta px-2 py-1 rounded border border-dark-border hover:border-accent-blue/50 transition-colors`,children:e(`templates.compare`)}),t!==n&&(0,A.jsxs)(`button`,{onClick:()=>o(t),className:`text-meta px-2 py-1 rounded border border-accent-blue/40 text-accent-blue hover:bg-accent-blue/10 transition-colors inline-flex items-center gap-1`,children:[(0,A.jsx)(p,{className:`w-3 h-3`}),` `,e(`templates.reRecordAsNew`)]})]})]},t)),r&&(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border p-3`,children:[(0,A.jsxs)(`div`,{className:`flex items-center justify-between mb-2`,children:[(0,A.jsxs)(`span`,{className:`text-xs text-dark-muted`,children:[e(`templates.viewingVersion`),` v`,r.version]}),(0,A.jsx)(`button`,{onClick:a,className:`text-meta text-dark-muted hover:text-dark-text`,children:e(`templates.cancel`)})]}),(0,A.jsx)(`pre`,{className:`p-3 rounded-lg bg-dark-bg text-badge font-mono text-dark-muted max-h-60 overflow-y-auto custom-scrollbar max-md:overflow-x-auto`,children:JSON.stringify({version:r.version,inputs:r.inputs,definition:r.definition},null,2)})]})]})}var L={explore:`info`,plan:`default`,execute:`success`,verify:`warning`,summarize:`info`,generic:`default`},R={explore:`templates.roleExplore`,plan:`templates.rolePlan`,execute:`templates.roleExecute`,verify:`templates.roleVerify`,summarize:`templates.roleSummarize`,generic:`templates.roleGeneric`};function z(e){let t=e.metadata?.role;return typeof t==`string`?t:e.type}function Ne(e){let t=new Map(e.map(e=>[e.id,e])),n=new Set,r=[],i=[...e];for(;i.length>0;){let e=i.filter(e=>(e.dependencies??[]).every(e=>n.has(e)||!t.has(e)));if(e.length===0){r.push(...i);break}for(let t of e)r.push(t),n.add(t.id);i=i.filter(e=>!n.has(e.id))}return r}function B(e){let t=[];for(let n of e)t.push(n),Array.isArray(n.children)&&n.children.length&&t.push(...B(n.children));return t}function Pe(e,t){for(let n of e)t.set(n.id,t.size+1),Array.isArray(n.children)&&n.children.length&&Pe(n.children,t)}function Fe({nodes:e,allById:t,indexById:n}){let{t:r}=y();return(0,A.jsx)(A.Fragment,{children:e.map((i,a)=>{let o=z(i),s=L[o]||`default`,c=De(i),l=R[o],u=c?r(c):l?r(l):o,d=(i.dependencies??[]).map(e=>t.get(e)?.title||e).filter((e,t,n)=>n.indexOf(e)===t);return(0,A.jsxs)(`div`,{children:[(0,A.jsxs)(`div`,{className:`flex gap-2.5`,children:[(0,A.jsxs)(`div`,{className:`flex flex-col items-center shrink-0`,children:[(0,A.jsx)(`span`,{className:`w-6 h-6 rounded-full grid place-items-center bg-dark-border/60 text-dark-muted text-badge font-semibold shrink-0`,children:n.get(i.id)??a+1}),a<e.length-1&&(0,A.jsx)(`span`,{className:`w-px flex-1 bg-dark-border/70 my-0.5`})]}),(0,A.jsxs)(`div`,{className:`flex-1 min-w-0 mb-1.5 rounded-lg border border-dark-border bg-dark-bg/60 overflow-hidden`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 px-2.5 py-1.5`,children:[(0,A.jsx)(f,{size:12,className:b(`shrink-0`,o===`verify`?`text-accent-yellow`:o===`explore`?`text-accent-blue`:`text-dark-muted`)}),(0,A.jsx)(`span`,{className:`text-xs font-medium text-dark-text truncate flex-1`,children:i.title}),(0,A.jsx)(C,{size:`sm`,variant:s,children:u})]}),i.description&&(0,A.jsx)(`p`,{className:`px-2.5 pb-1.5 text-meta text-dark-muted leading-relaxed`,children:i.description}),d.length>0&&(0,A.jsxs)(`div`,{className:`px-2.5 pb-2 flex items-center flex-wrap gap-1`,children:[(0,A.jsx)(oe,{size:11,className:`text-dark-muted/60 shrink-0`}),d.map(e=>(0,A.jsx)(`span`,{className:`text-badge px-1.5 py-0.5 rounded bg-dark-hover text-dark-muted truncate max-w-[16rem]`,children:e},e))]})]})]}),Array.isArray(i.children)&&i.children.length>0&&(0,A.jsx)(`div`,{className:`ms-3 ps-3 border-s-2 border-dark-border/60`,children:(0,A.jsx)(Fe,{nodes:i.children,allById:t,indexById:n})})]},i.id)})})}function Ie({definition:e}){let{t}=y(),n=(0,w.useMemo)(()=>Ne(e.nodes||[]),[e.nodes]),r=(0,w.useMemo)(()=>new Map(B(e.nodes||[]).map(e=>[e.id,e])),[e.nodes]),i=(0,w.useMemo)(()=>{let t=new Map;return Pe(e.nodes||[],t),t},[e.nodes]);return n.length===0?(0,A.jsx)(`p`,{className:`text-xs text-dark-muted`,children:t(`templates.noNodes`)}):(0,A.jsx)(`div`,{className:`space-y-0`,children:(0,A.jsx)(Fe,{nodes:n,allById:r,indexById:i})})}function V(e){let t=[];for(let n of e)t.push(n),Array.isArray(n.children)&&n.children.length&&t.push(...V(n.children));return t}function Le(e,t){let n=new Set,r=(e,i)=>{for(let a of e){let e=i||a.id===t;e&&n.add(a.id),Array.isArray(a.children)&&a.children.length&&r(a.children,e)}};return r(e,!1),n}function Re(e){let t=new Set(V(e).map(e=>e.id)),n=1;for(;t.has(`task-${n}`);)n++;return`task-${n}`}function H(e,t,n){return e.map(e=>e.id===t?{...e,...n}:Array.isArray(e.children)&&e.children.length?{...e,children:H(e.children,t,n)}:e)}function ze(e,t){let n=e=>e.filter(e=>e.id!==t).map(e=>({...e,dependencies:(e.dependencies??[]).filter(e=>e!==t),children:Array.isArray(e.children)&&e.children.length?n(e.children):e.children}));return n(e)}function U(e,t,n){let r=new Date().toISOString(),i={id:Re(e),title:n?.title??``,description:n?.description??``,type:n?.type??`task`,status:`pending`,dependencies:[],priority:5,createdAt:r,updatedAt:r};if(!t)return[...e,i];let a=e=>e.map(e=>e.id===t?{...e,children:[...Array.isArray(e.children)?e.children:[],i]}:Array.isArray(e.children)&&e.children.length?{...e,children:a(e.children)}:e);return a(e)}var Be=[`task`,`agent`,`parallel`,`pipeline`,`phase`,`condition`,`loop`,`checkpoint`],W=new Set([`parallel`,`pipeline`,`phase`,`condition`,`loop`,`checkpoint`]),Ve=[`string`,`number`,`select`,`boolean`,`folder`,`connector`];function G(e){return Te[e]??(e===`agent`?`templates.editorTypeAgent`:`templates.editorTypeTask`)}function He(e,t){return W.has(t)?e(Te[t]??t):e(G(t))}function K(e){let{t}=y(),{node:n,index:r,depth:i,depOptions:a,definition:o,onChange:s,onRemove:c,onAddChild:l,onDepAdd:d,onDepRemove:f}=e,p=n.dependencies??[],ee=Array.isArray(n.children)&&n.children.length>0,m=W.has(n.type);return(0,A.jsxs)(`div`,{className:Ue(i)+` rounded-lg border border-dark-border bg-dark-bg/60`,"data-node-id":n.id,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 px-2.5 py-1.5 max-md:flex-wrap`,children:[(0,A.jsx)(`span`,{className:`text-badge text-dark-muted/70 shrink-0 w-4 text-end`,children:r}),(0,A.jsx)(`input`,{value:n.title,onChange:e=>s({title:e.target.value}),placeholder:t(`templates.editorNodeTitlePlaceholder`),"aria-label":t(`templates.editorNodeTitlePlaceholder`),className:`flex-1 min-w-[120px] px-2 py-1 rounded-md bg-dark-surface border border-dark-border text-xs text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsx)(`span`,{className:`text-badge font-mono text-dark-muted/50 shrink-0 hidden xl:inline`,title:n.id,children:n.id}),(0,A.jsx)(`select`,{value:n.type,onChange:e=>s({type:e.target.value}),"aria-label":t(`templates.editorInputType`),className:`shrink-0 px-1.5 py-1 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`,children:Be.map(e=>(0,A.jsx)(`option`,{value:e,children:He(t,e)},e))}),(0,A.jsx)(`button`,{onClick:c,className:`p-1 rounded-md text-dark-muted hover:text-accent-red hover:bg-dark-hover transition-colors shrink-0`,title:t(`templates.editorDeleteNode`),"aria-label":`${t(`templates.editorDeleteNode`)} ${n.title||n.id}`,children:(0,A.jsx)(ae,{size:12})})]}),(0,A.jsxs)(`div`,{className:`px-2.5 pb-2 space-y-1.5`,children:[(0,A.jsx)(`textarea`,{value:n.description,onChange:e=>s({description:e.target.value}),rows:2,placeholder:t(`templates.editorNodeDescPlaceholder`),"aria-label":`${t(`templates.editorNodeDescPlaceholder`)} ${n.id}`,className:`w-full px-2 py-1 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue placeholder:text-dark-muted/40`}),(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5 flex-wrap`,children:[(0,A.jsx)(oe,{size:11,className:`text-dark-muted/60 shrink-0`}),(0,A.jsx)(`span`,{className:`text-meta text-dark-muted shrink-0`,children:t(`templates.editorDepsLabel`)}),p.length===0&&(0,A.jsx)(`span`,{className:`text-meta text-dark-muted/50`,children:t(`templates.editorDepsNone`)}),p.map(e=>{let n=B(o.nodes??[]).find(t=>t.id===e);return(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-meta px-1.5 py-0.5 rounded bg-accent-blue/10 text-accent-blue`,children:[n?.title||e,(0,A.jsx)(`button`,{onClick:()=>f(e),className:`hover:text-accent-red`,"aria-label":`${t(`templates.editorDepsRemove`)} ${n?.title||e}`,children:`✕`})]},e)}),(0,A.jsxs)(`select`,{value:``,onChange:e=>{e.target.value&&d(e.target.value)},"aria-label":t(`templates.editorDepsAdd`),className:`ms-auto px-1.5 py-0.5 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-muted focus:outline-none focus:ring-1 focus:ring-accent-blue`,children:[(0,A.jsx)(`option`,{value:``,children:t(`templates.editorDepsAdd`)}),a.filter(e=>!p.includes(e.id)).map(e=>(0,A.jsx)(`option`,{value:e.id,children:e.title||e.id},e.id))]}),(0,A.jsxs)(`label`,{className:`ms-auto inline-flex items-center gap-1 text-meta text-dark-muted`,children:[t(`templates.editorPriority`),(0,A.jsx)(`input`,{type:`number`,value:n.priority,onChange:e=>s({priority:Number(e.target.value)||0}),className:`w-14 px-1.5 py-0.5 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]})]})]}),(m||ee)&&(0,A.jsxs)(`div`,{className:`ms-3 ps-3 pb-2 border-s-2 border-dark-border/60`,children:[ee&&(0,A.jsx)(q,{nodes:n.children,depth:i+1,definition:o,onChangeNodes:e=>s({children:e})}),(0,A.jsxs)(`button`,{onClick:l,className:`mt-1 inline-flex items-center gap-1 text-meta text-dark-muted hover:text-accent-blue transition-colors`,children:[(0,A.jsx)(u,{size:11}),` `,t(`templates.editorAddChild`)]})]})]})}function Ue(e){return e>0?`ms-3`:``}function q({nodes:e,depth:t,definition:n,onChangeNodes:r}){let{t:i}=y(),a=(0,w.useMemo)(()=>B(n.nodes??[]),[n.nodes]);return(0,A.jsxs)(`div`,{className:`space-y-2`,children:[e.map((i,o)=>{let s=Le(n.nodes??[],i.id),c=a.filter(e=>!s.has(e.id));return(0,A.jsx)(`div`,{children:(0,A.jsx)(K,{node:i,index:o+1,depth:t,depOptions:c,definition:n,onChange:t=>r(H(e,i.id,t)),onRemove:()=>r(ze(e,i.id)),onAddChild:()=>r(U(e,i.id)),onDepAdd:t=>r(H(e,i.id,{dependencies:[...i.dependencies??[],t]})),onDepRemove:t=>r(H(e,i.id,{dependencies:(i.dependencies??[]).filter(e=>e!==t)}))})},i.id)}),e.length===0&&(0,A.jsx)(`p`,{className:`text-meta text-dark-muted/50`,children:i(`templates.editorEmptyLevel`)})]})}function We({inputs:e,onChange:t}){let{t:n}=y(),r=(n,r)=>{t(e.map((e,t)=>t===n?{...e,...r}:e))},i=()=>{let n=new Set(e.map(e=>e.name)),r=1;for(;n.has(`input_${r}`);)r++;t([...e,{name:`input_${r}`,label:``,type:`string`}])},a=n=>t(e.filter((e,t)=>t!==n));return(0,A.jsxs)(`div`,{className:`border border-dark-border rounded-lg overflow-hidden`,children:[(0,A.jsxs)(`div`,{className:`px-3 py-2 bg-dark-surface border-b border-dark-border flex items-center gap-2`,children:[(0,A.jsx)(`span`,{className:`text-xs font-semibold text-dark-text`,children:n(`templates.editorInputsTitle`)}),(0,A.jsx)(`span`,{className:`ms-auto text-badge text-dark-muted`,children:n(`templates.confirmCount`,{n:e.length})})]}),(0,A.jsxs)(`div`,{className:`p-2.5 space-y-1.5`,children:[e.length===0&&(0,A.jsx)(`p`,{className:`text-meta text-dark-muted/50`,children:n(`templates.editorInputsEmpty`)}),e.map((e,t)=>(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5 flex-wrap`,children:[(0,A.jsx)(`input`,{value:e.name,onChange:e=>r(t,{name:e.target.value}),placeholder:n(`templates.editorInputName`),"aria-label":`${n(`templates.editorInputName`)} ${t+1}`,className:`w-28 px-2 py-1 rounded-md bg-dark-surface border border-dark-border text-meta font-mono text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsx)(`input`,{value:e.label,onChange:e=>r(t,{label:e.target.value}),placeholder:n(`templates.editorInputLabel`),"aria-label":`${n(`templates.editorInputLabel`)} ${t+1}`,className:`flex-1 min-w-[80px] px-2 py-1 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsx)(`select`,{value:e.type,onChange:e=>r(t,{type:e.target.value}),"aria-label":`${n(`templates.editorInputType`)} ${t+1}`,className:`px-1.5 py-1 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`,children:Ve.map(e=>(0,A.jsx)(`option`,{value:e,children:e},e))}),(0,A.jsxs)(`label`,{className:`inline-flex items-center gap-1 text-meta text-dark-muted shrink-0`,children:[(0,A.jsx)(`input`,{type:`checkbox`,checked:!!e.required,onChange:e=>r(t,{required:e.target.checked}),"aria-label":`${n(`templates.editorInputRequired`)} ${t+1}`}),n(`templates.editorInputRequired`)]}),(0,A.jsx)(`input`,{value:e.default===void 0||e.default===null?``:String(e.default),onChange:n=>{let i=n.target.value;i===``?r(t,{default:void 0}):e.type===`number`&&Number.isFinite(Number(i))?r(t,{default:Number(i)}):e.type===`boolean`?r(t,{default:i===`true`}):r(t,{default:i})},placeholder:n(`templates.editorInputDefault`),"aria-label":`${n(`templates.editorInputDefault`)} ${t+1}`,className:`w-24 px-2 py-1 rounded-md bg-dark-surface border border-dark-border text-meta text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsx)(`button`,{onClick:()=>a(t),className:`p-1 rounded-md text-dark-muted hover:text-accent-red hover:bg-dark-hover transition-colors`,title:n(`templates.editorInputRemove`),"aria-label":`${n(`templates.editorInputRemove`)} ${e.name||t+1}`,children:(0,A.jsx)(ae,{size:12})})]},t)),(0,A.jsxs)(`button`,{onClick:i,className:`inline-flex items-center gap-1 text-meta text-dark-muted hover:text-accent-blue transition-colors`,children:[(0,A.jsx)(u,{size:11}),` `,n(`templates.editorInputsAdd`)]})]})]})}function Ge({definition:e,inputs:t,issues:n,onDefinitionChange:r,onInputsChange:i}){let{t:a}=y(),o=e.nodes??[],s=(0,w.useMemo)(()=>B(o),[o]),c=t=>{r({...e,nodes:t,updatedAt:new Date().toISOString()})};return(0,A.jsxs)(`div`,{className:`grid grid-cols-1 xl:grid-cols-[3fr_2fr] gap-4 items-start`,children:[(0,A.jsxs)(`section`,{className:`border border-dark-border rounded-lg overflow-hidden`,children:[(0,A.jsxs)(`div`,{className:`px-3 py-2 bg-dark-surface border-b border-dark-border flex items-center gap-2`,children:[(0,A.jsx)(te,{size:13,className:`text-accent-blue shrink-0`}),(0,A.jsx)(`span`,{className:`text-xs font-semibold text-dark-text`,children:a(`templates.editorNodesTitle`)}),(0,A.jsx)(`span`,{className:`text-badge text-dark-muted`,children:a(`templates.editorNodeCount`,{n:s.length})}),(0,A.jsxs)(`button`,{onClick:()=>c(U(o)),className:`ms-auto inline-flex items-center gap-1 text-meta px-2 py-1 rounded-md border border-dark-border text-dark-muted hover:text-accent-blue hover:border-accent-blue/40 transition-colors`,children:[(0,A.jsx)(u,{size:11}),` `,a(`templates.editorAddNode`)]})]}),(0,A.jsxs)(`div`,{className:`p-2.5 space-y-2`,children:[(0,A.jsx)(q,{nodes:o,depth:0,definition:e,onChangeNodes:c}),o.length===0&&(0,A.jsxs)(`button`,{onClick:()=>c(U(o)),className:`w-full border border-dashed border-dark-border rounded-lg py-3 text-xs text-dark-muted hover:text-accent-blue hover:border-accent-blue/40 transition-colors`,children:[(0,A.jsx)(u,{size:12,className:`inline me-1`}),` `,a(`templates.editorAddNode`)]})]})]}),(0,A.jsxs)(`section`,{className:`space-y-3 min-w-0`,children:[(0,A.jsxs)(`div`,{className:`border border-dark-border rounded-lg overflow-hidden`,children:[(0,A.jsx)(`div`,{className:`px-3 py-2 bg-dark-surface border-b border-dark-border`,children:(0,A.jsx)(`span`,{className:`text-xs font-semibold text-dark-text`,children:a(`templates.editorPreviewTitle`)})}),(0,A.jsx)(`div`,{className:`p-2.5`,children:(0,A.jsx)(Ie,{definition:e})})]}),n.length>0&&(0,A.jsxs)(`div`,{className:`rounded-lg border border-accent-yellow/40 bg-accent-yellow/5 px-3 py-2 space-y-1`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5 text-xs text-accent-yellow font-medium`,children:[(0,A.jsx)(d,{size:13}),` `,a(`templates.editorValidationIssues`)]}),n.map((e,t)=>(0,A.jsx)(`div`,{className:`text-meta text-dark-muted`,children:a(e.key,e.params)},t))]}),n.length===0&&s.length>0&&(0,A.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,A.jsx)(C,{size:`sm`,variant:`success`,children:a(`templates.editorValidationOk`)}),(0,A.jsx)(`span`,{className:`text-meta text-dark-muted/60`,children:a(`templates.editorAdvancedSyncHint`)})]}),(0,A.jsx)(We,{inputs:t,onChange:i})]})]})}var Ke=/<<input:([A-Za-z][A-Za-z0-9_]*)>>/g;function qe(e){let t=[];for(let n of e)n&&typeof n==`object`&&(t.push(n),Array.isArray(n.children)&&n.children.length&&t.push(...qe(n.children)));return t}function Je(e){let t=new Map(e.map(e=>[e.id,e])),n=new Map(e.map(e=>[e.id,0]));for(let r of e)for(let e of r.dependencies||[])t.has(e)&&n.set(r.id,(n.get(r.id)??0)+1);let r=e.filter(e=>(n.get(e.id)??0)===0).map(e=>e.id),i=0;for(;r.length;){let t=r.pop();i++;for(let i of e)if((i.dependencies||[]).includes(t)){let e=(n.get(i.id)??0)-1;n.set(i.id,e),e===0&&r.push(i.id)}}return i<e.length}function Ye(e,t){let n=[];if(!e||!Array.isArray(e.nodes)||e.nodes.length===0)return n.push({key:`templates.validateNoNodes`}),n;let r=qe(e.nodes);if(r.length===0)return n.push({key:`templates.validateNoNodes`}),n;let i=new Set;for(let e of r)typeof e.id!=`string`||e.id===``?n.push({key:`templates.validateNodeNoId`}):(i.has(e.id)&&n.push({key:`templates.validateDupNodeId`,params:{id:e.id}}),i.add(e.id));let a=new Map(r.map(e=>[e.id,e]));for(let e of r)for(let t of e.dependencies||[])a.has(t)||n.push({key:`templates.validateDanglingDep`,params:{node:e.id,dep:t}});Je(r)&&n.push({key:`templates.validateCycle`});let o=new Set((t??[]).map(e=>e?.name).filter(e=>typeof e==`string`)),s=new Set;for(let e of r)for(let t of[e.title,e.description])if(typeof t==`string`)for(let e of t.matchAll(Ke)){let t=e[1];t&&!o.has(t)&&s.add(t)}for(let e of s)n.push({key:`templates.validateUndeclaredInput`,params:{name:e}});return n}function Xe(e,t,n){let r=new Date().toISOString();return{id:`wf_${Date.now()}`,title:e,description:``,nodes:[{id:`task-1`,title:t,description:n,type:`task`,status:`pending`,dependencies:[],priority:5,createdAt:r,updatedAt:r}],createdAt:r,updatedAt:r}}function J(e){let t=(e.nodes??[]).map(e=>({...e,dependencies:Array.isArray(e.dependencies)?e.dependencies:[]}));return{...e,nodes:t}}var Y=`__all__`;function Ze(e,t){if(!t)return;let n={};for(let r of e.inputs??[])r.type===`folder`&&r.default===void 0&&t&&(n[r.name]={value:t,label:t});return Object.keys(n).length>0?n:void 0}function Qe({t:e,detail:t,workspaceDir:n}){let i=(0,w.useMemo)(()=>we(t.definition,t.inputs?.length??0),[t.definition,t.inputs]);return i.nodeCount===0?null:(0,A.jsxs)(`div`,{className:`rounded-lg border border-dark-border bg-dark-bg/50 px-3 py-2.5 space-y-1.5`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap text-xs`,children:[(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1 font-medium text-dark-text`,children:[(0,A.jsx)(r,{size:13,className:i.readonly?`text-accent-green`:`text-accent-yellow`}),i.readonly?e(`templates.readonly`):e(`templates.writable`),` · `,i.readonly?e(`templates.riskLow`):e(`templates.riskMedium`)]}),(0,A.jsx)(`span`,{className:`text-dark-muted`,children:i.maxParallel>1?e(`templates.parallelCount`,{n:i.nodeCount,p:i.maxParallel}):e(`templates.stepCount`,{n:i.nodeCount})}),(0,A.jsx)(`span`,{className:`text-dark-muted`,children:i.inputCount>0?e(`templates.confirmCount`,{n:i.inputCount}):e(`templates.confirmCountNone`)})]}),n&&!i.readonly&&(0,A.jsxs)(`div`,{className:`text-meta text-dark-muted/70 truncate`,title:n,children:[e(`templates.writable`),`: `,n]})]})}var $e={saved:`templates.sourceSaved`,script:`templates.sourceScript`,handwritten:`templates.sourceHandwritten`};function et({onLaunch:e,workspaceDir:i}){let{t:d}=y(),[f,ee]=(0,w.useState)([]),[m,h]=(0,w.useState)(null),[g,v]=(0,w.useState)(null),[se,ce]=(0,w.useState)(!1),[T,E]=(0,w.useState)(``),[D,ge]=(0,w.useState)(``),[O,_e]=(0,w.useState)(Y),[ve,ye]=(0,w.useState)(``),[k,be]=(0,w.useState)(``),[xe,Se]=(0,w.useState)(``),[Ce,we]=(0,w.useState)(``),[Te,Ee]=(0,w.useState)(``),[De,j]=(0,w.useState)(!1),[Oe,M]=(0,w.useState)(``),[ke,Ae]=(0,w.useState)(!1),[N,je]=(0,w.useState)([]),[P,F]=(0,w.useState)(!1),[I,L]=(0,w.useState)(null),[R,z]=(0,w.useState)(null),[Ne,B]=(0,w.useState)(null),[Pe,Fe]=(0,w.useState)(!1),[Ie,V]=(0,w.useState)(!1),[Le,Re]=(0,w.useState)(null),[H,ze]=(0,w.useState)(!1),U=(0,w.useRef)(m);U.current=m;let[Be,W]=(0,w.useState)(!0),[Ve,G]=(0,w.useState)(`overview`),[He,K]=(0,w.useState)(!1),[Ue,q]=(0,w.useState)([]),[We,Ke]=(0,w.useState)(null),qe=()=>{g&&(q(g.inputs??[]),Ke(J(g.definition))),W(!1)},Je=e=>{Ke(e),Ee(JSON.stringify(e,null,2)),j(!0),M(``)},et=e=>{q(e),we(JSON.stringify(e,null,2)),j(!0),M(``)},tt=e=>{try{let t=JSON.parse(e);t&&typeof t==`object`&&Array.isArray(t.nodes)&&Ke(J(t))}catch{}},nt=e=>{try{let t=JSON.parse(e);Array.isArray(t)&&q(t)}catch{}},rt=(0,w.useMemo)(()=>Ye(We??void 0,Ue),[We,Ue]),[it,at]=(0,w.useState)(!1),[ot,st]=(0,w.useState)(``),[ct,lt]=(0,w.useState)(``),[ut,dt]=(0,w.useState)(`general`),[ft,pt]=(0,w.useState)(`[]`),[mt,ht]=(0,w.useState)(()=>JSON.stringify(Xe(d(`templates.starterTitle`),d(`templates.starterNodeTitle`),d(`templates.starterNodeDesc`)),null,2)),[gt,X]=(0,w.useState)(``),[_t,vt]=(0,w.useState)([]),[yt,bt]=(0,w.useState)(null),[xt,St]=(0,w.useState)(!1),[Ct,wt]=(0,w.useState)(!1),[Tt,Et]=(0,w.useState)(``),[Dt,Ot]=(0,w.useState)(!1),[kt,Z]=(0,w.useState)(``),At=()=>{let e=Xe(d(`templates.starterTitle`),d(`templates.starterNodeTitle`),d(`templates.starterNodeDesc`));st(``),lt(``),dt(`general`),pt(`[]`),ht(JSON.stringify(e,null,2)),bt(e),vt([]),St(!1),X(``),wt(!1),Et(``),Ot(!1),Z(``),at(!0)},jt=async()=>{if(!Tt.trim())Z(d(`templates.aiPromptRequired`));else{Ot(!0),Z(``);try{let e=await S.workflows.synthesize(Tt.trim());if(e.success&&e.data){let t=J(e.data);st(e.data.title||``),lt(e.data.description||``),bt(t),vt([]),pt(`[]`),ht(JSON.stringify(t,null,2)),St(!1),wt(!1),X(``)}else Z(e.error||d(`templates.aiDraftFailed`))}catch(e){Z(e instanceof Error?e.message:String(e))}finally{Ot(!1)}}},Mt=e=>{bt(e),ht(JSON.stringify(e,null,2)),X(``)},Nt=e=>{vt(e),pt(JSON.stringify(e,null,2))},Pt=e=>{try{let t=JSON.parse(e);t&&typeof t==`object`&&Array.isArray(t.nodes)&&bt(J(t))}catch{}},Ft=e=>{try{let t=JSON.parse(e);Array.isArray(t)&&vt(t)}catch{}},It=(0,w.useMemo)(()=>Ye(yt??void 0,_t),[yt,_t]),Lt=async()=>{if(!ot.trim()){X(d(`templates.nameRequired`));return}let e,t;try{e=JSON.parse(ft),t=JSON.parse(mt)}catch(e){X(d(`templates.jsonParseFailed`,{error:e instanceof Error?e.message:String(e)}));return}if(!t||typeof t!=`object`||!Array.isArray(t.nodes)){X(d(`templates.invalidDefinition`));return}let n=Ye(t,Array.isArray(e)?e:[]);if(n.length>0){X(n.map(e=>d(e.key,e.params)).join(`;`));return}X(``);let r=await S.templates.create({name:ot.trim(),description:ct.trim(),category:ut.trim()||`general`,inputs:Array.isArray(e)?e:[],definition:J(t),source:{type:`handwritten`}});r.success&&r.data?(at(!1),h(r.data.id),Q()):X(r.error||d(`templates.createFailed`))},Q=(0,w.useCallback)(async()=>{let e=await S.templates.list();e.success&&e.data&&(ee(e.data),m&&!e.data.some(e=>e.id===m)&&(h(null),v(null)))},[m]);(0,w.useEffect)(()=>{Q()},[]),(0,w.useEffect)(()=>{if(!m){v(null);return}let e=!1;return ce(!0),S.templates.get(m).then(t=>{e||(t.success&&t.data?(v(t.data),ye(t.data.name),be(t.data.description),Se(t.data.category),we(JSON.stringify(t.data.inputs,null,2)),Ee(JSON.stringify(t.data.definition,null,2)),q(t.data.inputs??[]),Ke(J(t.data.definition)),j(!1),M(``),F(!1),L(null),S.templates.versions(m).then(t=>{!e&&t.success&&t.data&&je(t.data)})):E(t.error||d(`templates.loadFailed`)))}).catch(()=>E(d(`templates.loadFailed`))).finally(()=>ce(!1)),()=>{e=!0}},[m]);let $=(0,w.useCallback)((e,t)=>d(e,{defaultValue:t}),[d]),Rt=(0,w.useMemo)(()=>f.map(e=>pe(e,$)),[f,$]),zt=(0,w.useMemo)(()=>{let e=new Set;for(let t of Rt)t.builtin||e.add(t.category||d(`templates.uncategorized`));return[Y,...[...e].sort()]},[Rt,d]),Bt=(0,w.useMemo)(()=>{let e=D.trim().toLowerCase();return Rt.filter(t=>O!==Y&&me(t,$)!==O?!1:!e||`${t.name} ${t.description} ${t.category}`.toLowerCase().includes(e))},[Rt,D,O,$]),Vt=(0,w.useMemo)(()=>zt.filter(e=>e!==Y),[zt]),Ht=(0,w.useMemo)(()=>{let{userGroups:e,builtin:t}=fe(Bt,e=>d(e));return t.length===0?e:[...e,[d(`templates.builtinGroup`),t]]},[Bt,d]),Ut=e=>{h(e),W(!0),Ae(!1),F(!1),L(null),B(null),z(null),K(!1),j(!1),M(``),G(`overview`)},Wt=e=>{e!==m&&(!Be&&De?Re(e):Ut(e))},Gt=e=>t=>{e(t),j(!0),M(``)},Kt=async()=>{if(!m||!g||H)return;let e=m,t,n;try{t=JSON.parse(Ce),n=JSON.parse(Te)}catch(e){M(d(`templates.jsonParseFailed`,{error:e instanceof Error?e.message:String(e)}));return}let r=Ye(n,Array.isArray(t)?t:[]);if(r.length>0)M(r.map(e=>d(e.key,e.params)).join(`;`));else{M(``),ze(!0);try{let r=await S.templates.update(e,{name:ve,description:k,category:xe,inputs:Array.isArray(t)?t:[],definition:J(n)});if(U.current!==e)return;r.success&&r.data?(v(r.data),j(!1),M(d(`templates.savedVersion`,{version:r.data.version})),Q(),S.templates.versions(e).then(t=>{U.current===e&&t.success&&t.data&&je(t.data)})):M(r.error||d(`templates.saveFailed`))}finally{ze(!1)}}},qt=async e=>{if(!m)return;let t=m;Fe(!0);try{let n=await S.templates.render(t,e);if(U.current!==t)return;B({ok:n.success,json:n.success?JSON.stringify(n.data,null,2):void 0,error:n.success?void 0:n.error||d(`templates.renderFailed`)})}catch(e){B({ok:!1,error:e instanceof Error?e.message:d(`templates.renderFailed`)})}finally{Fe(!1)}},Jt=t=>{g&&(e(g,t),z(null))},Yt=e=>{g&&(B(null),z({mode:e}))},Xt=async e=>{if(!m)return;let t=await S.templates.getVersion(m,e);t.success&&t.data&&L(t.data)};return(0,A.jsxs)(`div`,{className:`flex flex-1 min-h-0 bg-dark-bg max-md:flex-col`,children:[(0,A.jsxs)(`div`,{className:`w-80 shrink-0 border-e border-dark-border overflow-y-auto custom-scrollbar p-3 max-md:w-full max-md:max-h-[45vh] max-md:border-e-0 max-md:border-b`,children:[(0,A.jsxs)(`div`,{className:`flex items-center justify-between mb-2 px-1`,children:[(0,A.jsx)(`span`,{className:`text-xs uppercase tracking-wider text-dark-muted font-medium`,children:d(`templates.workflowLibraryTitle`)}),(0,A.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,A.jsxs)(`button`,{onClick:At,className:`p-1.5 rounded-lg text-accent-blue hover:bg-accent-blue/10 transition-colors inline-flex items-center gap-1 text-xs`,title:d(`templates.manualCreateTitle`),children:[(0,A.jsx)(u,{className:`w-4 h-4`}),(0,A.jsx)(`span`,{className:`hidden xl:inline`,children:d(`templates.manualCreate`)})]}),(0,A.jsx)(`button`,{onClick:()=>{E(``),Q()},className:`p-1.5 rounded-lg text-dark-muted hover:text-dark-text hover:bg-dark-hover transition-colors`,title:d(`templates.refresh`),children:(0,A.jsx)(p,{className:`w-4 h-4`})})]})]}),(0,A.jsxs)(`div`,{className:`relative mb-2`,children:[(0,A.jsx)(c,{size:13,className:`absolute start-2.5 top-1/2 -translate-y-1/2 text-dark-muted/60`}),(0,A.jsx)(`input`,{value:D,onChange:e=>ge(e.target.value),placeholder:d(`templates.searchPlaceholder`),className:`w-full ps-8 pe-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-xs text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue placeholder:text-dark-muted/50`})]}),(0,A.jsx)(`div`,{className:`flex items-center gap-1.5 mb-3 flex-wrap`,children:zt.map(e=>(0,A.jsx)(`button`,{onClick:()=>_e(e),className:b(`text-meta px-2 py-0.5 rounded-full border transition-colors`,O===e?`border-accent-blue text-accent-blue bg-accent-blue/10`:`border-dark-border text-dark-muted hover:border-dark-muted/50 hover:text-dark-text`),children:e===Y?d(`templates.filterAll`):e},e))}),T&&(0,A.jsx)(`div`,{className:`text-xs text-accent-red mb-2`,children:T}),Ht.length===0&&!T&&(0,A.jsx)(`div`,{className:`text-xs text-dark-muted px-1 py-4 text-center`,children:d(D||O!==Y?`templates.noMatchTemplates`:`templates.emptyTemplates`)}),Ht.map(([e,t])=>(0,A.jsxs)(`div`,{className:`mb-4`,children:[(0,A.jsx)(`div`,{className:`px-1 mb-1.5 text-badge uppercase tracking-wider text-dark-muted/70`,children:e}),(0,A.jsx)(`div`,{className:`space-y-1.5`,children:t.map(e=>{let t=m===e.id,n=e.status&&e.status!==`ready`?e.status:null,i=n===`degraded`?`templates.degradedBadge`:n===`draft`?`templates.statusDraft`:n===`deprecated`?`templates.statusDeprecated`:n===`archived`?`templates.statusArchived`:null;return(0,A.jsxs)(`button`,{onClick:()=>Wt(e.id),className:b(`w-full text-start px-3 py-2.5 rounded-lg border transition-colors`,t?`bg-accent-blue/10 border-accent-blue/30 text-dark-text`:`border-transparent hover:bg-dark-hover text-dark-muted`),children:[(0,A.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,A.jsx)(`span`,{className:`text-sm font-medium truncate`,children:e.name}),(0,A.jsxs)(`span`,{className:`flex items-center gap-1 shrink-0`,children:[i&&(0,A.jsx)(C,{size:`sm`,variant:n===`degraded`?`warning`:`default`,children:d(i)}),(0,A.jsxs)(C,{size:`sm`,variant:`info`,children:[`v`,e.version]})]})]}),e.description&&(0,A.jsx)(`div`,{className:`text-meta text-dark-muted/70 truncate mt-0.5`,children:e.description}),(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5 mt-2 flex-wrap`,children:[e.summary&&(0,A.jsxs)(C,{size:`sm`,variant:e.summary.readonly?`success`:`warning`,className:`gap-1`,children:[e.summary.readonly?(0,A.jsx)(r,{size:10}):(0,A.jsx)(s,{size:10}),e.summary.readonly?`${d(`templates.readonly`)} · ${d(`templates.riskLow`)}`:`${d(`templates.writable`)} · ${d(`templates.riskMedium`)}`]}),(0,A.jsx)(C,{size:`sm`,variant:`default`,children:e.inputs.length>0?d(`templates.confirmCount`,{n:e.inputs.length}):d(`templates.confirmCountNone`)}),(0,A.jsxs)(`span`,{className:`ms-auto inline-flex items-center gap-0.5 text-badge text-accent-blue`,children:[d(t?`templates.viewing`:`templates.view`),!t&&(0,A.jsx)(l,{size:10})]})]})]},e.id)})})]},e))]}),(()=>{if(!m)return(0,A.jsx)(`div`,{className:`flex-1 flex items-center justify-center text-sm text-dark-muted`,children:(0,A.jsxs)(`div`,{className:`text-center px-8`,children:[(0,A.jsx)(te,{size:36,className:`mx-auto mb-2 opacity-30 text-dark-muted`}),(0,A.jsx)(`p`,{children:d(`templates.selectTemplateHint`)}),(0,A.jsx)(`p`,{className:`text-xs text-dark-muted/60 mt-1`,children:d(`templates.workflowLibraryHint`)})]})});if(se||!g)return(0,A.jsxs)(`div`,{className:`flex-1 flex items-center justify-center text-dark-muted`,children:[(0,A.jsx)(a,{className:`w-4 h-4 animate-spin me-2`}),` `,d(`templates.loading`)]});let e=g.definition?.nodes?.length??0,n=g.inputs?.length??0,r=$e[g.source.type];return Be?(0,A.jsx)(Me,{t:d,detail:pe(g,$),nodeCount:e,inputCount:n,sourceLabelKey:r,detailTab:Ve,onTabChange:G,onReplay:()=>{z({mode:`launch`}),K(!1)},onPreflight:()=>{z({mode:`preview`}),K(!1)},onEdit:()=>{qe(),K(!1)},onDelete:()=>V(!0),onExport:()=>{let e=new Blob([JSON.stringify(g,null,2)],{type:`application/json`}),t=URL.createObjectURL(e),n=document.createElement(`a`);n.href=t,n.download=`${g.id}.template.json`,n.click(),URL.revokeObjectURL(t)},onCopyId:async()=>{try{await navigator.clipboard.writeText(g.id),M(d(`templates.copied`))}catch{}},onToggleAdvanced:()=>{qe(),Ae(!0),K(!1)},onToggleVersions:()=>{G(`history`),K(!1),F(!1)},onReRecord:async e=>{let t=await S.templates.getVersion(m,e);if(t.success&&t.data){let e=t.data,n=await S.templates.update(m,{name:e.name,description:e.description,category:e.category,inputs:e.inputs,definition:e.definition});n.success&&n.data&&(v(n.data),G(`history`),Q(),S.templates.versions(m).then(e=>{e.success&&e.data&&je(e.data)}))}},versions:N,historyView:I,onLoadVersion:Xt,onClearHistory:()=>L(null),onRefresh:Q,menuOpen:He,setMenuOpen:K,saveMsg:Oe}):(0,A.jsx)(`div`,{className:`flex-1 min-w-0 flex flex-col overflow-y-auto custom-scrollbar`,children:(0,A.jsxs)(`div`,{className:`p-5 space-y-4 max-md:p-3`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,A.jsxs)(`button`,{onClick:()=>{W(!0),j(!1),Ae(!1),F(!1)},className:`inline-flex items-center gap-1 text-xs text-dark-muted hover:text-dark-text transition-colors shrink-0`,children:[`← `,d(`templates.backToView`)]}),(0,A.jsx)(`input`,{value:ve,onChange:e=>Gt(ye)(e.target.value),className:`flex-1 min-w-[200px] px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsxs)(C,{variant:`info`,children:[`v`,g.version]}),(0,A.jsx)(C,{variant:g.source.type===`saved`?`success`:`default`,children:r?d(r):g.source.type}),(0,A.jsx)(`button`,{onClick:()=>V(!0),className:`p-2 rounded-lg text-dark-muted hover:text-accent-red hover:bg-dark-hover transition-colors`,title:d(`templates.deleteTemplate`),children:(0,A.jsx)(ae,{className:`w-4 h-4`})})]}),(0,A.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 max-md:grid-cols-1`,children:[(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsxs)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:[d(`templates.categoryLabel`),(0,A.jsx)(`span`,{className:`text-badge text-dark-muted/60 ms-1.5`,children:d(`templates.categoryCreateHint`)})]}),(0,A.jsx)(`input`,{value:xe,onChange:e=>Gt(Se)(e.target.value),list:`template-category-suggestions`,className:`w-full px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`}),(0,A.jsx)(`datalist`,{id:`template-category-suggestions`,children:Vt.map(e=>(0,A.jsx)(`option`,{value:e},e))})]}),(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.descriptionLabel`)}),(0,A.jsx)(`input`,{value:k,onChange:e=>Gt(be)(e.target.value),className:`w-full px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]})]}),(0,A.jsxs)(`div`,{className:`flex items-center gap-4 flex-wrap text-xs text-dark-muted`,children:[(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,A.jsx)(oe,{size:13,className:`text-accent-blue`}),d(`templates.nodeCount`,{n:e})]}),(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,A.jsx)(l,{size:13,className:`text-accent-green`}),d(`templates.topologyHint`)]}),n>0&&(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,A.jsx)(_,{size:13,className:`text-accent-yellow`}),d(`templates.inputCount`,{n})]}),(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,A.jsx)(ie,{size:13,className:`text-dark-muted/60`}),new Date(g.updatedAt).toLocaleString()]})]}),We&&(0,A.jsx)(Ge,{definition:We,inputs:Ue,issues:rt,onDefinitionChange:Je,onInputsChange:et}),(0,A.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,A.jsx)(x,{variant:`accent`,leftIcon:(0,A.jsx)(ne,{className:`w-4 h-4`}),onClick:()=>Yt(`launch`),children:d(`templates.launchWithTemplate`)}),(0,A.jsxs)(`button`,{onClick:()=>Yt(`preview`),className:`px-4 py-2 rounded-lg border border-dark-border text-dark-text hover:bg-dark-hover transition-colors inline-flex items-center gap-1.5`,children:[(0,A.jsx)(o,{className:`w-4 h-4`}),` `,d(`templates.testRun`)]}),(0,A.jsxs)(`button`,{onClick:()=>F(e=>!e),className:`px-4 py-2 rounded-lg border border-dark-border text-dark-text hover:bg-dark-hover transition-colors inline-flex items-center gap-1.5`,children:[(0,A.jsx)(re,{className:`w-4 h-4`}),` `,d(`templates.versionHistory`)]}),(0,A.jsx)(x,{variant:`accent`,leftIcon:(0,A.jsx)(t,{className:`w-4 h-4`}),onClick:Kt,loading:H,disabled:!De||rt.length>0,title:rt.length>0?d(`templates.editorValidationIssues`):void 0,children:d(`templates.saveChanges`)}),(0,A.jsxs)(`button`,{onClick:()=>Ae(e=>!e),className:`px-4 py-2 rounded-lg border border-dark-border text-dark-text hover:bg-dark-hover transition-colors inline-flex items-center gap-1.5`,children:[(0,A.jsx)(_,{className:`w-4 h-4`}),` `,d(`templates.advancedJson`)]}),(0,A.jsx)(`button`,{onClick:Q,className:`p-2 rounded-lg text-dark-muted hover:text-dark-text hover:bg-dark-hover transition-colors`,title:d(`templates.refresh`),children:(0,A.jsx)(p,{className:`w-4 h-4`})}),Oe&&(0,A.jsx)(`span`,{className:`text-xs text-dark-muted`,children:Oe})]}),ke&&(0,A.jsxs)(`div`,{className:`border border-dark-border rounded-lg p-3 space-y-3`,children:[(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.inputsSchemaLabel`)}),(0,A.jsx)(`textarea`,{value:Ce,onChange:e=>{Gt(we)(e.target.value),nt(e.target.value)},rows:5,spellCheck:!1,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border text-xs font-mono text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.definitionLabel`)}),(0,A.jsx)(`textarea`,{value:Te,onChange:e=>{Gt(Ee)(e.target.value),tt(e.target.value)},rows:10,spellCheck:!1,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border text-xs font-mono text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsx)(`p`,{className:`text-meta text-dark-muted/60`,children:d(`templates.editorAdvancedSyncHint`)})]}),P&&(0,A.jsxs)(`div`,{className:`border border-dark-border rounded-lg p-3 space-y-1.5`,children:[(0,A.jsx)(`div`,{className:`text-xs text-dark-muted mb-1`,children:d(`templates.versionSnapshotLabel`)}),N.length===0&&(0,A.jsx)(`div`,{className:`text-xs text-dark-muted/60`,children:d(`templates.noVersions`)}),N.map(e=>(0,A.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,A.jsxs)(`button`,{onClick:()=>Xt(e),className:`text-xs px-2 py-1 rounded border border-dark-border hover:border-accent-blue/50 transition-colors`,children:[`v`,e]}),I&&I.version===e&&(0,A.jsx)(`span`,{className:`text-xs text-dark-muted/60`,children:d(`templates.viewingVersion`)})]},e)),I&&(0,A.jsx)(`pre`,{className:`mt-2 p-3 rounded-lg bg-dark-bg text-badge font-mono text-dark-muted max-h-60 overflow-y-auto custom-scrollbar`,children:JSON.stringify({version:I.version,inputs:I.inputs,definition:I.definition},null,2)})]})]})})})(),R&&g&&(0,A.jsxs)(de,{isOpen:!0,onClose:()=>z(null),title:R.mode===`launch`?d(`templates.replayDrawerTitle`,{name:g.name}):d(`templates.previewModalTitle`,{name:g.name}),size:`md`,children:[(0,A.jsx)(he,{template:g,onCancel:()=>z(null),onSubmit:R.mode===`launch`?Jt:qt,submitLabel:R.mode===`launch`?d(`templates.replayStart`):d(`templates.renderPreview`),submitIcon:R.mode===`launch`?(0,A.jsx)(l,{className:`w-3.5 h-3.5`}):void 0,busy:Pe,autoValues:Ze(g,i),preflightSummary:(0,A.jsx)(Qe,{t:d,detail:g,workspaceDir:i})}),R.mode===`preview`&&Ne&&(0,A.jsx)(`div`,{className:`mt-4`,children:Ne.ok?(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`div`,{className:`text-xs text-accent-green mb-1.5`,children:d(`templates.renderSuccess`)}),(0,A.jsx)(`pre`,{className:`p-3 rounded-lg bg-dark-bg text-badge font-mono text-dark-muted max-h-72 overflow-y-auto custom-scrollbar`,children:Ne.json})]}):(0,A.jsx)(`div`,{className:`text-xs text-accent-red`,children:Ne.error})})]}),(0,A.jsx)(ue,{isOpen:it,onClose:()=>at(!1),title:d(`templates.newTemplate`),size:`lg`,children:(0,A.jsxs)(`div`,{className:`space-y-4`,children:[(0,A.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 max-md:grid-cols-1`,children:[(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.nameLabel`)}),(0,A.jsx)(`input`,{value:ot,onChange:e=>st(e.target.value),placeholder:d(`templates.namePlaceholder`),className:`w-full px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.categoryField`)}),(0,A.jsx)(`input`,{value:ut,onChange:e=>dt(e.target.value),className:`w-full px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]})]}),(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.descriptionField`)}),(0,A.jsx)(`input`,{value:ct,onChange:e=>lt(e.target.value),className:`w-full px-3 py-1.5 rounded-lg bg-dark-bg border border-dark-border text-sm text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,A.jsxs)(`button`,{type:`button`,onClick:()=>{wt(!0),Z(``)},className:b(`px-3 py-1.5 rounded-lg border text-xs transition-colors inline-flex items-center gap-1.5`,Ct?`border-accent-blue text-accent-blue bg-accent-blue/10`:`border-dark-border text-dark-muted hover:border-dark-muted/50 hover:text-dark-text`),children:[(0,A.jsx)(n,{size:12}),` `,d(`templates.aiDraftTab`)]}),(0,A.jsxs)(`button`,{type:`button`,onClick:()=>wt(!1),className:b(`px-3 py-1.5 rounded-lg border text-xs transition-colors inline-flex items-center gap-1.5`,Ct?`border-dark-border text-dark-muted hover:border-dark-muted/50 hover:text-dark-text`:`border-accent-blue text-accent-blue bg-accent-blue/10`),children:[(0,A.jsx)(_,{size:12}),` `,d(`templates.editorManualTab`)]})]}),Ct?(0,A.jsxs)(`div`,{className:`space-y-2`,children:[(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.aiPromptLabel`)}),(0,A.jsx)(`textarea`,{value:Tt,onChange:e=>Et(e.target.value),rows:4,spellCheck:!1,placeholder:d(`templates.aiPromptPlaceholder`),className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border text-xs text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsx)(x,{variant:`accent`,onClick:()=>void jt(),loading:Dt,leftIcon:Dt?void 0:(0,A.jsx)(n,{className:`w-4 h-4`}),children:d(Dt?`templates.aiWorking`:`templates.generateWorkflow`)}),Dt&&(0,A.jsx)(`div`,{className:`text-xs text-dark-muted`,children:d(`templates.aiTimeHint`)}),kt&&(0,A.jsx)(`div`,{className:`text-xs text-accent-red`,children:kt})]}):(0,A.jsxs)(A.Fragment,{children:[yt&&(0,A.jsx)(Ge,{definition:yt,inputs:_t,issues:It,onDefinitionChange:Mt,onInputsChange:Nt}),(0,A.jsx)(`div`,{children:(0,A.jsxs)(`button`,{type:`button`,onClick:()=>St(e=>!e),className:`inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg border border-dark-border text-xs text-dark-muted hover:text-dark-text hover:bg-dark-hover transition-colors`,children:[(0,A.jsx)(_,{size:12}),` `,d(`templates.advancedJson`)]})}),xt&&(0,A.jsxs)(`div`,{className:`space-y-3`,children:[(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.inputsSchemaLabel`)}),(0,A.jsx)(`textarea`,{value:ft,onChange:e=>{pt(e.target.value),Ft(e.target.value)},rows:4,spellCheck:!1,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border text-xs font-mono text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsxs)(`label`,{className:`block`,children:[(0,A.jsx)(`span`,{className:`text-xs text-dark-muted mb-1 block`,children:d(`templates.definitionLabel`)}),(0,A.jsx)(`textarea`,{value:mt,onChange:e=>{ht(e.target.value),Pt(e.target.value)},rows:10,spellCheck:!1,className:`w-full px-3 py-2 rounded-lg bg-dark-bg border border-dark-border text-xs font-mono text-dark-text focus:outline-none focus:ring-1 focus:ring-accent-blue`})]}),(0,A.jsx)(`p`,{className:`text-meta text-dark-muted/60`,children:d(`templates.editorAdvancedSyncHint`)})]})]}),gt&&(0,A.jsx)(`div`,{className:`text-xs text-accent-red`,children:gt}),(0,A.jsxs)(`div`,{className:`flex justify-end gap-3`,children:[(0,A.jsx)(`button`,{onClick:()=>at(!1),className:`px-4 py-2 rounded-lg border border-dark-border text-dark-text hover:bg-dark-hover transition-colors`,children:d(`templates.cancel`)}),(0,A.jsx)(x,{variant:`accent`,onClick:()=>void Lt(),children:d(`templates.create`)})]})]})}),(0,A.jsx)(le,{isOpen:Ie,onClose:()=>V(!1),onConfirm:async()=>{if(!m)return;let e=m;(await S.templates.remove(e)).success&&U.current===e&&(je([]),F(!1),L(null),B(null),z(null),G(`overview`),W(!0),M(``),j(!1),h(null),V(!1),Q())},title:d(`templates.deleteTemplate`),message:d(`templates.deleteConfirm`,{name:g?.name||m||``}),confirmText:d(`templates.delete`),variant:`danger`}),(0,A.jsx)(le,{isOpen:Le!==null,onClose:()=>Re(null),onConfirm:()=>{let e=Le;Re(null),e&&Ut(e)},title:d(`templates.discardEditsTitle`),message:d(`templates.discardEditsMessage`,{name:g?.name||m||``}),confirmText:d(`templates.discardEditsConfirm`),variant:`danger`})]})}export{et as TemplatesTab};
@@ -1 +0,0 @@
1
- import{n as e}from"./rolldown-runtime-COiEfhsA.js";var t=``;function n(e){t=typeof e==`string`?e.trim():``}function r(){return t}function i(e){return`${e}`}function a(){return r()}function o(){let e=a();return e?`&sessionId=${encodeURIComponent(e)}`:``}var s=new class{baseUrl;constructor(e){this.baseUrl=e}async request(e,t={}){try{let n=sessionStorage.getItem(`auth_token`)??localStorage.getItem(`auth_token`),r={"Content-Type":`application/json`,...t.headers};n&&(r.Authorization=`Bearer ${n}`);let i=a();i&&!r[`X-Session-Id`]&&(r[`X-Session-Id`]=i);let o=await fetch(`${this.baseUrl}${e}`,{headers:r,...t}),s=await o.json();return o.ok?s&&typeof s.success==`boolean`?{success:s.success,data:s.data,error:s.error,...typeof s.code==`string`?{code:s.code}:{}}:{success:!0,data:s}:{success:!1,error:s.error||`HTTP ${o.status}`,...typeof s.code==`string`?{code:s.code}:{},data:s.data}}catch(e){return{success:!1,error:e instanceof Error?e.message:`Network error`}}}get(e){return this.request(e,{method:`GET`})}post(e,t){return this.request(e,{method:`POST`,body:t?JSON.stringify(t):void 0})}put(e,t){return this.request(e,{method:`PUT`,body:t?JSON.stringify(t):void 0})}delete(e,t){return this.request(e,{method:`DELETE`,body:t?JSON.stringify(t):void 0})}patch(e,t){return this.request(e,{method:`PATCH`,body:t?JSON.stringify(t):void 0})}}(``),c={get:()=>s.get(`/api/config/sandbox`),save:e=>s.post(`/api/config/sandbox`,e)},l=e({api:()=>u,apiClient:()=>s,default:()=>u}),u={providers:{presets:()=>s.get(`/api/providers/presets`),refresh:()=>s.post(`/api/providers/refresh`),testConnection:(e,t,n)=>s.post(`/api/providers/test-connection`,{baseUrl:e,apiKey:t,model:n})},models:{list:async()=>{let e=await s.get(`/api/models`);return e.success&&e.data?.models&&(e.data.models=e.data.models.map(e=>({...e,isGlobalDefault:e.isDefault===!0}))),e},get:e=>s.get(`/api/models/${e}`),create:e=>s.post(`/api/models`,e),update:(e,t,n)=>s.post(`/api/models/update`,{provider:e,modelId:t,...n}),delete:(e,t)=>s.post(`/api/models/delete`,{provider:e,modelId:t}),test:e=>s.post(`/api/models/${e}/test`),fetch:(e,t,n,r)=>s.post(`/api/models/fetch`,{baseUrl:e,apiKey:t,fullPath:n,preset:r}),byProvider:(e,t)=>{let n=new URLSearchParams({provider:e});return t&&n.set(`q`,t),s.get(`/api/models/by-provider?${n.toString()}`)},catalogSearch:e=>{let t=new URLSearchParams;e.q&&t.set(`q`,e.q),e.toolCall&&t.set(`toolCall`,`1`),e.reasoning&&t.set(`reasoning`,`1`),e.minContext&&t.set(`minContext`,String(e.minContext)),e.limit&&t.set(`limit`,String(e.limit));let n=t.toString();return s.get(`/api/models/catalog${n?`?${n}`:``}`)},toggle:(e,t)=>s.post(`/api/models/toggle`,{provider:e,modelId:t}),setDefaults:e=>s.post(`/api/models/defaults`,e),getSessionModel:e=>s.get(`/api/sessions/${encodeURIComponent(e)}/model`),setSessionModel:(e,t,n)=>s.put(`/api/sessions/${encodeURIComponent(e)}/model`,{provider:t,model:n}),clearSessionModel:e=>s.delete(`/api/sessions/${encodeURIComponent(e)}/model`)},tools:{list:()=>s.get(`/api/tools`),get:e=>s.get(`/api/tools/${e}`),update:(e,t)=>s.put(`/api/tools/${encodeURIComponent(e)}`,t),toggle:(e,t)=>s.post(`/api/tools/${encodeURIComponent(e)}/toggle`,{enabled:t}),reset:e=>s.post(`/api/tools/${encodeURIComponent(e)}/reset`,{}),exportConfig:()=>s.get(`/api/tools/config`),importConfig:(e,t=`merge`)=>s.put(`/api/tools/config`,{config:e,mode:t})},connectors:{list:()=>s.get(`/api/connectors`),get:e=>s.get(`/api/connectors/${encodeURIComponent(e)}`),toggle:(e,t,n)=>s.post(`/api/connectors/${encodeURIComponent(e)}/toggle`,{enabled:t,env:n}),connect:(e,t)=>s.post(`/api/connectors/${encodeURIComponent(e)}/connect`,{env:t}),accounts:e=>s.get(`/api/connectors/${encodeURIComponent(e)}/accounts`),addAccount:(e,t)=>s.post(`/api/connectors/${encodeURIComponent(e)}/accounts`,t),updateAccount:(e,t,n)=>s.patch(`/api/connectors/${encodeURIComponent(e)}/accounts/${encodeURIComponent(t)}`,n),removeAccount:(e,t)=>s.delete(`/api/connectors/${encodeURIComponent(e)}/accounts/${encodeURIComponent(t)}`),addCustom:e=>s.post(`/api/connectors/custom`,e),removeCustom:e=>s.delete(`/api/connectors/custom/${encodeURIComponent(e)}`),authorize:e=>s.post(`/api/connectors/${encodeURIComponent(e)}/authorize`,{})},device:{androidStatus:()=>s.get(`/api/device/android`)},skills:{list:()=>s.get(`/api/skills`),get:e=>s.get(`/api/skills/${e}`),create:e=>s.post(`/api/skills`,e),update:(e,t)=>s.put(`/api/skills/${e}`,t),toggle:(e,t)=>s.post(`/api/skills/${e}/toggle`,{enabled:t}),delete:e=>s.delete(`/api/skills/${e}`),import:e=>s.post(`/api/skills/import`,e),marketplaces:{list:()=>s.get(`/api/skills/marketplaces`),add:e=>s.post(`/api/skills/marketplaces`,e),remove:e=>s.delete(`/api/skills/marketplaces/${e}`),get:e=>s.get(`/api/skills/marketplaces/${e}`),refresh:e=>s.post(`/api/skills/marketplaces/${e}/refresh`,{}),install:(e,t)=>s.post(`/api/skills/marketplaces/${e}/install`,{skillId:t})},workshop:{list:e=>s.get(`/api/skills/workshop${e?`?status=${e}`:``}`),propose:e=>s.post(`/api/skills/workshop`,e),apply:e=>s.post(`/api/skills/workshop/${e}/apply`,{}),reject:e=>s.post(`/api/skills/workshop/${e}/reject`,{})},config:{get:e=>s.get(`/api/skills/${e}/config`),update:(e,t)=>s.put(`/api/skills/${e}/config`,t)}},installs:{get:e=>s.get(`/api/installs/${e}`)},shell:{exec:(e,t,n)=>s.post(`/api/shell/exec`,{command:e,workspaceDir:t,timeoutMs:n})},terminalFigure:{generate:e=>s.post(`/api/terminal-figure`,e)},visualArtifacts:{list:(e={})=>{let t=Object.entries(e).filter(([,e])=>typeof e==`string`&&e!==``).map(([e,t])=>`${e}=${encodeURIComponent(String(t))}`).join(`&`);return s.get(`/api/visual-artifacts${t?`?${t}`:``}`)},remove:e=>s.delete(`/api/visual-artifacts/${encodeURIComponent(e)}`),builtins:()=>s.get(`/api/visual-artifacts/builtins`),installBuiltin:e=>s.post(`/api/visual-artifacts/builtins`,{id:e}),content:e=>s.get(`/api/visual-artifacts/content?path=${encodeURIComponent(e)}`)},pendingArtifacts:{list:e=>s.get(`/api/pending-artifacts${e?`?status=${e}`:``}`),approve:(e,t)=>s.post(`/api/pending-artifacts/${e}/approve`,{note:t}),reject:(e,t)=>s.post(`/api/pending-artifacts/${e}/reject`,{note:t})},board:{view:(e={})=>{let t=new URLSearchParams;e.kind&&t.set(`kind`,e.kind),e.workspaceDir&&t.set(`workspace`,e.workspaceDir);let n=t.toString();return s.get(`/api/board${n?`?${n}`:``}`)}},files:{list:(e,t)=>s.get(`/api/files${e?`?path=${encodeURIComponent(e)}${t?.optional?`&optional=1`:``}`:``}`),search:e=>s.get(`/api/files/search?query=${encodeURIComponent(e)}`),read:e=>s.get(`/api/files/read?path=${encodeURIComponent(e)}`),previewDocx:e=>s.get(`/api/files/preview-docx?path=${encodeURIComponent(e)}`),previewXlsx:e=>s.get(`/api/files/preview-xlsx?path=${encodeURIComponent(e)}`),previewTicket:(e,t)=>s.post(`/api/files/preview-ticket`,{path:e,endpoint:t}),create:(e,t)=>s.post(`/api/files`,{path:e,content:t}),update:(e,t)=>s.put(`/api/files/write`,{path:e,content:t}),delete:e=>s.delete(`/api/files?path=${encodeURIComponent(e)}`),download:async e=>{try{let t={},n=sessionStorage.getItem(`auth_token`)??localStorage.getItem(`auth_token`);n&&(t.Authorization=`Bearer ${n}`);let r=await fetch(i(`/api/files/download?path=${encodeURIComponent(e)}${o()}`),{headers:t});if(!r.ok){let e=`HTTP ${r.status}`;try{let t=await r.json();t?.error&&(e=t.error)}catch{}return{success:!1,error:e}}let a=await r.blob(),s=URL.createObjectURL(a),c=document.createElement(`a`);return c.href=s,c.download=e.split(/[\\/]/).pop()||`download`,c.click(),URL.revokeObjectURL(s),{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:`Download failed`}}},upload:async(e,t)=>{try{let n=await d(e);return s.post(`/api/files/upload`,{path:t,content:n,base64:!0})}catch(e){return{success:!1,error:e instanceof Error?e.message:`Upload failed`}}}},dirs:{list:e=>s.get(`/api/dirs${e?`?path=${encodeURIComponent(e)}`:``}`)},fs:{open:(e,t)=>s.post(`/api/fs/open`,{path:e,mode:t}),openFolder:e=>s.post(`/api/fs/open-folder`,{dir:e})},sessions:{list:()=>s.get(`/api/sessions`),get:e=>s.get(`/api/sessions/${e}`),create:(e,t,n)=>s.post(`/api/sessions`,{...e?{title:e}:{},...t?{workspaceDir:t}:{},...n?{sessionId:n}:{}}),delete:e=>s.delete(`/api/sessions/${e}`),resume:e=>s.get(`/api/sessions/${encodeURIComponent(e)}/resume`),fork:(e,t)=>s.post(`/api/sessions/${encodeURIComponent(e)}/fork`,t?{title:t}:{}),rename:(e,t)=>s.patch(`/api/sessions/${encodeURIComponent(e)}`,{title:t}),setPinned:(e,t)=>s.patch(`/api/sessions/${encodeURIComponent(e)}`,{pinned:t})},agentRuns:{list:e=>s.get(e?`/api/agent-runs?sessionId=${encodeURIComponent(e)}`:`/api/agent-runs`),get:e=>s.get(`/api/agent-runs/${encodeURIComponent(e)}`),stop:e=>s.post(`/api/agent-runs/${encodeURIComponent(e)}/stop`),kill:e=>s.post(`/api/agent-runs/${encodeURIComponent(e)}/kill`),pause:e=>s.post(`/api/agent-runs/${encodeURIComponent(e)}/pause`),resume:e=>s.post(`/api/agent-runs/${encodeURIComponent(e)}/resume`),transcript:(e,t)=>s.get(`/api/agent-runs/${encodeURIComponent(e)}/transcript${t?`?sessionId=${encodeURIComponent(t)}`:``}`)},config:{get:()=>s.get(`/api/config`),provider:{get:()=>s.get(`/api/config/provider`),save:e=>s.post(`/api/config/provider`,e),delete:e=>s.post(`/api/config/provider/remove`,{provider:e}),setDefault:e=>s.post(`/api/config/provider`,{provider:e,setDefault:!0})},files:{list:()=>s.get(`/api/config/files`),read:e=>s.get(`/api/config/files/read?file=${encodeURIComponent(e)}`),write:(e,t)=>s.put(`/api/config/files/write`,{file:e,content:t})},desktop:()=>s.get(`/api/config/desktop`),setDesktop:e=>s.post(`/api/config/desktop`,e),context:{get:()=>s.get(`/api/config/context`),save:e=>s.post(`/api/config/context`,e)},sandbox:c,language:{get:()=>s.get(`/api/config/language`),set:e=>s.post(`/api/config/language`,{language:e})},profile:{get:()=>s.get(`/api/config/profile`),set:e=>s.post(`/api/config/profile`,e)}},profile:{get:()=>s.get(`/api/profile`),raw:()=>s.get(`/api/profile/raw`),set:e=>s.put(`/api/profile`,e),clear:()=>s.delete(`/api/profile`),draft:()=>s.get(`/api/profile/draft`),ignore:e=>s.post(`/api/profile/ignore`,{itemId:e.itemId,text:e.text,...e.subject?{subject:e.subject}:{},...e.layer?{layer:e.layer}:{}}),unignore:e=>{let t=typeof e==`string`?{itemId:e}:e;return s.post(`/api/profile/ignore/remove`,{...t.itemId?{itemId:t.itemId}:{},...t.fingerprint?{fingerprint:t.fingerprint}:{}})}},git:{status:()=>s.get(`/api/git/status`),branches:()=>s.get(`/api/git/branches`),checkout:e=>s.post(`/api/git/checkout`,{branch:e}),fetch:()=>s.post(`/api/git/fetch`),diff:(e,t)=>{let n=new URLSearchParams({path:e});return t?.mode&&n.set(`mode`,t.mode),t?.context!=null&&n.set(`context`,String(t.context)),s.get(`/api/git/diff?${n.toString()}`)}},fileJob:{parse:e=>s.post(`/api/filejob/parse`,{files:e}),parsePaths:e=>s.post(`/api/filejob/parse`,{paths:e}),importPaths:e=>s.post(`/api/filejob/import`,{paths:e}),render:e=>s.post(`/api/filejob/render`,e)},system:{status:()=>s.get(`/api/system/status`),metrics:()=>s.get(`/api/metrics`),restart:()=>s.post(`/api/system/restart`),shutdown:()=>s.post(`/api/system/shutdown`),network:()=>s.get(`/api/system/network`),setNetwork:e=>s.put(`/api/system/network`,{allowLanAccess:e}),setTailscale:e=>s.post(`/api/system/tailscale`,{enabled:e}),daemon:()=>s.get(`/api/system/daemon`),setDaemon:e=>s.put(`/api/system/daemon`,{daemonEnabled:e}),desktopDownload:()=>s.get(`/api/system/desktop-download`)},observability:{summary:()=>s.get(`/api/observability/summary`),contextAdvice:e=>s.get(`/api/context/advice?sessionId=${encodeURIComponent(e)}`),costs:e=>s.get(`/api/observability/costs${e?`?sessionId=${encodeURIComponent(e)}`:``}`),resetCosts:()=>s.post(`/api/observability/costs/reset`,{})},templates:{list:()=>s.get(`/api/templates`),get:e=>s.get(`/api/templates/${encodeURIComponent(e)}`),create:e=>s.post(`/api/templates`,e),update:(e,t)=>s.put(`/api/templates/${encodeURIComponent(e)}`,t),remove:e=>s.delete(`/api/templates/${encodeURIComponent(e)}`),versions:e=>s.get(`/api/templates/${encodeURIComponent(e)}/versions`),getVersion:(e,t)=>s.get(`/api/templates/${encodeURIComponent(e)}/versions/${t}`),render:(e,t)=>s.post(`/api/templates/${encodeURIComponent(e)}/render`,{inputs:t}),createFromRun:(e,t)=>s.post(`/api/templates`,{sourceRunId:e,generalize:t?.generalize===!0,name:t?.name,message:t?.message})},workflows:{list:()=>s.get(`/api/workflows`),start:e=>s.post(`/api/workflows`,e),get:e=>s.get(`/api/workflows/${encodeURIComponent(e)}`),events:e=>s.get(`/api/workflows/${encodeURIComponent(e)}/events`),synthesize:e=>s.post(`/api/workflows/synthesize`,{message:e})},plans:{list:()=>s.get(`/api/plans`),read:e=>s.get(`/api/plans/${encodeURIComponent(e)}`),delete:e=>s.delete(`/api/plans/${encodeURIComponent(e)}`)},logs:{list:()=>s.get(`/api/logs`),read:(e,t)=>s.get(`/api/logs/read?file=${encodeURIComponent(e)}${t?`&maxLines=${t}`:``}`),downloadUrl:e=>`/api/logs/download?file=${encodeURIComponent(e)}`,remove:e=>s.delete(`/api/logs?file=${encodeURIComponent(e)}`),cleanup:e=>s.delete(`/api/logs?olderThanDays=${encodeURIComponent(String(e))}`),querySessions:e=>{let t=new URLSearchParams;e.sessionIds?.length&&t.set(`sessionIds`,e.sessionIds.join(`,`)),e.levels?.length&&t.set(`levels`,e.levels.join(`,`)),e.from!==void 0&&t.set(`from`,String(e.from)),e.to!==void 0&&t.set(`to`,String(e.to)),e.q&&t.set(`q`,e.q),e.limit!==void 0&&t.set(`limit`,String(e.limit));let n=t.toString();return s.get(`/api/logs/session${n?`?${n}`:``}`)},sessionIndex:()=>s.get(`/api/logs/sessions`)},stt:{status:()=>s.get(`/api/stt/status`),transcribe:(e,t,n=`wav`)=>s.post(`/api/stt/transcribe`,{language:e,audio:t,format:n}),install:()=>s.post(`/api/stt/install`),installStatus:()=>s.get(`/api/stt/install/status`),cancelInstall:()=>s.post(`/api/stt/install/cancel`),getConfig:()=>s.get(`/api/stt/config`),setConfig:e=>s.put(`/api/stt/config`,e)},tts:{status:()=>s.get(`/api/tts/status`),synthesize:e=>s.post(`/api/tts/synthesize`,e),install:()=>s.post(`/api/tts/install`),installStatus:()=>s.get(`/api/tts/install/status`),cancelInstall:()=>s.post(`/api/tts/install/cancel`)},hooks:{list:()=>s.get(`/api/hooks/rules`),get:e=>s.get(`/api/hooks/rules/${encodeURIComponent(e)}`),create:e=>s.post(`/api/hooks/rules`,e),update:(e,t)=>s.put(`/api/hooks/rules/${encodeURIComponent(e)}`,t),delete:e=>s.delete(`/api/hooks/rules/${encodeURIComponent(e)}`),batchDelete:e=>s.post(`/api/hooks/rules/batch-delete`,{names:e}),toggle:(e,t)=>s.patch(`/api/hooks/rules/${encodeURIComponent(e)}/toggle`,{enabled:t}),batchToggle:(e,t)=>s.post(`/api/hooks/rules/batch-toggle`,{names:e,enabled:t}),dryRun:e=>s.post(`/api/hooks/dry-run`,e),stats:()=>s.get(`/api/hooks/stats`),events:()=>s.get(`/api/hooks/events`),agents:()=>s.get(`/api/hooks/agents`),templates:()=>s.get(`/api/hooks/templates`),export:()=>s.get(`/api/hooks/export`),import:e=>s.post(`/api/hooks/import`,e)},assistants:{list:()=>s.get(`/api/assistants`),get:e=>s.get(`/api/assistants/${encodeURIComponent(e)}`),create:(e={})=>s.post(`/api/assistants`,e),rename:(e,t)=>s.patch(`/api/assistants/${encodeURIComponent(e)}`,{title:t}),update:(e,t)=>s.patch(`/api/assistants/${encodeURIComponent(e)}`,t),remove:e=>s.delete(`/api/assistants/${encodeURIComponent(e)}`)},channels:{list:()=>s.get(`/api/channels`),types:()=>s.get(`/api/channels/types`),catalog:()=>s.get(`/api/channels/catalog`),create:e=>s.post(`/api/channels`,e),update:(e,t)=>s.put(`/api/channels/${encodeURIComponent(e)}`,t),delete:e=>s.delete(`/api/channels/${encodeURIComponent(e)}`),toggle:(e,t)=>s.patch(`/api/channels/${encodeURIComponent(e)}/toggle`,{enabled:t}),test:e=>s.post(`/api/channels/${encodeURIComponent(e)}/test`),wechat:{qrcode:(e,t)=>s.get(`/api/channels/${encodeURIComponent(e)}/wechat/qrcode?token=${encodeURIComponent(t)}`),qrcodeStatus:(e,t,n)=>s.get(`/api/channels/${encodeURIComponent(e)}/wechat/qrcode/status?token=${encodeURIComponent(t)}&qrcode=${encodeURIComponent(n)}`)},weixin:{bind:()=>s.get(`/api/weixin/bind`),bindStatus:e=>s.get(`/api/weixin/bind/status?qrcode=${encodeURIComponent(e)}`)}},automations:{list:()=>s.get(`/api/automations`),create:e=>s.post(`/api/automations`,e),update:(e,t)=>s.put(`/api/automations/${encodeURIComponent(e)}`,t),remove:e=>s.delete(`/api/automations/${encodeURIComponent(e)}`),toggle:(e,t)=>s.post(`/api/automations/${encodeURIComponent(e)}/toggle`,{enabled:t}),run:e=>s.post(`/api/automations/${encodeURIComponent(e)}/run`),runs:e=>s.get(`/api/automations/${encodeURIComponent(e)}/runs`),addPermission:(e,t,n)=>s.post(`/api/automations/${encodeURIComponent(e)}/permissions`,{tool:t,target:n}),revokePermission:(e,t)=>s.delete(`/api/automations/${encodeURIComponent(e)}/permissions`,{entry:t})},inbox:{list:()=>s.get(`/api/inbox`),drain:()=>s.get(`/api/inbox/drain`),remove:e=>s.delete(`/api/inbox/${encodeURIComponent(e)}`),touchPeople:(e,t)=>s.post(`/api/inbox/people/${encodeURIComponent(e)}/touch`,t?{at:t}:{})}};function d(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=r.result,n=e.indexOf(`,`);t(n>=0?e.slice(n+1):e)},r.onerror=()=>n(r.error||Error(`Failed to read file`)),r.readAsDataURL(e)})}export{o as a,i,l as n,n as o,s as r,u as t};
@@ -1 +0,0 @@
1
- import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";var n=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ee(e,t){return D(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function te(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?te(``+e.key):t.toString(36)}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+A(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(k,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=ee(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+A(a,u),c+=M(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+A(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function N(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var P=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function F(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,P)}catch(e){P(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function I(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else F(I.bind(null,e))}var L={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=I,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=F,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.1`})),r=t(((e,t)=>{t.exports=n()})),i=e(r(),1),a=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function o(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:a(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var s=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},c=e=>{let t=s(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),u={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function d(e){return e!=null}function f(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??u.width,a=e.size??e.height??u.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],f=t.includeDefaultClasses===!1?l(...c):l(`lucide`,...s,...c),p=t.absoluteStrokeWidth?Number(t.strokeWidth??u[`stroke-width`])*Number(e.size??e.width??u.width)/Number(t.size??t.width??u.width):t.strokeWidth??u[`stroke-width`];return[`svg`,{...Object.entries(u).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&d(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&d(t.width)&&{[r(`width`)]:t.width},...`height`in t&&d(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:p,...f&&{[r(`class`)]:f},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function p(e,t={}){return f(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var m=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},h=(0,i.createContext)({}),g=()=>(0,i.useContext)(h),_=(0,i.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:a,absoluteStrokeWidth:o,nonScalingStroke:s,className:c=``,children:u,iconNode:d=[],icon:f={node:d,aliases:[],size:24},...h},_)=>{let{size:v=24,strokeWidth:y=2,absoluteStrokeWidth:b=!1,nonScalingStroke:x=!1,color:S=`currentColor`,className:C=``}=g()??{},w=!!u||m(h),[T,E,D=[]]=p(f,{color:e??S,width:n??t??v,height:r??t??v,strokeWidth:a??y,absoluteStrokeWidth:o??b,nonScalingStroke:s??x,className:l(C,c),hasA11yProp:w,attributes:h});return(0,i.createElement)(T,{ref:_,...E},[...D.map(([e,t])=>(0,i.createElement)(e,t)),...Array.isArray(u)?u:[u]])});function v(e,t=[],n=[]){let r=typeof e==`string`?o(e,t,n):e,a=(0,i.forwardRef)(({className:e,...t},n)=>(0,i.createElement)(_,{ref:n,icon:r,className:e,...t}));return r.name&&(a.displayName=c(r.name)),a}var y={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};y.node;var b=v(y),x={name:`app-window`,size:24,node:[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]};x.node;var S=v(x),C={name:`arrow-down-left`,size:24,node:[[`path`,{d:`M17 7 7 17`,key:`15tmo1`}],[`path`,{d:`M17 17H7V7`,key:`1org7z`}]]};C.node;var w=v(C),T={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};T.node;var E=v(T),D={name:`arrow-left-to-line`,size:24,node:[[`path`,{d:`M3 19V5`,key:`rwsyhb`}],[`path`,{d:`m13 6-6 6 6 6`,key:`1yhaz7`}],[`path`,{d:`M7 12h14`,key:`uoisry`}]]};D.node;var ee=v(D),O={name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]};O.node;var te=v(O),k={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};k.node;var A=v(k),j={name:`arrow-up-right`,size:24,node:[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]};j.node;var M=v(j),N={name:`arrow-up-to-line`,size:24,node:[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]};N.node;var ne=v(N),P={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};P.node;var F=v(P),I={name:`bell-off`,size:24,node:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742`,key:`178tsu`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05`,key:`1hqiys`}]]};I.node;var L=v(I),R={name:`bell`,size:24,node:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}]]};R.node;var re=v(R),z={name:`blocks`,size:24,node:[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]};z.node;var ie=v(z),B={name:`bold`,size:24,node:[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`,key:`mg9rjx`}]]};B.node;var ae=v(B),V={name:`bookmark-check`,size:24,node:[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}],[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}]]};V.node;var oe=v(V),H={name:`bookmark`,size:24,node:[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]};H.node;var se=v(H),U={name:`bot`,size:24,node:[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]};U.node;var ce=v(U),W={name:`box`,size:24,node:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]};W.node;var le=v(W),G={name:`boxes`,size:24,node:[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]};G.node;var ue=v(G),K={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 01-3-4 4.17 4.17 0 01-3 4`,key:`5nuw1p`}],[`path`,{d:`M17.707 6.294A3 3 0 1012 5a3 3 0 10-5.707 1.294`,key:`18ldcf`}],[`path`,{d:`M17.996 5.125a4 4 0 012.526 5.77`,key:`1sdu8q`}],[`path`,{d:`M18 18a4 4 0 002-7.465`,key:`7xqqvr`}],[`path`,{d:`M19.967 17.482a4 4 0 11-7.967.517 4 4 0 11-7.967-.517`,key:`t46ysz`}],[`path`,{d:`M6 18a4 4 0 01-2-7.465`,key:`1y2m15`}],[`path`,{d:`M6.004 5.125a4 4 0 00-2.526 5.77`,key:`3cw1ss`}]]};K.node;var de=v(K),q={name:`calendar-clock`,size:24,node:[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338`,key:`7hb8p4`}],[`path`,{d:`M3 9h5.859`,key:`numkqi`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]};q.node;var fe=v(q),J={name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]};J.node;var pe=v(J),Y={name:`calendar-range`,size:24,node:[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M17 13h-6`,key:`1qbiup`}],[`path`,{d:`M13 17H7`,key:`1x38vv`}],[`path`,{d:`M7 13h.01`,key:`1vezk1`}],[`path`,{d:`M17 17h.01`,key:`1sd3ek`}]]};Y.node;var me=v(Y),X={name:`calendar`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};X.node;var he=v(X),Z={name:`camera`,size:24,node:[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]};Z.node;var ge=v(Z),Q={name:`chart-column`,size:24,node:[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]],aliases:[`bar-chart-3`]};Q.node;var _e=v(Q),ve={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};ve.node;var ye=v(ve),be={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};be.node;var xe=v(be),Se={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};Se.node;var Ce=v(Se),we={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};we.node;var Te=v(we),Ee={name:`chevron-up`,size:24,node:[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]};Ee.node;var De=v(Ee),Oe={name:`chevrons-down-up`,size:24,node:[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]};Oe.node;var ke=v(Oe),Ae={name:`chevrons-left`,size:24,node:[[`path`,{d:`m11 17-5-5 5-5`,key:`13zhaf`}],[`path`,{d:`m18 17-5-5 5-5`,key:`h8a8et`}]]};Ae.node;var je=v(Ae),Me={name:`chevrons-right`,size:24,node:[[`path`,{d:`m6 17 5-5-5-5`,key:`xnjwq`}],[`path`,{d:`m13 17 5-5-5-5`,key:`17xmmf`}]]};Me.node;var Ne=v(Me),Pe={name:`chevrons-up-down`,size:24,node:[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]};Pe.node;var Fe=v(Pe),Ie={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};Ie.node;var Le=v(Ie),Re={name:`circle-check-big`,size:24,node:[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-circle`]};Re.node;var ze=v(Re),Be={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};Be.node;var Ve=v(Be),He={name:`circle-dollar-sign`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]};He.node;var Ue=v(He),We={name:`circle-dot`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]};We.node;var Ge=v(We),Ke={name:`circle-pause`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]],aliases:[`pause-circle`]};Ke.node;var qe=v(Ke),Je={name:`circle-question-mark`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`help-circle`,`circle-help`]};Je.node;var Ye=v(Je),Xe={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};Xe.node;var Ze=v(Xe),Qe={name:`circle-user`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662`,key:`154egf`}]],aliases:[`user-circle`]};Qe.node;var $e=v(Qe),et={name:`circle`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]};et.node;var tt=v(et),nt={name:`clapperboard`,size:24,node:[[`path`,{d:`m12.296 3.464 3.02 3.956`,key:`qash78`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`,key:`1h7j8b`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`4lm6w1`}],[`path`,{d:`m6.18 5.276 3.1 3.899`,key:`zjj9t3`}]]};nt.node;var rt=v(nt),it={name:`clipboard-list`,size:24,node:[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]};it.node;var at=v(it),ot={name:`clock-3`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]};ot.node;var st=v(ot),ct={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};ct.node;var lt=v(ct),ut={name:`code-xml`,size:24,node:[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]],aliases:[`code-2`]};ut.node;var dt=v(ut),ft={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]};ft.node;var pt=v(ft),mt={name:`coffee`,size:24,node:[[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`,key:`pwadti`}],[`path`,{d:`M6 2v2`,key:`colzsn`}]]};mt.node;var ht=v(mt),gt={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};gt.node;var _t=v(gt),vt={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};vt.node;var yt=v(vt),bt={name:`corner-down-left`,size:24,node:[[`path`,{d:`M20 4v7a4 4 0 0 1-4 4H4`,key:`6o5b7l`}],[`path`,{d:`m9 10-5 5 5 5`,key:`1kshq7`}]]};bt.node;var xt=v(bt),St={name:`corner-down-right`,size:24,node:[[`path`,{d:`m15 10 5 5-5 5`,key:`qqa56n`}],[`path`,{d:`M4 4v7a4 4 0 0 0 4 4h12`,key:`z08zvw`}]]};St.node;var Ct=v(St),wt={name:`corner-up-left`,size:24,node:[[`path`,{d:`M20 20v-7a4 4 0 0 0-4-4H4`,key:`1nkjon`}],[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}]]};wt.node;var Tt=v(wt),Et={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};Et.node;var Dt=v(Et),Ot={name:`crown`,size:24,node:[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`,key:`1vdc57`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]};Ot.node;var kt=v(Ot),At={name:`database`,size:24,node:[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]};At.node;var jt=v(At),Mt={name:`dot`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]};Mt.node;var Nt=v(Mt),Pt={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};Pt.node;var Ft=v(Pt),It={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};It.node;var Lt=v(It),Rt={name:`eraser`,size:24,node:[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]]};Rt.node;var zt=v(Rt),Bt={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};Bt.node;var Vt=v(Bt),Ht={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};Ht.node;var Ut=v(Ht),Wt={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};Wt.node;var Gt=v(Wt),Kt={name:`file-check`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m9 15 2 2 4-4`,key:`1grp1n`}]]};Kt.node;var qt=v(Kt),Jt={name:`file-code-corner`,size:24,node:[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`,key:`1wthlu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m5 16-3 3 3 3`,key:`331omg`}],[`path`,{d:`m9 22 3-3-3-3`,key:`lsp7cz`}]],aliases:[`file-code-2`]};Jt.node;var Yt=v(Jt),Xt={name:`file-code`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]};Xt.node;var Zt=v(Xt),Qt={name:`file-diff`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}]]};Qt.node;var $t=v(Qt),en={name:`file-image`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]};en.node;var tn=v(en),nn={name:`file-headphone`,size:24,node:[[`path`,{d:`M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343`,key:`1vfytu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0`,key:`1etmh7`}]],aliases:[`file-audio`,`file-audio-2`]};nn.node;var rn=v(nn),an={name:`file-pen`,size:24,node:[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]],aliases:[`file-edit`]};an.node;var on=v(an),sn={name:`file-play`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z`,key:`1tzo1f`}]],aliases:[`file-video`]};sn.node;var cn=v(sn),ln={name:`file-plus-corner`,size:24,node:[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]],aliases:[`file-plus-2`]};ln.node;var un=v(ln),dn={name:`file-spreadsheet`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]};dn.node;var fn=v(dn),pn={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};pn.node;var mn=v(pn),hn={name:`file-type`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M11 18h2`,key:`12mj7e`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5`,key:`qbrxap`}]]};hn.node;var gn=v(hn),_n={name:`file-up`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]};_n.node;var vn=v(_n),yn={name:`file`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]};yn.node;var bn=v(yn),xn={name:`flame`,size:24,node:[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`,key:`1slcih`}]]};xn.node;var Sn=v(xn),Cn={name:`flask-conical`,size:24,node:[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]};Cn.node;var wn=v(Cn),Tn={name:`folder-git-2`,size:24,node:[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]};Tn.node;var En=v(Tn),Dn={name:`folder-kanban`,size:24,node:[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M12 10v2`,key:`hh53o1`}],[`path`,{d:`M16 10v6`,key:`1d6xys`}]]};Dn.node;var On=v(Dn),kn={name:`folder-open`,size:24,node:[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]};kn.node;var An=v(kn),jn={name:`folder-plus`,size:24,node:[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};jn.node;var Mn=v(jn),Nn={name:`folder-tree`,size:24,node:[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]};Nn.node;var Pn=v(Nn),Fn={name:`folder`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};Fn.node;var In=v(Fn),Ln={name:`gauge`,size:24,node:[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]};Ln.node;var Rn=v(Ln),zn={name:`git-branch`,size:24,node:[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]};zn.node;var Bn=v(zn),Vn={name:`git-fork`,size:24,node:[[`circle`,{cx:`12`,cy:`18`,r:`3`,key:`1mpf1b`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`path`,{d:`M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9`,key:`1uq4wg`}],[`path`,{d:`M12 12v3`,key:`158kv8`}]]};Vn.node;var Hn=v(Vn),Un={name:`globe`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]};Un.node;var Wn=v(Un),Gn={name:`grip-vertical`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]};Gn.node;var Kn=v(Gn),qn={name:`hammer`,size:24,node:[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`,key:`1hayfq`}],[`path`,{d:`m18 15 4-4`,key:`16gjal`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`,key:`15ts47`}]]};qn.node;var Jn=v(qn),Yn={name:`heading-1`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`m17 12 3-2v8`,key:`1hhhft`}]]};Yn.node;var Xn=v(Yn),Zn={name:`heading-2`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`,key:`9jr5yi`}]]};Zn.node;var Qn=v(Zn),$n={name:`heading-3`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`,key:`68ncm8`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`,key:`1ejuhz`}]]};$n.node;var er=v($n),tr={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};tr.node;var nr=v(tr),rr={name:`image-plus`,size:24,node:[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]};rr.node;var ir=v(rr),ar={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};ar.node;var or=v(ar),sr={name:`inbox`,size:24,node:[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]};sr.node;var cr=v(sr),lr={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};lr.node;var ur=v(lr),dr={name:`italic`,size:24,node:[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`,key:`15jd3p`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`,key:`bu0au3`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`,key:`uljnxc`}]]};dr.node;var fr=v(dr),pr={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};pr.node;var mr=v(pr),hr={name:`key`,size:24,node:[[`path`,{d:`m2 21 9.6-9.6`,key:`9l79m3`}],[`path`,{d:`m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19`,key:`fw8biw`}],[`circle`,{cx:`15.5`,cy:`7.5`,r:`5.5`,key:`4wxmhb`}]]};hr.node;var gr=v(hr),_r={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};_r.node;var vr=v(_r),yr={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};yr.node;var br=v(yr),xr={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};xr.node;var Sr=v(xr),Cr={name:`layout-template`,size:24,node:[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]};Cr.node;var wr=v(Cr),Tr={name:`leaf`,size:24,node:[[`path`,{d:`M11 20a10 10 0 0010-10 25.9 25.9 0 00-1.04-7.281 1 1 0 00-1.755-.325C15.833 5.5 13 5.5 9.8 6.1A7 7 0 0011 20`,key:`1wjnjv`}],[`path`,{d:`M2 21a5 5 0 012.911-4.544C7.613 15.212 8.351 15.24 11 13`,key:`c1ejpn`}]]};Tr.node;var Er=v(Tr),Dr={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};Dr.node;var Or=v(Dr),kr={name:`list-checks`,size:24,node:[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]};kr.node;var Ar=v(kr),jr={name:`list-collapse`,size:24,node:[[`path`,{d:`M10 5h11`,key:`1hkqpe`}],[`path`,{d:`M10 12h11`,key:`6m4ad9`}],[`path`,{d:`M10 19h11`,key:`14g2nv`}],[`path`,{d:`m3 10 3-3-3-3`,key:`i7pm08`}],[`path`,{d:`m3 20 3-3-3-3`,key:`20gx1n`}]]};jr.node;var Mr=v(jr),Nr={name:`list-ordered`,size:24,node:[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]};Nr.node;var Pr=v(Nr),Fr={name:`list-tree`,size:24,node:[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]};Fr.node;var Ir=v(Fr),Lr={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};Lr.node;var Rr=v(Lr),zr={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};zr.node;var Br=v(zr),Vr={name:`loader`,size:24,node:[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]};Vr.node;var Hr=v(Vr),Ur={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};Ur.node;var Wr=v(Ur),Gr={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};Gr.node;var Kr=v(Gr),qr={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};qr.node;var Jr=v(qr),Yr={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};Yr.node;var Xr=v(Yr),Zr={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};Zr.node;var Qr=v(Zr),$r={name:`message-square-dot`,size:24,node:[[`path`,{d:`M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7`,key:`wjb7ig`}],[`circle`,{cx:`19`,cy:`6`,r:`3`,key:`108a5v`}]]};$r.node;var ei=v($r),ti={name:`message-square-plus`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]};ti.node;var ni=v(ti),ri={name:`message-square-x`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`m14.5 8.5-5 5`,key:`19tnj2`}],[`path`,{d:`m9.5 8.5 5 5`,key:`1oa8ql`}]]};ri.node;var ii=v(ri),ai={name:`message-square`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]};ai.node;var oi=v(ai),si={name:`mic-off`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]};si.node;var ci=v(si),li={name:`mic`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]};li.node;var ui=v(li),di={name:`minimize-2`,size:24,node:[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]};di.node;var fi=v(di),pi={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};pi.node;var mi=v(pi),hi={name:`monitor-down`,size:24,node:[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`m15 10-3 3-3-3`,key:`lzhmyn`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]};hi.node;var gi=v(hi),_i={name:`monitor-play`,size:24,node:[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]};_i.node;var vi=v(_i),yi={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};yi.node;var bi=v(yi),xi={name:`notebook-pen`,size:24,node:[[`path`,{d:`M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4`,key:`re6nr2`}],[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`path`,{d:`M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`pqwjuv`}]]};xi.node;var Si=v(xi),Ci={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Ci.node;var wi=v(Ci),Ti={name:`palette`,size:24,node:[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]};Ti.node;var Ei=v(Ti),Di={name:`panel-left-close`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]],aliases:[`sidebar-close`]};Di.node;var Oi=v(Di),ki={name:`panel-left-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]],aliases:[`sidebar-open`]};ki.node;var Ai=v(ki),ji={name:`panel-right-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}]]};ji.node;var Mi=v(ji),Ni={name:`panel-right`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]};Ni.node;var Pi=v(Ni),Fi={name:`paperclip`,size:24,node:[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]};Fi.node;var Ii=v(Fi),Li={name:`pause`,size:24,node:[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]};Li.node;var Ri=v(Li),zi={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-3`]};zi.node;var Bi=v(zi),Vi={name:`pen`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-2`]};Vi.node;var Hi=v(Vi),Ui={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};Ui.node;var Wi=v(Ui),Gi={name:`pilcrow`,size:24,node:[[`path`,{d:`M13 4v16`,key:`8vvj80`}],[`path`,{d:`M17 4v16`,key:`7dpous`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`,key:`sh4n9v`}]]};Gi.node;var Ki=v(Gi),qi={name:`pin-off`,size:24,node:[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`,key:`znwnzq`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`,key:`c9qhm2`}]]};qi.node;var Ji=v(qi),Yi={name:`pin`,size:24,node:[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]};Yi.node;var Xi=v(Yi),Zi={name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]};Zi.node;var Qi=v(Zi),$i={name:`plug`,size:24,node:[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]};$i.node;var ea=v($i),ta={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};ta.node;var na=v(ta),ra={name:`power-off`,size:24,node:[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`,key:`dxknvb`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`,key:`1x7qb5`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};ra.node;var ia=v(ra),aa={name:`power`,size:24,node:[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]};aa.node;var oa=v(aa),sa={name:`puzzle`,size:24,node:[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]};sa.node;var ca=v(sa),la={name:`qr-code`,size:24,node:[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]};la.node;var ua=v(la),da={name:`quote`,size:24,node:[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]};da.node;var fa=v(da),pa={name:`radio`,size:24,node:[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};pa.node;var ma=v(pa),ha={name:`refresh-cw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]};ha.node;var ga=v(ha),_a={name:`rotate-ccw-clock`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]],aliases:[`history`]};_a.node;var va=v(_a),ya={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};ya.node;var ba=v(ya),xa={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};xa.node;var Sa=v(xa),Ca={name:`route`,size:24,node:[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]};Ca.node;var wa=v(Ca),Ta={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};Ta.node;var Ea=v(Ta),Da={name:`scan-search`,size:24,node:[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m16 16-1.9-1.9`,key:`1dq9hf`}]]};Da.node;var Oa=v(Da),ka={name:`scroll-text`,size:24,node:[[`path`,{d:`M15 12h-5`,key:`r7krc0`}],[`path`,{d:`M15 8h-5`,key:`1khuty`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]};ka.node;var Aa=v(ka),ja={name:`search-check`,size:24,node:[[`path`,{d:`m8 11 2 2 4-4`,key:`1sed1v`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]};ja.node;var Ma=v(ja),Na={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Na.node;var Pa=v(Na),Fa={name:`send-horizontal`,size:24,node:[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`,key:`117uat`}],[`path`,{d:`M6 12h16`,key:`s4cdu5`}]],aliases:[`send-horizonal`]};Fa.node;var Ia=v(Fa),La={name:`send`,size:24,node:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]};La.node;var Ra=v(La),za={name:`server`,size:24,node:[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]};za.node;var Ba=v(za),Va={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};Va.node;var Ha=v(Va),Ua={name:`shapes`,size:24,node:[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]};Ua.node;var Wa=v(Ua),Ga={name:`settings-2`,size:24,node:[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]};Ga.node;var Ka=v(Ga),qa={name:`share-2`,size:24,node:[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]};qa.node;var Ja=v(qa),Ya={name:`shield-alert`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]};Ya.node;var Xa=v(Ya),Za={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};Za.node;var Qa=v(Za),$a={name:`shield`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]};$a.node;var eo=v($a),to={name:`shopping-bag`,size:24,node:[[`path`,{d:`M16 10a4 4 0 0 1-8 0`,key:`1ltviw`}],[`path`,{d:`M3.103 6.034h17.794`,key:`awc11p`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`,key:`o988cm`}]]};to.node;var no=v(to),ro={name:`shuffle`,size:24,node:[[`path`,{d:`m18 14 4 4-4 4`,key:`10pe0f`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22`,key:`1ailkh`}],[`path`,{d:`M2 6h1.972a4 4 0 0 1 3.6 2.2`,key:`km57vx`}],[`path`,{d:`M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45`,key:`os18l9`}]]};ro.node;var io=v(ro),ao={name:`siren`,size:24,node:[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`,key:`pcx96s`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`,key:`1b4s83`}],[`path`,{d:`M21 12h1`,key:`jtio3y`}],[`path`,{d:`M18.5 4.5 18 5`,key:`g5sp9y`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`M12 2v1`,key:`11qlp1`}],[`path`,{d:`m4.929 4.929.707.707`,key:`1i51kw`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}]]};ao.node;var oo=v(ao),so={name:`skip-forward`,size:24,node:[[`path`,{d:`M21 4v16`,key:`7j8fe9`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`,key:`zs4d6`}]]};so.node;var co=v(so),lo={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]};lo.node;var uo=v(lo),fo={name:`sliders-vertical`,size:24,node:[[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M12 21v-9`,key:`17s77i`}],[`path`,{d:`M12 8V3`,key:`13r4qs`}],[`path`,{d:`M17 16h4`,key:`h1uq16`}],[`path`,{d:`M19 12V3`,key:`o1uvq1`}],[`path`,{d:`M19 21v-5`,key:`qua636`}],[`path`,{d:`M3 14h4`,key:`bcjad9`}],[`path`,{d:`M5 10V3`,key:`cb8scm`}],[`path`,{d:`M5 21v-7`,key:`1w1uti`}]],aliases:[`sliders`]};fo.node;var po=v(fo),mo={name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]};mo.node;var ho=v(mo),go={name:`speaker`,size:24,node:[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`circle`,{cx:`12`,cy:`14`,r:`4`,key:`1jruaj`}],[`path`,{d:`M12 14h.01`,key:`1etili`}]]};go.node;var _o=v(go),vo={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};vo.node;var yo=v(vo),bo={name:`square-check-big`,size:24,node:[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-square`]};bo.node;var xo=v(bo),So={name:`square-code`,size:24,node:[[`path`,{d:`m10 9-3 3 3 3`,key:`1oro0q`}],[`path`,{d:`m14 15 3-3-3-3`,key:`bz13h7`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]],aliases:[`code-square`]};So.node;var Co=v(So),wo={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};wo.node;var To=v(wo),Eo={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};Eo.node;var Do=v(Eo),Oo={name:`store`,size:24,node:[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`,key:`slp6dd`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`,key:`o0xfot`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`,key:`wn3emo`}]]};Oo.node;var ko=v(Oo),$={name:`tag`,size:24,node:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]};$.node;var Ao=v($),jo={name:`target`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};jo.node;var Mo=v(jo),No={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};No.node;var Po=v(No),Fo={name:`timer`,size:24,node:[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`,key:`14vaq8`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`,key:`17fdiu`}],[`circle`,{cx:`12`,cy:`14`,r:`8`,key:`1e1u0o`}]]};Fo.node;var Io=v(Fo),Lo={name:`toggle-left`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]};Lo.node;var Ro=v(Lo),zo={name:`toggle-right`,size:24,node:[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]};zo.node;var Bo=v(zo),Vo={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};Vo.node;var Ho=v(Vo),Uo={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};Uo.node;var Wo=v(Uo),Go={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};Go.node;var Ko=v(Go),qo={name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]};qo.node;var Jo=v(qo),Yo={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};Yo.node;var Xo=v(Yo),Zo={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};Zo.node;var Qo=v(Zo),$o={name:`user`,size:24,node:[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]};$o.node;var es=v($o),ts={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};ts.node;var ns=v(ts),rs={name:`utensils`,size:24,node:[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`,key:`cjf0a3`}],[`path`,{d:`M7 2v20`,key:`1473qp`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`,key:`j28e5`}]],aliases:[`fork-knife`]};rs.node;var is=v(rs),as={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};as.node;var os=v(as),ss={name:`wallet`,size:24,node:[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`,key:`18etb6`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`,key:`xoc0q4`}]]};ss.node;var cs=v(ss),ls={name:`webhook`,size:24,node:[[`path`,{d:`M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2`,key:`q3hayz`}],[`path`,{d:`m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06`,key:`1go1hn`}],[`path`,{d:`m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8`,key:`qlwsc0`}]]};ls.node;var us=v(ls),ds={name:`wifi-off`,size:24,node:[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`,key:`1dl1wf`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`,key:`4k23kn`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`,key:`1grhjp`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`,key:`z3jwby`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};ds.node;var fs=v(ds),ps={name:`wifi`,size:24,node:[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]};ps.node;var ms=v(ps),hs={name:`workflow`,size:24,node:[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]};hs.node;var gs=v(hs),_s={name:`wrench`,size:24,node:[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]};_s.node;var vs=v(_s),ys={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};ys.node;var bs=v(ys),xs={name:`zap`,size:24,node:[[`path`,{d:`M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z`,key:`1v7up4`}]]};xs.node;var Ss=v(xs);export{Ea as $,Tt as $n,w as $r,Er as $t,yo as A,vn as An,_e as Ar,vi as At,Qa as B,Zt as Bn,se as Br,Qr as Bt,Mo as C,Mn as Cn,je as Cr,Mi as Ct,To as D,wn as Dn,Ce as Dr,wi as Dt,Do as E,En,Te as Er,Ei as Et,co as F,cn as Fn,fe as Fr,ci as Ft,Ha as G,Vt as Gn,L as Gr,Hr as Gt,Ja as H,qt as Hn,ae as Hr,Jr as Ht,oo as I,on as In,de as Ir,oi as It,Ia as J,Ft as Jn,M as Jr,Ir as Jt,Ba as K,zt as Kn,F as Kr,Br as Kt,io as L,rn as Ln,ue as Lr,ii as Lt,ho as M,mn as Mn,he as Mr,mi as Mt,po as N,fn as Nn,me as Nr,fi as Nt,Co as O,Sn as On,xe as Or,Si as Ot,uo as P,un as Pn,pe as Pr,ui as Pt,Oa as Q,Dt as Qn,E as Qr,Or as Qt,no as R,tn as Rn,le as Rr,ni as Rt,Po as S,Pn as Sn,Ne as Sr,Pi as St,ko as T,On as Tn,De as Tr,Oi as Tt,Ka as U,Gt as Un,ie as Ur,Kr as Ut,Xa as V,Yt as Vn,oe as Vr,Xr as Vt,Wa as W,Ut as Wn,re as Wr,Wr as Wt,Ma as X,jt as Xn,te as Xr,Mr as Xt,Pa as Y,Nt as Yn,A as Yr,Pr as Yt,Aa as Z,kt as Zn,ee as Zr,Ar as Zt,Wo as _,Wn as _n,Ue as _r,Wi as _t,ms as a,mr as an,pt as ar,ma as at,Ro as b,Rn as bn,Le as br,Ri as bt,cs as c,cr as cn,st as cr,ca as ct,ns as d,nr as dn,tt as dr,na as dt,S as ei,wr as en,Ct as er,wa as et,es as f,er as fn,$e as fr,ea as ft,Ko as g,Kn as gn,Ge as gr,Ki as gt,Jo as h,Jn as hn,qe as hr,Ji as ht,gs as i,gr as in,ht as ir,ga as it,_o as j,gn as jn,ge as jr,gi as jt,xo as k,bn as kn,ye as kr,bi as kt,os as l,or as ln,at as lr,oa as lt,Xo as m,Xn as mn,Ye as mr,Xi as mt,bs as n,r as ni,br as nn,yt as nr,ba as nt,fs as o,fr as on,dt as or,fa as ot,Qo as p,Qn as pn,Ze as pr,Qi as pt,Ra as q,Lt as qn,ne as qr,Rr as qt,vs as r,vr as rn,_t as rr,va as rt,us as s,ur as sn,lt as sr,ua as st,Ss as t,b as ti,Sr as tn,xt as tr,Sa as tt,is as u,ir as un,rt as ur,ia as ut,Ho as v,Hn as vn,Ve as vr,Hi as vt,Ao as w,An as wn,ke as wr,Ai as wt,Io as x,In as xn,Fe as xr,Ii as xt,Bo as y,Bn as yn,ze as yr,Bi as yt,eo as z,$t as zn,ce as zr,ei as zt};