"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6054],{81762:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},23491:(e,t,o)=>{o.d(t,{A:()=>L});var n=o(7552),r=o(93878),a=o(70799),i=o(15622),l=o(51148),s=o(60129),c=o(4785),p=o(29628),d=o(81762),v=o(62487),u=o(69500);const b=(0,l.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),m=(0,l.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,i.A)(o.orientation)}`]]}})((0,s.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}}))),L=n.forwardRef((function(e,t){const o=(0,c.b)({props:e,name:"MuiStepConnector"}),{className:l,...s}=o,{alternativeLabel:L,orientation:A="horizontal"}=n.useContext(p.A),{active:f,disabled:h,completed:S}=n.useContext(d.A),x={...o,alternativeLabel:L,orientation:A,active:f,completed:S,disabled:h},y=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:l,disabled:s}=e,c={root:["root",o,n&&"alternativeLabel",r&&"active",l&&"completed",s&&"disabled"],line:["line",`line${(0,i.A)(o)}`]};return(0,a.A)(c,v.G,t)})(x);return(0,u.jsx)(b,{className:(0,r.A)(y.root,l),ref:t,ownerState:x,...s,children:(0,u.jsx)(m,{className:y.line,ownerState:x})})}))},62487:(e,t,o)=>{o.d(t,{A:()=>i,G:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepConnector",e)}const i=(0,n.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},85059:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(7552),r=o(93878),a=o(70799),i=o(51148),l=o(4785),s=o(25367),c=o(23491),p=o(29628),d=o(69500);const v=(0,i.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),u=(0,d.jsx)(c.A,{}),b=n.forwardRef((function(e,t){const o=(0,l.b)({props:e,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:c=!1,children:b,className:m,component:L="div",connector:A=u,nonLinear:f=!1,orientation:h="horizontal",...S}=o,x={...o,nonLinear:f,alternativeLabel:c,orientation:h,component:L},y=(e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:r}=e,i={root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]};return(0,a.A)(i,s.g,r)})(x),C=n.Children.toArray(b).filter(Boolean),g=C.map(((e,t)=>n.cloneElement(e,{index:t,last:t+1===C.length,...e.props}))),w=n.useMemo((()=>({activeStep:i,alternativeLabel:c,connector:A,nonLinear:f,orientation:h})),[i,c,A,f,h]);return(0,d.jsx)(p.A.Provider,{value:w,children:(0,d.jsx)(v,{as:L,ownerState:x,className:(0,r.A)(y.root,m),ref:t,...S,children:g})})}))},29628:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},36054:(e,t,o)=>{o.r(t),o.d(t,{StepperContext:()=>a.A,default:()=>n.A,getStepperUtilityClass:()=>r.g,stepperClasses:()=>r.A,useStepperContext:()=>a.s});var n=o(85059),r=o(25367),a=o(29628)},25367:(e,t,o)=>{o.d(t,{A:()=>i,g:()=>a});var n=o(33761),r=o(85693);function a(e){return(0,r.Ay)("MuiStepper",e)}const i=(0,n.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"])}}]);
//# sourceMappingURL=6054.e0881c55.chunk.js.map