import{r as m}from"./vendor-8efd6c0a.js";var g={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function h(e){if(typeof e=="number")return{value:e,unit:"px"};var t,o=(e.match(/^[0-9.]*/)||"").toString();o.includes(".")?t=parseFloat(o):t=parseInt(o,10);var r=(e.match(/[^0-9]*$/)||"").toString();return g[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}function d(e){var t=h(e);return"".concat(t.value).concat(t.unit)}var b=function(e,t,o){var r="react-spinners-".concat(e,"-").concat(o);if(typeof window>"u"||!window.document)return r;var n=document.createElement("style");document.head.appendChild(n);var a=n.sheet,l=` @keyframes `.concat(r,` { `).concat(t,` } `);return a&&a.insertRule(l,0),r},i=globalThis&&globalThis.__assign||function(){return i=Object.assign||function(e){for(var t,o=1,r=arguments.length;o