"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[5415],{10384:(e,t,o)=>{o.d(t,{A:()=>i,G:()=>a});var r=o(51062),n=o(2958);function a(e){return(0,n.Ay)("MuiStepConnector",e)}const i=(0,r.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},25415:(e,t,o)=>{o.r(t),o.d(t,{default:()=>r.A,getStepConnectorUtilityClass:()=>n.G,stepConnectorClasses:()=>n.A});var r=o(51634),n=o(10384)},51634:(e,t,o)=>{o.d(t,{A:()=>m});var r=o(7552),n=o(93878),a=o(75100),i=o(74325),l=o(80317),s=o(21928),c=o(50864),d=o(85095),p=o(57969),b=o(10384),v=o(69500);const u=(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)"}}]}),C=(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}}]}}))),m=r.forwardRef((function(e,t){const o=(0,c.b)({props:e,name:"MuiStepConnector"}),{className:l,...s}=o,{alternativeLabel:m,orientation:A="horizontal"}=r.useContext(d.A),{active:h,disabled:f,completed:y}=r.useContext(p.A),S={...o,alternativeLabel:m,orientation:A,active:h,completed:y,disabled:f},L=(e=>{const{classes:t,orientation:o,alternativeLabel:r,active:n,completed:l,disabled:s}=e,c={root:["root",o,r&&"alternativeLabel",n&&"active",l&&"completed",s&&"disabled"],line:["line",`line${(0,i.A)(o)}`]};return(0,a.A)(c,b.G,t)})(S);return(0,v.jsx)(u,{className:(0,n.A)(L.root,l),ref:t,ownerState:S,...s,children:(0,v.jsx)(C,{className:L.line,ownerState:S})})}))},57969:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>a});var r=o(7552);const n=r.createContext({});function a(){return r.useContext(n)}const i=n},85095:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>a});var r=o(7552);const n=r.createContext({});function a(){return r.useContext(n)}const i=n}}]);
//# sourceMappingURL=5415.cc6e14d0.chunk.js.map