import{_ as h,j as i,B as p,h as v,l as B}from"./Button.BYFMD45J.js";import{b as f}from"./PageContext.CJ3pgjpT.js";const x=e=>{var{children:t,isSidebarOpen:s=!0,onSidebarToggle:o=()=>{},id:g="nav-toggle","aria-label":c="Side navigation toggle",isHamburgerButton:a,hamburgerVariant:l}=e,d=h(e,["children","isSidebarOpen","onSidebarToggle","id","aria-label","isHamburgerButton","hamburgerVariant"]);return i.jsx(f,{children:({isManagedSidebar:r,onSidebarToggle:u,isSidebarOpen:b})=>{const m=r?u:o,n=r?b:s;return i.jsx(p,Object.assign({id:g,onClick:m,"aria-label":c,"aria-expanded":n?"true":"false",variant:v.plain,isHamburger:a,hamburgerVariant:l},a&&{isExpanded:n},d,{children:!a&&t}))}})};x.displayName="PageToggleButton";const O={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,svgClassName:void 0},S=B(O);export{S as B,x as P,O as a};
