import{inject as c,reactive as s,provide as u,watchEffect as i}from"vue";function j(n){const t=Symbol("contextKey");return{useProvide:(o,r)=>{const e=s({});return u(t,e),i(()=>{Object.assign(e,o,r||{})}),e},useInject:()=>c(t,n)||{}}}export{j as default};
