import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{jsx as o}from"react/jsx-runtime";import{forwardRef as t}from"react";import p from"classnames";import{Popover as n}from"../Popover/Popover.js";import{PopoverPanelHeader as a}from"./PopoverPanelHeader/PopoverPanelHeader.js";import{PopoverPanelContent as i}from"./PopoverPanelContent/PopoverPanelContent.js";import{PopoverPanelFooter as c}from"./PopoverPanelFooter/PopoverPanelFooter.js";import{PopoverPanelDivider as l}from"./PopoverPanelDivider/PopoverPanelDivider.js";import s from"./PopoverPanel.scss.js";var v=["closeOnBackdropClick","closeOnEscape","backdrop","preventScroll","placement","flip","preventOverflow","animate","type","className"];function m(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 f=t((function(t,a){var i=t.closeOnBackdropClick,c=void 0===i||i,l=t.closeOnEscape,f=void 0===l||l,P=t.backdrop,O=void 0===P||P,d=t.preventScroll,b=void 0===d||d,j=t.placement,u=void 0===j?"bottom-start":j,y=t.flip,k=void 0===y||y,w=t.preventOverflow,g=void 0===w||w,h=t.animate,D=void 0===h||h,C=t.type,E=void 0===C?"popover":C,S=t.className,B=r(t,v);return o(n,function(r){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?m(Object(t),!0).forEach((function(o){e(r,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}({ref:a,closeOnBackdropClick:c,closeOnEscape:f,backdrop:O,preventScroll:b,placement:u,flip:k,preventOverflow:g,animate:D,type:E,className:p(s.paper,S)},B))}));f.Header=a,f.Content=i,f.Footer=c,f.Divider=l;var P=f;export{P as PopoverPanel,f as PopoverPanelBase};
//# sourceMappingURL=PopoverPanel.js.map
