"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[5010,4334],{13498:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});var n=r(66204),a=r(43306),o=r.n(a),s=r(86636),i=r(80846),c=r(41846);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function u({value:e}){const[t,r]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),i=String(e);return i.length>100?n.createElement(n.Fragment,null,n.createElement("button",{type:"button",onClick:()=>{o()(i),s(!0),setTimeout((()=>{s(!1)}),700)}},a?"Copied to clipboard":"Copy"),n.createElement("button",{type:"button",onClick:()=>r((e=>!e))},t?"Show less":"Show more"),n.createElement("div",null,t?i:`${i.slice(0,100)}...`)):n.createElement("div",null,i)}function d(e){return n.createElement(c.BaseAttributes,l({},e,{formatter:e=>n.createElement(u,{value:e})}))}const m=(0,i.observer)((({model:e})=>{const{feature1:t,feature2:r}=JSON.parse(JSON.stringify(e.featureData));return n.createElement(s.Z,{"data-testid":"alignment-side-drawer"},n.createElement(c.BaseCoreDetails,{title:"Feature 1",feature:t}),n.createElement(c.BaseCoreDetails,{title:"Feature 2",feature:r}),n.createElement(d,{feature:t}),n.createElement(d,{feature:r}))}))},6816:(e,t,r)=>{r.d(t,{d:()=>l});var n=r(66204),a=r(52682),o=r(76734),s=r(26074),i=r(43188);function c(e){return e.substring(2).toLowerCase()}function l(e){const{children:t,disableReactTree:r=!1,mouseEvent:l="onClick",onClickAway:u,touchEvent:d="onTouchEnd"}=e,m=n.useRef(!1),v=n.useRef(null),f=n.useRef(!1),h=n.useRef(!1);n.useEffect((()=>(setTimeout((()=>{f.current=!0}),0),()=>{f.current=!1})),[]);const p=(0,a.Z)(t.ref,v),g=(0,o.Z)((e=>{const t=h.current;h.current=!1;const n=(0,s.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,n))return;if(m.current)return void(m.current=!1);let a;a=e.composedPath?e.composedPath().indexOf(v.current)>-1:!n.documentElement.contains(e.target)||v.current.contains(e.target),a||!r&&t||u(e)})),b=e=>r=>{h.current=!0;const n=t.props[e];n&&n(r)},Z={ref:p};return!1!==d&&(Z[d]=b(d)),n.useEffect((()=>{if(!1!==d){const e=c(d),t=(0,s.Z)(v.current),r=()=>{m.current=!0};return t.addEventListener(e,g),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,g),t.removeEventListener("touchmove",r)}}}),[g,d]),!1!==l&&(Z[l]=b(l)),n.useEffect((()=>{if(!1!==l){const e=c(l),t=(0,s.Z)(v.current);return t.addEventListener(e,g),()=>{t.removeEventListener(e,g)}}}),[g,l]),(0,i.jsx)(n.Fragment,{children:n.cloneElement(t,Z)})}},10126:(e,t,r)=>{r.d(t,{Z:()=>x});var n=r(55559),a=r(30984),o=r(66204),s=r(56317),i=r(58029),c=r(71580),l=r(40118),u=r(57369),d=r(61125),m=r(22489),v=r(43188);const f=["className","color","disableShrink","size","style","thickness","value","variant"];let h,p,g,b,Z=e=>e;const k=(0,c.F4)(h||(h=Z`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),S=(0,c.F4)(p||(p=Z`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),w=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,l.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>(0,a.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,c.iv)(g||(g=Z`
      animation: ${0} 1.4s linear infinite;
    `),k))),E=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),y=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,l.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,a.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,c.iv)(b||(b=Z`
      animation: ${0} 1.4s ease-in-out infinite;
    `),S))),x=o.forwardRef((function(e,t){const r=(0,u.Z)({props:e,name:"MuiCircularProgress"}),{className:o,color:c="primary",disableShrink:d=!1,size:h=40,style:p,thickness:g=3.6,value:b=0,variant:Z="indeterminate"}=r,k=(0,n.Z)(r,f),S=(0,a.Z)({},r,{color:c,disableShrink:d,size:h,thickness:g,value:b,variant:Z}),x=(e=>{const{classes:t,variant:r,color:n,disableShrink:a}=e,o={root:["root",r,`color${(0,l.Z)(n)}`],svg:["svg"],circle:["circle",`circle${(0,l.Z)(r)}`,a&&"circleDisableShrink"]};return(0,i.Z)(o,m.C,t)})(S),C={},P={},R={};if("determinate"===Z){const e=2*Math.PI*((44-g)/2);C.strokeDasharray=e.toFixed(3),R["aria-valuenow"]=Math.round(b),C.strokeDashoffset=`${((100-b)/100*e).toFixed(3)}px`,P.transform="rotate(-90deg)"}return(0,v.jsx)(w,(0,a.Z)({className:(0,s.Z)(x.root,o),style:(0,a.Z)({width:h,height:h},P,p),ownerState:S,ref:t,role:"progressbar"},R,k,{children:(0,v.jsx)(E,{className:x.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,v.jsx)(y,{className:x.circle,style:C,ownerState:S,cx:44,cy:44,r:(44-g)/2,fill:"none",strokeWidth:g})})}))}))},22489:(e,t,r)=>{r.d(t,{C:()=>o,Z:()=>s});var n=r(58109),a=r(95201);function o(e){return(0,a.Z)("MuiCircularProgress",e)}const s=(0,n.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},96987:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(55559),a=r(30984),o=r(66204),s=r(56317),i=r(58029),c=r(57369),l=r(61125),u=r(41666),d=r(43188);const m=["className","component","disableGutters","variant"],v=(0,l.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((({theme:e,ownerState:t})=>(0,a.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=o.forwardRef((function(e,t){const r=(0,c.Z)({props:e,name:"MuiToolbar"}),{className:o,component:l="div",disableGutters:f=!1,variant:h="regular"}=r,p=(0,n.Z)(r,m),g=(0,a.Z)({},r,{component:l,disableGutters:f,variant:h}),b=(e=>{const{classes:t,disableGutters:r,variant:n}=e,a={root:["root",!r&&"gutters",n]};return(0,i.Z)(a,u.N,t)})(g);return(0,d.jsx)(v,(0,a.Z)({as:l,className:(0,s.Z)(b.root,o),ref:t,ownerState:g},p))}))},41666:(e,t,r)=>{r.d(t,{N:()=>o,Z:()=>s});var n=r(58109),a=r(95201);function o(e){return(0,a.Z)("MuiToolbar",e)}const s=(0,n.Z)("MuiToolbar",["root","gutters","regular","dense"])}}]);
//# sourceMappingURL=5010.40d4ee6f.chunk.js.map