view x/static/js/8165.d07843b4.chunk.js.map @ 125:49f3d3878413 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author fubar
date Sat, 05 Oct 2024 23:58:05 +0000
parents
children
line wrap: on
line source

{"version":3,"file":"static/js/8165.d07843b4.chunk.js","mappings":"iTAEO,SAASA,EAAmBC,GACjC,OAAO,EAAAC,EAAA,IAAqB,SAAUD,EACxC,CACA,MACA,GADmB,EAAAE,EAAA,GAAuB,SAAU,CAAC,OAAQ,YAAa,mBAAoB,mBAAoB,qBAAsB,WAAY,WAAY,YAAa,UAAW,cAAe,S,eCSvM,MAiBMC,GAAU,EAAAC,EAAA,IAAOC,EAAA,EAAY,CACjCC,KAAM,SACNN,KAAM,OACNO,kBAAmB,CAACC,EAAOC,KACzB,MAAM,WACJC,GACEF,EACJ,MAAO,CAACC,EAAOE,KAAMD,EAAWE,OAASF,EAAWG,MAAQJ,EAAOK,UAAWL,EAAO,aAAY,EAAAM,EAAA,GAAWL,EAAWM,cAAeN,EAAWO,WAAaR,EAAOQ,UAAWP,EAAWQ,SAAWT,EAAOS,QAAS,CACpN,CAAC,MAAM,EAAWC,eAAgBV,EAAOU,aACxC,CACD,CAAC,MAAM,EAAWN,QAASJ,EAAOI,MAClC,GAXU,EAab,EAAAO,EAAA,IAAU,EACXC,YACI,IACDA,EAAMC,WAAWC,OACpBC,SAAU,IACVC,SAAU,GACVC,SAAU,WACVC,UAAW,GACXC,WAAY,EACZC,QAAS,YACTC,SAAU,SACVC,WAAY,SACZC,UAAW,SACXC,WAAY,KACZC,SAAU,CAAC,CACT1B,MAAO,EACLE,gBACIA,EAAWE,QAAsC,QAA5BF,EAAWyB,cAAsD,WAA5BzB,EAAWyB,cAC3EC,MAAO,CACLC,cAAe,WAEhB,CACD7B,MAAO,EACLE,gBACIA,EAAWE,OAAqC,QAA5BF,EAAWyB,cAAsD,WAA5BzB,EAAWyB,aAC1EC,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,cAAe,SAExB,OAAO,EAAA8D,EAAA,GAAeD,EAAO3E,EAAoB0E,EAAQ,EAiMzCG,CAAkBlE,GAC5BG,EAAOoD,GAAYrD,GAAsB,iBAAqBqD,GAAyB,eAAmBA,EAAU,CACxHF,WAAW,EAAAc,EAAA,GAAKJ,EAAQ5D,KAAMoD,EAASzD,MAAMuD,aAC1CE,EAiBL,OAAoB,UAAM9D,EAAS,CACjC2E,aAAcd,EACdD,WAAW,EAAAc,EAAA,GAAKJ,EAAQ9D,KAAMoD,GAC9BD,IAAKA,EACLiB,KAAM,MACN,gBAAiBhC,EACjBC,SAAUA,EACVoB,QAvBkBY,KACbjC,GAAYoB,GACfA,EAASa,EAAOT,GAEdH,GACFA,EAAQY,EACV,EAkBAX,QAhBkBW,IACdV,IAA0BvB,GAAYoB,GACxCA,EAASa,EAAOT,GAEdF,GACFA,EAAQW,EACV,EAWAtE,WAAYA,EACZuE,SAAUlC,EAAW,GAAK,KACvByB,EACHU,SAAU,CAAkB,QAAjB/C,GAA2C,UAAjBA,GAAwC,UAAM,WAAgB,CACjG+C,SAAU,CAACrE,EAAMD,MACD,UAAM,WAAgB,CACtCsE,SAAU,CAACtE,EAAOC,KAChBqD,IAER,G","sources":["../../../node_modules/@mui/material/Tab/tabClasses.js","../../../node_modules/@mui/material/Tab/Tab.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTabUtilityClass(slot) {\n  return generateUtilityClass('MuiTab', slot);\n}\nconst tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper', 'icon']);\nexport default tabClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport unsupportedProp from \"../utils/unsupportedProp.js\";\nimport tabClasses, { getTabUtilityClass } from \"./tabClasses.js\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n  const {\n    classes,\n    textColor,\n    fullWidth,\n    wrapped,\n    icon,\n    label,\n    selected,\n    disabled\n  } = ownerState;\n  const slots = {\n    root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],\n    icon: ['iconWrapper', 'icon']\n  };\n  return composeClasses(slots, getTabUtilityClass, classes);\n};\nconst TabRoot = styled(ButtonBase, {\n  name: 'MuiTab',\n  slot: 'Root',\n  overridesResolver: (props, styles) => {\n    const {\n      ownerState\n    } = props;\n    return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {\n      [`& .${tabClasses.iconWrapper}`]: styles.iconWrapper\n    }, {\n      [`& .${tabClasses.icon}`]: styles.icon\n    }];\n  }\n})(memoTheme(({\n  theme\n}) => ({\n  ...theme.typography.button,\n  maxWidth: 360,\n  minWidth: 90,\n  position: 'relative',\n  minHeight: 48,\n  flexShrink: 0,\n  padding: '12px 16px',\n  overflow: 'hidden',\n  whiteSpace: 'normal',\n  textAlign: 'center',\n  lineHeight: 1.25,\n  variants: [{\n    props: ({\n      ownerState\n    }) => ownerState.label && (ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom'),\n    style: {\n      flexDirection: 'column'\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.label && ownerState.iconPosition !== 'top' && ownerState.iconPosition !== 'bottom',\n    style: {\n      flexDirection: 'row'\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.icon && ownerState.label,\n    style: {\n      minHeight: 72,\n      paddingTop: 9,\n      paddingBottom: 9\n    }\n  }, {\n    props: ({\n      ownerState,\n      iconPosition\n    }) => ownerState.icon && ownerState.label && iconPosition === 'top',\n    style: {\n      [`& > .${tabClasses.icon}`]: {\n        marginBottom: 6\n      }\n    }\n  }, {\n    props: ({\n      ownerState,\n      iconPosition\n    }) => ownerState.icon && ownerState.label && iconPosition === 'bottom',\n    style: {\n      [`& > .${tabClasses.icon}`]: {\n        marginTop: 6\n      }\n    }\n  }, {\n    props: ({\n      ownerState,\n      iconPosition\n    }) => ownerState.icon && ownerState.label && iconPosition === 'start',\n    style: {\n      [`& > .${tabClasses.icon}`]: {\n        marginRight: theme.spacing(1)\n      }\n    }\n  }, {\n    props: ({\n      ownerState,\n      iconPosition\n    }) => ownerState.icon && ownerState.label && iconPosition === 'end',\n    style: {\n      [`& > .${tabClasses.icon}`]: {\n        marginLeft: theme.spacing(1)\n      }\n    }\n  }, {\n    props: {\n      textColor: 'inherit'\n    },\n    style: {\n      color: 'inherit',\n      opacity: 0.6,\n      // same opacity as theme.palette.text.secondary\n      [`&.${tabClasses.selected}`]: {\n        opacity: 1\n      },\n      [`&.${tabClasses.disabled}`]: {\n        opacity: (theme.vars || theme).palette.action.disabledOpacity\n      }\n    }\n  }, {\n    props: {\n      textColor: 'primary'\n    },\n    style: {\n      color: (theme.vars || theme).palette.text.secondary,\n      [`&.${tabClasses.selected}`]: {\n        color: (theme.vars || theme).palette.primary.main\n      },\n      [`&.${tabClasses.disabled}`]: {\n        color: (theme.vars || theme).palette.text.disabled\n      }\n    }\n  }, {\n    props: {\n      textColor: 'secondary'\n    },\n    style: {\n      color: (theme.vars || theme).palette.text.secondary,\n      [`&.${tabClasses.selected}`]: {\n        color: (theme.vars || theme).palette.secondary.main\n      },\n      [`&.${tabClasses.disabled}`]: {\n        color: (theme.vars || theme).palette.text.disabled\n      }\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.fullWidth,\n    style: {\n      flexShrink: 1,\n      flexGrow: 1,\n      flexBasis: 0,\n      maxWidth: 'none'\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.wrapped,\n    style: {\n      fontSize: theme.typography.pxToRem(12)\n    }\n  }]\n})));\nconst Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {\n  const props = useDefaultProps({\n    props: inProps,\n    name: 'MuiTab'\n  });\n  const {\n    className,\n    disabled = false,\n    disableFocusRipple = false,\n    // eslint-disable-next-line react/prop-types\n    fullWidth,\n    icon: iconProp,\n    iconPosition = 'top',\n    // eslint-disable-next-line react/prop-types\n    indicator,\n    label,\n    onChange,\n    onClick,\n    onFocus,\n    // eslint-disable-next-line react/prop-types\n    selected,\n    // eslint-disable-next-line react/prop-types\n    selectionFollowsFocus,\n    // eslint-disable-next-line react/prop-types\n    textColor = 'inherit',\n    value,\n    wrapped = false,\n    ...other\n  } = props;\n  const ownerState = {\n    ...props,\n    disabled,\n    disableFocusRipple,\n    selected,\n    icon: !!iconProp,\n    iconPosition,\n    label: !!label,\n    fullWidth,\n    textColor,\n    wrapped\n  };\n  const classes = useUtilityClasses(ownerState);\n  const icon = iconProp && label && /*#__PURE__*/React.isValidElement(iconProp) ? /*#__PURE__*/React.cloneElement(iconProp, {\n    className: clsx(classes.icon, iconProp.props.className)\n  }) : iconProp;\n  const handleClick = event => {\n    if (!selected && onChange) {\n      onChange(event, value);\n    }\n    if (onClick) {\n      onClick(event);\n    }\n  };\n  const handleFocus = event => {\n    if (selectionFollowsFocus && !selected && onChange) {\n      onChange(event, value);\n    }\n    if (onFocus) {\n      onFocus(event);\n    }\n  };\n  return /*#__PURE__*/_jsxs(TabRoot, {\n    focusRipple: !disableFocusRipple,\n    className: clsx(classes.root, className),\n    ref: ref,\n    role: \"tab\",\n    \"aria-selected\": selected,\n    disabled: disabled,\n    onClick: handleClick,\n    onFocus: handleFocus,\n    ownerState: ownerState,\n    tabIndex: selected ? 0 : -1,\n    ...other,\n    children: [iconPosition === 'top' || iconPosition === 'start' ? /*#__PURE__*/_jsxs(React.Fragment, {\n      children: [icon, label]\n    }) : /*#__PURE__*/_jsxs(React.Fragment, {\n      children: [label, icon]\n    }), indicator]\n  });\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes /* remove-proptypes */ = {\n  // ┌────────────────────────────── Warning ──────────────────────────────┐\n  // │ These PropTypes are generated from the TypeScript type definitions. │\n  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │\n  // └─────────────────────────────────────────────────────────────────────┘\n  /**\n   * This prop isn't supported.\n   * Use the `component` prop if you need to change the children structure.\n   */\n  children: unsupportedProp,\n  /**\n   * Override or extend the styles applied to the component.\n   */\n  classes: PropTypes.object,\n  /**\n   * @ignore\n   */\n  className: PropTypes.string,\n  /**\n   * If `true`, the component is disabled.\n   * @default false\n   */\n  disabled: PropTypes.bool,\n  /**\n   * If `true`, the  keyboard focus ripple is disabled.\n   * @default false\n   */\n  disableFocusRipple: PropTypes.bool,\n  /**\n   * If `true`, the ripple effect is disabled.\n   *\n   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n   * @default false\n   */\n  disableRipple: PropTypes.bool,\n  /**\n   * The icon to display.\n   */\n  icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n  /**\n   * The position of the icon relative to the label.\n   * @default 'top'\n   */\n  iconPosition: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n  /**\n   * The label element.\n   */\n  label: PropTypes.node,\n  /**\n   * @ignore\n   */\n  onChange: PropTypes.func,\n  /**\n   * @ignore\n   */\n  onClick: PropTypes.func,\n  /**\n   * @ignore\n   */\n  onFocus: PropTypes.func,\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n  /**\n   * You can provide your own value. Otherwise, we fallback to the child position index.\n   */\n  value: PropTypes.any,\n  /**\n   * Tab labels appear in a single row.\n   * They can use a second line if needed.\n   * @default false\n   */\n  wrapped: PropTypes.bool\n} : void 0;\nexport default Tab;"],"names":["getTabUtilityClass","slot","generateUtilityClass","generateUtilityClasses","TabRoot","styled","ButtonBase","name","overridesResolver","props","styles","ownerState","root","label","icon","labelIcon","capitalize","textColor","fullWidth","wrapped","iconWrapper","memoTheme","theme","typography","button","maxWidth","minWidth","position","minHeight","flexShrink","padding","overflow","whiteSpace","textAlign","lineHeight","variants","iconPosition","style","flexDirection","paddingTop","paddingBottom","marginBottom","marginTop","marginRight","spacing","marginLeft","color","opacity","selected","disabled","vars","palette","action","disabledOpacity","text","secondary","primary","main","flexGrow","flexBasis","fontSize","pxToRem","inProps","ref","className","disableFocusRipple","iconProp","indicator","onChange","onClick","onFocus","selectionFollowsFocus","value","other","classes","slots","composeClasses","useUtilityClasses","clsx","focusRipple","role","event","tabIndex","children"],"sourceRoot":""}