import{c as s,s as a,v as t,x as e,z as r,C as n,K as i,y as o,A as l,e as m,B as u,F as c,G as d}from"./base-lib.js?v=1761009159";import{P as p}from"./store6.js?v=1761009159";import{_ as b}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const _={class:"p-2rem"},x={class:"text-base unbind-author-content"},h={key:0},j=b(s({__name:"index",setup(s){const b=p(),{isDisabledAuth:j,authType:v,bindAuthData:y}=a(b),{changeUnbindAuthor:f}=b,{extra:A,typeName:k}=y.value;return(s,a)=>{const p=d;return t(),e("div",_,[a[4]||(a[4]=r("div",{class:"text-subtitleLarge text-center mb-[1.5rem]"},[r("i"),n("检测到授权冲突")],-1)),r("div",x,[r("p",null,[a[1]||(a[1]=n(" 当前面板已绑定【",-1)),r("span",{class:i(o(v)+"-author-name")},l(o(k)),3),a[2]||(a[2]=n("】，若要购买/更换其他授权，请先解绑当前授权。 ",-1))]),a[3]||(a[3]=r("p",null,"专业版/企业版每月允许免费更改服务器IP(解绑授权)一次，超过限制次数后请手动购买解绑次数。",-1))]),m(p,{type:"primary",class:"w-full h-4rem text-base mb-[2rem] mt-1rem",disabled:o(j),onClick:a[0]||(a[0]=s=>o(f)())},{default:u(()=>[o(j)?(t(),e("span",h,"正在解绑授权，请稍候...")):(t(),e(c,{key:1},[n(l(o(A).rest_unbind_count?"解绑授权，剩余次数".concat(o(A).rest_unbind_count,"次"):"点击前往购买解绑次数"),1)],64))]),_:1},8,["disabled"])])}}}),[["__scopeId","data-v-5c24276a"]]);export{j as default};
