var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},i=(o,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of C(t))!d.call(o,n)&&n!==r&&c(o,n,{get:()=>t[n],enumerable:!(s=u(t,n))||s.enumerable});return o};var v=o=>i(c({},"__esModule",{value:!0}),o);var p={};f(p,{RootContext:()=>x,RootContextProvider:()=>P,useRootContext:()=>a});module.exports=v(p);var e=require("react"),R=require("react/jsx-runtime"),x=(0,e.createContext)(void 0),P=({children:o})=>{let t=(0,e.useRef)();return(0,R.jsx)(x.Provider,{value:{rootRef:t},children:o})},a=()=>(0,e.useContext)(x);0&&(module.exports={RootContext,RootContextProvider,useRootContext});
