import{_ as g}from"./COVxhKaU.js";import{d as m,I as p,a7 as d,r as f,N as _,l as w,f as k,b as v,e as V,q as h,t as x,u as n,A as L}from"./B2UyoCas.js";import"./DeNTsafF.js";import"./CHIgUVhi.js";import"./CsNNGtvO.js";import"./DmViyvlQ.js";const S={class:"text-uiText-muted font-normal text-xs o_mb-1"},b=m({__name:"LanguageSwitcher",setup(B){const{locale:r}=p(),{changeLanguage:i,languageItems:o}=d(),e=f(r.value),{tracker:u}=_();return w(e,s=>{u("language_switcher","click","Change language")}),(s,t)=>{var l;const c=g;return v(),k("div",null,[V("div",S,x(s.$t("languagePicker")),1),h(c,{modelValue:n(e),"onUpdate:modelValue":[t[0]||(t[0]=a=>L(e)?e.value=a:null),t[1]||(t[1]=a=>n(i)(a))],items:n(o),"leading-icon":(l=n(o).find(a=>a.value===n(e)))==null?void 0:l.icon,class:"w-full font-normal",color:"neutral",variant:"outline"},null,8,["modelValue","items","leading-icon"])])}}}),$=Object.assign(b,{__name:"LanguageSwitcher"});export{$ as default};
