import{o as i,c as m,w as r,u as e,g as a,b as o,f as u,h as p,a as s,d as n,e as l,F as d,D as _,t as f}from"./app-DnroACXc.js";import{i as v,c as y}from"./app-DckefXYL.js";import{C as h}from"./app-B2-Q9WJQ.js";import{W as g}from"./app-C7P1WxYu.js";import{_ as x}from"./app-MnSDCF4P.js";import{_ as C}from"./app-COct4tsy.js";import{_ as S}from"./app-DBzPPMxI.js";import{_ as b}from"./app-Dv1kfi-t.js";import{D as $}from"./app-Cx7ENVlu.js";import"./app-DAKlLAys.js";import"./app-xECxwo4T.js";import"./app-BBDtZW3a.js";import"./app-R-vSvFIF.js";import"./app-HaDoyrq5.js";import"./app-CYYQ_Zep.js";import"./app-Cmxxk_WX.js";import"./app-CF8nmC-F.js";import"./app-B09rlSqG.js";import"./app-LqsmzyUT.js";import"./app-B8VsrFxM.js";import"./app-DntYVxd7.js";import"./app-BJhJ7lM8.js";import"./app-Dd07dUxy.js";import"./app-Dpl5YSiv.js";import"./app-NVAx7Sc3.js";import"./app-CF0qXH5Q.js";import"./app-BbRQPmFH.js";import"./app-B4bUdtyo.js";import"./app-DPkDcD7h.js";import"./app-DK4Xe9me.js";import"./app-MtOp7vk3.js";import"./app-B5UbDc9M.js";import"./app-Do8DhyKT.js";import"./app-C0-Qcoum.js";import"./app-z7Z_Uo-k.js";import"./app-NF1oOHjK.js";function k(){v(this),this.success=this.$NotifyReloadSuccess("保存成功")}const w={key:0},D=["value"],N=["value"],T=s("td",{class:"title"},"绑定端口 *",-1),B={key:0},P={class:"ui basic small label"},yt={__name:"index",setup(V){const t=y(new k);return(R,F)=>(i(),m(h,{ctx:e(t),"has-tab":!0},{default:r(()=>[e(t).canSpecifyPort?p("",!0):(i(),a("div",w,[o(g,null,{default:r(()=>[u("根据管理员设定，你不能修改此网站端口信息。")]),_:1})])),o(x,{action:"$",onSuccess:e(t).success},{default:r(()=>[s("input",{type:"hidden",name:"serverId",value:e(t).serverId},null,8,D),s("input",{type:"hidden",name:"serverType",value:e(t).serverType},null,8,N),o($,null,{default:r(()=>[s("tbody",null,[s("tr",null,[T,s("td",null,[n(s("div",null,[o(S,{"v-server-type":e(t).serverType,"v-addresses":e(t).tlsConfig.listen,"v-protocol":"tls"},null,8,["v-server-type","v-addresses"])],512),[[l,e(t).canSpecifyPort]]),e(t).tlsConfig.listen!=null?n((i(),a("div",B,[(i(!0),a(d,null,_(e(t).tlsConfig.listen,c=>(i(),a("span",P,"tls://*:"+f(c.portRange),1))),256))],512)),[[l,!e(t).canSpecifyPort]]):p("",!0)])])])]),_:1}),n(o(b,{"v-ssl-policy":e(t).tlsConfig.sslPolicy,"v-protocol":"tls"},null,8,["v-ssl-policy"]),[[l,e(t).tlsConfig.isOn]]),o(C)]),_:1},8,["onSuccess"])]),_:1},8,["ctx"]))}};export{yt as default};
