import{F as c,H as l}from"./outputWidgets.4420c31f.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="edec216f-d0d8-4ac4-9701-5d1dcf751ed2",r._sentryDebugIdIdentifier="sentry-dbid-edec216f-d0d8-4ac4-9701-5d1dcf751ed2")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),d=t=>{e.value={loading:!1,result:null,error:t}},o=()=>{e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(d)};o();const s=l(()=>e.value.loading),u=l(()=>e.value.result),a=l(()=>e.value.error);return{loading:s,result:u,error:a,refetch:o}};export{i as a};
//# sourceMappingURL=asyncComputed.937eb3b8.js.map
