import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{jsx as t}from"react/jsx-runtime";import{forwardRef as o}from"react";import{Paper as n}from"@material-ui/core";import s from"classnames";import i from"./Paper.scss.js";var a=["children","className","testId","onMouseLeave","onMouseEnter","type"];function c(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 p(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var m=o((function(e,o){var c=e.children,m=e.className,u=e.testId,f=e.onMouseLeave,l=e.onMouseEnter,b=e.type,O=void 0===b?"popover":b,j=r(e,a);return t(n,p(p({className:s(i.root,"menu"===O&&i.menuBg,m),"data-testid":u,ref:o,tabIndex:-1,elevation:0,onMouseEnter:l,onMouseLeave:f},j),{},{children:c}))}));export{m as Paper};
//# sourceMappingURL=Paper.js.map
