"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react/jsx-runtime"),t=require("react"),n=require("classnames"),a=require("../Popover/Popover.js"),p=require("./PopoverPanelHeader/PopoverPanelHeader.js"),i=require("./PopoverPanelContent/PopoverPanelContent.js"),l=require("./PopoverPanelFooter/PopoverPanelFooter.js"),c=require("./PopoverPanelDivider/PopoverPanelDivider.js"),s=require("./PopoverPanel.scss.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var P=v(e),u=v(r),d=v(n),f=["closeOnBackdropClick","closeOnEscape","backdrop","preventScroll","placement","flip","preventOverflow","animate","type","className"];function O(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}var b=t.forwardRef((function(e,r){var t=e.closeOnBackdropClick,n=void 0===t||t,p=e.closeOnEscape,i=void 0===p||p,l=e.backdrop,c=void 0===l||l,v=e.preventScroll,b=void 0===v||v,j=e.placement,m=void 0===j?"bottom-start":j,y=e.flip,q=void 0===y||y,k=e.preventOverflow,w=void 0===k||k,D=e.animate,g=void 0===D||D,h=e.type,C=void 0===h?"popover":h,x=e.className,E=u.default(e,f);return o.jsx(a.Popover,function(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?O(Object(o),!0).forEach((function(r){P.default(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}({ref:r,closeOnBackdropClick:n,closeOnEscape:i,backdrop:c,preventScroll:b,placement:m,flip:q,preventOverflow:w,animate:g,type:C,className:d.default(s.paper,x)},E))}));b.Header=p.PopoverPanelHeader,b.Content=i.PopoverPanelContent,b.Footer=l.PopoverPanelFooter,b.Divider=c.PopoverPanelDivider;var j=b;exports.PopoverPanel=j,exports.PopoverPanelBase=b;
//# sourceMappingURL=PopoverPanel.js.map
