System.register(["./utils-lib-legacy.js?v=20260328163632","./index-legacy204.js?v=20260328163632","./index-legacy83.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632","./naive-ui-legacy.js?v=20260328163632","./__commonjsHelpers__-legacy.js?v=20260328163632","./env-lib-legacy.js?v=20260328163632"],(function(e,n){"use strict";var t,s,i,l,r,a,o,c,u,p,d,f,m,v,x,b,h,g,y,k,_,j,w,B,C,D,E,I,S;return{setters:[function(e){t=e.u,s=e.b2,i=e.b3,l=e.l,r=e.e,a=e.dL,o=e.a7,c=e._},function(e){u=e.B},function(e){p=e.B},function(e){d=e.k,f=e.a9,m=e.c,v=e.V,x=e._,b=e.a3,h=e.X,g=e.Y,y=e.Z,k=e.$,_=e.W,j=e.O,w=e.K,B=e.a1,C=e.P},function(e){D=e.g,E=e.E,I=e.G,S=e.d},null,null],execute:function(){var V={class:"home-header-box flex-1"},U={class:"mr-[16px] flex items-center"},z={class:"user-phone"},L={key:1,class:"mr-[16px] flex items-center"},P={class:"user-phone !border-none"},A={class:"cursor-pointer flex items-center"},G={class:"border-dashed border-0 border-b-[1px] border-[#E5E7EB]"},H={class:"!mb-4px inline-block"},K={class:"block"},N={class:"home-header-box"},O={class:"header-operation-icon"},R=["title"],T=["title"],W=["title"],X=d({__name:"index",setup:function(e){var c=C((function(){return o((function(){return n.import("./index-legacy203.js?v=20260328163632")}),void 0,n.meta.url)})),d=t(),X=d.isAaPanel,Y=d.payment,Z=d.panelVersion,$=d.updateThemeUi,q=d.isDark,F=f(Y.value),J=F.isExpire,M=F.bindUser,Q=s(),ee=Q.systemInfo,ne=Q.panelInfo,te=i(),se=te.onRepair,ie=te.histVersionInfoDialog,le=te.updateVersionDialog,re=te.restartSeverDialog,ae=[{label:l("新鲜"),value:"fresh",key:"fresh"},{label:l("经典"),value:"classic",key:"classic"}],oe=m((function(){var e;return ee.value.name?null===(e=ee.value.name.split(" ")[0])||void 0===e?void 0:e.toLowerCase():""}));return function(e,n){var t=D,s=E,i=I,o=S;return v(),x(o,{class:"reset-card-header module-box is-always-shadow","content-class":"flex h-[52px] items-center !p-0"},{default:b((function(){return[h("div",V,[g(X)?(v(),_("div",L,[n[5]||(n[5]=h("i",{class:"svgtofont-icon-user mr-[4px] !text-[16px]"},null,-1)),h("span",P,y(g(M)||g(l)("获取中")),1)])):(v(),x(t,{key:0,width:g(J)||!["zh","cht"].includes(g(r))?400:330,placement:"bottom"},{trigger:b((function(){return[h("div",U,[n[4]||(n[4]=h("i",{class:"svgtofont-icon-user mr-[4px] !text-[16px]"},null,-1)),h("span",z,y(g(M)||g(l)("获取中")),1)])]})),default:b((function(){return[(v(),x(k(g(c))))]})),_:1},8,["width"])),j(t,{width:250},{trigger:b((function(){return[h("span",A,[h("i",{class:w("mr-4px !text-[16px] svgtofont-icon-"+g(oe))},null,2),h("span",G,y(g(l)("系统："))+y(g(ee).name||g(l)("获取中")),1)])]})),default:b((function(){return[h("div",null,[h("span",H,y(g(l)("系统："))+y(g(ee).simpleName||g(l)("获取中")),1),h("span",K,y(g(l)("持续运行："))+y(g(ne).runningDays||g(l)("获取中")),1)])]})),_:1})]),h("div",N,[g(X)?B("",!0):(v(),x(u,{key:0})),j(a,{"is-home":!0,"disable-pro":!0}),h("span",{class:"versionInfo mr-[16px] bt-hover-link cursor-pointer",onClick:n[0]||(n[0]=function(){return g(ie)&&g(ie).apply(void 0,arguments)})},y((g(ne).isBeta?"Beta ":"")+(g(Z)||g(l)("获取中"))),1),j(s,{trigger:"hover",options:ae,onSelect:g($)},{default:b((function(){return[h("div",O,[j(g(p),{name:"tools-themeui",size:"18",class:"hob-icon",color:g(q)?"white":"#333"},null,8,["color"])])]})),_:1},8,["onSelect"]),j(i,{class:"mr-[16px]",dot:"",show:g(ne).isUpgrade},{default:b((function(){return[h("span",{class:"bt-link",title:g(l)("点击获取最新版面板程序"),onClick:n[1]||(n[1]=function(){return g(le)&&g(le).apply(void 0,arguments)})},y(g(l)("更新")),9,R)]})),_:1},8,["show"]),h("span",{class:"bt-link mr-[16px]",onClick:n[2]||(n[2]=function(){return g(se)&&g(se).apply(void 0,arguments)}),title:g(l)("修复面板会获取最新的面板代码程序，包含bug修复")},y(g(l)("修复")),9,T),h("span",{class:"bt-link",onClick:n[3]||(n[3]=function(){return g(re)&&g(re).apply(void 0,arguments)}),title:g(l)("点击可选择重启面板或重启服务器")},y(g(l)("重启")),9,W)])]})),_:1})}}});e("default",c(X,[["__scopeId","data-v-e1ffb776"]]))}}}));
