function e(e){const n=e||{},{preventDefault:t=!1}=n,c=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r<c.length;r++)n.indexOf(c[r])<0&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(t[c[r]]=e[c[r]])}return t}(n,["preventDefault"]);return function(e){var n;"Enter"===e.key&&(t&&e.preventDefault(),null===(n=e.currentTarget)||void 0===n||n.dispatchEvent(new MouseEvent("click",Object.assign({bubbles:!0,cancelable:!0,view:window},c))))}}export{e as c}