import{k as n,l as t,m as o,n as a,o as r,K as c,t as s,u as e,f as u,a as f,y as i}from"./vendor.js";import{useContext as v,useState as l,useEffect as m}from"react";import{A as p,E as h}from"./contexts.js";var b=["components","content"];function d(n,t){var o=s(n);if(e){var a=e(n);t&&(a=u(a).call(a,(function(t){return r(n,t).enumerable}))),o.push.apply(o,a)}return o}var j=function(){return v(p).options||{}},E=function(){var s=v(p),e=s.components,u=void 0===e?[]:e,f=s.content;return function(c){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?d(Object(e),!0).forEach((function(t){n(c,t,e[t])})):t?o(c,t(e)):d(Object(e)).forEach((function(n){a(c,n,r(e,n))}))}return c}({components:u,content:void 0===f?[]:f},c(s,b))},g=function(){return v(h)},x=function(n){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=l(!1),r=f(a,2),c=r[0],s=r[1];m((function(){c?n():s(!0)}),i(t=[c]).call(t,o))};export{j as a,x as b,g as c,E as u};
//# sourceMappingURL=hooks.js.map
