text: import e from"../../web_modules/react.js";import{rem as l,size as i}from"../utils/style.js";import o from"../../web_modules/styled-components.js";import{useTranslation as m}from"../../web_modules/react-i18next.js";const s=[["zh","\u4E2D"],["en","En"]],c=o.span.withConfig({displayName:"Language__Item",componentId:"sc-4x61zz-0"})(["display:inline-block;color:currentColor;opacity:",";"],t=>t.active?1:.29),p=o.span.withConfig({displayName:"Language__Divider",componentId:"sc-4x61zz-1"})(["display:inline-block;margin:0 ",";"," background-color:currentColor;"],l(5),i("1em","1px")),u=()=>{const{i18n:t}=m();return e.createElement(e.Fragment,null,s.map(([a,n],r)=>e.createElement(e.Fragment,{key:n},r!==0&&e.createElement(p,null),e.createElement(c,{active:a===t.language},n))))};export default u;
  