import{D as s}from"./p-3c3b4f3f.js";class t{constructor(i,h=!1,o){this.beforeFetch=()=>new t(this.data,!0,void 0),this.afterFetch=i=>new t(s.decode(i),!1,void 0),this.afterFetchError=s=>new t(this.data,!1,s),this.data=i,this.error=o,this.isPending=h}}t.init=()=>new t;export{t as I}