import{r as t,j as o}from"./vendor-react-BUCujlKS.js";const i={position:"absolute",top:0,bottom:0,textAlign:"center",whiteSpace:"normal",touchAction:"none"},c={display:"contents"};function l(){return null}function x(e){const n=t.useRef(e);return t.useInsertionEffect(()=>{n.current=e}),t.useCallback((...r)=>n.current(...r),[])}const d=t.createContext(void 0),s=t.createContext(void 0);function f(){return t.useContext(s)}function p(e,n){return typeof window>"u"&&n!=null?o.jsxs(o.Fragment,{children:[o.jsx("template",{shadowrootmode:"open",dangerouslySetInnerHTML:{__html:n}}),e]}):o.jsx(o.Fragment,{children:e})}const u=t.createContext(void 0);function C(){return t.useContext(u)}export{i as G,c as M,d as W,f as a,x as b,l as n,p as t,C as u};
