import{v as I,l as U,_ as y,u as $,m as H}from"./main-d8a3cf9e.js";import{f as h,u as L,r as N,h as O,i as R,j as _,o as e,k as c,l as a,m as i,t as g,n as r,C as S,c as j,w as u,F as C,p as A,q as n,K as D,v as f}from"./store_getters-37844582.js";import"./message-6f40f427.js";const E={class:"header"},F={class:"inner"},K={class:"left"},q={class:"right"},Y=h({__name:"options-header",setup(k){const{t:p,locale:d}=I.useI18n(),m=U.lang(),s=L(),t=N(O(()=>s.state.$language)),x=R(m),w=l=>{s.commit("saveLanguage",l),d.value=l};return(l,v)=>{const V=_("el-image"),b=_("el-option"),B=_("el-select");return e(),c("div",E,[a("div",F,[a("div",K,[i(V,{src:"/image/logo_currency.png"}),a("p",null,g(r(S)[r(j).name].name)+" "+g(l.$t("set.wallet")),1)]),a("div",q,[i(B,{modelValue:t.value,"onUpdate:modelValue":v[0]||(v[0]=o=>t.value=o),onChange:w},{default:u(()=>[(e(!0),c(C,null,A(x,o=>(e(),n(b,{key:o.value,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])])])}}});const z=y(Y,[["__scopeId","data-v-27c0833b"]]),G={id:"main",class:"options"},J=h({__name:"OptionsComponent",setup(k){const p=$();return(d,m)=>{const s=_("router-view");return e(),c(C,null,[i(z),a("div",G,[r(p).meta.keepAlive?(e(),n(s,{key:0},{default:u(({Component:t})=>[(e(),n(D,null,[(e(),n(f(t)))],1024))]),_:1})):(e(),n(s,{key:1},{default:u(({Component:t})=>[(e(),n(f(t)))]),_:1}))])],64)}}});const M=y(J,[["__scopeId","data-v-efd49a16"]]);H(M);
