import{n as e}from"./chunk-DR8-3Aex.js";import{dc as t,yc as n}from"./paths-Ci1iwL5Y.js";import{i as r,s as i}from"./intl-CLeE9DsD.js";function a(){let e=t().preferredLanguage??`auto`;return e===`en`||e===`zh`?e:r()===`zh`?`zh`:`en`}function o(e){return s[e]??e}var s,c=e((()=>{n(),i(),s={auto:`Auto (follow system)`,en:`English`,zh:`中文`}}));export{a as n,c as r,o as t};