"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("react/jsx-runtime"),o=require("react"),n=require("@material-ui/core"),a=require("classnames"),s=require("./Paper.scss.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=u(e),c=u(r),p=u(a),l=["children","className","testId","onMouseLeave","onMouseEnter","type"];function f(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function b(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?f(Object(t),!0).forEach((function(r){i.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var d=o.forwardRef((function(e,r){var o=e.children,a=e.className,u=e.testId,i=e.onMouseLeave,f=e.onMouseEnter,d=e.type,O=void 0===d?"popover":d,j=c.default(e,l);return t.jsx(n.Paper,b(b({className:p.default(s.root,"menu"===O&&s.menuBg,a),"data-testid":u,ref:r,tabIndex:-1,elevation:0,onMouseEnter:f,onMouseLeave:i},j),{},{children:o}))}));exports.Paper=d;
//# sourceMappingURL=Paper.js.map
