import{_ as p,j as n,B as h,h as u,k as b}from"./Button.BVfR1y85.js";import{b as m}from"./PageContext.BUbWpNW2.js";const v=e=>{var{children:t,isSidebarOpen:o=!0,onSidebarToggle:r=()=>{},id:s="nav-toggle"}=e,i=p(e,["children","isSidebarOpen","onSidebarToggle","id"]);return n.jsx(m,{children:({isManagedSidebar:a,onSidebarToggle:c,isSidebarOpen:g})=>{const d=a?c:r,l=a?g:o;return n.jsx(h,Object.assign({id:s,onClick:d,"aria-label":"Side navigation toggle","aria-expanded":l?"true":"false",variant:u.plain},i,{children:t}))}})};v.displayName="PageToggleButton";const f={name:"BarsIcon",height:512,width:448,svgPath:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z",yOffset:0,xOffset:0},O=b(f);export{O as B,v as P,f as a};
