import _objectSpread2 from '../../@babel/runtime/helpers/esm/objectSpread2.js';
import _extends from '../../@babel/runtime/helpers/esm/extends.js';
import { jsx, keyframes } from '@emotion/react';
import _taggedTemplateLiteral from '../../@babel/runtime/helpers/esm/taggedTemplateLiteral.js';
import 'react';
import 'react-dom';

// ==============================
// NO OP
// ==============================

var noop = function noop() {};

// ==============================
// Get Style Props
// ==============================

var getStyleProps = function getStyleProps(props, name, classNamesState) {
  var cx = props.cx,
    getStyles = props.getStyles,
    getClassNames = props.getClassNames,
    className = props.className;
  return {
    css: getStyles(name, props),
    className: cx(classNamesState !== null && classNamesState !== void 0 ? classNamesState : {}, getClassNames(name, props), className)
  };
};
var options = {
  get passive() {
    return true;
  }
};
// check for SSR
var w = typeof window !== 'undefined' ? window : {};
if (w.addEventListener && w.removeEventListener) {
  w.addEventListener('p', noop, options);
  w.removeEventListener('p', noop, false);
}
var Menu = function Menu(props) {
  var children = props.children,
    innerRef = props.innerRef,
    innerProps = props.innerProps;
  return jsx("div", _extends({}, getStyleProps(props, 'menu', {
    menu: true
  }), {
    ref: innerRef
  }, innerProps), children);
};
var Menu$1 = Menu;

var _templateObject;

// ==============================
// Dropdown & Clear Icons
// ==============================
process.env.NODE_ENV === "production" ? {
  } : {
  };

// ==============================
// Loading
// ==============================

keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"])));
var spacingStyle = {
  gridArea: '1 / 2',
  font: 'inherit',
  minWidth: '2px',
  border: 0,
  margin: 0,
  outline: 0,
  padding: 0
};
({
  '&:after': _objectSpread2({
    content: 'attr(data-value) " "',
    visibility: 'hidden',
    whiteSpace: 'pre'
  }, spacingStyle)
});

var components = {
  Menu: Menu$1};

export { noop as J, components as c };
//# sourceMappingURL=index-641ee5b8.esm.js.map
