const t=new WeakMap,e={setContext:(e,n={})=>{t.set(e,n)},getContext:e=>t.get(e),assertContext(e){if(!t.get(e))throw new TypeError("Invalid `this`. This function can only be invoked as a method of the component that defined it.")}};export{e as privateContext};
