"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6658],{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:()=>h});var n=o(83673),r=o(6614),a=o(7552),i=o(93878),l=o(60827),s=o(15622),c=o(51148),d=o(31049),p=o(29628),b=o(81762),u=o(62487),v=o(69500);const A=["className"],C=(0,c.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]}})((({ownerState:e})=>(0,r.A)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),m=(0,c.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,s.A)(o.orientation)}`]]}})((({ownerState:e,theme:t})=>{const o="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,r.A)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),h=a.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiStepConnector"}),{className:c}=o,h=(0,n.A)(o,A),{alternativeLabel:S,orientation:f="horizontal"}=a.useContext(p.A),{active:w,disabled:L,completed:x}=a.useContext(b.A),g=(0,r.A)({},o,{alternativeLabel:S,orientation:f,active:w,completed:x,disabled:L}),y=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:a,disabled:i}=e,c={root:["root",o,n&&"alternativeLabel",r&&"active",a&&"completed",i&&"disabled"],line:["line",`line${(0,s.A)(o)}`]};return(0,l.A)(c,u.G,t)})(g);return(0,v.jsx)(C,(0,r.A)({className:(0,i.A)(y.root,c),ref:t,ownerState:g},h,{children:(0,v.jsx)(m,{className:y.line,ownerState:g})}))}))},76658:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n.A,getStepConnectorUtilityClass:()=>r.G,stepConnectorClasses:()=>r.A});var n=o(23491),r=o(62487)},62487:(e,t,o)=>{o.d(t,{A:()=>i,G:()=>a});var n=o(55549),r=o(9577);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"])},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}}]);
//# sourceMappingURL=6658.426ebd7e.chunk.js.map