System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./useController-legacy14.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./validator-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159"],function(e,t){"use strict";var l,n,u,o,a,r,d,i,c,p,f,m,s,_,y,b,V,x,h,g,k,v,w,U,j,T,C,I,L,S,F,H,N,R,q,B,G;return{setters:[function(e){l=e.c,n=e.w,u=e.q,o=e.H,a=e.v,r=e.x,d=e.I,i=e.y,c=e.N,p=e.B,f=e.e,m=e.F,s=e.b0,_=e.$,y=e.C,b=e.ab,V=e.ak,x=e.al,h=e.U,g=e.aS,k=e.G,v=e.a9},function(e){w=e.k,U=e.d,j=e.L},function(e){T=e.J,C=e.p,I=e.f,L=e.K,S=e.t,F=e.L,H=e.M,N=e.N,R=e.O,q=e.c,B=e.P,G=e.e},null,null,null,null,null,null],execute:function(){var t={class:"p-[20px]"};e("default",l({__name:"setting-proxy",setup:function(e){return n(function(){return C.value},function(){T(C.value)}),u(function(){T(C.value)}),function(e,l){var n=w,u=b,T=V,C=x,J=U,K=j,M=h,O=g,P=k,$=v,z=o("bt-loading");return a(),r("div",t,[d((a(),c($,{ref_key:"proxyFormRef",ref:q,model:i(L),rules:i(B),"label-width":"110px",disabled:i(G)},{default:p(function(){return[f(u,{label:"代理目录",prop:"path"},{default:p(function(){return[f(n,{modelValue:i(L).path,"onUpdate:modelValue":l[0]||(l[0]=function(e){return i(L).path=e}),disabled:"",placeholder:"请输入代理目录",width:"42rem"},null,8,["modelValue"])]}),_:1}),f(u,{label:"目标",prop:"targetType"},{default:p(function(){return[f(C,{class:"!w-[16rem]",modelValue:i(L).targetType,"onUpdate:modelValue":l[1]||(l[1]=function(e){return i(L).targetType=e}),placeholder:"请选择"},{default:p(function(){return[(a(!0),r(m,null,s(i(S),function(e){return a(),c(T,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"])]}),_:1}),f(u,{label:" ",prop:"proxysite"},{default:p(function(){return[f(n,{modelValue:i(L).proxysite,"onUpdate:modelValue":l[2]||(l[2]=function(e){return i(L).proxysite=e}),placeholder:"http"!==i(L).targetType?"请选择sock文件":"请输入目标URL",width:"42rem",onInput:i(F)},_({_:2},["http"!==i(L).targetType?{name:"append",fn:p(function(){return[f(K,{onClick:i(H)},{default:p(function(){return[f(J,{icon:"el-folder-opened",class:"cursor-pointer"})]}),_:1},8,["onClick"])]}),key:"0"}:void 0]),1032,["modelValue","placeholder","onInput"])]}),_:1}),f(u,{label:"发送域名(host)",prop:"todomain"},{default:p(function(){return[f(n,{modelValue:i(L).todomain,"onUpdate:modelValue":l[3]||(l[3]=function(e){return i(L).todomain=e}),placeholder:"请输入发送域名",width:"42rem"},null,8,["modelValue"])]}),_:1}),f(u,{label:"备注"},{default:p(function(){return[f(n,{modelValue:i(L).ps,"onUpdate:modelValue":l[4]||(l[4]=function(e){return i(L).ps=e}),placeholder:"请输入备注,可为空",width:"42rem"},null,8,["modelValue"])]}),_:1}),f(u,{label:"websocket支持"},{default:p(function(){return[f(O,{disabled:!i(N),effect:"dark",content:"全局websocket已开启，不允许单独关闭",placement:"top"},{default:p(function(){return[f(M,{disabled:i(N),modelValue:i(L).websocket,"onUpdate:modelValue":l[5]||(l[5]=function(e){return i(L).websocket=e})},null,8,["disabled","modelValue"])]}),_:1},8,["disabled"])]}),_:1}),f(u,{label:"连接超时时间",prop:"proxy_connect_timeout"},{default:p(function(){return[f(n,{modelValue:i(L).proxy_connect_timeout,"onUpdate:modelValue":l[6]||(l[6]=function(e){return i(L).proxy_connect_timeout=e}),textType:"秒",width:"41rem"},{append:p(function(){return l[9]||(l[9]=[y(" 秒 ",-1)])}),_:1},8,["modelValue"])]}),_:1}),f(u,{label:"后端请求超时时间",prop:"proxy_send_timeout"},{default:p(function(){return[f(n,{modelValue:i(L).proxy_send_timeout,"onUpdate:modelValue":l[7]||(l[7]=function(e){return i(L).proxy_send_timeout=e}),textType:"秒",width:"41rem"},{append:p(function(){return l[10]||(l[10]=[y(" 秒 ",-1)])}),_:1},8,["modelValue"])]}),_:1}),f(u,{label:"代理响应超时时间",prop:"proxy_read_timeout"},{default:p(function(){return[f(n,{modelValue:i(L).proxy_read_timeout,"onUpdate:modelValue":l[8]||(l[8]=function(e){return i(L).proxy_read_timeout=e}),textType:"秒",width:"41rem"},{append:p(function(){return l[11]||(l[11]=[y(" 秒 ",-1)])}),_:1},8,["modelValue"])]}),_:1}),f(u,{label:" "},{default:p(function(){return[f(P,{type:"primary",onClick:i(R)},{default:p(function(){return l[12]||(l[12]=[y("保存",-1)])}),_:1,__:[12]},8,["onClick"])]}),_:1})]}),_:1},8,["model","rules","disabled"])),[[z,i(I)]])])}}}))}}});
