Mercurial > repos > fubar > jbrowse2
view x/static/js/7117.b3239756.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([[7117],{17177:(e,t,a)=>{a.d(t,{A:()=>A});var o=a(7552),r=a(93878),i=a(70799),s=a(72639),c=a(15622),n=a(58520),l=a(15110),d=a(51148),h=a(60129),p=a(4785),m=a(66889),u=a(69500);const g=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.edge&&t[`edge${(0,c.A)(a.edge)}`],t[`size${(0,c.A)(a.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${m.A.thumb}`]:{width:16,height:16},[`& .${m.A.switchBase}`]:{padding:4,[`&.${m.A.checked}`]:{transform:"translateX(16px)"}}}}]}),v=(0,d.Ay)(l.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.switchBase,{[`& .${m.A.input}`]:t.input},"default"!==a.color&&t[`color${(0,c.A)(a.color)}`]]}})((0,h.A)((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${m.A.checked}`]:{transform:"translateX(20px)"},[`&.${m.A.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.A.checked} + .${m.A.track}`]:{opacity:.5},[`&.${m.A.disabled} + .${m.A.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${m.A.input}`]:{left:"-100%",width:"300%"}}))),(0,h.A)((({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,n.A)(["light"])).map((([t])=>({props:{color:t},style:{[`&.${m.A.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.A.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,s.a)(e.palette[t].main,.62):(0,s.e$)(e.palette[t].main,.55)}`}},[`&.${m.A.checked} + .${m.A.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]})))),b=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,h.A)((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)})))),w=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,h.A)((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})))),A=o.forwardRef((function(e,t){const a=(0,p.b)({props:e,name:"MuiSwitch"}),{className:o,color:s="primary",edge:n=!1,size:l="medium",sx:d,...h}=a,A={...a,color:s,edge:n,size:l},k=(e=>{const{classes:t,edge:a,size:o,color:r,checked:s,disabled:n}=e,l={root:["root",a&&`edge${(0,c.A)(a)}`,`size${(0,c.A)(o)}`],switchBase:["switchBase",`color${(0,c.A)(r)}`,s&&"checked",n&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,i.A)(l,m.n,t);return{...t,...d}})(A),$=(0,u.jsx)(w,{className:k.thumb,ownerState:A});return(0,u.jsxs)(g,{className:(0,r.A)(k.root,o),sx:d,ownerState:A,children:[(0,u.jsx)(v,{type:"checkbox",icon:$,checkedIcon:$,ref:t,ownerState:A,...h,classes:{...k,root:k.switchBase}}),(0,u.jsx)(b,{className:k.track,ownerState:A})]})}))},67117:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o.A,getSwitchUtilityClass:()=>r.n,switchClasses:()=>r.A});var o=a(17177),r=a(66889)},66889:(e,t,a)=>{a.d(t,{A:()=>s,n:()=>i});var o=a(33761),r=a(85693);function i(e){return(0,r.Ay)("MuiSwitch",e)}const s=(0,o.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"])}}]); //# sourceMappingURL=7117.b3239756.chunk.js.map