import{o as i,c as l,w as n,u as e,g as a,b as s,a as o,d as u,e as _,h as m}from"./app-BYcXwl4U.js";import{i as p,c as d}from"./app-a6cKceqE.js";import{_ as f}from"./app-C3oVnfUH.js";import{_ as h}from"./app-CQ-vNlMj.js";import{D as g}from"./app-7GBSHA5C.js";import{_ as v}from"./app-DwtlHtUX.js";import{_ as x}from"./app-CignoBaV.js";import{_ as C}from"./app-B8JChEZz.js";import"./app-CLawzVMq.js";import"./app-BeFNDz9n.js";import"./app-BDgR0DSb.js";import"./app-DxjODhok.js";import"./app-DPDEogA0.js";import"./app-BHl80pFw.js";import"./app-BG60hdvp.js";import"./app-CrjU8lgK.js";import"./app-D7QVa3_6.js";import"./app-CO4sV-Ic.js";import"./app-yt37eDzA.js";import"./app-BQ5ggxk2.js";import"./app-SxAW7vhf.js";import"./app-D3zbrzdO.js";function y(){p(this),this.success=this.$NotifyReloadSuccess("保存成功")}const S={key:0},$=["value"],N=["value"],O=o("td",null,"启用gRPC",-1),R=o("p",{class:"comment"},"选中后，表示启用当前网站的gRPC反向代理功能；在启用之前，请确保源站支持gRPC。不启用gRPC时当前网站会自动恢复为普通网站。",-1),V={key:1},Y={__name:"index",setup(k){const t=d(new y);return(w,r)=>(i(),l(f,{ctx:e(t)},{default:n(()=>[e(t).featureIsOn?(i(),a("div",S,[s(h,{action:"$",onSuccess:e(t).success},{default:n(()=>[o("input",{type:"hidden",name:"serverId",value:e(t).serverId},null,8,$),o("input",{type:"hidden",name:"grpcJSON",value:JSON.stringify(e(t).config)},null,8,N),s(g,null,{default:n(()=>[o("tbody",null,[o("tr",null,[O,o("td",null,[s(v,{modelValue:e(t).config.isOn,"onUpdate:modelValue":r[0]||(r[0]=c=>e(t).config.isOn=c)},null,8,["modelValue"]),R])])])]),_:1}),u(s(x,null,null,512),[[_,!e(t).isShared]])]),_:1},8,["onSuccess"])])):m("",!0),e(t).featureIsOn?m("",!0):(i(),a("div",V,[s(C)]))]),_:1},8,["ctx"]))}};export{Y as default};
