"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[3654],{99877:function(n,t,e){var a,i,r,o,s,h,l,d,u=e(71171),c=e(31461),f=e(7896),m=e(30969),p=e(81856),v=e(54470),g=e(26540),w=e(74092),b=e(74262),k=e(62221),C=e(2441),Z=e(76929),y=e(37574),S=["animation","className","component","height","style","variant","width"],R=(0,v.keyframes)(s||(s=a||(a=(0,u.Z)(["\n  0% {\n    opacity: 1;\n  }\n\n  50% {\n    opacity: 0.4;\n  }\n\n  100% {\n    opacity: 1;\n  }\n"])))),x=(0,v.keyframes)(h||(h=i||(i=(0,u.Z)(["\n  0% {\n    transform: translateX(-100%);\n  }\n\n  50% {\n    /* +0.5s of delay between each loop */\n    transform: translateX(100%);\n  }\n\n  100% {\n    transform: translateX(100%);\n  }\n"])))),B=(0,k.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(n,t){var e=n.ownerState;return[t.root,t[e.variant],!1!==e.animation&&t[e.animation],e.hasChildren&&t.withChildren,e.hasChildren&&!e.width&&t.fitContent,e.hasChildren&&!e.height&&t.heightAuto]}})((function(n){var t=n.theme,e=n.ownerState,a=(0,w.Wy)(t.shape.borderRadius)||"px",i=(0,w.YL)(t.shape.borderRadius);return(0,f.Z)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:(0,b.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===e.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(i).concat(a,"/").concat(Math.round(i/.6*10)/10).concat(a),"&:empty:before":{content:'"\\00a0"'}},"circular"===e.variant&&{borderRadius:"50%"},"rounded"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius},e.hasChildren&&{"& > *":{visibility:"hidden"}},e.hasChildren&&!e.width&&{maxWidth:"fit-content"},e.hasChildren&&!e.height&&{height:"auto"})}),(function(n){return"pulse"===n.ownerState.animation&&(0,v.css)(l||(l=r||(r=(0,u.Z)(["\n      animation: "," 1.5s ease-in-out 0.5s infinite;\n    "]))),R)}),(function(n){var t=n.ownerState,e=n.theme;return"wave"===t.animation&&(0,v.css)(d||(d=o||(o=(0,u.Z)(["\n      position: relative;\n      overflow: hidden;\n\n      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n      -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n      &::after {\n        animation: "," 1.6s linear 0.5s infinite;\n        background: linear-gradient(\n          90deg,\n          transparent,\n          ",",\n          transparent\n        );\n        content: '';\n        position: absolute;\n        transform: translateX(-100%); /* Avoid flash during server-side hydration */\n        bottom: 0;\n        left: 0;\n        right: 0;\n        top: 0;\n      }\n    "]))),x,(e.vars||e).palette.action.hover)})),M=m.forwardRef((function(n,t){var e=(0,C.Z)({props:n,name:"MuiSkeleton"}),a=e.animation,i=void 0===a?"pulse":a,r=e.className,o=e.component,s=void 0===o?"span":o,h=e.height,l=e.style,d=e.variant,u=void 0===d?"text":d,m=e.width,v=(0,c.Z)(e,S),w=(0,f.Z)({},e,{animation:i,component:s,variant:u,hasChildren:Boolean(v.children)}),b=function(n){var t=n.classes,e=n.variant,a=n.animation,i=n.hasChildren,r=n.width,o=n.height,s={root:["root",e,a,i&&"withChildren",i&&!r&&"fitContent",i&&!o&&"heightAuto"]};return(0,g.Z)(s,Z.B,t)}(w);return(0,y.jsx)(B,(0,f.Z)({as:s,ref:t,className:(0,p.default)(b.root,r),ownerState:w},v,{style:(0,f.Z)({width:m,height:h},l)}))}));t.Z=M},73654:function(n,t,e){e.r(t),e.d(t,{default:function(){return a.Z},getSkeletonUtilityClass:function(){return i.B},skeletonClasses:function(){return i.Z}});var a=e(99877),i=e(76929)},76929:function(n,t,e){e.d(t,{B:function(){return i}});var a=e(2975);function i(n){return(0,a.Z)("MuiSkeleton",n)}var r=(0,e(62746).Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);t.Z=r}}]);
//# sourceMappingURL=3654.0e69ff26.chunk.js.map