import{g as e}from"./CcHu_7lQ.js";import{D as t,F as n}from"#entry";import{c as r,d as i,i as a,l as o,n as s,o as c,p as l,r as u,s as d,u as f}from"./DU6tbL21.js";var p=n(`config`,()=>{let n=t(`theme`,`sunset`),p=t(`autoSwitchTheme`,!1),m=t(`favDayTheme`,`nord`),h=t(`favNightTheme`,`sunset`),g=t(`proxiesPreviewType`,i.Auto),_=t(`proxiesPreviewAutoThreshold`,10),v=t(`proxiesOrderingType`,f.NATURAL),y=t(`proxiesDisplayMode`,o.CARD),b=t(`renderProxiesInTwoColumns`,!0),x=t(`hideUnAvailableProxies`,!1),S=t(`urlForLatencyTest`,`https://www.gstatic.com/generate_204`),C=t(`autoCloseConns`,!0),w=t(`latencyTestTimeoutDuration`,5e3),T=t(`iconHeight`,24),E=t(`iconMarginRight`,8),D=t(`autoSwitchEndpoint`,!1),O=t(`enableTwemoji`,!1),k=t(`sidebarExpanded`,!1),A=t(`useMobileBottomNav`,!0),j=t(`defaultPage`,`overview`),M=t(`connectionsTableSize`,l.XS),N=t(`connectionsTableColumnVisibility`,u),P=t(`connectionsTableColumnOrder`,s),F=t(`useMobileConnectionsTable`,!1),I=t(`logsTableSize`,l.XS),L=t(`logLevel`,r.Info),R=t(`logMaxRows`,a),z=t(`quickFilterRegex`,`DIRECT|direct|dns-out`),B=t(`clientSourceIPTags`,[]),V=t(`showNetworkTopology`,!1),H=e(()=>S.value.startsWith(`https`));return{curTheme:n,autoSwitchTheme:p,favDayTheme:m,favNightTheme:h,proxiesPreviewType:g,proxiesPreviewAutoThreshold:_,proxiesOrderingType:v,proxiesDisplayMode:y,renderProxiesInTwoColumns:b,hideUnAvailableProxies:x,urlForLatencyTest:S,autoCloseConns:C,latencyTestTimeoutDuration:w,iconHeight:T,iconMarginRight:E,autoSwitchEndpoint:D,enableTwemoji:O,sidebarExpanded:k,useMobileBottomNav:A,defaultPage:j,connectionsTableSize:M,connectionsTableColumnVisibility:N,connectionsTableColumnOrder:P,useMobileConnectionsTable:F,quickFilterRegex:z,logsTableSize:I,logLevel:L,logMaxRows:R,clientSourceIPTags:B,showNetworkTopology:V,isLatencyTestByHttps:H,latencyQualityMap:e(()=>H.value?d:c),tableSizeClassName:e=>({[l.XS]:`table-xs`,[l.SM]:`table-sm`,[l.MD]:`table-md`,[l.LG]:`table-lg`})[e]||`table-xs`,resetProxiesSettings:()=>{g.value=i.Auto,v.value=f.NATURAL,y.value=o.CARD,b.value=!0,x.value=!1,S.value=`https://www.gstatic.com/generate_204`,C.value=!0,w.value=5e3,T.value=24,E.value=8},resetXdConfig:()=>{p.value=!1,D.value=!1,O.value=!1,A.value=!0,m.value=`nord`,h.value=`sunset`,n.value=`sunset`,j.value=`overview`}}});export{p as t};