1import A from"./en-B6Jg0ffh.js";import F from"./cn-DBmVymKl.js";import V from"./kr-BttWJUZy.js";import N from"./tr-CLnWuuzq.js";import{r as O,c7 as j}from"./Chl_9IWi.js";import{a1 as w,w as d,a9 as B,aG as l,aA as p,aV as o,aD as L,ai as M,aT as S,aS as z,a2 as a,aJ as f}from"./injective-sdk-BB05yp4z.js";import"./table-DkiRYGkI.js";import"./injective-wallet-ClU73r-6.js";import"./injective-utils-CkOpNQnv.js";import"./abitype-BPD9VTcr.js";import"./noble-crypto-98ScpeiG.js";import"./eventemitter-B4232wGv.js";import"./protobuf-Dn4ZHMx_.js";import"./injective-proto-D1MpQrBy.js";import"./ethers-CoO29uId.js";import"./bn-elliptic-D8j0A-vp.js";import"./points-O8MknhAO.js";import"./wallet-wallet-connect-Cp5viB7e.js";import"./buffer-polyfill-D_Xc0ElF.js";import"./wallet-turnkey-CoDH5EF6.js";import"./wallet-trezor-B4L32JaD.js";import"./wallet-ledger-w5cnqxVK.js";const D={class:"container mx-auto px-4 sm:px-12 py-12"},J={class:"flex items-center justify-between"},T={class:"flex items-center gap-2"},E=["onClick"],G={class:"flex items-center gap-1"},I={class:"flex items-center gap-1"},$={class:"flex items-start gap-2 text-xs mt-4"},q={class:"text-wrap"},de=w({__name:"locales",setup(H){const{locales:c}=O(),{copy:b}=j(),m={en:A(),zh:F(),kr:V(),tr:N()},u=d(!1),y=d(c.value?.[0]?.code||""),i=d({});B(()=>{c.value?.[1]?.code&&x(c.value[1].code)});function k(){b(JSON.stringify(i.value,null,2)),u.value=!0,setTimeout(()=>{u.value=!1},3e3)}function x(e){y.value=e,e==="en"?i.value=m.en:i.value=h(m.en,m[e])}function _(e){if(typeof e!="object"||e===null)return e;const s=Array.isArray(e)?[]:{};for(const t in e)s[t]=_(e[t]);return s}function h(e,s){const t={};for(const n in e){const r=e[n],C=s?.[n],g=r!==null&&!Array.isArray(r)&&typeof r=="object";if(s&&!(n in s))t[n]=g?_(r):r;else if(g){const v=h(r,C);Object.keys(v).length>0&&(t[n]=v)}}return t}return(e,s)=>(p(),l("div",D,[o("article",J,[o("div",T,[(p(!0),l(M,null,S(a(c),(t,n)=>(p(),l("button",{key:n,type:"button",class:z([{"mr-5":t.code==="en"},t.code===a(y)?"bg-primary-500 hover:bg-primary-500/80":"bg-neutral-700 hover:bg-neutral-700/80","flex items-center rounded-lg font-semibold outline-hidden justify-center py-2 px-4 text-sm h-[30px] max-h-[30px]"]),onClick:r=>x(t.code)},[o("div",G,[o("span",null,f(t.longName),1)])],10,E))),128))]),Object.keys(a(i)).length>0?(p(),l("button",{key:0,type:"button",class:"flex items-center rounded-lg font-semibold outline-hidden justify-center py-2 px-4 text-sm h-[30px] max-h-[30px] bg-primary-500 hover:bg-primary-500/80",onClick:k},[o("div",I,[o("span",null,f(a(u)?"Copied!":"Copy"),1)])])):L("",!0)]),o("div",$,[o("pre",q,f(a(i)),1)])]))}});export{de as default}; 2//# sourceMappingURL=locales-BiXZ6gCV.js.map
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.