import{a as e,n as t}from"./chunk-BneVvdWh.js";import{t as n}from"./react-C7IZe2D1.js";function r(e){let t=a.useContext(s);return a.useMemo(function(){return typeof e==`function`?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?typeof e.components==`function`?e.components(o):e.components||o:r(e.components),a.createElement(s.Provider,{value:t},e.children)}var a,o,s,c=t((()=>{a=e(n(),1),o={},s=a.createContext(o)})),l=t((()=>{c()}));export{i as n,r,l as t};