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AEb,eAAe,YAAc,QAC7B,eAAe,UAAY,CACzB,KAAM,mBAAmB,QAAQ,MAAM,MACvC,WAAY,mBAAmB,QAAQ,MAEzC,MAAM,MAAQ,eACd,MAAM,KAAO,KACb,MAAM,QAAU,QAChB,MAAM,KAAO,KACb,MAAM,SAAW,SACjB,MAAM,KAAO,KACb,MAAM,WAAa,WACnB,MAAM,UAAY,UAClB,MAAM,eAAiB,eACvB,MAAM,IAAM,IACZ,MAAM,aAAe,aAErB,QAAQ,KAAO,KACf,QAAQ,QAAU,QAClB,QAAQ,KAAO,KACf,QAAQ,SAAW,SACnB,QAAQ,KAAO,KACf,QAAQ,WAAa,WACrB,QAAQ,UAAY,UACpB,QAAQ,eAAiB,eACzB,QAAQ,IAAM,IACd,QAAQ,aAAe,aACvB,QAAQ,MAAQ","file":"/npm/@zendeskgarden/react-tables@9.15.0/dist/index.cjs.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@zendeskgarden/react-tables@9.15.0/dist/index.cjs.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n* Copyright Zendesk, Inc.\n*\n* Use of this source code is governed under the Apache License, Version 2.0\n* found at http://www.apache.org/licenses/LICENSE-2.0.\n*/\n'use strict';\n\nvar React = require('react');\nvar styled = require('styled-components');\nvar reactTheming = require('@zendeskgarden/react-theming');\nvar polished = require('polished');\nvar reactButtons = require('@zendeskgarden/react-buttons');\nvar PropTypes = require('prop-types');\nvar containerUtilities = require('@zendeskgarden/container-utilities');\n\nfunction _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }\n\nfunction _interopNamespace(e) {\n  if (e && e.__esModule) return e;\n  var n = Object.create(null);\n  if (e) {\n    Object.keys(e).forEach(function (k) {\n      if (k !== 'default') {\n        var d = Object.getOwnPropertyDescriptor(e, k);\n        Object.defineProperty(n, k, d.get ? d : {\n          enumerable: true,\n          get: function () { return e[k]; }\n        });\n      }\n    });\n  }\n  n.default = e;\n  return Object.freeze(n);\n}\n\nvar React__namespace = /*#__PURE__*/_interopNamespace(React);\nvar styled__default = /*#__PURE__*/_interopDefault(styled);\nvar PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);\n\nconst COMPONENT_ID$b = 'tables.body';\nconst StyledBody = styled__default.default.tbody.attrs({\n  'data-garden-id': COMPONENT_ID$b,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledBody\",\n  componentId: \"sc-14ud6y-0\"\n})([\"\", \";\"], reactTheming.componentStyles);\n\nconst COMPONENT_ID$a = 'tables.caption';\nconst StyledCaption = styled__default.default.caption.attrs({\n  'data-garden-id': COMPONENT_ID$a,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledCaption\",\n  componentId: \"sc-113y327-0\"\n})([\"display:table-caption;text-align:\", \";\", \";\"], props => props.theme.rtl ? 'right' : 'left', reactTheming.componentStyles);\n\nconst sizeStyles$4 = ({\n  theme\n}) => {\n  return styled.css([\"border-bottom:\", \";vertical-align:top;box-sizing:border-box;\"], theme.borders.sm);\n};\nconst colorStyles$5 = ({\n  theme,\n  $isStriped\n}) => {\n  const borderColor = reactTheming.getColor({\n    variable: 'border.subtle',\n    theme\n  });\n  const backgroundColor = reactTheming.getColor({\n    variable: 'background.subtle',\n    transparency: theme.opacity[100],\n    light: {\n      offset: 300\n    },\n    dark: {\n      offset: -600\n    },\n    theme\n  });\n  return styled.css([\"border-bottom-color:\", \";background-color:\", \";\"], borderColor, $isStriped && backgroundColor);\n};\nconst StyledBaseRow = styled__default.default.tr.withConfig({\n  displayName: \"StyledBaseRow\",\n  componentId: \"sc-1t4zqg4-0\"\n})([\"display:table-row;transition:background-color 0.1s ease-in-out;\", \" \", \"\"], sizeStyles$4, colorStyles$5);\n\nconst getRowHeight = props => {\n  if (props.$size === 'large') {\n    return `${props.theme.space.base * 16}px`;\n  } else if (props.$size === 'small') {\n    return `${props.theme.space.base * 8}px`;\n  }\n  return `${props.theme.space.base * 10}px`;\n};\n\nconst COMPONENT_ID$9 = 'tables.overflow_button';\nconst OVERFLOW_BUTTON_SIZE = '2em';\nconst StyledOverflowButton = styled__default.default(reactButtons.IconButton).attrs({\n  'data-garden-id': COMPONENT_ID$9,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledOverflowButton\",\n  componentId: \"sc-1eba2ml-0\"\n})([\"margin-top:calc(\", \" - 1em);width:100%;min-width:unset;height:\", \";font-size:inherit;\", \";\"], props => polished.math(`${getRowHeight(props)} / 2`), OVERFLOW_BUTTON_SIZE, reactTheming.componentStyles);\n\nconst COMPONENT_ID$8 = 'tables.header_row';\nconst getHeaderRowHeight = props => {\n  if (props.$size === 'large') {\n    return `${props.theme.space.base * 18}px`;\n  } else if (props.$size === 'small') {\n    return `${props.theme.space.base * 10}px`;\n  }\n  return `${props.theme.space.base * 12}px`;\n};\nconst colorStyles$4 = ({\n  theme\n}) => {\n  return styled.css([\"border-bottom-color:\", \";\"], reactTheming.getColor({\n    variable: 'border.default',\n    theme\n  }));\n};\nconst sizeStyles$3 = props => {\n  const rowHeight = getHeaderRowHeight(props);\n  return styled.css([\"height:\", \";vertical-align:bottom;\", \"{margin-top:0;margin-bottom:calc(\", \" - 1em);}\"], rowHeight, StyledOverflowButton, polished.math(`${rowHeight} / 2`));\n};\nconst StyledHeaderRow = styled__default.default(StyledBaseRow).attrs({\n  'data-garden-id': COMPONENT_ID$8,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledHeaderRow\",\n  componentId: \"sc-16ogvdx-0\"\n})([\"font-weight:\", \";\", \" \", \" \", \"{opacity:1;}\", \";\"], props => props.theme.fontWeights.semibold, sizeStyles$3, colorStyles$4, StyledOverflowButton, reactTheming.componentStyles);\n\nconst COMPONENT_ID$7 = 'tables.table';\nconst getLineHeight = props => {\n  return `${props.theme.space.base * 5}px`;\n};\nconst StyledTable = styled__default.default.table.attrs({\n  'data-garden-id': COMPONENT_ID$7,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledTable\",\n  componentId: \"sc-gje7na-0\"\n})([\"display:table;border:none;width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0;line-height:\", \";color:\", \";font-size:\", \";direction:\", \";\", \";\"], props => getLineHeight(props), props => reactTheming.getColor({\n  variable: 'foreground.default',\n  theme: props.theme\n}), props => props.theme.fontSizes.md, props => props.theme.rtl && 'rtl', reactTheming.componentStyles);\n\nconst COMPONENT_ID$6 = 'tables.cell';\nconst truncatedStyling$1 = styled.css([\"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;\"]);\nconst sizeStyling = props => {\n  let boxSizing = 'border-box';\n  let padding;\n  let width = props.width;\n  let height;\n  if (props.$hasOverflow) {\n    boxSizing = 'content-box';\n    width = '2em';\n    height = 'inherit';\n    padding = props.theme.rtl ? `0 0 0 ${props.theme.space.base}px` : `0 ${props.theme.space.base}px 0 0`;\n  } else {\n    const paddingVertical = polished.math(`(${getRowHeight(props)} - ${getLineHeight(props)}) / 2`);\n    const paddingHorizontal = `${props.theme.space.base * 3}px`;\n    padding = `${paddingVertical} ${paddingHorizontal}`;\n  }\n  if (props.$isMinimum) {\n    boxSizing = 'content-box';\n    width = '1em';\n  }\n  return styled.css([\"box-sizing:\", \";padding:\", \";width:\", \";height:\", \";\"], boxSizing, padding, width, height);\n};\nconst StyledCell = styled__default.default.td.attrs({\n  'data-garden-id': COMPONENT_ID$6,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledCell\",\n  componentId: \"sc-8hpncx-0\"\n})([\"display:table-cell;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out;\", \";\", \";\", \";\"], props => sizeStyling(props), props => props.$isTruncated && truncatedStyling$1, reactTheming.componentStyles);\n\nconst COMPONENT_ID$5 = 'tables.sortable';\nconst StyledBaseIconWrapper = styled__default.default.div.withConfig({\n  displayName: \"StyledSortableButton__StyledBaseIconWrapper\",\n  componentId: \"sc-2s1dli-0\"\n})([\"display:flex;position:absolute;top:0;\", \":0;align-items:center;justify-content:center;opacity:0;width:\", \";height:100%;color:inherit;fill:inherit;\"], props => props.theme.rtl ? 'left' : 'right', props => props.theme.iconSizes.sm);\nconst StyledSortableStrokeIconWrapper = styled__default.default(StyledBaseIconWrapper).withConfig({\n  displayName: \"StyledSortableButton__StyledSortableStrokeIconWrapper\",\n  componentId: \"sc-2s1dli-1\"\n})([\"\"]);\nconst StyledSortableFillIconWrapper = styled__default.default(StyledBaseIconWrapper).withConfig({\n  displayName: \"StyledSortableButton__StyledSortableFillIconWrapper\",\n  componentId: \"sc-2s1dli-2\"\n})([\"\"]);\nconst colorStyles$3 = ({\n  theme,\n  $sort\n}) => {\n  const fgInactive = reactTheming.getColor({\n    variable: 'foreground.subtle',\n    transparency: theme.opacity[200],\n    theme\n  });\n  const fgActive = reactTheming.getColor({\n    variable: 'foreground.subtle',\n    theme\n  });\n  const fgPrimaryActive = reactTheming.getColor({\n    variable: 'foreground.primary',\n    theme\n  });\n  const fgPrimaryInactive = reactTheming.getColor({\n    variable: 'foreground.primary',\n    theme,\n    dark: {\n      offset: -100\n    },\n    transparency: theme.opacity[200]\n  });\n  let color = fgActive;\n  let fill = fgActive;\n  if ($sort === 'asc') {\n    color = fgActive;\n    fill = fgInactive;\n  } else if ($sort === 'desc') {\n    color = fgInactive;\n    fill = fgActive;\n  }\n  return styled.css([\"\", \"{color:\", \";fill:\", \";}\", \"{color:\", \";fill:\", \";}&:hover,\", \"{color:\", \";\", \";\", \" \", \"}\", \"\"], StyledSortableStrokeIconWrapper, fgActive, fgActive, StyledSortableFillIconWrapper, color, fill, reactTheming.SELECTOR_FOCUS_VISIBLE, fgPrimaryActive, $sort === undefined && `\n        ${StyledSortableFillIconWrapper} {\n          opacity: 1;\n          color: ${fgPrimaryActive};\n          fill: ${fgPrimaryActive};\n        }\n\n        ${StyledSortableStrokeIconWrapper} {\n          opacity: 0;\n        }\n      `, $sort === 'asc' && `\n        ${StyledSortableFillIconWrapper} {\n          color: ${fgPrimaryActive};\n          fill: ${fgPrimaryInactive};\n        }\n      `, $sort === 'desc' && `\n        ${StyledSortableFillIconWrapper} {\n          color: ${fgPrimaryInactive};\n          fill: ${fgPrimaryActive};\n        }\n      `, reactTheming.focusStyles({\n    theme\n  }));\n};\nconst StyledSortableButton = styled__default.default.button.attrs({\n  'data-garden-id': COMPONENT_ID$5,\n  'data-garden-version': '9.15.0',\n  type: 'button'\n}).withConfig({\n  displayName: \"StyledSortableButton\",\n  componentId: \"sc-2s1dli-3\"\n})([\"position:relative;transition:box-shadow 0.1s ease-in-out;border:none;border-radius:\", \";background-color:transparent;cursor:pointer;padding:0;padding-\", \":\", \";width:\", \";text-decoration:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:\", \";\", \"{opacity:\", \";}\", \"{opacity:\", \";}&:hover,\", \"{text-decoration:none;}\", \" \", \";\"], props => props.theme.borderRadii.sm, props => props.theme.rtl ? 'left' : 'right', props => polished.math(`${props.theme.space.base} + ${props.theme.iconSizes.sm}`), props => props.width, props => props.theme.fontWeights.semibold, StyledSortableStrokeIconWrapper, props => props.$sort === undefined && 1, StyledSortableFillIconWrapper, props => props.$sort !== undefined && 1, reactTheming.SELECTOR_FOCUS_VISIBLE, colorStyles$3, reactTheming.componentStyles);\n\nconst COMPONENT_ID$4 = 'tables.header_cell';\nconst truncatedStyling = styled.css([\"\", \"{max-width:100%;overflow:hidden;text-overflow:ellipsis;}\"], StyledSortableButton);\nconst sizeStyles$2 = props => {\n  let paddingVertical = undefined;\n  if (!props.$hasOverflow) {\n    paddingVertical = polished.math(`(${getRowHeight(props)} - ${getLineHeight(props)}) / 2`);\n  }\n  return styled.css([\"padding-top:\", \";padding-bottom:\", \";\"], paddingVertical, paddingVertical);\n};\nconst StyledHeaderCell = styled__default.default(StyledCell).attrs({\n  as: 'th',\n  'data-garden-id': COMPONENT_ID$4,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledHeaderCell\",\n  componentId: \"sc-fzagoe-0\"\n})([\"text-align:\", \";font-weight:inherit;\", \" \", \" \", \";\"], props => {\n  if (!props.$hasOverflow) {\n    if (props.theme.rtl) {\n      return 'right';\n    }\n    return 'left';\n  }\n  return undefined;\n}, props => sizeStyles$2(props), props => props.$isTruncated && truncatedStyling, reactTheming.componentStyles);\n\nconst COMPONENT_ID$3 = 'tables.head';\nconst colorStyles$2 = ({\n  theme\n}) => {\n  const borderColor = reactTheming.getColor({\n    variable: 'border.default',\n    theme\n  });\n  const backgroundColor = reactTheming.getColor({\n    variable: 'background.default',\n    theme\n  });\n  return styled.css([\"background-color:\", \";& > \", \":last-child{border-bottom-color:transparent;& > \", \"{box-shadow:inset 0 -\", \" 0 \", \";}}\"], backgroundColor, StyledHeaderRow, StyledHeaderCell, theme.borderWidths.sm, borderColor);\n};\nconst stickyStyles = () => {\n  return styled.css([\"position:sticky;top:0;z-index:1;\"]);\n};\nconst StyledHead = styled__default.default.thead.attrs({\n  'data-garden-id': COMPONENT_ID$3,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledHead\",\n  componentId: \"sc-spf23a-0\"\n})([\"\", \" \", \" \", \";\"], props => props.$isSticky && stickyStyles(), colorStyles$2, reactTheming.componentStyles);\n\nconst COMPONENT_ID$2 = 'tables.group_row';\nconst colorStyles$1 = ({\n  theme\n}) => {\n  return styled.css([\"background-color:\", \";\"], reactTheming.getColor({\n    variable: 'background.subtle',\n    transparency: theme.opacity[100],\n    light: {\n      offset: 300\n    },\n    dark: {\n      offset: -600\n    },\n    theme\n  }));\n};\nconst sizeStyles$1 = props => {\n  const height = `${props.theme.space.base * 8}px`;\n  const lineHeight = getLineHeight(props);\n  return styled.css([\"height:\", \";line-height:\", \";font-size:\", \";\", \"{padding:\", \" \", \"px;}\"], height, lineHeight, props.theme.fontSizes.sm, StyledCell, polished.math(`(${height} - ${lineHeight}) / 2`), props.theme.space.base * 3);\n};\nconst StyledGroupRow = styled__default.default(StyledBaseRow).attrs({\n  'data-garden-id': COMPONENT_ID$2,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledGroupRow\",\n  componentId: \"sc-mpd0r8-0\"\n})([\"\", \" \", \" \", \";\"], sizeStyles$1, colorStyles$1, reactTheming.componentStyles);\n\nconst COMPONENT_ID$1 = 'tables.hidden_cell';\nconst StyledHiddenCell = styled__default.default.div.attrs({\n  'data-garden-id': COMPONENT_ID$1,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledHiddenCell\",\n  componentId: \"sc-1x454xw-0\"\n})([\"\", \" \", \";\"], polished.hideVisually(), reactTheming.componentStyles);\n\nconst COMPONENT_ID = 'tables.row';\nconst colorStyles = ({\n  theme,\n  $isFocused,\n  $isSelected,\n  $isHovered,\n  $isReadOnly\n}) => {\n  const hoveredBackgroundColor = reactTheming.getColor({\n    variable: 'background.primaryEmphasis',\n    transparency: theme.opacity[100],\n    dark: {\n      offset: -100\n    },\n    theme\n  });\n  const hoveredBorderColor = reactTheming.getColor({\n    variable: 'border.primaryEmphasis',\n    transparency: theme.opacity[200],\n    dark: {\n      offset: -100\n    },\n    theme\n  });\n  const selectedBackgroundColor = reactTheming.getColor({\n    variable: 'background.primaryEmphasis',\n    transparency: theme.opacity[200],\n    dark: {\n      offset: -100\n    },\n    theme\n  });\n  const selectedBorderColor = reactTheming.getColor({\n    variable: 'border.primaryEmphasis',\n    light: {\n      offset: -400\n    },\n    dark: {\n      offset: 300\n    },\n    theme\n  });\n  const hoveredSelectedBackgroundColor = reactTheming.getColor({\n    variable: 'background.primaryEmphasis',\n    transparency: theme.opacity[300],\n    dark: {\n      offset: -100\n    },\n    theme\n  });\n  const boxShadowColor = reactTheming.getColor({\n    variable: 'border.primaryEmphasis',\n    theme\n  });\n  const boxShadow = `inset ${theme.rtl ? '-' : ''}${theme.shadowWidths.md} 0 0 0 ${boxShadowColor}`;\n  let backgroundColor = undefined;\n  let borderColor = undefined;\n  let hoverBorderBottomColor = undefined;\n  let hoverBackgroundColor = undefined;\n  if ($isSelected) {\n    if ($isHovered) {\n      backgroundColor = hoveredSelectedBackgroundColor;\n    } else {\n      backgroundColor = selectedBackgroundColor;\n    }\n    borderColor = selectedBorderColor;\n    hoverBorderBottomColor = selectedBorderColor;\n    hoverBackgroundColor = hoveredSelectedBackgroundColor;\n  } else if ($isHovered) {\n    backgroundColor = hoveredBackgroundColor;\n    borderColor = hoveredBorderColor;\n  } else if (!$isReadOnly) {\n    hoverBorderBottomColor = hoveredBorderColor;\n    hoverBackgroundColor = hoveredBackgroundColor;\n  }\n  return styled.css([\"border-bottom-color:\", \";background-color:\", \";&:hover{border-bottom-color:\", \";background-color:\", \";\", \"{opacity:1;}}&:focus{outline:none;}\", \":first-of-type{box-shadow:\", \";&:focus{box-shadow:\", \";}}\"], borderColor, backgroundColor, hoverBorderBottomColor, hoverBackgroundColor, StyledOverflowButton, StyledCell, $isFocused && boxShadow, boxShadow);\n};\nconst sizeStyles = props => {\n  return styled.css([\"height:\", \";\"], getRowHeight(props));\n};\nconst StyledRow = styled__default.default(StyledBaseRow).attrs({\n  'data-garden-id': COMPONENT_ID,\n  'data-garden-version': '9.15.0'\n}).withConfig({\n  displayName: \"StyledRow\",\n  componentId: \"sc-ek66ow-0\"\n})([\"\", \" \", \" \", \";\"], sizeStyles, colorStyles, reactTheming.componentStyles);\n\nconst Body = React.forwardRef((props, ref) => React__namespace.default.createElement(StyledBody, Object.assign({\n  ref: ref\n}, props)));\nBody.displayName = 'Table.Body';\n\nconst Caption = React.forwardRef((props, ref) => React__namespace.default.createElement(StyledCaption, Object.assign({\n  ref: ref\n}, props)));\nCaption.displayName = 'Table.Caption';\n\nconst TableContext = React__namespace.default.createContext({\n  size: 'medium',\n  isReadOnly: false\n});\nconst useTableContext = () => {\n  return React.useContext(TableContext);\n};\n\nconst Cell = React__namespace.default.forwardRef(({\n  hidden,\n  isMinimum,\n  isTruncated,\n  hasOverflow,\n  ...props\n}, ref) => {\n  const {\n    size\n  } = useTableContext();\n  return React__namespace.default.createElement(StyledCell, Object.assign({\n    ref: ref,\n    $size: size,\n    $isMinimum: isMinimum,\n    $isTruncated: isTruncated,\n    $hasOverflow: hasOverflow\n  }, props), hidden && props.children ? React__namespace.default.createElement(StyledHiddenCell, null, props.children) : props.children);\n});\nCell.displayName = 'Table.Cell';\nCell.propTypes = {\n  isMinimum: PropTypes__default.default.bool,\n  isTruncated: PropTypes__default.default.bool,\n  hasOverflow: PropTypes__default.default.bool,\n  width: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.number])\n};\n\nconst GroupRow = React.forwardRef((props, ref) => {\n  const {\n    size\n  } = useTableContext();\n  return React__namespace.default.createElement(StyledGroupRow, Object.assign({\n    ref: ref,\n    $size: size\n  }, props));\n});\nGroupRow.displayName = 'Table.GroupRow';\n\nconst Head = React.forwardRef(({\n  isSticky,\n  ...props\n}, ref) => React__namespace.default.createElement(StyledHead, Object.assign({\n  ref: ref,\n  $isSticky: isSticky\n}, props)));\nHead.displayName = 'Table.Head';\n\nconst HeaderCell = React.forwardRef(({\n  hidden,\n  isMinimum,\n  isTruncated,\n  hasOverflow,\n  ...props\n}, ref) => {\n  const {\n    size\n  } = useTableContext();\n  return React__namespace.default.createElement(StyledHeaderCell, Object.assign({\n    ref: ref,\n    $size: size,\n    $isMinimum: isMinimum,\n    $isTruncated: isTruncated,\n    $hasOverflow: hasOverflow\n  }, props), hidden && props.children ? React__namespace.default.createElement(StyledHiddenCell, null, props.children) : props.children);\n});\nHeaderCell.displayName = 'Table.HeaderCell';\nHeaderCell.propTypes = Cell.propTypes;\n\nconst HeaderRow = React__namespace.default.forwardRef((props, ref) => {\n  const {\n    size\n  } = useTableContext();\n  return React__namespace.default.createElement(StyledHeaderRow, Object.assign({\n    ref: ref,\n    $size: size\n  }, props));\n});\nHeaderRow.displayName = 'Table.HeaderRow';\n\nvar _path$2;\nfunction _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }\nvar SvgOverflowVerticalStroke = function SvgOverflowVerticalStroke(props) {\n  return /*#__PURE__*/React__namespace.createElement(\"svg\", _extends$2({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: 16,\n    height: 16,\n    focusable: \"false\",\n    viewBox: \"0 0 16 16\",\n    \"aria-hidden\": \"true\"\n  }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement(\"path\", {\n    fill: \"currentColor\",\n    d: \"M9.5 2.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm0 5.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm0 5.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z\"\n  })));\n};\n\nconst OverflowButton = React.forwardRef((props, ref) => {\n  const {\n    size\n  } = useTableContext();\n  return React__namespace.default.createElement(StyledOverflowButton, Object.assign({\n    type: \"button\",\n    $size: size,\n    ref: ref\n  }, props, {\n    focusInset: true\n  }), React__namespace.default.createElement(SvgOverflowVerticalStroke, null));\n});\nOverflowButton.displayName = 'Table.OverflowButton';\n\nconst Row = React.forwardRef(({\n  onFocus,\n  onBlur,\n  isSelected,\n  isStriped,\n  isHovered,\n  isFocused: focused,\n  ...otherProps\n}, ref) => {\n  const [isFocused, setIsFocused] = React.useState(false);\n  const {\n    size,\n    isReadOnly\n  } = useTableContext();\n  const computedFocused = React.useMemo(() => {\n    if (typeof focused !== 'undefined') {\n      return focused;\n    }\n    if (isReadOnly) {\n      return false;\n    }\n    return isFocused;\n  }, [focused, isFocused, isReadOnly]);\n  const onFocusCallback = React.useMemo(() => containerUtilities.composeEventHandlers(onFocus, () => {\n    setIsFocused(true);\n  }), [onFocus, setIsFocused]);\n  const onBlurCallback = React.useMemo(() => containerUtilities.composeEventHandlers(onBlur, () => {\n    setIsFocused(false);\n  }), [onBlur, setIsFocused]);\n  return React__namespace.default.createElement(StyledRow, Object.assign({\n    onFocus: onFocusCallback,\n    onBlur: onBlurCallback,\n    ref: ref,\n    $size: size,\n    $isReadOnly: isReadOnly,\n    $isFocused: computedFocused,\n    $isHovered: isHovered,\n    $isStriped: isStriped,\n    $isSelected: isSelected\n  }, otherProps, {\n    tabIndex: isReadOnly ? undefined : -1\n  }));\n});\nRow.displayName = 'Table.Row';\nRow.propTypes = {\n  isStriped: PropTypes__default.default.bool,\n  isFocused: PropTypes__default.default.bool,\n  isHovered: PropTypes__default.default.bool,\n  isSelected: PropTypes__default.default.bool\n};\n\nvar _path$1;\nfunction _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }\nvar SvgSortStroke = function SvgSortStroke(props) {\n  return /*#__PURE__*/React__namespace.createElement(\"svg\", _extends$1({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: 12,\n    height: 12,\n    focusable: \"false\",\n    viewBox: \"0 0 12 12\",\n    \"aria-hidden\": \"true\"\n  }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement(\"path\", {\n    fill: \"none\",\n    stroke: \"currentColor\",\n    strokeLinecap: \"round\",\n    d: \"M2.5 4L5.6.9c.2-.2.5-.2.7 0L9.5 4m-7 4l3.1 3.1c.2.2.5.2.7 0L9.5 8\"\n  })));\n};\n\nvar _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nvar SvgSortFill = function SvgSortFill(props) {\n  return /*#__PURE__*/React__namespace.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: 12,\n    height: 12,\n    focusable: \"false\",\n    viewBox: \"0 0 12 12\",\n    \"aria-hidden\": \"true\"\n  }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement(\"path\", {\n    fill: \"currentColor\",\n    d: \"M10 5H2a.5.5 0 01-.46-.31.47.47 0 01.11-.54L5.29.5A1 1 0 016.7.5l3.65 3.65a.49.49 0 01.11.54A.51.51 0 0110 5z\"\n  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement(\"path\", {\n    d: \"M2 7a.5.5 0 00-.46.31.47.47 0 00.11.54L5.3 11.5a1 1 0 001.41 0l3.65-3.65a.49.49 0 00.11-.54A.53.53 0 0010 7z\"\n  })));\n};\n\nconst SIZE = ['small', 'medium', 'large'];\nconst SORT = ['asc', 'desc'];\n\nconst SortableCell = React.forwardRef(({\n  sort,\n  cellProps = {},\n  width,\n  children,\n  ...sortableButtonProps\n}, ref) => {\n  const {\n    isMinimum,\n    isTruncated,\n    hasOverflow,\n    ...otherCellProps\n  } = cellProps;\n  let ariaSortValue = 'none';\n  if (sort === 'asc') {\n    ariaSortValue = 'ascending';\n  } else if (sort === 'desc') {\n    ariaSortValue = 'descending';\n  }\n  const SortIcon = sort === undefined ? SvgSortStroke : SvgSortFill;\n  return React__namespace.default.createElement(StyledHeaderCell, Object.assign({\n    \"aria-sort\": ariaSortValue,\n    width: width,\n    $isMinimum: isMinimum,\n    $isTruncated: isTruncated,\n    $hasOverflow: hasOverflow\n  }, otherCellProps), React__namespace.default.createElement(StyledSortableButton, Object.assign({\n    $sort: sort,\n    ref: ref\n  }, sortableButtonProps), children, React__namespace.default.createElement(StyledSortableStrokeIconWrapper, null, React__namespace.default.createElement(SortIcon, null)), React__namespace.default.createElement(StyledSortableFillIconWrapper, null, React__namespace.default.createElement(SvgSortFill, null))));\n});\nSortableCell.displayName = 'Table.SortableCell';\nSortableCell.propTypes = {\n  sort: PropTypes__default.default.oneOf(SORT),\n  cellProps: PropTypes__default.default.any,\n  width: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.number])\n};\n\nconst TableComponent = React__namespace.default.forwardRef(({\n  isReadOnly,\n  size = 'medium',\n  ...props\n}, ref) => {\n  const tableContextValue = React.useMemo(() => ({\n    size: size,\n    isReadOnly: isReadOnly\n  }), [size, isReadOnly]);\n  return React__namespace.default.createElement(TableContext.Provider, {\n    value: tableContextValue\n  }, React__namespace.default.createElement(StyledTable, Object.assign({\n    ref: ref\n  }, props)));\n});\nTableComponent.displayName = 'Table';\nTableComponent.propTypes = {\n  size: PropTypes__default.default.oneOf(SIZE),\n  isReadOnly: PropTypes__default.default.bool\n};\nconst Table = TableComponent;\nTable.Body = Body;\nTable.Caption = Caption;\nTable.Cell = Cell;\nTable.GroupRow = GroupRow;\nTable.Head = Head;\nTable.HeaderCell = HeaderCell;\nTable.HeaderRow = HeaderRow;\nTable.OverflowButton = OverflowButton;\nTable.Row = Row;\nTable.SortableCell = SortableCell;\n\nexports.Body = Body;\nexports.Caption = Caption;\nexports.Cell = Cell;\nexports.GroupRow = GroupRow;\nexports.Head = Head;\nexports.HeaderCell = HeaderCell;\nexports.HeaderRow = HeaderRow;\nexports.OverflowButton = OverflowButton;\nexports.Row = Row;\nexports.SortableCell = SortableCell;\nexports.Table = Table;\n"]}