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