UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 209 B
function indexFirstByKey(e,t){let n=/* @__PURE__ */ new Map;for(let r of e){let e=t(r);n.has(e)||n.set(e,r)}return n}function dedupeByKey(e,t){return[...indexFirstByKey(e,t).values()]}export{dedupeByKey as t};