"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[1729],{60059:function(e,t,n){var r=n(31461),o=n(7896),a=n(30969),i=n(81856),l=n(26540),d=n(40679),u=n(94982),c=n(17363),s=n(45971),v=n(57547),f=n(37574),p=["active","children","className","completed","disabled","expanded","index","last"],b=(0,s.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((function(e){var t=e.ownerState;return(0,o.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})})),x=a.forwardRef((function(e,t){var n=(0,c.Z)({props:e,name:"MuiStep"}),s=n.active,x=n.children,Z=n.className,m=n.completed,h=n.disabled,C=n.expanded,S=void 0!==C&&C,w=n.index,L=n.last,g=(0,r.Z)(n,p),j=a.useContext(d.Z),M=j.activeStep,k=j.connector,R=j.alternativeLabel,_=j.orientation,N=j.nonLinear,$=void 0!==s&&s,z=void 0!==m&&m,P=void 0!==h&&h;M===w?$=void 0===s||s:!N&&M>w?z=void 0===m||m:!N&&M<w&&(P=void 0===h||h);var y=a.useMemo((function(){return{index:w,last:L,expanded:S,icon:w+1,active:$,completed:z,disabled:P}}),[w,L,S,$,z,P]),F=(0,o.Z)({},n,{active:$,orientation:_,alternativeLabel:R,completed:z,disabled:P,expanded:S}),U=function(e){var t=e.classes,n={root:["root",e.orientation,e.alternativeLabel&&"alternativeLabel",e.completed&&"completed"]};return(0,l.Z)(n,v.$,t)}(F),q=(0,f.jsxs)(b,(0,o.Z)({className:(0,i.default)(U.root,Z),ref:t,ownerState:F},g,{children:[k&&R&&0!==w?k:null,x]}));return(0,f.jsx)(u.Z.Provider,{value:y,children:k&&!R&&0!==w?(0,f.jsxs)(a.Fragment,{children:[k,q]}):q})}));t.Z=x},94982:function(e,t,n){n.d(t,{s:function(){return a}});var r=n(30969),o=r.createContext({});function a(){return r.useContext(o)}t.Z=o},71729:function(e,t,n){n.r(t),n.d(t,{StepContext:function(){return a.Z},default:function(){return r.Z},getStepUtilityClass:function(){return o.$},stepClasses:function(){return o.Z},useStepContext:function(){return a.s}});var r=n(60059),o=n(57547),a=n(94982)},57547:function(e,t,n){n.d(t,{$:function(){return o}});var r=n(2975);function o(e){return(0,r.Z)("MuiStep",e)}var a=(0,n(62746).Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);t.Z=a},40679:function(e,t,n){n.d(t,{s:function(){return a}});var r=n(30969),o=r.createContext({});function a(){return r.useContext(o)}t.Z=o}}]);
//# sourceMappingURL=1729.e9527dd1.chunk.js.map