import{c as s}from"./dc0o8kHW.js";import{e as i}from"./92N1comP.js";function f(a){const e=a??{};return{overrides:e.overrides??[],fallback:e.fallback??{}}}async function u(){return s.get("/config")}async function m(a){const{data:e,meta:t,headers:r}=await s.requestRaw("GET",`/config/${a}`);return{data:e,etag:i(r),...f(t)}}async function h(a,e,t){const r={};t&&(r["If-Match"]=`"${t}"`);const{data:n,meta:o,headers:c}=await s.requestRaw("POST",`/config/${a}/revert`,{body:e,headers:r});return{data:n,etag:i(c),...f(o)}}async function p(a,e,t){const r={};t&&(r["If-Match"]=`"${t}"`);const{data:n,meta:o,headers:c}=await s.requestRaw("PATCH",`/config/${a}`,{body:e,headers:r});return{data:n,etag:i(c),...f(o)}}export{h as a,u as b,m as g,f as r,p as s};
