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-SC54XQDl.js";import{i as v,c as y}from"./app-Ba7ZqSpq.js";import{C as h}from"./app-qhR41k1m.js";import{W as g}from"./app-B9xxzP2y.js";import{_ as x}from"./app-DFulsyXy.js";import{_ as C}from"./app-DWUwCFNm.js";import{_ as S}from"./app-EJKcBieS.js";import{_ as b}from"./app-D6YuZr7n.js";import{D as $}from"./app-ZeVDYyDS.js";import"./app-CS3AUTAk.js";import"./app-CCkWSX4Q.js";import"./app-C28obFWS.js";import"./app-CkINxBL9.js";import"./app-PPG0ZS4d.js";import"./app--Lj8zATS.js";import"./app-Ch8j4za4.js";import"./app-C2mBgI5Z.js";import"./app-CNHjdV6U.js";import"./app-DoVkxbmA.js";import"./app-PrSv7rSt.js";import"./app-BZGObKCm.js";import"./app-BPIIxVwk.js";import"./app-DgoEZtNT.js";import"./app-Dw0jKdCD.js";import"./app-DnXuoh8P.js";import"./app-FlPLZh9D.js";import"./app-DZaelcLs.js";import"./app-CVQkwzlf.js";import"./app-DjJGwY8P.js";import"./app-CHxME8Sw.js";import"./app-B5UbDc9M.js";import"./app-Ciy_QwIW.js";import"./app-C0-Qcoum.js";import"./app-BxWqoSpr.js";import"./app-nyOoGAKT.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"},vt={__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{vt as default};
