@origintrail-official/dkg-node-ui 10.0.18 → 10.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/chain-cursor-stores.d.ts +17 -0
  2. package/dist/chain-cursor-stores.d.ts.map +1 -1
  3. package/dist/chain-cursor-stores.js +37 -0
  4. package/dist/chain-cursor-stores.js.map +1 -1
  5. package/dist/chain-event-log-store.d.ts +31 -0
  6. package/dist/chain-event-log-store.d.ts.map +1 -1
  7. package/dist/chain-event-log-store.js +87 -13
  8. package/dist/chain-event-log-store.js.map +1 -1
  9. package/dist/db.d.ts +1 -1
  10. package/dist/db.d.ts.map +1 -1
  11. package/dist/db.js +27 -1
  12. package/dist/db.js.map +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist-ui/assets/{3d-force-graph-DGF2sXeK.js → 3d-force-graph-CehOGxux.js} +1 -1
  18. package/dist-ui/assets/{ActivityFeed-DNatshHL.js → ActivityFeed-BE4MTD8M.js} +1 -1
  19. package/dist-ui/assets/{AgentHub-lOm96XuE.js → AgentHub-CT6UhLF2.js} +1 -1
  20. package/dist-ui/assets/{AgentProfilePage-BRtazufK.js → AgentProfilePage-ygi-GXKM.js} +1 -1
  21. package/dist-ui/assets/{ApproveWalletsModal-BMtRgndO.js → ApproveWalletsModal-YFfDrGth.js} +3 -3
  22. package/dist-ui/assets/{ContextGraphPrimitives-CBc6kvmp.js → ContextGraphPrimitives-Dh-w2D_i.js} +1 -1
  23. package/dist-ui/assets/{ConvictionDetailView-DOTYSm7p.js → ConvictionDetailView-CfRmqqDD.js} +2 -2
  24. package/dist-ui/assets/MemoryLayerView-DL0zLYAQ.js +2 -0
  25. package/dist-ui/assets/{MemoryStackView-Bol2eMyq.js → MemoryStackView-BsV_JnOe.js} +1 -1
  26. package/dist-ui/assets/{Network-B49IxpAj.js → Network-BkxRENe4.js} +1 -1
  27. package/dist-ui/assets/{OnChainProvenanceCard-BpUoHg4b.js → OnChainProvenanceCard-CnnkMMNI.js} +1 -1
  28. package/dist-ui/assets/{Operations-BCQ545Yk.js → Operations-BaWWLSUw.js} +1 -1
  29. package/dist-ui/assets/{ProjectView-BaQQSy8L.js → ProjectView-BJmZ5f62.js} +31 -31
  30. package/dist-ui/assets/{PublishingConviction-B5nWRsUP.js → PublishingConviction-CKB6JBYk.js} +2 -2
  31. package/dist-ui/assets/{Settings-DeZKX_Ry.js → Settings-DXGMPiJk.js} +1 -1
  32. package/dist-ui/assets/{browserWalletTransaction-B6wyaMOV.js → browserWalletTransaction-BdmrJpK1.js} +3 -3
  33. package/dist-ui/assets/{ccip-B_vQl40F.js → ccip-BNYiIkjs.js} +1 -1
  34. package/dist-ui/assets/{index-CT-LdpBE.js → index-DK8XzE3T.js} +92 -92
  35. package/dist-ui/assets/{index-DHd3qhAk.js → index-DOGXDQkQ.js} +3 -3
  36. package/dist-ui/assets/{jsonld-32FQRO67-BYu8pE-5.js → jsonld-32FQRO67-Ca-KnQfb.js} +2 -2
  37. package/dist-ui/assets/{jsonld-Crm5iwcE.js → jsonld-mRC9FbFR.js} +1 -1
  38. package/dist-ui/assets/{renderer-3d-2EVDZII7-C2z5aUgo.js → renderer-3d-2EVDZII7-AEMBPIY7.js} +2 -2
  39. package/dist-ui/assets/{shikiHighlighter-DW1fRfBU.js → shikiHighlighter-CUQ07vzt.js} +1 -1
  40. package/dist-ui/assets/{useEntityOnChainReceipt-0Ub24t6e.js → useEntityOnChainReceipt-C8NHlPPN.js} +1 -1
  41. package/dist-ui/assets/{useProjectActivity-CLza3psq.js → useProjectActivity-CVFCfbMj.js} +1 -1
  42. package/dist-ui/index.html +1 -1
  43. package/package.json +3 -3
  44. package/dist-ui/assets/MemoryLayerView-DDFI2ngR.js +0 -2
