1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{10193:function(e,t,s){Promise.resolve().then(s.bind(s,57340))},57340:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return m}});var a=s(57437),n=s(27648),r=s(74196),l=s(64707),c=s(45531),i=s(2265),d=s(29116),o=s(56623);function m(){var e,t;let{address:s,isConnected:m}=(0,l.m)(),{data:x}=(0,c.p)(),[h,u]=(0,i.useState)(null),[b,f]=(0,i.useState)(!1),j=(0,i.useMemo)(()=>(0,o.$)(x),[x]);return(0,i.useEffect)(()=>{s&&(f(!0),(0,d.w)(s).then(u).catch(()=>u(null)).finally(()=>f(!1)))},[s]),(0,a.jsxs)("main",{children:[(0,a.jsx)(r.h,{}),(0,a.jsxs)("div",{className:"mb-8",children:[(0,a.jsx)("h1",{className:"text-3xl font-bold mb-2 leading-tight",children:"Know Your Agent"}),(0,a.jsx)("p",{className:"text-muted text-sm leading-relaxed",children:"Register your AI agent on-chain. Stake bonds. Build real, verifiable trust in the agent economy."})]}),!m&&(0,a.jsxs)("div",{className:"card mb-4",children:[(0,a.jsx)("p",{className:"text-sm text-muted mb-3",children:"Connect your wallet to get started."}),(0,a.jsx)("div",{className:"text-xs text-muted",children:"Use the Connect button at the top right. Base network."})]}),m&&b&&(0,a.jsx)("div",{className:"card mb-4",children:(0,a.jsx)("p",{className:"text-sm text-muted",children:"Checking agent statusâ¦"})}),m&&!b&&h&&!h.registered&&(0,a.jsxs)("div",{className:"card mb-4 border-accent",children:[(0,a.jsx)("div",{className:"label mb-2",children:"Wallet connected"}),(0,a.jsx)("p",{className:"text-sm text-white mb-4",children:"This wallet is not yet registered as a Vaultfire agent."}),j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/onboard",className:"btn-primary block text-center mb-2",children:"One-tap onboard"}),(0,a.jsx)(n.default,{href:"/register",className:"btn-secondary block text-center",children:"Classic 2-step flow"}),(0,a.jsx)("p",{className:"text-xs text-muted mt-3",children:"One-tap: register + bond in a single EIP-7702 signature."})]}):(0,a.jsx)(n.default,{href:"/register",className:"btn-primary block text-center",children:"Register as Agent"})]}),m&&!b&&h&&h.registered&&(0,a.jsxs)("div",{className:"card mb-4",children:[(0,a.jsx)("div",{className:"label mb-2",children:"Your Agent"}),(0,a.jsx)("div",{className:"text-xl font-bold text-white mb-1",children:null!==(t=null!==(e=h.vnsName)&&void 0!==e?e:h.name)&&void 0!==t?t:"agent"}),(0,a.jsxs)("div",{className:"text-xs font-mono text-muted mb-4",children:[null==s?void 0:s.slice(0,6),"â¦",null==s?void 0:s.slice(-4)]}),(0,a.jsxs)("div",{className:"flex gap-2 mb-2",children:[(0,a.jsx)(n.default,{href:"/status",className:"btn-secondary text-center flex-1",children:"View details"}),(0,a.jsx)(n.default,{href:"/bonds",className:"btn-primary text-center flex-1",children:"Bonds"})]}),(0,a.jsx)(n.default,{href:"/streetcred",className:"btn-secondary block text-center",children:"Street Cred badge â"})]}),(0,a.jsxs)("div",{className:"mt-8 space-y-3",children:[(0,a.jsxs)("div",{className:"card",children:[(0,a.jsx)("div",{className:"label mb-1",children:"Built on"}),(0,a.jsx)("p",{className:"text-sm text-white",children:"Base mainnet \xb7 ERC-8004 identity \xb7 Four bond types \xb7 Open protocol"})]}),(0,a.jsxs)("div",{className:"card",children:[(0,a.jsx)("div",{className:"label mb-1",children:"The principle"}),(0,a.jsx)("p",{className:"text-sm text-white leading-relaxed",children:"Human thriving over extraction. AI and humans grow together, never above."})]})]}),(0,a.jsx)("footer",{className:"mt-10 text-center text-xs text-muted",children:(0,a.jsx)("a",{href:"https://theloopbreaker.com",className:"hover:text-white transition-colors",children:"theloopbreaker.com"})})]})}},29116:function(e,t,s){"use strict";s.d(t,{w:function(){return n}});var a=s(60919);async function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"base",s=await fetch("".concat(a.Xb,"/api/agent/status?address=").concat(e,"&chain=").concat(t),{cache:"no-store"});if(!s.ok)throw Error("status ".concat(s.status));return s.json()}}},function(e){e.O(0,[9472,3149,7648,5531,2054,7104,2971,2117,1744],function(){return e(e.s=10193)}),_N_E=e.O()}]);
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.