"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4484,3180],{80853:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r.FeatureDetails});var r=n(44047)},6816:(e,t,n)=>{n.d(t,{d:()=>u});var r=n(66204),o=n(52682),s=n(76734),a=n(26074),i=n(43188);function c(e){return e.substring(2).toLowerCase()}function u(e){const{children:t,disableReactTree:n=!1,mouseEvent:u="onClick",onClickAway:l,touchEvent:d="onTouchEnd"}=e,m=r.useRef(!1),v=r.useRef(null),f=r.useRef(!1),g=r.useRef(!1);r.useEffect((()=>(setTimeout((()=>{f.current=!0}),0),()=>{f.current=!1})),[]);const p=(0,o.Z)(t.ref,v),b=(0,s.Z)((e=>{const t=g.current;g.current=!1;const r=(0,a.Z)(v.current);if(!f.current||!v.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(m.current)return void(m.current=!1);let o;o=e.composedPath?e.composedPath().indexOf(v.current)>-1:!r.documentElement.contains(e.target)||v.current.contains(e.target),o||!n&&t||l(e)})),h=e=>n=>{g.current=!0;const r=t.props[e];r&&r(n)},Z={ref:p};return!1!==d&&(Z[d]=h(d)),r.useEffect((()=>{if(!1!==d){const e=c(d),t=(0,a.Z)(v.current),n=()=>{m.current=!0};return t.addEventListener(e,b),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,b),t.removeEventListener("touchmove",n)}}}),[b,d]),!1!==u&&(Z[u]=h(u)),r.useEffect((()=>{if(!1!==u){const e=c(u),t=(0,a.Z)(v.current);return t.addEventListener(e,b),()=>{t.removeEventListener(e,b)}}}),[b,u]),(0,i.jsx)(r.Fragment,{children:r.cloneElement(t,Z)})}},96987:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(55559),o=n(30984),s=n(66204),a=n(56317),i=n(58029),c=n(57369),u=n(61125),l=n(41666),d=n(43188);const m=["className","component","disableGutters","variant"],v=(0,u.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),f=s.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiToolbar"}),{className:s,component:u="div",disableGutters:f=!1,variant:g="regular"}=n,p=(0,r.Z)(n,m),b=(0,o.Z)({},n,{component:u,disableGutters:f,variant:g}),h=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,i.Z)(o,l.N,t)})(b);return(0,d.jsx)(v,(0,o.Z)({as:u,className:(0,a.Z)(h.root,s),ref:t,ownerState:b},p))}))},41666:(e,t,n)=>{n.d(t,{N:()=>s,Z:()=>a});var r=n(58109),o=n(95201);function s(e){return(0,o.Z)("MuiToolbar",e)}const a=(0,r.Z)("MuiToolbar",["root","gutters","regular","dense"])}}]);
//# sourceMappingURL=4484.af5de274.chunk.js.map