Mercurial > repos > fubar > jbrowse2
comparison x/static/js/8678.8424d5dc.chunk.js @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
124:137e08517410 | 125:49f3d3878413 |
---|---|
1 "use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[8678],{98459:(e,t,n)=>{n.d(t,{A:()=>A});var i=n(7552),r=n(93878),o=n(16157),s=n(26218),a=n(70799),l=n(51148),d=n(48231),p=n(60129),u=n(4785),c=n(94479),h=n(46302),y=n(51584),w=n(72367),g=n(69500);const m=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((0,p.A)((({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]})))),v=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),x=(0,l.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),f=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiCollapse"}),{addEndListener:l,children:p,className:f,collapsedSize:A="0px",component:E,easing:b,in:C,onEnter:z,onEntered:S,onEntering:$,onExit:R,onExited:j,onExiting:D,orientation:I="vertical",style:M,timeout:T=c.p0.standard,TransitionComponent:k=o.Ay,...H}=n,N={...n,orientation:I,collapsedSize:A},W=(e=>{const{orientation:t,classes:n}=e,i={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,a.A)(i,w.E,n)})(N),_=(0,d.A)(),F=(0,s.A)(),L=i.useRef(null),U=i.useRef(),q="number"==typeof A?`${A}px`:A,B="horizontal"===I,G=B?"width":"height",J=i.useRef(null),K=(0,y.A)(t,J),O=e=>t=>{if(e){const n=J.current;void 0===t?e(n):e(n,t)}},P=()=>L.current?L.current[B?"clientWidth":"clientHeight"]:0,Q=O(((e,t)=>{L.current&&B&&(L.current.style.position="absolute"),e.style[G]=q,z&&z(e,t)})),V=O(((e,t)=>{const n=P();L.current&&B&&(L.current.style.position="");const{duration:i,easing:r}=(0,h.c)({style:M,timeout:T,easing:b},{mode:"enter"});if("auto"===T){const t=_.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,U.current=t}else e.style.transitionDuration="string"==typeof i?i:`${i}ms`;e.style[G]=`${n}px`,e.style.transitionTimingFunction=r,$&&$(e,t)})),X=O(((e,t)=>{e.style[G]="auto",S&&S(e,t)})),Y=O((e=>{e.style[G]=`${P()}px`,R&&R(e)})),Z=O(j),ee=O((e=>{const t=P(),{duration:n,easing:i}=(0,h.c)({style:M,timeout:T,easing:b},{mode:"exit"});if("auto"===T){const n=_.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,U.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[G]=q,e.style.transitionTimingFunction=i,D&&D(e)}));return(0,g.jsx)(k,{in:C,onEnter:Q,onEntered:X,onEntering:V,onExit:Y,onExited:Z,onExiting:ee,addEndListener:e=>{"auto"===T&&F.start(U.current||0,e),l&&l(J.current,e)},nodeRef:J,timeout:"auto"===T?null:T,...H,children:(e,t)=>(0,g.jsx)(m,{as:E,className:(0,r.A)(W.root,f,{entered:W.entered,exited:!C&&"0px"===q&&W.hidden}[e]),style:{[B?"minWidth":"minHeight"]:q,...M},ref:K,...t,ownerState:{...N,state:e},children:(0,g.jsx)(v,{ownerState:{...N,state:e},className:W.wrapper,ref:L,children:(0,g.jsx)(x,{ownerState:{...N,state:e},className:W.wrapperInner,children:p})})})})}));f&&(f.muiSupportAuto=!0);const A=f},72367:(e,t,n)=>{n.d(t,{A:()=>s,E:()=>o});var i=n(33761),r=n(85693);function o(e){return(0,r.Ay)("MuiCollapse",e)}const s=(0,i.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])},78678:(e,t,n)=>{n.r(t),n.d(t,{collapseClasses:()=>r.A,default:()=>i.A,getCollapseUtilityClass:()=>r.E});var i=n(98459),r=n(72367)}}]); | |
2 //# sourceMappingURL=8678.8424d5dc.chunk.js.map |