view x/static/js/4974.cf97ef5b.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([[4974],{74974:(e,r,n)=>{n.r(r),n.d(r,{default:()=>u});var t=n(7552),o=n(68446),a=n(99546),l=n(75785),s=n(36715),i=n(87731);const c=(0,l.n9)()((e=>({root:{margin:e.spacing(2)},subtitle:{margin:e.spacing(1)}}))),u=(0,o.observer)((function({model:e}){const{classes:r}=c(),n=e?(0,a.getSession)(e):{version:""};return t.createElement("div",{className:r.root},t.createElement(s.A,{variant:"h4",align:"center"},"JBrowse 2"),t.createElement(s.A,{variant:"h6",align:"center",className:r.subtitle},n.version),t.createElement(s.A,null,"Here are some resources to get help. Please report the version number above when asking questions. Thanks!"),t.createElement("ul",null,t.createElement("li",null,t.createElement(i.A,{href:"https://github.com/GMOD/jbrowse-components/discussions",target:"_blank",rel:"noopener noreferrer"},"Question & answer forum")),t.createElement("li",null,t.createElement(i.A,{href:"https://github.com/GMOD/jbrowse-components/issues/new/choose",target:"_blank",rel:"noopener noreferrer"},"Report a bug")),t.createElement("li",null,t.createElement(i.A,{href:"https://jbrowse.org/jb2/docs/user_guide",target:"_blank",rel:"noopener noreferrer"},"User guide")),t.createElement("li",null,t.createElement(i.A,{href:"https://jbrowse.org/jb2/docs/",target:"_blank",rel:"noopener noreferrer"},"Documentation"))))}))},87731:(e,r,n)=>{n.d(r,{A:()=>f});var t=n(7552),o=n(93878),a=n(72639),l=n(70799),s=n(91527),i=n(15622),c=n(51148),u=n(48231),p=n(60129),d=n(58520),b=n(4785),m=n(36715),h=n(58161),y=n(39995);const g=({theme:e,ownerState:r})=>{const n=r.color,t=(0,y.Yn)(e,`palette.${n}`,!1)||r.color,o=(0,y.Yn)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,a.X4)(t,.4)};var v=n(69500);const w={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},A=(0,c.Ay)(m.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:n}=e;return[r.root,r[`underline${(0,i.A)(n.underline)}`],"button"===n.component&&r.button]}})((0,p.A)((({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:r})=>"always"===e&&"inherit"!==r.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter((0,d.A)()).map((([r])=>({props:{underline:"always",color:r},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.4)`:(0,a.X4)(e.palette[r].main,.4)}}))),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,a.X4)(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:(0,a.X4)(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${h.A.focusVisible}`]:{outline:"auto"}}}]})))),f=t.forwardRef((function(e,r){const n=(0,b.b)({props:e,name:"MuiLink"}),a=(0,u.A)(),{className:c,color:p="primary",component:d="a",onBlur:m,onFocus:y,TypographyClasses:f,underline:k="always",variant:x="inherit",sx:C,...E}=n,[D,S]=t.useState(!1),j={...n,color:p,component:d,focusVisible:D,underline:k,variant:x},L=(e=>{const{classes:r,component:n,focusVisible:t,underline:o}=e,a={root:["root",`underline${(0,i.A)(o)}`,"button"===n&&"button",t&&"focusVisible"]};return(0,l.A)(a,h.t,r)})(j);return(0,v.jsx)(A,{color:p,className:(0,o.A)(L.root,c),classes:f,component:d,onBlur:e=>{(0,s.A)(e.target)||S(!1),m&&m(e)},onFocus:e=>{(0,s.A)(e.target)&&S(!0),y&&y(e)},ref:r,ownerState:j,variant:x,...E,sx:[...void 0===w[p]?[{color:p}]:[],...Array.isArray(C)?C:[C]],style:{...E.style,..."always"===k&&"inherit"!==p&&!w[p]&&{"--Link-underlineColor":g({theme:a,ownerState:j})}}})}))},58161:(e,r,n)=>{n.d(r,{A:()=>l,t:()=>a});var t=n(33761),o=n(85693);function a(e){return(0,o.Ay)("MuiLink",e)}const l=(0,t.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=4974.cf97ef5b.chunk.js.map