@@ -1 +1 @@
1
- import{bK as u,bz as x,bc as v,aO as e,bD as j,bL as b,bC as y}from"./index-CT-LdpBE.js";import{r as N}from"./useProjectActivity-CLza3psq.js";const k=[{key:"working",title:"Working Memory",short:"WM",icon:"◇",color:"#64748b",desc:"Private agent drafts",tabPrefix:"wm"},{key:"shared",title:"Shared Working Memory",short:"SWM",icon:"◈",color:"#f59e0b",desc:"Team proposals",tabPrefix:"swm"},{key:"verified",title:"Verifiable Memory",short:"VM",icon:"◉",color:"#22c55e",desc:"On-chain knowledge",tabPrefix:"vm"}],f=["http://purl.org/dc/terms/created","http://dkg.io/ontology/github/mergedAt","http://dkg.io/ontology/github/closedAt","http://dkg.io/ontology/decisions/date","http://dkg.io/ontology/tasks/dueDate"];function $(){const{contextGraphs:s}=u(),{hidden:a}=x(),l=v.useMemo(()=>s.filter(t=>!a.has(t.id)),[s,a]);return e.jsxs("div",{className:"v10-memstack",children:[e.jsxs("div",{className:"v10-memstack-head",children:[e.jsx("h1",{className:"v10-memstack-title",children:"Memory Stack"}),e.jsxs("p",{className:"v10-memstack-sub",children:["Every layer across every context graph, at a glance. ",l.length," visible context graph",l.length===1?"":"s"," · hidden context graphs are skipped."]})]}),l.length===0?e.jsx("div",{className:"v10-memstack-empty",children:"No visible context graphs. Create one from the sidebar or un-hide dismissed ones."}):e.jsxs("div",{className:"v10-memstack-table",children:[e.jsxs("div",{className:"v10-memstack-colheads",children:[e.jsx("div",{className:"v10-memstack-colhead project"}),k.map(t=>e.jsxs("div",{className:"v10-memstack-colhead",style:{color:t.color},children:[e.jsx("span",{className:"v10-memstack-colhead-icon",children:t.icon}),e.jsx("span",{className:"v10-memstack-colhead-title",children:t.title}),e.jsx("span",{className:"v10-memstack-colhead-desc",children:t.desc})]},t.key))]}),l.map(t=>e.jsx(g,{cg:t},t.id))]})]})}function g({cg:s}){const a=j(s.id),{openTab:l}=b(),t=y(a),r=v.useMemo(()=>{const c={working:{entities:[],tripleCount:t.wm},shared:{entities:[],tripleCount:t.swm},verified:{entities:[],tripleCount:t.vm}};for(const i of a.entityList)c[i.trustLevel].entities.push(i);for(const i of Object.keys(c))c[i].entities.sort((o,n)=>{const d=h(o),p=h(n);return d&&p?p-d:d?-1:p?1:o.label.localeCompare(n.label)});return c},[a.entityList,t]),m=()=>l({id:`project:${s.id}`,label:s.name||s.id.slice(0,16),closable:!0});return e.jsxs("div",{className:"v10-memstack-row",children:[e.jsxs("div",{className:"v10-memstack-project",children:[e.jsxs("button",{type:"button",className:"v10-memstack-project-btn",onClick:m,children:[e.jsx("span",{className:"v10-memstack-project-dot"}),e.jsx("span",{className:"v10-memstack-project-name",children:s.name||s.id})]}),s.description&&e.jsx("div",{className:"v10-memstack-project-desc",title:s.description,children:s.description}),a.loading&&!a.entityList.length&&e.jsx("div",{className:"v10-memstack-project-status",children:"loading…"}),a.error&&e.jsx("div",{className:"v10-memstack-project-status error",children:a.error})]}),k.map(c=>{const i=r[c.key];return e.jsx(C,{cgId:s.id,color:c.color,layerTitle:c.title,tabPrefix:c.tabPrefix,entityCount:i.entities.length,tripleCount:i.tripleCount,recent:i.entities.slice(0,4),onOpenLayer:()=>l({id:`${c.tabPrefix}:${s.id}`,label:`${c.short} · ${s.name||s.id.slice(0,12)}`,closable:!0})},c.key)})]})}function C({cgId:s,color:a,layerTitle:l,tabPrefix:t,entityCount:r,tripleCount:m,recent:c,onOpenLayer:i}){const o=r===0;return e.jsxs("div",{className:`v10-memstack-cell${o?" empty":""}`,style:{"--cell-color":a},children:[e.jsxs("div",{className:"v10-memstack-cell-stats",children:[e.jsx("span",{className:"v10-memstack-cell-n",children:r}),e.jsxs("span",{className:"v10-memstack-cell-n-lbl",children:["entit",r===1?"y":"ies"]}),e.jsx("span",{className:"v10-memstack-cell-sep",children:"·"}),e.jsx("span",{className:"v10-memstack-cell-t",children:m.toLocaleString()}),e.jsx("span",{className:"v10-memstack-cell-t-lbl",children:"triples"})]}),c.length>0?e.jsx("ul",{className:"v10-memstack-cell-recent",children:c.map(n=>e.jsxs("li",{className:"v10-memstack-cell-recent-item",title:n.label,children:[e.jsx("span",{className:"v10-memstack-cell-recent-bullet"}),e.jsx("span",{className:"v10-memstack-cell-recent-label",children:n.label}),e.jsx("span",{className:"v10-memstack-cell-recent-time",children:N(w(n))})]},n.uri))}):e.jsxs("div",{className:"v10-memstack-cell-empty-hint",children:["Nothing in ",t.toUpperCase()," yet"]}),!o&&e.jsxs("button",{type:"button",className:"v10-memstack-cell-open",onClick:i,title:`Open ${l}`,children:["Open ",t.toUpperCase()," →"]})]})}function h(s){var a;for(const l of f){const t=(a=s.properties.get(l))==null?void 0:a[0];if(!t)continue;const r=new Date(t.replace(/^"|"$/g,"").replace(/^"(.+)"(?:@\w+|\^\^.+)?$/,"$1"));if(Number.isFinite(r.getTime()))return r.getTime()}return null}function w(s){const a=h(s);return a?new Date(a):null}export{$ as MemoryStackView};
1
+ import{bL as u,bA as x,bd as v,aO as e,bE as j,bM as b,bD as y}from"./index-DK8XzE3T.js";import{r as N}from"./useProjectActivity-CVFCfbMj.js";const k=[{key:"working",title:"Working Memory",short:"WM",icon:"◇",color:"#64748b",desc:"Private agent drafts",tabPrefix:"wm"},{key:"shared",title:"Shared Working Memory",short:"SWM",icon:"◈",color:"#f59e0b",desc:"Team proposals",tabPrefix:"swm"},{key:"verified",title:"Verifiable Memory",short:"VM",icon:"◉",color:"#22c55e",desc:"On-chain knowledge",tabPrefix:"vm"}],f=["http://purl.org/dc/terms/created","http://dkg.io/ontology/github/mergedAt","http://dkg.io/ontology/github/closedAt","http://dkg.io/ontology/decisions/date","http://dkg.io/ontology/tasks/dueDate"];function $(){const{contextGraphs:s}=u(),{hidden:a}=x(),l=v.useMemo(()=>s.filter(t=>!a.has(t.id)),[s,a]);return e.jsxs("div",{className:"v10-memstack",children:[e.jsxs("div",{className:"v10-memstack-head",children:[e.jsx("h1",{className:"v10-memstack-title",children:"Memory Stack"}),e.jsxs("p",{className:"v10-memstack-sub",children:["Every layer across every context graph, at a glance. ",l.length," visible context graph",l.length===1?"":"s"," · hidden context graphs are skipped."]})]}),l.length===0?e.jsx("div",{className:"v10-memstack-empty",children:"No visible context graphs. Create one from the sidebar or un-hide dismissed ones."}):e.jsxs("div",{className:"v10-memstack-table",children:[e.jsxs("div",{className:"v10-memstack-colheads",children:[e.jsx("div",{className:"v10-memstack-colhead project"}),k.map(t=>e.jsxs("div",{className:"v10-memstack-colhead",style:{color:t.color},children:[e.jsx("span",{className:"v10-memstack-colhead-icon",children:t.icon}),e.jsx("span",{className:"v10-memstack-colhead-title",children:t.title}),e.jsx("span",{className:"v10-memstack-colhead-desc",children:t.desc})]},t.key))]}),l.map(t=>e.jsx(g,{cg:t},t.id))]})]})}function g({cg:s}){const a=j(s.id),{openTab:l}=b(),t=y(a),r=v.useMemo(()=>{const c={working:{entities:[],tripleCount:t.wm},shared:{entities:[],tripleCount:t.swm},verified:{entities:[],tripleCount:t.vm}};for(const i of a.entityList)c[i.trustLevel].entities.push(i);for(const i of Object.keys(c))c[i].entities.sort((o,n)=>{const d=h(o),p=h(n);return d&&p?p-d:d?-1:p?1:o.label.localeCompare(n.label)});return c},[a.entityList,t]),m=()=>l({id:`project:${s.id}`,label:s.name||s.id.slice(0,16),closable:!0});return e.jsxs("div",{className:"v10-memstack-row",children:[e.jsxs("div",{className:"v10-memstack-project",children:[e.jsxs("button",{type:"button",className:"v10-memstack-project-btn",onClick:m,children:[e.jsx("span",{className:"v10-memstack-project-dot"}),e.jsx("span",{className:"v10-memstack-project-name",children:s.name||s.id})]}),s.description&&e.jsx("div",{className:"v10-memstack-project-desc",title:s.description,children:s.description}),a.loading&&!a.entityList.length&&e.jsx("div",{className:"v10-memstack-project-status",children:"loading…"}),a.error&&e.jsx("div",{className:"v10-memstack-project-status error",children:a.error})]}),k.map(c=>{const i=r[c.key];return e.jsx(C,{cgId:s.id,color:c.color,layerTitle:c.title,tabPrefix:c.tabPrefix,entityCount:i.entities.length,tripleCount:i.tripleCount,recent:i.entities.slice(0,4),onOpenLayer:()=>l({id:`${c.tabPrefix}:${s.id}`,label:`${c.short} · ${s.name||s.id.slice(0,12)}`,closable:!0})},c.key)})]})}function C({cgId:s,color:a,layerTitle:l,tabPrefix:t,entityCount:r,tripleCount:m,recent:c,onOpenLayer:i}){const o=r===0;return e.jsxs("div",{className:`v10-memstack-cell${o?" empty":""}`,style:{"--cell-color":a},children:[e.jsxs("div",{className:"v10-memstack-cell-stats",children:[e.jsx("span",{className:"v10-memstack-cell-n",children:r}),e.jsxs("span",{className:"v10-memstack-cell-n-lbl",children:["entit",r===1?"y":"ies"]}),e.jsx("span",{className:"v10-memstack-cell-sep",children:"·"}),e.jsx("span",{className:"v10-memstack-cell-t",children:m.toLocaleString()}),e.jsx("span",{className:"v10-memstack-cell-t-lbl",children:"triples"})]}),c.length>0?e.jsx("ul",{className:"v10-memstack-cell-recent",children:c.map(n=>e.jsxs("li",{className:"v10-memstack-cell-recent-item",title:n.label,children:[e.jsx("span",{className:"v10-memstack-cell-recent-bullet"}),e.jsx("span",{className:"v10-memstack-cell-recent-label",children:n.label}),e.jsx("span",{className:"v10-memstack-cell-recent-time",children:N(M(n))})]},n.uri))}):e.jsxs("div",{className:"v10-memstack-cell-empty-hint",children:["Nothing in ",t.toUpperCase()," yet"]}),!o&&e.jsxs("button",{type:"button",className:"v10-memstack-cell-open",onClick:i,title:`Open ${l}`,children:["Open ",t.toUpperCase()," →"]})]})}function h(s){var a;for(const l of f){const t=(a=s.properties.get(l))==null?void 0:a[0];if(!t)continue;const r=new Date(t.replace(/^"|"$/g,"").replace(/^"(.+)"(?:@\w+|\^\^.+)?$/,"$1"));if(Number.isFinite(r.getTime()))return r.getTime()}return null}function M(s){const a=h(s);return a?new Date(a):null}export{$ as MemoryStackView};
@@ -1 +1 @@
1
- import{by as r,aO as e,g as o,bh as d,an as l,V as h,Q as x}from"./index-CT-LdpBE.js";function j({agent:s}){if(s.connectionStatus==="self")return e.jsx("span",{className:"badge",style:{background:"var(--text-muted)"},children:"Self"});if(s.connectionStatus==="connected"){const n=s.connectionTransport==="relayed"?"Relayed":"Direct",i=s.connectedSinceMs?` · ${l(s.connectedSinceMs)}`:"";return e.jsxs("span",{className:"badge badge-success",title:`${s.connectionDirection??""} ${n.toLowerCase()} connection${i}`,children:[n,i]})}return e.jsx("span",{className:"badge",style:{background:"var(--error)"},children:"Disconnected"})}function v(){const{data:s}=r(h,[],1e4),{data:n}=r(x,[],15e3),i=(s==null?void 0:s.connections)??[],a=(n==null?void 0:n.agents)??[];return e.jsxs("div",{children:[e.jsxs(o,{to:"/",className:"page-back-link",style:{display:"inline-flex",alignItems:"center",gap:6,marginBottom:12,fontSize:13,color:"var(--text-secondary)",textDecoration:"none"},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M19 12H5"}),e.jsx("path",{d:"M12 19l-7-7 7-7"})]}),"Back to dashboard"]}),e.jsx("h1",{className:"page-title",children:"Network"}),e.jsxs("div",{className:"stats-grid",children:[e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Total Connections"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.total)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Direct"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.direct)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Relayed"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.relayed)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Known Agents"}),e.jsx("div",{className:"stat-value",children:a.length})]})]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"card-title",children:"Active Connections"}),i.length===0?e.jsxs("div",{className:"empty-state empty-state--compact",children:[e.jsx("div",{className:"empty-state-icon",children:e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"M12 5l7 7-7 7"})]})}),e.jsx("div",{className:"empty-state-title",children:"No active connections"}),e.jsx("div",{className:"empty-state-desc",children:"Connections will appear here as your node links with peers on the network."})]}):e.jsxs("table",{className:"data-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Peer"}),e.jsx("th",{children:"Transport"}),e.jsx("th",{children:"Direction"}),e.jsx("th",{children:"Remote Address"}),e.jsx("th",{children:"Duration"})]})}),e.jsx("tbody",{children:i.map((t,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"mono",children:d(t.peerId,12)}),e.jsx("td",{children:e.jsx("span",{className:`badge ${t.transport==="direct"?"badge-success":"badge-info"}`,children:t.transport})}),e.jsx("td",{children:t.direction}),e.jsx("td",{className:"mono",style:{fontSize:11},children:t.remoteAddr}),e.jsx("td",{children:l(t.durationMs)})]},c))})]})]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"card-title",children:"Discovered Agents"}),a.length===0?e.jsxs("div",{className:"empty-state empty-state--compact",children:[e.jsx("div",{className:"empty-state-icon",children:e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"11",cy:"11",r:"8"}),e.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}),e.jsx("div",{className:"empty-state-title",children:"No agents discovered"}),e.jsx("div",{className:"empty-state-desc",children:"Agents will be listed here as they are discovered through the network."})]}):e.jsxs("table",{className:"data-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Name"}),e.jsx("th",{children:"PeerId"}),e.jsx("th",{children:"Framework"}),e.jsx("th",{children:"Role"}),e.jsx("th",{children:"Connection"})]})}),e.jsx("tbody",{children:a.map((t,c)=>e.jsxs("tr",{children:[e.jsx("td",{style:{fontWeight:600},children:t.name}),e.jsx("td",{className:"mono",children:d(t.peerId,12)}),e.jsx("td",{children:t.framework??"—"}),e.jsx("td",{children:t.nodeRole??"—"}),e.jsx("td",{children:e.jsx(j,{agent:t})})]},c))})]})]})]})}export{v as NetworkPage};
1
+ import{bz as r,aO as e,g as o,bi as d,an as l,V as h,Q as x}from"./index-DK8XzE3T.js";function j({agent:s}){if(s.connectionStatus==="self")return e.jsx("span",{className:"badge",style:{background:"var(--text-muted)"},children:"Self"});if(s.connectionStatus==="connected"){const n=s.connectionTransport==="relayed"?"Relayed":"Direct",i=s.connectedSinceMs?` · ${l(s.connectedSinceMs)}`:"";return e.jsxs("span",{className:"badge badge-success",title:`${s.connectionDirection??""} ${n.toLowerCase()} connection${i}`,children:[n,i]})}return e.jsx("span",{className:"badge",style:{background:"var(--error)"},children:"Disconnected"})}function v(){const{data:s}=r(h,[],1e4),{data:n}=r(x,[],15e3),i=(s==null?void 0:s.connections)??[],a=(n==null?void 0:n.agents)??[];return e.jsxs("div",{children:[e.jsxs(o,{to:"/",className:"page-back-link",style:{display:"inline-flex",alignItems:"center",gap:6,marginBottom:12,fontSize:13,color:"var(--text-secondary)",textDecoration:"none"},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M19 12H5"}),e.jsx("path",{d:"M12 19l-7-7 7-7"})]}),"Back to dashboard"]}),e.jsx("h1",{className:"page-title",children:"Network"}),e.jsxs("div",{className:"stats-grid",children:[e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Total Connections"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.total)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Direct"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.direct)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Relayed"}),e.jsx("div",{className:"stat-value",children:(s==null?void 0:s.relayed)??"—"})]}),e.jsxs("div",{className:"stat-card",children:[e.jsx("div",{className:"stat-label",children:"Known Agents"}),e.jsx("div",{className:"stat-value",children:a.length})]})]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"card-title",children:"Active Connections"}),i.length===0?e.jsxs("div",{className:"empty-state empty-state--compact",children:[e.jsx("div",{className:"empty-state-icon",children:e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"M12 5l7 7-7 7"})]})}),e.jsx("div",{className:"empty-state-title",children:"No active connections"}),e.jsx("div",{className:"empty-state-desc",children:"Connections will appear here as your node links with peers on the network."})]}):e.jsxs("table",{className:"data-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Peer"}),e.jsx("th",{children:"Transport"}),e.jsx("th",{children:"Direction"}),e.jsx("th",{children:"Remote Address"}),e.jsx("th",{children:"Duration"})]})}),e.jsx("tbody",{children:i.map((t,c)=>e.jsxs("tr",{children:[e.jsx("td",{className:"mono",children:d(t.peerId,12)}),e.jsx("td",{children:e.jsx("span",{className:`badge ${t.transport==="direct"?"badge-success":"badge-info"}`,children:t.transport})}),e.jsx("td",{children:t.direction}),e.jsx("td",{className:"mono",style:{fontSize:11},children:t.remoteAddr}),e.jsx("td",{children:l(t.durationMs)})]},c))})]})]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"card-title",children:"Discovered Agents"}),a.length===0?e.jsxs("div",{className:"empty-state empty-state--compact",children:[e.jsx("div",{className:"empty-state-icon",children:e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"11",cy:"11",r:"8"}),e.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}),e.jsx("div",{className:"empty-state-title",children:"No agents discovered"}),e.jsx("div",{className:"empty-state-desc",children:"Agents will be listed here as they are discovered through the network."})]}):e.jsxs("table",{className:"data-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Name"}),e.jsx("th",{children:"PeerId"}),e.jsx("th",{children:"Framework"}),e.jsx("th",{children:"Role"}),e.jsx("th",{children:"Connection"})]})}),e.jsx("tbody",{children:a.map((t,c)=>e.jsxs("tr",{children:[e.jsx("td",{style:{fontWeight:600},children:t.name}),e.jsx("td",{className:"mono",children:d(t.peerId,12)}),e.jsx("td",{children:t.framework??"—"}),e.jsx("td",{children:t.nodeRole??"—"}),e.jsx("td",{children:e.jsx(j,{agent:t})})]},c))})]})]})]})}export{v as NetworkPage};
@@ -1 +1 @@
1
- import{bc as h,aO as e}from"./index-CT-LdpBE.js";import{u as x}from"./index-DHd3qhAk.js";import{u as N,t as r}from"./useEntityOnChainReceipt-0Ub24t6e.js";import"./string-DtUow4KV.js";const b={wm:"This entity lives in Working Memory — a private local draft. It gets an on-chain anchor only after it is promoted and published to Verifiable Memory.",swm:"This entity lives in Shared Working Memory. It is not anchored on-chain until it is published to Verifiable Memory.",vm:"No on-chain receipt found for this entity yet. It may still be settling, or it was read back from a pre-cutover graph."},w=({contextGraphId:t,layer:a,explorerUrl:l})=>{const{selectedNode:n}=x(),[p,d]=h.useState(null),s=(n==null?void 0:n.id)??null;h.useEffect(()=>{d(null)},[s]);const v=!!s&&s!==p,i=N(t,s,v);if(!v||!n)return null;const o=y=>{var m;(m=navigator.clipboard)==null||m.writeText(y).catch(()=>{})},u=n.label||n.id,c=i.status==="verified";return e.jsxs("div",{className:`v10-graph-prov-card${c?" verified":""}`,role:"dialog","aria-label":"On-chain provenance",children:[e.jsxs("div",{className:"v10-graph-prov-head",children:[e.jsx("span",{className:"v10-graph-prov-glyph",children:c?"◉":"◌"}),e.jsx("span",{className:"v10-graph-prov-title",children:"On-chain provenance"}),c&&e.jsx("span",{className:"v10-graph-prov-badge",children:"VERIFIED"}),e.jsx("button",{type:"button",className:"v10-graph-prov-close",onClick:()=>d(s),"aria-label":"Dismiss",title:"Dismiss",children:"×"})]}),e.jsx("div",{className:"v10-graph-prov-entity",title:n.id,children:u}),i.status==="loading"&&e.jsx("div",{className:"v10-graph-prov-muted",children:"Resolving on-chain identity…"}),i.status==="error"&&e.jsx("div",{className:"v10-graph-prov-muted",children:"Couldn’t load on-chain identity."}),i.status==="offchain"&&e.jsxs("div",{className:"v10-graph-prov-offchain",children:[e.jsx("span",{className:"v10-graph-prov-offchain-tag",children:"Off-chain"}),e.jsx("p",{children:b[a??"vm"]})]}),c&&e.jsxs("div",{className:"v10-vm-identity",style:{margin:0,background:"none",border:"none",padding:0},children:[i.ual&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"UAL"}),e.jsx("span",{className:"v10-vm-identity-val mono",title:i.ual,children:i.ual}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.ual),title:"Copy UAL",children:"⎘"})]}),i.txHash&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Tx"}),l?e.jsxs("a",{className:"v10-vm-identity-val mono v10-graph-prov-link",href:`${l}/tx/${i.txHash}`,target:"_blank",rel:"noopener noreferrer",title:i.txHash,children:[r(i.txHash,10,8)," ↗"]}):e.jsx("span",{className:"v10-vm-identity-val mono",title:i.txHash,children:r(i.txHash,10,8)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.txHash),title:"Copy transaction hash",children:"⎘"})]}),i.blockNumber&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Block"}),e.jsx("span",{className:"v10-vm-identity-val mono",children:j(i.blockNumber)})]}),i.kaId&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"KA id"}),e.jsx("span",{className:"v10-vm-identity-val mono",title:i.kaId,children:r(i.kaId,8,8)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.kaId),title:"Copy KA id",children:"⎘"})]}),i.author&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Author"}),l?e.jsxs("a",{className:"v10-vm-identity-val mono v10-graph-prov-link",href:`${l}/address/${i.author}`,target:"_blank",rel:"noopener noreferrer",title:i.author,children:[r(i.author,6,4)," ↗"]}):e.jsx("span",{className:"v10-vm-identity-val mono",title:i.author,children:r(i.author,6,4)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.author),title:"Copy author address",children:"⎘"})]}),i.finalizedAt&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Finalized"}),e.jsx("span",{className:"v10-vm-identity-val",children:f(i.finalizedAt)})]})]})]})};function j(t){const a=Number.parseInt(t,10);return Number.isFinite(a)?a.toLocaleString():t}function f(t){const a=new Date(t.replace(/^"|"$/g,""));return Number.isFinite(a.getTime())?a.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}):t}export{w as OnChainProvenanceCard};
1
+ import{bd as h,aO as e}from"./index-DK8XzE3T.js";import{u as x}from"./index-DOGXDQkQ.js";import{u as N,t as r}from"./useEntityOnChainReceipt-C8NHlPPN.js";import"./string-DtUow4KV.js";const b={wm:"This entity lives in Working Memory — a private local draft. It gets an on-chain anchor only after it is promoted and published to Verifiable Memory.",swm:"This entity lives in Shared Working Memory. It is not anchored on-chain until it is published to Verifiable Memory.",vm:"No on-chain receipt found for this entity yet. It may still be settling, or it was read back from a pre-cutover graph."},w=({contextGraphId:t,layer:a,explorerUrl:l})=>{const{selectedNode:n}=x(),[p,d]=h.useState(null),s=(n==null?void 0:n.id)??null;h.useEffect(()=>{d(null)},[s]);const v=!!s&&s!==p,i=N(t,s,v);if(!v||!n)return null;const o=y=>{var m;(m=navigator.clipboard)==null||m.writeText(y).catch(()=>{})},u=n.label||n.id,c=i.status==="verified";return e.jsxs("div",{className:`v10-graph-prov-card${c?" verified":""}`,role:"dialog","aria-label":"On-chain provenance",children:[e.jsxs("div",{className:"v10-graph-prov-head",children:[e.jsx("span",{className:"v10-graph-prov-glyph",children:c?"◉":"◌"}),e.jsx("span",{className:"v10-graph-prov-title",children:"On-chain provenance"}),c&&e.jsx("span",{className:"v10-graph-prov-badge",children:"VERIFIED"}),e.jsx("button",{type:"button",className:"v10-graph-prov-close",onClick:()=>d(s),"aria-label":"Dismiss",title:"Dismiss",children:"×"})]}),e.jsx("div",{className:"v10-graph-prov-entity",title:n.id,children:u}),i.status==="loading"&&e.jsx("div",{className:"v10-graph-prov-muted",children:"Resolving on-chain identity…"}),i.status==="error"&&e.jsx("div",{className:"v10-graph-prov-muted",children:"Couldn’t load on-chain identity."}),i.status==="offchain"&&e.jsxs("div",{className:"v10-graph-prov-offchain",children:[e.jsx("span",{className:"v10-graph-prov-offchain-tag",children:"Off-chain"}),e.jsx("p",{children:b[a??"vm"]})]}),c&&e.jsxs("div",{className:"v10-vm-identity",style:{margin:0,background:"none",border:"none",padding:0},children:[i.ual&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"UAL"}),e.jsx("span",{className:"v10-vm-identity-val mono",title:i.ual,children:i.ual}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.ual),title:"Copy UAL",children:"⎘"})]}),i.txHash&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Tx"}),l?e.jsxs("a",{className:"v10-vm-identity-val mono v10-graph-prov-link",href:`${l}/tx/${i.txHash}`,target:"_blank",rel:"noopener noreferrer",title:i.txHash,children:[r(i.txHash,10,8)," ↗"]}):e.jsx("span",{className:"v10-vm-identity-val mono",title:i.txHash,children:r(i.txHash,10,8)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.txHash),title:"Copy transaction hash",children:"⎘"})]}),i.blockNumber&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Block"}),e.jsx("span",{className:"v10-vm-identity-val mono",children:j(i.blockNumber)})]}),i.kaId&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"KA id"}),e.jsx("span",{className:"v10-vm-identity-val mono",title:i.kaId,children:r(i.kaId,8,8)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.kaId),title:"Copy KA id",children:"⎘"})]}),i.author&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Author"}),l?e.jsxs("a",{className:"v10-vm-identity-val mono v10-graph-prov-link",href:`${l}/address/${i.author}`,target:"_blank",rel:"noopener noreferrer",title:i.author,children:[r(i.author,6,4)," ↗"]}):e.jsx("span",{className:"v10-vm-identity-val mono",title:i.author,children:r(i.author,6,4)}),e.jsx("button",{type:"button",className:"v10-vm-identity-copy",onClick:()=>o(i.author),title:"Copy author address",children:"⎘"})]}),i.finalizedAt&&e.jsxs("div",{className:"v10-vm-identity-row",children:[e.jsx("span",{className:"v10-vm-identity-lbl",children:"Finalized"}),e.jsx("span",{className:"v10-vm-identity-val",children:f(i.finalizedAt)})]})]})]})};function j(t){const a=Number.parseInt(t,10);return Number.isFinite(a)?a.toLocaleString():t}function f(t){const a=new Date(t.replace(/^"|"$/g,""));return Number.isFinite(a.getTime())?a.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}):t}export{w as OnChainProvenanceCard};
@@ -1,4 +1,4 @@
1
- import{x as si,az as le,bc as $,R as P,k as ne,aO as h,by as Re,ac as Zx,ab as Jx,a9 as Qx,ad as e1,aa as t1,at as vt,a2 as r1,Z as n1,a0 as i1,a4 as a1,ag as o1,a8 as s1,an as lt,a6 as u1,a5 as c1,af as l1,bh as bi}from"./index-CT-LdpBE.js";import{h as fd,m as dd,o as Lg,d as at,a as f1,e as Gc,c as hd,f as pd,g as d1,b as Pt,i as h1}from"./string-DtUow4KV.js";function qg(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=qg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function te(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=qg(e))&&(n&&(n+=" "),n+=t);return n}var Xa,vd;function Be(){if(vd)return Xa;vd=1;var e=Array.isArray;return Xa=e,Xa}var Ya,yd;function zg(){if(yd)return Ya;yd=1;var e=typeof si=="object"&&si&&si.Object===Object&&si;return Ya=e,Ya}var Za,md;function ht(){if(md)return Za;md=1;var e=zg(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Za=r,Za}var Ja,gd;function ei(){if(gd)return Ja;gd=1;var e=ht(),t=e.Symbol;return Ja=t,Ja}var Qa,bd;function p1(){if(bd)return Qa;bd=1;var e=ei(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=r.call(o,i),u=o[i];try{o[i]=void 0;var c=!0}catch{}var f=n.call(o);return c&&(s?o[i]=u:delete o[i]),f}return Qa=a,Qa}var eo,xd;function v1(){if(xd)return eo;xd=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return eo=r,eo}var to,wd;function Tt(){if(wd)return to;wd=1;var e=ei(),t=p1(),r=v1(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:n:a&&a in Object(s)?t(s):r(s)}return to=o,to}var ro,_d;function Et(){if(_d)return ro;_d=1;function e(t){return t!=null&&typeof t=="object"}return ro=e,ro}var no,Od;function Hr(){if(Od)return no;Od=1;var e=Tt(),t=Et(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return no=n,no}var io,Sd;function sf(){if(Sd)return io;Sd=1;var e=Be(),t=Hr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return io=i,io}var ao,jd;function qt(){if(jd)return ao;jd=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return ao=e,ao}var oo,Ad;function uf(){if(Ad)return oo;Ad=1;var e=Tt(),t=qt(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var u=e(s);return u==n||u==i||u==r||u==a}return oo=o,oo}var so,Pd;function y1(){if(Pd)return so;Pd=1;var e=ht(),t=e["__core-js_shared__"];return so=t,so}var uo,Td;function m1(){if(Td)return uo;Td=1;var e=y1(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return uo=r,uo}var co,Ed;function Fg(){if(Ed)return co;Ed=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return co=r,co}var lo,Md;function g1(){if(Md)return lo;Md=1;var e=uf(),t=m1(),r=qt(),n=Fg(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,u=o.toString,c=s.hasOwnProperty,f=RegExp("^"+u.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(d){if(!r(d)||t(d))return!1;var v=e(d)?f:a;return v.test(n(d))}return lo=l,lo}var fo,Cd;function b1(){if(Cd)return fo;Cd=1;function e(t,r){return t==null?void 0:t[r]}return fo=e,fo}var ho,Id;function lr(){if(Id)return ho;Id=1;var e=g1(),t=b1();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return ho=r,ho}var po,kd;function ya(){if(kd)return po;kd=1;var e=lr(),t=e(Object,"create");return po=t,po}var vo,$d;function x1(){if($d)return vo;$d=1;var e=ya();function t(){this.__data__=e?e(null):{},this.size=0}return vo=t,vo}var yo,Nd;function w1(){if(Nd)return yo;Nd=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return yo=e,yo}var mo,Rd;function _1(){if(Rd)return mo;Rd=1;var e=ya(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return n.call(o,a)?o[a]:void 0}return mo=i,mo}var go,Dd;function O1(){if(Dd)return go;Dd=1;var e=ya(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return go=n,go}var bo,Bd;function S1(){if(Bd)return bo;Bd=1;var e=ya(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return bo=r,bo}var xo,Ld;function j1(){if(Ld)return xo;Ld=1;var e=x1(),t=w1(),r=_1(),n=O1(),i=S1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,xo=a,xo}var wo,qd;function A1(){if(qd)return wo;qd=1;function e(){this.__data__=[],this.size=0}return wo=e,wo}var _o,zd;function cf(){if(zd)return _o;zd=1;function e(t,r){return t===r||t!==t&&r!==r}return _o=e,_o}var Oo,Fd;function ma(){if(Fd)return Oo;Fd=1;var e=cf();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Oo=t,Oo}var So,Wd;function P1(){if(Wd)return So;Wd=1;var e=ma(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return So=n,So}var jo,Ud;function T1(){if(Ud)return jo;Ud=1;var e=ma();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return jo=t,jo}var Ao,Gd;function E1(){if(Gd)return Ao;Gd=1;var e=ma();function t(r){return e(this.__data__,r)>-1}return Ao=t,Ao}var Po,Hd;function M1(){if(Hd)return Po;Hd=1;var e=ma();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Po=t,Po}var To,Kd;function ga(){if(Kd)return To;Kd=1;var e=A1(),t=P1(),r=T1(),n=E1(),i=M1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,To=a,To}var Eo,Vd;function lf(){if(Vd)return Eo;Vd=1;var e=lr(),t=ht(),r=e(t,"Map");return Eo=r,Eo}var Mo,Xd;function C1(){if(Xd)return Mo;Xd=1;var e=j1(),t=ga(),r=lf();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Mo=n,Mo}var Co,Yd;function I1(){if(Yd)return Co;Yd=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Co=e,Co}var Io,Zd;function ba(){if(Zd)return Io;Zd=1;var e=I1();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Io=t,Io}var ko,Jd;function k1(){if(Jd)return ko;Jd=1;var e=ba();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return ko=t,ko}var $o,Qd;function $1(){if(Qd)return $o;Qd=1;var e=ba();function t(r){return e(this,r).get(r)}return $o=t,$o}var No,eh;function N1(){if(eh)return No;eh=1;var e=ba();function t(r){return e(this,r).has(r)}return No=t,No}var Ro,th;function R1(){if(th)return Ro;th=1;var e=ba();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return Ro=t,Ro}var Do,rh;function ff(){if(rh)return Do;rh=1;var e=C1(),t=k1(),r=$1(),n=N1(),i=R1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Do=a,Do}var Bo,nh;function Wg(){if(nh)return Bo;nh=1;var e=ff(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,s=i?i.apply(this,o):o[0],u=a.cache;if(u.has(s))return u.get(s);var c=n.apply(this,o);return a.cache=u.set(s,c)||u,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,Bo=r,Bo}var Lo,ih;function D1(){if(ih)return Lo;ih=1;var e=Wg(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return Lo=r,Lo}var qo,ah;function B1(){if(ah)return qo;ah=1;var e=D1(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,s,u,c){a.push(u?c.replace(r,"$1"):s||o)}),a});return qo=n,qo}var zo,oh;function df(){if(oh)return zo;oh=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return zo=e,zo}var Fo,sh;function L1(){if(sh)return Fo;sh=1;var e=ei(),t=df(),r=Be(),n=Hr(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return a?a.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return Fo=o,Fo}var Wo,uh;function Ug(){if(uh)return Wo;uh=1;var e=L1();function t(r){return r==null?"":e(r)}return Wo=t,Wo}var Uo,ch;function Gg(){if(ch)return Uo;ch=1;var e=Be(),t=sf(),r=B1(),n=Ug();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return Uo=i,Uo}var Go,lh;function xa(){if(lh)return Go;lh=1;var e=Hr();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Go=t,Go}var Ho,fh;function hf(){if(fh)return Ho;fh=1;var e=Gg(),t=xa();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return Ho=r,Ho}var Ko,dh;function Hg(){if(dh)return Ko;dh=1;var e=hf();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return Ko=t,Ko}var q1=Hg();const Je=le(q1);var Vo,hh;function z1(){if(hh)return Vo;hh=1;function e(t){return t==null}return Vo=e,Vo}var F1=z1();const Q=le(F1);var Xo,ph;function W1(){if(ph)return Xo;ph=1;var e=Tt(),t=Be(),r=Et(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return Xo=i,Xo}var U1=W1();const ar=le(U1);var G1=uf();const Y=le(G1);var H1=qt();const Kr=le(H1);var Yo={exports:{}},ie={};/**
1
+ import{x as si,az as le,bd as $,R as P,k as ne,aO as h,bz as Re,ac as Zx,ab as Jx,a9 as Qx,ad as e1,aa as t1,at as vt,a2 as r1,Z as n1,a0 as i1,a4 as a1,ag as o1,a8 as s1,an as lt,a6 as u1,a5 as c1,af as l1,bi}from"./index-DK8XzE3T.js";import{h as fd,m as dd,o as Lg,d as at,a as f1,e as Gc,c as hd,f as pd,g as d1,b as Pt,i as h1}from"./string-DtUow4KV.js";function qg(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=qg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function te(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=qg(e))&&(n&&(n+=" "),n+=t);return n}var Xa,vd;function Be(){if(vd)return Xa;vd=1;var e=Array.isArray;return Xa=e,Xa}var Ya,yd;function zg(){if(yd)return Ya;yd=1;var e=typeof si=="object"&&si&&si.Object===Object&&si;return Ya=e,Ya}var Za,md;function ht(){if(md)return Za;md=1;var e=zg(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Za=r,Za}var Ja,gd;function ei(){if(gd)return Ja;gd=1;var e=ht(),t=e.Symbol;return Ja=t,Ja}var Qa,bd;function p1(){if(bd)return Qa;bd=1;var e=ei(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=r.call(o,i),u=o[i];try{o[i]=void 0;var c=!0}catch{}var f=n.call(o);return c&&(s?o[i]=u:delete o[i]),f}return Qa=a,Qa}var eo,xd;function v1(){if(xd)return eo;xd=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return eo=r,eo}var to,wd;function Tt(){if(wd)return to;wd=1;var e=ei(),t=p1(),r=v1(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:n:a&&a in Object(s)?t(s):r(s)}return to=o,to}var ro,_d;function Et(){if(_d)return ro;_d=1;function e(t){return t!=null&&typeof t=="object"}return ro=e,ro}var no,Od;function Hr(){if(Od)return no;Od=1;var e=Tt(),t=Et(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return no=n,no}var io,Sd;function sf(){if(Sd)return io;Sd=1;var e=Be(),t=Hr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return io=i,io}var ao,jd;function qt(){if(jd)return ao;jd=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return ao=e,ao}var oo,Ad;function uf(){if(Ad)return oo;Ad=1;var e=Tt(),t=qt(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var u=e(s);return u==n||u==i||u==r||u==a}return oo=o,oo}var so,Pd;function y1(){if(Pd)return so;Pd=1;var e=ht(),t=e["__core-js_shared__"];return so=t,so}var uo,Td;function m1(){if(Td)return uo;Td=1;var e=y1(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return uo=r,uo}var co,Ed;function Fg(){if(Ed)return co;Ed=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return co=r,co}var lo,Md;function g1(){if(Md)return lo;Md=1;var e=uf(),t=m1(),r=qt(),n=Fg(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,u=o.toString,c=s.hasOwnProperty,f=RegExp("^"+u.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(d){if(!r(d)||t(d))return!1;var v=e(d)?f:a;return v.test(n(d))}return lo=l,lo}var fo,Cd;function b1(){if(Cd)return fo;Cd=1;function e(t,r){return t==null?void 0:t[r]}return fo=e,fo}var ho,Id;function lr(){if(Id)return ho;Id=1;var e=g1(),t=b1();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return ho=r,ho}var po,kd;function ya(){if(kd)return po;kd=1;var e=lr(),t=e(Object,"create");return po=t,po}var vo,$d;function x1(){if($d)return vo;$d=1;var e=ya();function t(){this.__data__=e?e(null):{},this.size=0}return vo=t,vo}var yo,Nd;function w1(){if(Nd)return yo;Nd=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return yo=e,yo}var mo,Rd;function _1(){if(Rd)return mo;Rd=1;var e=ya(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return n.call(o,a)?o[a]:void 0}return mo=i,mo}var go,Dd;function O1(){if(Dd)return go;Dd=1;var e=ya(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return go=n,go}var bo,Bd;function S1(){if(Bd)return bo;Bd=1;var e=ya(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return bo=r,bo}var xo,Ld;function j1(){if(Ld)return xo;Ld=1;var e=x1(),t=w1(),r=_1(),n=O1(),i=S1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,xo=a,xo}var wo,qd;function A1(){if(qd)return wo;qd=1;function e(){this.__data__=[],this.size=0}return wo=e,wo}var _o,zd;function cf(){if(zd)return _o;zd=1;function e(t,r){return t===r||t!==t&&r!==r}return _o=e,_o}var Oo,Fd;function ma(){if(Fd)return Oo;Fd=1;var e=cf();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Oo=t,Oo}var So,Wd;function P1(){if(Wd)return So;Wd=1;var e=ma(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return So=n,So}var jo,Ud;function T1(){if(Ud)return jo;Ud=1;var e=ma();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return jo=t,jo}var Ao,Gd;function E1(){if(Gd)return Ao;Gd=1;var e=ma();function t(r){return e(this.__data__,r)>-1}return Ao=t,Ao}var Po,Hd;function M1(){if(Hd)return Po;Hd=1;var e=ma();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Po=t,Po}var To,Kd;function ga(){if(Kd)return To;Kd=1;var e=A1(),t=P1(),r=T1(),n=E1(),i=M1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,To=a,To}var Eo,Vd;function lf(){if(Vd)return Eo;Vd=1;var e=lr(),t=ht(),r=e(t,"Map");return Eo=r,Eo}var Mo,Xd;function C1(){if(Xd)return Mo;Xd=1;var e=j1(),t=ga(),r=lf();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Mo=n,Mo}var Co,Yd;function I1(){if(Yd)return Co;Yd=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Co=e,Co}var Io,Zd;function ba(){if(Zd)return Io;Zd=1;var e=I1();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Io=t,Io}var ko,Jd;function k1(){if(Jd)return ko;Jd=1;var e=ba();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return ko=t,ko}var $o,Qd;function $1(){if(Qd)return $o;Qd=1;var e=ba();function t(r){return e(this,r).get(r)}return $o=t,$o}var No,eh;function N1(){if(eh)return No;eh=1;var e=ba();function t(r){return e(this,r).has(r)}return No=t,No}var Ro,th;function R1(){if(th)return Ro;th=1;var e=ba();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return Ro=t,Ro}var Do,rh;function ff(){if(rh)return Do;rh=1;var e=C1(),t=k1(),r=$1(),n=N1(),i=R1();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var c=o[s];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Do=a,Do}var Bo,nh;function Wg(){if(nh)return Bo;nh=1;var e=ff(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,s=i?i.apply(this,o):o[0],u=a.cache;if(u.has(s))return u.get(s);var c=n.apply(this,o);return a.cache=u.set(s,c)||u,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,Bo=r,Bo}var Lo,ih;function D1(){if(ih)return Lo;ih=1;var e=Wg(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return Lo=r,Lo}var qo,ah;function B1(){if(ah)return qo;ah=1;var e=D1(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,s,u,c){a.push(u?c.replace(r,"$1"):s||o)}),a});return qo=n,qo}var zo,oh;function df(){if(oh)return zo;oh=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return zo=e,zo}var Fo,sh;function L1(){if(sh)return Fo;sh=1;var e=ei(),t=df(),r=Be(),n=Hr(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return a?a.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return Fo=o,Fo}var Wo,uh;function Ug(){if(uh)return Wo;uh=1;var e=L1();function t(r){return r==null?"":e(r)}return Wo=t,Wo}var Uo,ch;function Gg(){if(ch)return Uo;ch=1;var e=Be(),t=sf(),r=B1(),n=Ug();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return Uo=i,Uo}var Go,lh;function xa(){if(lh)return Go;lh=1;var e=Hr();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Go=t,Go}var Ho,fh;function hf(){if(fh)return Ho;fh=1;var e=Gg(),t=xa();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return Ho=r,Ho}var Ko,dh;function Hg(){if(dh)return Ko;dh=1;var e=hf();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return Ko=t,Ko}var q1=Hg();const Je=le(q1);var Vo,hh;function z1(){if(hh)return Vo;hh=1;function e(t){return t==null}return Vo=e,Vo}var F1=z1();const Q=le(F1);var Xo,ph;function W1(){if(ph)return Xo;ph=1;var e=Tt(),t=Be(),r=Et(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return Xo=i,Xo}var U1=W1();const ar=le(U1);var G1=uf();const Y=le(G1);var H1=qt();const Kr=le(H1);var Yo={exports:{}},ie={};/**
2
2
  * @license React
3
3
  * react-is.production.min.js
4
4
  *