import{G as f,J as l}from"./outputWidgets.eddbac36.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]="aa88950d-b9aa-4f91-a379-138968de9fba",r._sentryDebugIdIdentifier="sentry-dbid-aa88950d-b9aa-4f91-a379-138968de9fba")}catch{}})();const i=r=>{const e=f({loading:!0,result:null,error:null}),a=t=>(e.value={loading:!1,result:t,error:null},t),o=t=>{e.value={loading:!1,result:null,error:t}},n=()=>{e.value={loading:!0,result:e.value.result,error:null},r().then(a).catch(o)};n();const s=l(()=>e.value.loading),u=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:s,result:u,error:d,refetch:n}};export{i as a};
//# sourceMappingURL=asyncComputed.fbd351ba.js.map
