import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{cr as n,sr as r}from"./axios-DIFBeL1S.js";import{c as i,s as a}from"./button-Z8LWcDu0.js";n(),i();var o=e(t()),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},c={border:0,background:`transparent`,padding:0,lineHeight:`inherit`,display:`inline-block`},l=o.forwardRef(function(e,t){var n=function(e){e.keyCode===a.ENTER&&e.preventDefault()},i=function(t){var n=t.keyCode,r=e.onClick;n===a.ENTER&&r&&r()},l=e.style,u=e.noStyle,d=e.disabled,f=s(e,[`style`,`noStyle`,`disabled`]),p={};return u||(p=r({},c)),d&&(p.pointerEvents=`none`),p=r(r({},p),l),o.createElement(`div`,r({role:`button`,tabIndex:0,ref:t},f,{onKeyDown:n,onKeyUp:i,style:p}))});export{l as t};
|