import{a4 as m,a5 as _,c as v,w as a,D as h,o as f,b as o,I as p,l,t as n,p as d,e as c,d as s,H as x}from"./index-09e73aa7.js";import{_ as k}from"./_plugin-vue_export-helper-c27b6911.js";const y={name:"AlkaidPage",components:{},setup(){const{tm:r}=m("features/alkaid/index");return{tm:r}},data(){return{}},methods:{navigateTo(r){try{this.$router&&typeof this.$router.push=="function"&&this.$router.push(`/alkaid/${r}`)}catch(e){console.warn("Navigation error:",e)}},isActive(r){try{return this.$route&&this.$route.path.includes(`/alkaid/${r}`)}catch(e){return console.warn("Route check error:",e),!1}}},mounted(){this.$route.path==="/alkaid"&&this.navigateTo("knowledge-base")}},b={style:{"margin-bottom":"32px"}},w={class:"gradient-text"},A={style:{color:"#a3a3a3"}},C={style:{display:"flex",gap:"8px","margin-bottom":"16px"}},T={id:"sub-view",class:"flex-grow-1",style:{"max-height":"100%"}};function V(r,e,B,i,I,t){const u=_("router-view");return f(),v(h,{style:{height:"100%",width:"100%"}},{default:a(()=>[o(x,{class:"pa-4",style:{height:"100%"}},{default:a(()=>[o(p,{fluid:"",class:"d-flex flex-column",style:{height:"100%"}},{default:a(()=>[l("div",b,[l("h1",w,n(i.tm("page.title")),1),l("small",A,n(i.tm("page.subtitle")),1)]),l("div",C,[o(d,{size:"large",variant:t.isActive("knowledge-base")?"flat":"tonal",color:t.isActive("knowledge-base")?"#9b72cb":"",rounded:"lg",onClick:e[0]||(e[0]=g=>t.navigateTo("knowledge-base"))},{default:a(()=>[o(c,{start:""},{default:a(()=>[s("mdi-text-box-search")]),_:1}),s(" "+n(i.tm("page.navigation.knowledgeBase")),1)]),_:1},8,["variant","color"]),o(d,{size:"large",variant:t.isActive("long-term-memory")?"flat":"tonal",color:t.isActive("long-term-memory")?"#9b72cb":"",rounded:"lg",onClick:e[1]||(e[1]=g=>t.navigateTo("long-term-memory"))},{default:a(()=>[o(c,{start:""},{default:a(()=>[s("mdi-dots-hexagon")]),_:1}),s(" "+n(i.tm("page.navigation.longTermMemory")),1)]),_:1},8,["variant","color"]),o(d,{size:"large",variant:t.isActive("other")?"flat":"tonal",color:t.isActive("other")?"#9b72cb":"",rounded:"lg",onClick:e[2]||(e[2]=g=>t.navigateTo("other"))},{default:a(()=>[o(c,{start:""},{default:a(()=>[s("mdi-tools")]),_:1}),s(" "+n(i.tm("page.navigation.other")),1)]),_:1},8,["variant","color"])]),l("div",T,[o(u)])]),_:1})]),_:1})]),_:1})}const P=k(y,[["render",V],["__scopeId","data-v-e6d1028d"]]);export{P as default};
