Mercurial > repos > fubar > jbrowse2
view x/static/js/3266.accbd4dc.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([[3266],{35960:(e,t,a)=>{a.d(t,{A:()=>O});var o=a(7552),r=a(93878),s=a(70799),i=a(72639),l=a(93876),n=a(9547),p=a(48054),d=a(15622),c=a(58520),v=a(30627),u=a(27103),g=a(74893),b=a(69500);const y=(0,g.A)((0,b.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),m=(0,g.A)((0,b.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");var h=a(43045),x=a(51148),A=a(60129),f=a(4785);const $=(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],t[`size${(0,d.A)(a.size)}`],"text"===a.variant&&t[`text${(0,d.A)(a.color)}`],"outlined"===a.variant&&t[`outlined${(0,d.A)(a.color)}`],"rounded"===a.shape&&t.rounded,"page"===a.type&&t.page,("start-ellipsis"===a.type||"end-ellipsis"===a.type)&&t.ellipsis,("previous"===a.type||"next"===a.type)&&t.previousNext,("first"===a.type||"last"===a.type)&&t.firstLast]},C=(0,x.Ay)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:$})((0,A.A)((({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${n.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]})))),z=(0,x.Ay)(p.A,{name:"MuiPaginationItem",slot:"Root",overridesResolver:$})((0,A.A)((({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${n.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${n.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${n.A.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${n.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${n.A.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${n.A.selected}`]:{[`&.${n.A.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${n.A.selected}`]:{[`&.${n.A.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter((0,c.A)(["dark","contrastText"])).map((([t])=>({props:{variant:"text",color:t},style:{[`&.${n.A.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${n.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${n.A.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}}))),...Object.entries(e.palette).filter((0,c.A)(["light"])).map((([t])=>({props:{variant:"outlined",color:t},style:{[`&.${n.A.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,i.X4)(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${n.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}})))]})))),k=(0,x.Ay)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((0,A.A)((({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]})))),O=o.forwardRef((function(e,t){const a=(0,f.b)({props:e,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:p,components:c={},disabled:g=!1,page:x,selected:A=!1,shape:$="circular",size:O="medium",slots:R={},slotProps:w={},type:P="page",variant:S="text",...L}=a,T={...a,color:i,disabled:g,selected:A,shape:$,size:O,type:P,variant:S},M=(0,l.I)(),j=(e=>{const{classes:t,color:a,disabled:o,selected:r,size:i,shape:l,type:p,variant:c}=e,v={root:["root",`size${(0,d.A)(i)}`,c,l,"standard"!==a&&`color${(0,d.A)(a)}`,"standard"!==a&&`${c}${(0,d.A)(a)}`,o&&"disabled",r&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[p]],icon:["icon"]};return(0,s.A)(v,n.q,t)})(T),N={slots:{previous:R.previous??c.previous,next:R.next??c.next,first:R.first??c.first,last:R.last??c.last},slotProps:w},[I,W]=(0,h.A)("previous",{elementType:y,externalForwardedProps:N,ownerState:T}),[X,F]=(0,h.A)("next",{elementType:m,externalForwardedProps:N,ownerState:T}),[V,_]=(0,h.A)("first",{elementType:v.A,externalForwardedProps:N,ownerState:T}),[q,B]=(0,h.A)("last",{elementType:u.A,externalForwardedProps:N,ownerState:T}),H=M?{previous:"next",next:"previous",first:"last",last:"first"}[P]:P,U={previous:I,next:X,first:V,last:q}[H],D={previous:W,next:F,first:_,last:B}[H];return"start-ellipsis"===P||"end-ellipsis"===P?(0,b.jsx)(C,{ref:t,ownerState:T,className:(0,r.A)(j.root,o),children:"…"}):(0,b.jsxs)(z,{ref:t,ownerState:T,component:p,disabled:g,className:(0,r.A)(j.root,o),...L,children:["page"===P&&x,U?(0,b.jsx)(k,{...D,className:j.icon,as:U}):null]})}))},83266:(e,t,a)=>{a.r(t),a.d(t,{default:()=>o.A,getPaginationItemUtilityClass:()=>r.q,paginationItemClasses:()=>r.A});var o=a(35960),r=a(9547)},9547:(e,t,a)=>{a.d(t,{A:()=>i,q:()=>s});var o=a(33761),r=a(85693);function s(e){return(0,r.Ay)("MuiPaginationItem",e)}const i=(0,o.A)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"])},30627:(e,t,a)=>{a.d(t,{A:()=>s}),a(7552);var o=a(74893),r=a(69500);const s=(0,o.A)((0,r.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},27103:(e,t,a)=>{a.d(t,{A:()=>s}),a(7552);var o=a(74893),r=a(69500);const s=(0,o.A)((0,r.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")}}]); //# sourceMappingURL=3266.accbd4dc.chunk.js.map