UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 435 B
import{n as e}from"./rolldown-runtime-8BhlS34s.js";import{It as t,Nt as n}from"./control-ui-core-CFW9Qtjn.js";function r(e,n,r={}){let i=t.get(e);i||(i=new Map,t.set(e,i));let a=JSON.stringify([n,r.keys?.toSorted()]),o=i.get(a);if(o)return o;let s=e.request(`users.prefs.get`,r);i.set(a,s);let c=()=>{i.get(a)===s&&i.delete(a)};return s.then(e=>{e.status!==`ok`&&c()},c),s}function i(){return(i=e((()=>{n()})))()}export{r as n,i as t};