1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{g as t}from"./vendor-react-DV34m0Mt.js";import{S as n}from"./vendor-query-DSHGQAZx.js";import{i as r,n as i}from"./activeLanguage-Cw38ZKj1.js";import{t as a}from"./useAuth-BdX4ZdR-.js";var o=e(t(),1),s={language:`tr`,timezone:`UTC+3`,dateFormat:`dd.MM.yyyy`,emailNotifications:!0,pushNotifications:!1,evaluationReminders:!0,theme:`light`,defaultCurrency:``,autoSave:!0,analysisVerbosity:`detailed`,scoringMethod:`holistic`,analysisMethodology:`ai`,evaluationDetailMode:`advanced`,evaluationStrictnessMode:`balanced`,confidenceThreshold:`0.70`,aiModel:`gpt-4o`,aiModelDocumentProcessing:`gpt-4o`,aiModelTextGeneration:`gpt-4o`,aiModelAnalysis:`gpt-4o`,aiSearchEnableReranking:!0,aiSearchEnableLLMScoring:!1,aiSearchRerankTopK:20};function c(){let{isAuthenticated:e}=a(),{data:t,isLoading:c,error:l}=n({queryKey:[`/api/settings`],enabled:e,refetchOnMount:!0,staleTime:3e5,gcTime:6e5}),u=r(),d=t?.language;(0,o.useEffect)(()=>{d&&i(d)},[d]);let f=(0,o.useMemo)(()=>({...s,...t?Object.fromEntries(Object.entries(t).filter(([e,t])=>t!=null)):{},language:u}),[t,u]);return(0,o.useMemo)(()=>({settings:f,isLoading:c,error:l,defaultSettings:s}),[f,c,l])}export{c as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.