HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/index124.js
import{c as Q,a2 as ee,_ as te,cs as ae,cZ as se}from"./utils-lib.js?v=1777008528";import{c as oe,X as O,Y as ne,b as re,aL as le,av as ue,r as h,t as ie,g as de,w as R,a3 as ce,o as fe,a8 as he,a_ as pe,j as u,k as d,q as P,F as z,B as ve,L as p,s as me,y as _,p as i,N as W,C as V,v as g,J as _e,K as ge,e as $,O as H,bm as we,d as ye,aB as Ce}from"./base-lib.js?v=1777008528";import{_ as be}from"./index212.js?v=1777008528";const ke={class:"flex flex-col p-[1.2rem]"},Le=["onClick"],Re=oe({__name:"index",props:O({options:{default:()=>[]},store:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},showContent:{type:Boolean,default:!0},contentClass:{default:"router-tabs-content"}},{modelValue:{},modelModifiers:{}}),emits:O(["cutTab","afterLeave"],["update:modelValue"]),setup(c,{emit:F}){const N=ye(()=>te(()=>import("./index393.js?v=1777008528"),__vite__mapDeps([]),import.meta.url)),v=c,B=F,f=ne(c,"modelValue"),{mainWidth:w,aliyunEcsLtd:U,adHideInfo:E,payment:j}=Q(),o=re(),y=le(),r=ue(v.options),C=h(!0),S=h(!1),q=h("0px"),b=h(0),M=h(),G=h(),k="".concat(o.path.split("/")[1],"_router").toUpperCase(),{authType:J}=ie(j.value),T=de(()=>v.contentClass==="router-tabs-content");R(()=>o.name,()=>{if(x())m(o.name),f.value=o.name;else{const e=localStorage.getItem(k)||r.value[0].name;y.push({name:e}),m(e),f.value=e}});const K=(e,t=!1)=>{v.disabled||f.value===e&&!t||(m(e),f.value=e,y.push({name:e}),B("cutTab",e))},X=e=>{const t=e.target.offsetLeft,s=e.target.offsetWidth;q.value="".concat(t+s-22,"px"),S.value=!0},Y=ce(M,e=>{const t=e[0],{width:s}=t.contentRect;b.value=s,C.value=w.value-320>=b.value}),m=e=>{localStorage.setItem(k,e)},x=()=>{const e=o.path.split("/");return e.length>2&&e[2]!=""},L=(e,t=!0,s=!0)=>{f.value=e,t&&m(e),o.name!==e&&s&&y.push({name:e})};return R(()=>ae.value,e=>{var s;const t=e.find(a=>o.path.indexOf(a.path)!==-1);if(t!=null&&t.children&&Array.isArray(t.children)&&r.value.forEach(a=>{const l=t.children.find(n=>a.path===n.name);a.show=l?l.show:!0,a.ishide&&(a.show=!E.value[a.ishide])}),!((s=r.value.find(a=>a.name===o.name))!=null&&s.show)){const a=r.value.filter(l=>l.show);a&&a.length&&L(a[0].name)}},{immediate:!0}),R(w,()=>{C.value=w.value-320>=b.value}),fe(()=>{var t,s,a;const e=localStorage.getItem(k);if(r.value.length||(r.value=ee((t=o.matched[1])==null?void 0:t.children,"array",[])),((s=o.matched[1])==null?void 0:s.path)==="/mail"&&r.value.forEach(l=>{l.show=!0}),((a=o.matched[1])==null?void 0:a.path)==="/vhost"&&r.value.forEach(l=>{l.show=!0}),v.store)return x()?L(o.name):L(e||r.value[0].name)}),he(()=>{Y.stop()}),(e,t)=>{const s=be,a=Ce,l=pe("router-view");return u(),d("div",ke,[P("div",{class:p(["header-tabs",{disabled:c.disabled}])},[P("div",{ref_key:"headerChildContentRef",ref:M,class:"flex flex-wrap"},[(u(!0),d(z,null,ve(i(r),(n,I)=>{var A,D;return u(),d(z,{key:I},[n.show?(u(),d("div",{key:0,ref_for:!0,ref_key:"tabListRef",ref:G,class:p(["header-child-tab",{"active-tab":f.value===n.name,"!hidden":(A=n==null?void 0:n.meta)==null?void 0:A.ignore}]),onClick:Z=>K(n.name),onMouseenter:X,onMouseleave:t[0]||(t[0]=Z=>S.value=!1)},me((D=n.meta)==null?void 0:D.title),43,Le)):_("",!0)],64)}),128))],512),e.$slots.right?W(e.$slots,"right",{key:0},void 0,!0):_("",!0),!e.$slots.right&&!i(E).tab?(u(),V(a,{key:1,width:"580",disabled:i(J)!=="free","show-arrow":!1,"popper-style":"padding: 0;border-radius: var(--el-border-radius-round);overflow: hidden;","popper-class":"el-product-state-popover"},{reference:g(()=>[_e($(s,{"is-home":!0,"disable-pro":!0},null,512),[[ge,i(C)&&!i(U)]])]),default:g(()=>[(u(),V(H(i(N))))]),_:1},8,["disabled"])):_("",!0)],2),c.showContent?(u(),d("div",{key:0,class:p(["",{"module-ui":i(T),"mt-[1.2rem]":i(T)}])},[e.$slots.default?(u(),d("div",{key:0,class:p(c.contentClass)},[W(e.$slots,"default",{},void 0,!0)],2)):(u(),d("div",{key:1,class:p(c.contentClass)},[$(l,null,{default:g(({Component:n})=>[$(we,{name:"fade",mode:"out-in",onAfterLeave:t[1]||(t[1]=I=>B("afterLeave"))},{default:g(()=>[(u(),V(H(n)))]),_:2},1024)]),_:1})],2))],2)):_("",!0)])}}}),Ee=se(Re,[["__scopeId","data-v-5db1f143"]]);export{Ee as _};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}