"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[744],{622:function(n,e,o){o.d(e,{Z:function(){return S}});var r=o(68079),t=o(96234),i=o(56666),a=o(31461),c=o(7896),u=o(30969),s=o(87023),l=o(26540),d=o(24099),p=o(45971),f=o(17363),b=o(65139),m=o(87352),v=o(33359),Z=o(11808),y=o(43565),w=o(74262),h={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},k=function(n){var e=n.theme,o=n.ownerState,r=function(n){return h[n]||n}(o.color),t=(0,y.DW)(e,"palette.".concat(r),!1)||o.color,i=(0,y.DW)(e,"palette.".concat(r,"Channel"));return"vars"in e&&i?"rgba(".concat(i," / 0.4)"):(0,w.Fq)(t,.4)},x=o(37574),C=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],g=(0,p.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(n,e){var o=n.ownerState;return[e.root,e["underline".concat((0,d.Z)(o.underline))],"button"===o.component&&e.button]}})((function(n){var e=n.theme,o=n.ownerState;return(0,c.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&(0,c.Z)({textDecoration:"underline"},"inherit"!==o.color&&{textDecorationColor:k({theme:e,ownerState:o})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===o.component&&(0,i.Z)({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"}},"&.".concat(Z.Z.focusVisible),{outline:"auto"}))})),S=u.forwardRef((function(n,e){var o=(0,f.Z)({props:n,name:"MuiLink"}),i=o.className,p=o.color,v=void 0===p?"primary":p,y=o.component,w=void 0===y?"a":y,k=o.onBlur,S=o.onFocus,D=o.TypographyClasses,A=o.underline,F=void 0===A?"always":A,V=o.variant,L=void 0===V?"inherit":V,M=o.sx,R=(0,a.Z)(o,C),j=(0,b.Z)(),B=j.isFocusVisibleRef,N=j.onBlur,W=j.onFocus,_=j.ref,T=u.useState(!1),z=(0,t.Z)(T,2),H=z[0],P=z[1],q=(0,m.Z)(e,_),O=(0,c.Z)({},o,{color:v,component:w,focusVisible:H,underline:F,variant:L}),U=function(n){var e=n.classes,o=n.component,r=n.focusVisible,t=n.underline,i={root:["root","underline".concat((0,d.Z)(t)),"button"===o&&"button",r&&"focusVisible"]};return(0,l.Z)(i,Z.w,e)}(O);return(0,x.jsx)(g,(0,c.Z)({color:v,className:(0,s.Z)(U.root,i),classes:D,component:w,onBlur:function(n){N(n),!1===B.current&&P(!1),k&&k(n)},onFocus:function(n){W(n),!0===B.current&&P(!0),S&&S(n)},ref:q,ownerState:O,variant:L,sx:[].concat((0,r.Z)(Object.keys(h).includes(v)?[]:[{color:v}]),(0,r.Z)(Array.isArray(M)?M:[M]))},R))}))},20744:function(n,e,o){o.r(e),o.d(e,{default:function(){return r.Z},getLinkUtilityClass:function(){return t.w},linkClasses:function(){return t.Z}});var r=o(622),t=o(11808)},11808:function(n,e,o){o.d(e,{w:function(){return i}});var r=o(62746),t=o(2975);function i(n){return(0,t.Z)("MuiLink",n)}var a=(0,r.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);e.Z=a}}]);
//# sourceMappingURL=744.c203bb70.chunk.js.map