"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9032],{99032:(e,n,r)=>{r.r(n),r.d(n,{default:()=>u});var t=r(7552),o=r(68446),a=r(36422),l=r(99546),i=r(36715),s=r(87731);const c=(0,r(75785).n9)()((e=>({root:{margin:e.spacing(2),paddingTop:e.spacing(2)},subtitle:{margin:e.spacing(1)},pluginList:{margin:e.spacing(1),marginTop:e.spacing(5)}}))),u=(0,o.observer)((function({model:e}){const{classes:n}=c(),{version:r}=(0,l.getSession)(e),{pluginManager:o}=(0,a.getEnv)(e),{plugins:u}=o,m=new Set(u.filter((e=>o.pluginMetadata[e.name]?.isCore)).map((e=>e.name)));return t.createElement("div",{className:n.root},t.createElement(i.A,{variant:"h4",align:"center"},"JBrowse 2"),t.createElement(i.A,{variant:"h6",align:"center",className:n.subtitle},r),t.createElement(i.A,{align:"center"},"JBrowse is a"," ",t.createElement(s.A,{href:"http://gmod.org/",target:"_blank",rel:"noopener noreferrer"},"GMOD")," ","project"),t.createElement("br",null),t.createElement(i.A,{align:"center"},"© 2019-2022 The Evolutionary Software Foundation"),t.createElement("div",{className:n.pluginList},t.createElement(i.A,null,"External plugins loaded"),t.createElement("ul",null,u.filter((e=>!m.has(e.name))).map((e=>{const{url:n,name:r,version:o=""}=e,a=`${r} ${o||""}`;return t.createElement("li",{key:e.name},e.url?t.createElement(s.A,{target:"_blank",rel:"noopener noreferrer",href:n},a):t.createElement(i.A,null,a))}))),t.createElement(i.A,null,"Core plugins loaded"),t.createElement("ul",null,u.filter((e=>m.has(e.name))).map((e=>t.createElement("li",{key:e.name},t.createElement(i.A,null,e.name," ",e.version||"")))))))}))},87731:(e,n,r)=>{r.d(n,{A:()=>w});var t=r(83673),o=r(6614),a=r(7552),l=r(93878),i=r(60827),s=r(15622),c=r(51148),u=r(31049),m=r(9527),p=r(51584),d=r(36715),g=r(58161),A=r(20605),b=r(22991);const h={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=({theme:e,ownerState:n})=>{const r=(e=>h[e]||e)(n.color),t=(0,A.Yn)(e,`palette.${r}`,!1)||n.color,o=(0,A.Yn)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,b.X4)(t,.4)};var y=r(69500);const f=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],E=(0,c.Ay)(d.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:r}=e;return[n.root,n[`underline${(0,s.A)(r.underline)}`],"button"===r.component&&n.button]}})((({theme:e,ownerState:n})=>(0,o.A)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,o.A)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:v({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{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"},[`&.${g.A.focusVisible}`]:{outline:"auto"}}))),w=a.forwardRef((function(e,n){const r=(0,u.A)({props:e,name:"MuiLink"}),{className:c,color:d="primary",component:A="a",onBlur:b,onFocus:v,TypographyClasses:w,underline:k="always",variant:x="inherit",sx:S}=r,C=(0,t.A)(r,f),{isFocusVisibleRef:M,onBlur:T,onFocus:$,ref:D}=(0,m.A)(),[N,B]=a.useState(!1),F=(0,p.A)(n,D),L=(0,o.A)({},r,{color:d,component:A,focusVisible:N,underline:k,variant:x}),V=(e=>{const{classes:n,component:r,focusVisible:t,underline:o}=e,a={root:["root",`underline${(0,s.A)(o)}`,"button"===r&&"button",t&&"focusVisible"]};return(0,i.A)(a,g.t,n)})(L);return(0,y.jsx)(E,(0,o.A)({color:d,className:(0,l.A)(V.root,c),classes:w,component:A,onBlur:e=>{T(e),!1===M.current&&B(!1),b&&b(e)},onFocus:e=>{$(e),!0===M.current&&B(!0),v&&v(e)},ref:F,ownerState:L,variant:x,sx:[...Object.keys(h).includes(d)?[]:[{color:d}],...Array.isArray(S)?S:[S]]},C))}))},58161:(e,n,r)=>{r.d(n,{A:()=>l,t:()=>a});var t=r(55549),o=r(9577);function a(e){return(0,o.Ay)("MuiLink",e)}const l=(0,t.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])}}]);
//# sourceMappingURL=9032.7138d113.chunk.js.map