PageSourceSearch

https://zergwallet.com/_nuxt/vNUOu-ob.js

js zergwallet.com collected 2026-10-09 22:06:51 UTC 2,339 bytes, 1 lines download raw bytes

1import{_ as f}from"./BDZsAkX8.js";import{_ as k}from"./xsEKRmlm.js";import{g as v,j as x,k as _,l as w,o,c as r,a as e,m as c,b as i,w as p,d as b,F as h,r as C,t as g,n as N,p as S}from"./DDfpvU8e.js";import"./B5G3-7Pj.js";const B={class:"mx-auto max-w-2xl"},V={key:0,class:"rounded-lg border p-6",style:{"border-color":"color-mix(in srgb, var(--skin-border) 70%, transparent)"}},z={class:"flex gap-2"},A={key:1,class:"space-y-5"},F={class:"space-y-2"},L={class:"font-semibold"},T={class:"font-mono text-[11px] opacity-70"},j={key:0,class:"rounded-lg border p-3 text-sm opacity-70",style:{"border-color":"color-mix(in srgb, var(--skin-border) 70%, transparent)"}},q=v({__name:"index",async setup(D){let t,n;const{user:m}=x();[t,n]=_(()=>x().refresh()),await t,n();const l=S([]);if(m.value){const u=([t,n]=_(()=>w()("/api/orgs").catch(()=>({organizations:[]}))),t=await t,n(),t);l.value=u.organizations}return(u,s)=>{const d=f,y=k;return o(),r("div",B,[s[4]||(s[4]=e("h1",{class:"mb-2 text-2xl font-bold",style:{color:"var(--skin-accent)"}},"Zergwallet",-1)),s[5]||(s[5]=e("p",{class:"mb-6 text-sm opacity-80"}," A unified, AI-friendly wallet system for zergs. Hold and spend USD, BTC, ETH, and tokens across chains through pluggable custody backends. ",-1)),c(m)?(o(),r("div",A,[i(y),s[3]||(s[3]=e("h2",{class:"mb-3 font-mono text-xs uppercase tracking-wider opacity-70"},"Workspaces",-1)),e("ul",F,[(o(!0),r(h,null,C(c(l),a=>(o(),r("li",{key:a.id,class:"rounded-lg border p-3",style:{"border-color":"color-mix(in srgb, var(--skin-border) 70%, transparent)"}},[i(d,{to:`/orgs/${a.id}`,class:"flex items-center justify-between"},{default:p(()=>[e("span",L,g(a.name),1),e("span",T,g(a.role),1)]),_:2},1032,["to"])]))),128)),c(l).length===0?(o(),r("li",j," No workspaces yet. ")):N("",!0)])])):(o(),r("div",V,[s[2]||(s[2]=e("p",{class:"mb-4 text-sm"},"Sign in to view your workspaces.",-1)),e("div",z,[i(d,{to:"/login",class:"rounded border px-3 py-1.5 text-sm",style:{"border-color":"color-mix(in srgb, var(--skin-accent) 60%, transparent)"}},{default:p(()=>[...s[0]||(s[0]=[b("Login",-1)])]),_:1}),i(d,{to:"/signup",class:"rounded border px-3 py-1.5 text-sm",style:{"border-color":"color-mix(in srgb, var(--skin-border) 60%, transparent)"}},{default:p(()=>[...s[1]||(s[1]=[b("Create account",-1)])]),_:1})])]))])}}});export{q 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.