import{s as o}from"./chunk-LvLJmgfZ.js";import{t as i}from"./react-Bj1aDYRI.js";import{t as a}from"./invariant-awXiPaF0.js";var e=o(i(),1),r=(0,e.createContext)(null);const s=r.Provider;function n(){let t=(0,e.useContext)(r);return a(t!==null,"usePanelSection must be used within a PanelSectionProvider"),t}function u(){return n()==="sidebar"?"vertical":"horizontal"}export{u as n,n as r,s as t};
