1import{j as e,L as a}from"./vendor-react-_peu2KPp.js";import{u as m}from"./vendor-state-DbRNHhEP.js";import{u as i,b7 as o}from"./index-tjoY6huT.js";import{Z as l}from"./client-BR9HzcsZ.js";import"./wallet-terra-BIAY_q8C.js";import"./crypto-DTQ8O1tF.js";function k(){const t=i(s=>s.address),r=m({queryKey:["communityTokens",t],queryFn:()=>l({manager:t}),enabled:o()&&!!t});if(!o())return e.jsx("div",{className:"max-w-[640px] mx-auto","data-testid":"my-tokens-page",children:e.jsx("div",{className:"shell-panel-strong py-8 text-center",children:"Create Token is not configured."})});if(!t)return e.jsxs("div",{className:"max-w-[640px] mx-auto","data-testid":"my-tokens-page",children:[e.jsx("h2",{className:"text-lg font-semibold uppercase tracking-wide font-heading mb-4",children:"My tokens"}),e.jsxs("p",{className:"text-sm",style:{color:"var(--ink-dim)"},"data-testid":"my-tokens-connect",children:["Connect wallet to see tokens you manage."," ",e.jsx(a,{className:"underline",to:"/token/create",children:"Create Token"})]})]});const n=r.data?.items??[];return e.jsxs("div",{className:"max-w-[640px] mx-auto","data-testid":"my-tokens-page",children:[e.jsx("h2",{className:"text-lg font-semibold uppercase tracking-wide font-heading mb-4",children:"My tokens"}),n.length===0?e.jsxs("p",{className:"text-sm",style:{color:"var(--ink-dim)"},"data-testid":"my-tokens-empty",children:["No community tokens yet."," ",e.jsx(a,{className:"underline",to:"/token/create",children:"Create Token"})]}):e.jsx("ul",{className:"space-y-2",children:n.map(s=>e.jsx("li",{className:"shell-panel-strong",children:e.jsx(a,{className:"underline break-all",to:`/token/${s.contract_address}/manage`,children:s.symbol||s.name||s.contract_address})},s.contract_address))})]})}export{k as default};
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.