import{d as a,a as r}from"./By4k6Jl4.js";import{b as s,d as n}from"./CVNt-uf6.js";function t(e){return`/v2/accounts/${e}/availability`}async function o(e){return(await a(t(e),{method:"POST",noThrowStatuses:[422]})).json()}function c(e){return{queryKey:[s(r(e)),"accountDetails"],queryFn:()=>n(e)}}function y(e){return{queryKey:[t(e)],queryFn:()=>o(e)}}export{y as a,c as g};