"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7991],{27897:(e,t,o)=>{o.d(t,{A:()=>u});var n=o(7552),a=o(93878),r=o(70799),i=o(29628),l=o(81762),s=o(51148),c=o(4785),d=o(5110),p=o(69500);const v=(0,s.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),u=n.forwardRef((function(e,t){const o=(0,c.b)({props:e,name:"MuiStep"}),{active:s,children:u,className:b,component:m="div",completed:x,disabled:A,expanded:L=!1,index:h,last:C,...f}=o,{activeStep:S,connector:w,alternativeLabel:g,orientation:j,nonLinear:y}=n.useContext(i.A);let[M=!1,k=!1,R=!1]=[s,x,A];S===h?M=void 0===s||s:!y&&S>h?k=void 0===x||x:!y&&S<h&&(R=void 0===A||A);const _=n.useMemo((()=>({index:h,last:C,expanded:L,icon:h+1,active:M,completed:k,disabled:R})),[h,C,L,M,k,R]),P={...o,active:M,orientation:j,alternativeLabel:g,completed:k,disabled:R,expanded:L,component:m},z=(e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e,i={root:["root",o,n&&"alternativeLabel",a&&"completed"]};return(0,r.A)(i,d.L,t)})(P),N=(0,p.jsxs)(v,{as:m,className:(0,a.A)(z.root,b),ref:t,ownerState:P,...f,children:[w&&g&&0!==h?w:null,u]});return(0,p.jsx)(l.A.Provider,{value:_,children:w&&!g&&0!==h?(0,p.jsxs)(n.Fragment,{children:[w,N]}):N})}))},81762:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>r});var n=o(7552);const a=n.createContext({});function r(){return n.useContext(a)}const i=a},47991:(e,t,o)=>{o.r(t),o.d(t,{StepContext:()=>r.A,default:()=>n.A,getStepUtilityClass:()=>a.L,stepClasses:()=>a.A,useStepContext:()=>r.P});var n=o(27897),a=o(5110),r=o(81762)},5110:(e,t,o)=>{o.d(t,{A:()=>i,L:()=>r});var n=o(33761),a=o(85693);function r(e){return(0,a.Ay)("MuiStep",e)}const i=(0,n.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"])},29628:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>r});var n=o(7552);const a=n.createContext({});function r(){return n.useContext(a)}const i=a}}]);
//# sourceMappingURL=7991.5d96c772.chunk.js.map