File: /www/server/panel/BTPanel/static/js/index4.js
import{c as d,b as p,r,w as f,o as _,n as l,j as b,k as R,e as v,p as a,Q as T,L as V}from"./base-lib.js?v=1777008528";import{c as k}from"./utils-lib.js?v=1777008528";import{u as x}from"./index123.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index124.js?v=1777008528";import"./index212.js?v=1777008528";import"./index3.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const h={class:"ai-tab-container"},j=d({__name:"index",setup(w){const e=p(),{payment:i}=k(),{BtRouterTabs:m}=x({store:!1}),o=r("ai-chat"),t=r(e.name);f(()=>e.name,s=>{o.value=s,e.name!=="ai"&&localStorage.setItem("AI_ROUTER",s)},{immediate:!0});const u=()=>{l(()=>{t.value=e.name})};return _(()=>{l(()=>{t.value=e.name})}),(s,n)=>(b(),R("div",h,[v(a(m),{modelValue:a(o),"onUpdate:modelValue":n[0]||(n[0]=c=>T(o)?o.value=c:null),contentClass:"ai-route-con module-ui overflow-hidden",disabled:!a(i).bindUser,class:V(a(t)),onAfterLeave:u},null,8,["modelValue","disabled","class"])]))}});export{j as default};