import e from"./index108.js?v=1761009159";import{_ as t}from"./index109.js?v=1761009159";import{u as a,F as l,f as s,G as i,_ as n}from"./utils-lib.js?v=1761009159";import o from"./ali-bind-user.js?v=1761009159";import r from"./tencent-bind-user.js?v=1761009159";import{c,r as m,q as p,n as d,x as u,y as v,N as b,D as g,O as h,z as f,C as _,e as j,B as w,L as x,v as y,az as k}from"./base-lib.js?v=1761009159";import"./index106.js?v=1761009159";import"./index102.js?v=1761009159";import"./useController.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./bt_logo_new.js?v=1761009159";const D={key:3,class:"list-disc help-text-info -ml-7rem"},L={key:4},q=n(c({__name:"index",setup(n){const{mainHeight:c,forceLtd:q,aliyunEcsLtd:C}=a(),z=m(!0),H=m("bind"),B=m({client:0,login:0}),E=m("div"),F=e=>{H.value=e},G=async()=>{var e;try{const t=await i();if(z.value=!0,t.status&&0!==(null==(e=t.data)?void 0:e.login)){const e={1:r,2:o};B.value={client:t.data.client,login:t.data.login},E.value=e[t.data.client]||"div",z.value=!1}}catch(t){z.value=!0}};return p(()=>{l(),d(G)}),(a,l)=>{const i=t,n=e;return y(),u("div",{class:"flex flex-col items-center mt-[4%]",style:x({"min-height":v(c)-200+"px"})},[v(q)?(y(),b(i,{key:0,class:"w-[44rem]",closable:!1,type:"warning",title:"温馨提醒：Linux 面板企业版为付费版本，绑账号试用14天，试用结束后可选择需续费企业版或者继续使用免费版。（付费插件功能不可继续使用，功能与直接安装免费版无任何区别）"})):g("",!0),v(z)?(y(),b(n,{key:1,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录"}})):g("",!0),v(z)||v(C)?g("",!0):(y(),b(h(v(E)),{key:2,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录",authData:v(B),onChangeType:F,isDialog:!1}},null,8,["compData"])),"bind"!==v(H)||v(C)?g("",!0):(y(),u("ul",D,[l[2]||(l[2]=f("li",null,"为了您能更好的体验面板功能，请先绑定堡塔账号；",-1)),l[3]||(l[3]=f("li",null,"单个宝塔帐号支持多台服务器绑定；",-1)),l[4]||(l[4]=f("li",null,"绑定帐号没有接管服务器的功能权限，请放心使用；",-1)),l[5]||(l[5]=f("li",null,"帐号绑定过程中遇到问题请联系客服处理；",-1)),l[6]||(l[6]=f("li",null,"客服电话：0769-23030556",-1)),f("li",null,[l[1]||(l[1]=_(" 客服咨询： ",-1)),j(v(k),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:w(()=>l[0]||(l[0]=[f("span",{class:"bt-link"},"查看二维码",-1)])),default:w(()=>[j(v(s),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})]),_:1})])])),"other"!==v(H)||v(C)?g("",!0):(y(),u("li",L,[l[8]||(l[8]=_(" 如果遇到问题，请联系客服处理： ",-1)),j(v(k),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:w(()=>l[7]||(l[7]=[f("span",{class:"bt-link"},"查看二维码",-1)])),default:w(()=>[j(v(s),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})]),_:1})]))],4)}}}),[["__scopeId","data-v-23e35b9c"]]);export{q as default};
