1import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{mt as t,r as n,y as r}from"./pinia-ChYOg3Fr.js";import{o as i}from"./src-BIAQKA3J.js";import{n as a,s as o}from"./models-mEeO9Bn0.js";var s=e({default:()=>l}),c=36e5,l=n(`config`,()=>{let e=t(null),n=t(null),s=t([`light`,`dark`]),l=t({}),u=t(null),d=t(null),f=t(`user-preference`),p=t(null),m=t(null),h=r(()=>i(o).where(`isActive`,!0).get().map(e=>e.code));return{availableLocales:h,availableLanguages:r(()=>i(o).where(`isActive`,!0).get()),editableLocales:r(()=>i(o).where(`isEditable`,!0).get().map(e=>e.code)),editableLanguages:r(()=>i(o).where(`isEditable`,!0).get()),availableThemes:s,settings:l,appVersion:e,staticContentVersion:p,fetchedAt:m,isInitiated:r(()=>{let t=[];return e.value||t.push(`appVersion`),h.value.length===0&&t.push(`availableLocales`),n.value===null&&t.push(`defaultLocale`),i(a).all().length===0&&t.push(`staticContent`),t.length>0&&console.log(`[config.store] isInitiated: failed conditions:`,t),t.length===0}),isStale:r(()=>m.value===null||Date.now()-m.value>c),defaultLocale:n,localeBaseDomain:u,defaultDomain:d,localeMode:f,showLocaleSwitcher:t(!1),showThemeSwitcher:t(!1),withAuth:t(!1)}},{persist:{pick:[`appVersion`,`defaultLocale`,`settings`,`staticContentVersion`,`fetchedAt`]}});export{s as n,l 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.