Mercurial > repos > fubar > jbrowse2
view x/static/js/3011.9da53e7c.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 |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3011],{63011:(e,t,r)=>{r.d(t,{A:()=>A});var o=r(7552),n=(r(19487),r(93878)),i=r(70799),s=r(51148),a=r(60129),d=r(4785),l=r(98459),p=r(943),u=r(51132),c=r(77259),h=r(43045),g=r(46263),m=r(69500);const y=(0,s.Ay)(p.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${g.A.region}`]:t.region},t.root,!r.square&&t.rounded,!r.disableGutters&&t.gutters]}})((0,a.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${g.A.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${g.A.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}})),(0,a.A)((({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${g.A.expanded}`]:{margin:"16px 0"}}}]})))),b=(0,s.Ay)("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),A=o.forwardRef((function(e,t){const r=(0,d.b)({props:e,name:"MuiAccordion"}),{children:s,className:a,defaultExpanded:p=!1,disabled:A=!1,disableGutters:f=!1,expanded:x,onChange:v,square:w=!1,slots:R={},slotProps:E={},TransitionComponent:C,TransitionProps:S,...$}=r,[M,T]=(0,c.A)({controlled:x,default:p,name:"Accordion",state:"expanded"}),j=o.useCallback((e=>{T(!M),v&&v(e,!M)}),[M,v,T]),[z,...k]=o.Children.toArray(s),N=o.useMemo((()=>({expanded:M,disabled:A,disableGutters:f,toggle:j})),[M,A,f,j]),q={...r,square:w,disabled:A,disableGutters:f,expanded:M},B=(e=>{const{classes:t,square:r,expanded:o,disabled:n,disableGutters:s}=e,a={root:["root",!r&&"rounded",o&&"expanded",n&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]};return(0,i.A)(a,g.d,t)})(q),D={slots:{transition:C,...R},slotProps:{transition:S,...E}},[G,I]=(0,h.A)("heading",{elementType:b,externalForwardedProps:D,className:B.heading,ownerState:q}),[P,H]=(0,h.A)("transition",{elementType:l.A,externalForwardedProps:D,ownerState:q});return(0,m.jsxs)(y,{className:(0,n.A)(B.root,a),ref:t,ownerState:q,square:w,...$,children:[(0,m.jsx)(G,{...I,children:(0,m.jsx)(u.A.Provider,{value:N,children:z})}),(0,m.jsx)(P,{in:M,timeout:"auto",...H,children:(0,m.jsx)("div",{"aria-labelledby":z.props.id,id:z.props["aria-controls"],role:"region",className:B.region,children:k})})]})}))},51132:(e,t,r)=>{r.d(t,{A:()=>o});const o=r(7552).createContext({})},46263:(e,t,r)=>{r.d(t,{A:()=>s,d:()=>i});var o=r(33761),n=r(85693);function i(e){return(0,n.Ay)("MuiAccordion",e)}const s=(0,o.A)("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"])},98459:(e,t,r)=>{r.d(t,{A:()=>v});var o=r(7552),n=r(93878),i=r(16157),s=r(26218),a=r(70799),d=r(51148),l=r(48231),p=r(60129),u=r(4785),c=r(94479),h=r(46302),g=r(51584),m=r(72367),y=r(69500);const b=(0,d.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.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"}}]})))),A=(0,d.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),f=(0,d.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),x=o.forwardRef((function(e,t){const r=(0,u.b)({props:e,name:"MuiCollapse"}),{addEndListener:d,children:p,className:x,collapsedSize:v="0px",component:w,easing:R,in:E,onEnter:C,onEntered:S,onEntering:$,onExit:M,onExited:T,onExiting:j,orientation:z="vertical",style:k,timeout:N=c.p0.standard,TransitionComponent:q=i.Ay,...B}=r,D={...r,orientation:z,collapsedSize:v},G=(e=>{const{orientation:t,classes:r}=e,o={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,a.A)(o,m.E,r)})(D),I=(0,l.A)(),P=(0,s.A)(),H=o.useRef(null),L=o.useRef(),F="number"==typeof v?`${v}px`:v,W="horizontal"===z,_=W?"width":"height",J=o.useRef(null),K=(0,g.A)(t,J),O=e=>t=>{if(e){const r=J.current;void 0===t?e(r):e(r,t)}},Q=()=>H.current?H.current[W?"clientWidth":"clientHeight"]:0,U=O(((e,t)=>{H.current&&W&&(H.current.style.position="absolute"),e.style[_]=F,C&&C(e,t)})),V=O(((e,t)=>{const r=Q();H.current&&W&&(H.current.style.position="");const{duration:o,easing:n}=(0,h.c)({style:k,timeout:N,easing:R},{mode:"enter"});if("auto"===N){const t=I.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,L.current=t}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[_]=`${r}px`,e.style.transitionTimingFunction=n,$&&$(e,t)})),X=O(((e,t)=>{e.style[_]="auto",S&&S(e,t)})),Y=O((e=>{e.style[_]=`${Q()}px`,M&&M(e)})),Z=O(T),ee=O((e=>{const t=Q(),{duration:r,easing:o}=(0,h.c)({style:k,timeout:N,easing:R},{mode:"exit"});if("auto"===N){const r=I.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,L.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[_]=F,e.style.transitionTimingFunction=o,j&&j(e)}));return(0,y.jsx)(q,{in:E,onEnter:U,onEntered:X,onEntering:V,onExit:Y,onExited:Z,onExiting:ee,addEndListener:e=>{"auto"===N&&P.start(L.current||0,e),d&&d(J.current,e)},nodeRef:J,timeout:"auto"===N?null:N,...B,children:(e,t)=>(0,y.jsx)(b,{as:w,className:(0,n.A)(G.root,x,{entered:G.entered,exited:!E&&"0px"===F&&G.hidden}[e]),style:{[W?"minWidth":"minHeight"]:F,...k},ref:K,...t,ownerState:{...D,state:e},children:(0,y.jsx)(A,{ownerState:{...D,state:e},className:G.wrapper,ref:H,children:(0,y.jsx)(f,{ownerState:{...D,state:e},className:G.wrapperInner,children:p})})})})}));x&&(x.muiSupportAuto=!0);const v=x},72367:(e,t,r)=>{r.d(t,{A:()=>s,E:()=>i});var o=r(33761),n=r(85693);function i(e){return(0,n.Ay)("MuiCollapse",e)}const s=(0,o.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])}}]); //# sourceMappingURL=3011.9da53e7c.chunk.js.map