import{R as s,j as e}from"./react-B_SyE9nW.js";import{o as t,B as r,G as o}from"./index-DVx3XUkT.js";import{B as a}from"./BtnShadow-C8wlgmJV.js";import{H as n,a as i}from"./HelpMenu-Bvny7lm2.js";import{H as l}from"./useAutoUpdateServiceWorker-CvwvjXL3.js";const p=t((({sx:t,title:p})=>{const[c,j]=s.useState(null),[m,x]=s.useState(!1);return e.jsxs(r,{children:[e.jsx(a,{onClick:s=>{o.isDesktop?j(s.currentTarget):x(!0)},sx:t,children:e.jsx(n,{})}),e.jsx(i,{title:p,anchorElHelp:c,setAnchorElHelp:j}),e.jsx(l,{title:p,open:m,setOpen:x})]})}));export{p as H};