view x/static/js/4863.9dfed19c.chunk.js @ 133:cec274db51c0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 7d28252954cae9f8db5f8a85d8f29cb2865b504b-dirty
author fubar
date Fri, 18 Oct 2024 11:57:55 +0000
parents 49f3d3878413
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4863,8341,722,5484,7865,246,2627,5008],{75083:(e,r,t)=>{t.r(r),t.d(r,{default:()=>p});var n=t(7552),a=t(29499),o=t(99123),i=t(49823),s=t(68446),l=t(75785),c=t(85676),d=t(68584),g=t(99546);const u=(0,l.n9)()({content:{minWidth:600}}),p=(0,s.observer)((function({trackWarnings:e,handleClose:r}){const{classes:t}=u(),s=[];for(let r=0;r<e.length;r++){const t=e[r],n=(0,d.getConf)(t,"name"),a=t.displays[0];for(let e=0;e<a.warnings.length;e++){const t=a.warnings[e];s.push({name:n,...t,id:`${r}_${e}`})}}const l=[{field:"name"},{field:"message",width:(0,g.measureGridWidth)(s.map((e=>e.message)))},{field:"effect",width:(0,g.measureGridWidth)(s.map((e=>e.effect)))}];return n.createElement(i.Dialog,{open:!0,onClose:r,maxWidth:"xl",title:"Dotplot rendered with warnings"},n.createElement(a.A,{className:t.content},n.createElement(o.A,null,"Found warnings while rendering the dotplot. This is often due to out-of-bound features that may indicate the wrong assemblies are being used. Check that the query and target are configured correctly, and that the right assemblies are being compared."),n.createElement("div",{style:{height:600,width:"100%",overflow:"auto"}},n.createElement(c.z,{rows:s,columns:l,disableRowSelectionOnClick:!0,rowHeight:25,disableColumnMenu:!0}))))}))},84885:(e,r,t)=>{t.d(r,{A:()=>v});var n=t(7552),a=t(93878),o=t(43583),i=t(70799),s=t(1045);var l=t(51148),c=t(60129),d=t(58520),g=t(4785),u=t(15622),p=t(47839),h=t(69500);const m=(0,l.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,r)=>r.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),f=(0,l.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.badge,r[t.variant],r[`anchorOrigin${(0,u.A)(t.anchorOrigin.vertical)}${(0,u.A)(t.anchorOrigin.horizontal)}${(0,u.A)(t.overlap)}`],"default"!==t.color&&r[`color${(0,u.A)(t.color)}`],t.invisible&&r.invisible]}})((0,c.A)((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter((0,d.A)(["contrastText"])).map((([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})))),v=n.forwardRef((function(e,r){const t=(0,g.b)({props:e,name:"MuiBadge"}),{anchorOrigin:n={vertical:"top",horizontal:"right"},className:l,classes:c,component:d,components:v={},componentsProps:b={},children:y,overlap:A="rectangular",color:w="default",invisible:O=!1,max:x=99,badgeContent:S,slots:k,slotProps:C,showZero:R=!1,variant:$="standard",...E}=t,{badgeContent:T,invisible:M,max:z,displayValue:P}=function(e){const{badgeContent:r,invisible:t=!1,max:n=99,showZero:a=!1}=e,i=(0,o.A)({badgeContent:r,max:n});let s=t;!1!==t||0!==r||a||(s=!0);const{badgeContent:l,max:c=n}=s?i:e;return{badgeContent:l,invisible:s,max:c,displayValue:l&&Number(l)>c?`${c}+`:l}}({max:x,invisible:O,badgeContent:S,showZero:R}),L=(0,o.A)({anchorOrigin:n,color:w,overlap:A,variant:$,badgeContent:S}),B=M||null==T&&"dot"!==$,{color:N=w,overlap:W=A,anchorOrigin:j=n,variant:D=$}=B?L:t,I="dot"!==D?P:void 0,F={...t,badgeContent:T,invisible:B,max:z,displayValue:I,showZero:R,anchorOrigin:j,color:N,overlap:W,variant:D},G=(e=>{const{color:r,anchorOrigin:t,invisible:n,overlap:a,variant:o,classes:s={}}=e,l={root:["root"],badge:["badge",o,n&&"invisible",`anchorOrigin${(0,u.A)(t.vertical)}${(0,u.A)(t.horizontal)}`,`anchorOrigin${(0,u.A)(t.vertical)}${(0,u.A)(t.horizontal)}${(0,u.A)(a)}`,`overlap${(0,u.A)(a)}`,"default"!==r&&`color${(0,u.A)(r)}`]};return(0,i.A)(l,p.w,s)})(F),H=k?.root??v.Root??m,_=k?.badge??v.Badge??f,Z=C?.root??b.root,V=C?.badge??b.badge,U=(0,s.A)({elementType:H,externalSlotProps:Z,externalForwardedProps:E,additionalProps:{ref:r,as:d},ownerState:F,className:(0,a.A)(Z?.className,G.root,l)}),X=(0,s.A)({elementType:_,externalSlotProps:V,ownerState:F,className:(0,a.A)(G.badge,V?.className)});return(0,h.jsxs)(H,{...U,children:[y,(0,h.jsx)(_,{...X,children:I})]})}))},47839:(e,r,t)=>{t.d(r,{A:()=>i,w:()=>o});var n=t(33761),a=t(85693);function o(e){return(0,a.Ay)("MuiBadge",e)}const i=(0,n.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"])},59705:(e,r,t)=>{t.d(r,{A:()=>w});var n=t(7552),a=t(93878),o=t(70799),i=t(64761),s=t(51148),l=t(60129),c=t(4785),d=t(15622),g=t(58520),u=t(72489),p=t(69500);const h=i.i7`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`,m=i.i7`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`,f="string"!=typeof h?i.AH`
        animation: ${h} 1.4s linear infinite;
      `:null,v="string"!=typeof m?i.AH`
        animation: ${m} 1.4s ease-in-out infinite;
      `:null,b=(0,s.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[t.variant],r[`color${(0,d.A)(t.color)}`]]}})((0,l.A)((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:f||{animation:`${h} 1.4s linear infinite`}},...Object.entries(e.palette).filter((0,g.A)()).map((([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})))]})))),y=(0,s.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,r)=>r.svg})({display:"block"}),A=(0,s.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.circle,r[`circle${(0,d.A)(t.variant)}`],t.disableShrink&&r.circleDisableShrink]}})((0,l.A)((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:v||{animation:`${m} 1.4s ease-in-out infinite`}}]})))),w=n.forwardRef((function(e,r){const t=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:n,color:i="primary",disableShrink:s=!1,size:l=40,style:g,thickness:h=3.6,value:m=0,variant:f="indeterminate",...v}=t,w={...t,color:i,disableShrink:s,size:l,thickness:h,value:m,variant:f},O=(e=>{const{classes:r,variant:t,color:n,disableShrink:a}=e,i={root:["root",t,`color${(0,d.A)(n)}`],svg:["svg"],circle:["circle",`circle${(0,d.A)(t)}`,a&&"circleDisableShrink"]};return(0,o.A)(i,u.b,r)})(w),x={},S={},k={};if("determinate"===f){const e=2*Math.PI*((44-h)/2);x.strokeDasharray=e.toFixed(3),k["aria-valuenow"]=Math.round(m),x.strokeDashoffset=`${((100-m)/100*e).toFixed(3)}px`,S.transform="rotate(-90deg)"}return(0,p.jsx)(b,{className:(0,a.A)(O.root,n),style:{width:l,height:l,...S,...g},ownerState:w,ref:r,role:"progressbar",...k,...v,children:(0,p.jsx)(y,{className:O.svg,ownerState:w,viewBox:"22 22 44 44",children:(0,p.jsx)(A,{className:O.circle,style:x,ownerState:w,cx:44,cy:44,r:(44-h)/2,fill:"none",strokeWidth:h})})})}))},72489:(e,r,t)=>{t.d(r,{A:()=>i,b:()=>o});var n=t(33761),a=t(85693);function o(e){return(0,a.Ay)("MuiCircularProgress",e)}const i=(0,n.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},88215:(e,r,t)=>{t.d(r,{x:()=>d});var n=t(7552),a=t(29527),o=t(89887),i=t(99305),s=t(28325),l=t(69500);function c(e){return e.substring(2).toLowerCase()}function d(e){const{children:r,disableReactTree:t=!1,mouseEvent:d="onClick",onClickAway:g,touchEvent:u="onTouchEnd"}=e,p=n.useRef(!1),h=n.useRef(null),m=n.useRef(!1),f=n.useRef(!1);n.useEffect((()=>(setTimeout((()=>{m.current=!0}),0),()=>{m.current=!1})),[]);const v=(0,a.A)((0,s.A)(r),h),b=(0,o.A)((e=>{const r=f.current;f.current=!1;const n=(0,i.A)(h.current);if(!m.current||!h.current||"clientX"in e&&function(e,r){return r.documentElement.clientWidth<e.clientX||r.documentElement.clientHeight<e.clientY}(e,n))return;if(p.current)return void(p.current=!1);let a;a=e.composedPath?e.composedPath().includes(h.current):!n.documentElement.contains(e.target)||h.current.contains(e.target),a||!t&&r||g(e)})),y=e=>t=>{f.current=!0;const n=r.props[e];n&&n(t)},A={ref:v};return!1!==u&&(A[u]=y(u)),n.useEffect((()=>{if(!1!==u){const e=c(u),r=(0,i.A)(h.current),t=()=>{p.current=!0};return r.addEventListener(e,b),r.addEventListener("touchmove",t),()=>{r.removeEventListener(e,b),r.removeEventListener("touchmove",t)}}}),[b,u]),!1!==d&&(A[d]=y(d)),n.useEffect((()=>{if(!1!==d){const e=c(d),r=(0,i.A)(h.current);return r.addEventListener(e,b),()=>{r.removeEventListener(e,b)}}}),[b,d]),(0,l.jsx)(n.Fragment,{children:n.cloneElement(r,A)})}},17515:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(7552),a=t(93878),o=t(70799),i=t(51148),s=t(60129),l=t(4785),c=t(89663),d=t(69500);const g=(0,i.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,!t.disableGutters&&r.gutters,r[t.variant]]}})((0,s.A)((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]})))),u=n.forwardRef((function(e,r){const t=(0,l.b)({props:e,name:"MuiToolbar"}),{className:n,component:i="div",disableGutters:s=!1,variant:u="regular",...p}=t,h={...t,component:i,disableGutters:s,variant:u},m=(e=>{const{classes:r,disableGutters:t,variant:n}=e,a={root:["root",!t&&"gutters",n]};return(0,o.A)(a,c.U,r)})(h);return(0,d.jsx)(g,{as:i,className:(0,a.A)(m.root,n),ref:r,ownerState:h,...p})}))},89663:(e,r,t)=>{t.d(r,{A:()=>i,U:()=>o});var n=t(33761),a=t(85693);function o(e){return(0,a.Ay)("MuiToolbar",e)}const i=(0,n.A)("MuiToolbar",["root","gutters","regular","dense"])}}]);
//# sourceMappingURL=4863.9dfed19c.chunk.js.map