Mercurial > repos > fubar > jbrowse2
view x/static/js/3940.c8b3da50.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([[3940],{84885:(r,a,t)=>{t.d(a,{A:()=>f});var o=t(7552),n=t(93878),e=t(43583),i=t(70799),l=t(1045);var s=t(51148),c=t(60129),g=t(58520),p=t(4785),h=t(15622),d=t(47839),m=t(69500);const v=(0,s.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(r,a)=>a.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),b=(0,s.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(r,a)=>{const{ownerState:t}=r;return[a.badge,a[t.variant],a[`anchorOrigin${(0,h.A)(t.anchorOrigin.vertical)}${(0,h.A)(t.anchorOrigin.horizontal)}${(0,h.A)(t.overlap)}`],"default"!==t.color&&a[`color${(0,h.A)(t.color)}`],t.invisible&&a.invisible]}})((0,c.A)((({theme:r})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:r.typography.fontFamily,fontWeight:r.typography.fontWeightMedium,fontSize:r.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:r.transitions.create("transform",{easing:r.transitions.easing.easeInOut,duration:r.transitions.duration.enteringScreen}),variants:[...Object.entries(r.palette).filter((0,g.A)(["contrastText"])).map((([a])=>({props:{color:a},style:{backgroundColor:(r.vars||r).palette[a].main,color:(r.vars||r).palette[a].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:r})=>"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:r})=>"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${d.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:r.transitions.create("transform",{easing:r.transitions.easing.easeInOut,duration:r.transitions.duration.leavingScreen})}}]})))),f=o.forwardRef((function(r,a){const t=(0,p.b)({props:r,name:"MuiBadge"}),{anchorOrigin:o={vertical:"top",horizontal:"right"},className:s,classes:c,component:g,components:f={},componentsProps:u={},children:O,overlap:A="rectangular",color:y="default",invisible:w=!1,max:x=99,badgeContent:C,slots:S,slotProps:$,showZero:R=!1,variant:z="standard",...B}=t,{badgeContent:T,invisible:P,max:j,displayValue:k}=function(r){const{badgeContent:a,invisible:t=!1,max:o=99,showZero:n=!1}=r,i=(0,e.A)({badgeContent:a,max:o});let l=t;!1!==t||0!==a||n||(l=!0);const{badgeContent:s,max:c=o}=l?i:r;return{badgeContent:s,invisible:l,max:c,displayValue:s&&Number(s)>c?`${c}+`:s}}({max:x,invisible:w,badgeContent:C,showZero:R}),L=(0,e.A)({anchorOrigin:o,color:y,overlap:A,variant:z,badgeContent:C}),M=P||null==T&&"dot"!==z,{color:N=y,overlap:W=A,anchorOrigin:I=o,variant:Z=z}=M?L:t,_="dot"!==Z?k:void 0,F={...t,badgeContent:T,invisible:M,max:j,displayValue:_,showZero:R,anchorOrigin:I,color:N,overlap:W,variant:Z},V=(r=>{const{color:a,anchorOrigin:t,invisible:o,overlap:n,variant:e,classes:l={}}=r,s={root:["root"],badge:["badge",e,o&&"invisible",`anchorOrigin${(0,h.A)(t.vertical)}${(0,h.A)(t.horizontal)}`,`anchorOrigin${(0,h.A)(t.vertical)}${(0,h.A)(t.horizontal)}${(0,h.A)(n)}`,`overlap${(0,h.A)(n)}`,"default"!==a&&`color${(0,h.A)(a)}`]};return(0,i.A)(s,d.w,l)})(F),D=S?.root??f.Root??v,E=S?.badge??f.Badge??b,H=$?.root??u.root,U=$?.badge??u.badge,q=(0,l.A)({elementType:D,externalSlotProps:H,externalForwardedProps:B,additionalProps:{ref:a,as:g},ownerState:F,className:(0,n.A)(H?.className,V.root,s)}),G=(0,l.A)({elementType:E,externalSlotProps:U,ownerState:F,className:(0,n.A)(V.badge,U?.className)});return(0,m.jsxs)(D,{...q,children:[O,(0,m.jsx)(E,{...G,children:_})]})}))},47839:(r,a,t)=>{t.d(a,{A:()=>i,w:()=>e});var o=t(33761),n=t(85693);function e(r){return(0,n.Ay)("MuiBadge",r)}const i=(0,o.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"])},13940:(r,a,t)=>{t.r(a),t.d(a,{badgeClasses:()=>n.A,default:()=>o.A,getBadgeUtilityClass:()=>n.w});var o=t(84885),n=t(47839)}}]); //# sourceMappingURL=3940.c8b3da50.chunk.js.map