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-BYcXwl4U.js";import{i as v,c as y}from"./app-a6cKceqE.js";import{C as h}from"./app-CLawzVMq.js";import{W as g}from"./app-D7QVa3_6.js";import{_ as x}from"./app-CQ-vNlMj.js";import{_ as C}from"./app-CignoBaV.js";import{_ as S}from"./app-xuUOhL_d.js";import{_ as b}from"./app-CorBkM4c.js";import{D as $}from"./app-7GBSHA5C.js";import"./app-BeFNDz9n.js";import"./app-BDgR0DSb.js";import"./app-CO4sV-Ic.js";import"./app-yt37eDzA.js";import"./app-BG60hdvp.js";import"./app-BQ5ggxk2.js";import"./app-SxAW7vhf.js";import"./app-D3zbrzdO.js";import"./app-CrjU8lgK.js";import"./app-D2Wz0BUQ.js";import"./app-DxbU-QrX.js";import"./app-Cp3gmk2J.js";import"./app--MWyBMkA.js";import"./app-CNARLpXE.js";import"./app-D5k1HLu9.js";import"./app-ysQ8KbGS.js";import"./app-DwtlHtUX.js";import"./app-BHl80pFw.js";import"./app-Ufpj4Ll4.js";import"./app-JrQl8j_T.js";import"./app-MtOp7vk3.js";import"./app-B5UbDc9M.js";import"./app-iaXXZg9Y.js";import"./app-C0-Qcoum.js";import"./app-0YmIdYYs.js";import"./app-BmaR5UVy.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};
