nexura
Version:
A modern and lightweight React component library for building elegant and customizable user interfaces.
32 lines (29 loc) • 26.1 kB
JavaScript
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode(`.btn{font-family:Poppins,sans-serif;font-weight:600;position:relative;overflow:hidden;text-align:center;z-index:1;color:#fff;border:none;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center}.btn-text{z-index:2;position:relative}.btn-sm{padding:.5rem 1.2rem;font-size:.9rem}.btn-md{padding:.8rem 2rem;font-size:1.1rem}.btn-lg{padding:1.2rem 2.8rem;font-size:1.3rem}.btn-rounded{border-radius:2rem}.btn-sharp{border-radius:6px}.btn-outlined{border:1.5px solid rgba(255,255,255,.8)}.btn-glow{box-shadow:0 0 20px #ffffff26,0 0 30px #ffffff1a}.btn-pumpkin{background:linear-gradient(145deg,#ff6b00,#c30)}.btn-vampire{background:linear-gradient(145deg,#70002d,#300040)}.btn-ghost{background:linear-gradient(145deg,#e9e9e9,#bababa);color:#111}.btn-spider{background:linear-gradient(145deg,#222,#000);color:#e0e0e0}.btn-zombie{background:linear-gradient(145deg,#5c8a00,#2d3a00);color:#fff}.btn-skull{background:linear-gradient(145deg,#dcdcdc,#a0a0a0);color:#000}.btn-ocean{background:linear-gradient(145deg,#00c6ff,#0072ff)}.btn-sunset{background:linear-gradient(145deg,#ff416c,#ff4b2b)}.btn:hover{box-shadow:0 0 10px #ffffff4d;transform:scale(1.03)}.btn-forest{background:linear-gradient(145deg,#228b22,#006400)}.btn-midnight{background:linear-gradient(145deg,#232526,#414345)}.btn-ruby{background:linear-gradient(145deg,#d31027,#ea384d)}.btn-cyber{background:linear-gradient(145deg,#0f0c29,#302b63,#24243e);color:#00ffea}.btn-outline-primary{color:#007bff;border:1px solid #007BFF;background:transparent;box-shadow:none}.btn-outline-primary:hover{background:#007bff;transform:scale(1.05);color:#fff}.btn-outline-secondary{color:#6c757d;border:1px solid #6c757d;background:transparent;box-shadow:none}.btn-outline-secondary:hover{background:#6c757d;transform:scale(1.05);color:#fff}.btn-outline-success{color:#28a745;border:1px solid #28a745;background:transparent;box-shadow:none}.btn-outline-success:hover{background:#28a745;transform:scale(1.05);color:#fff}.btn-outline-danger{color:#dc3545;border:1px solid #dc3545;background:transparent;box-shadow:none}.btn-outline-danger:hover{background:#dc3545;transform:scale(1.05);color:#fff}.btn-outline-warning{color:#ffc107;border:1px solid #ffc107;background:transparent;box-shadow:none}.btn-outline-warning:hover{background:#ffc107;transform:scale(1.05);color:#fff}.btn-outline-info{color:#17a2b8;border:1px solid #17a2b8;background:transparent;box-shadow:none}.btn-outline-info:hover{background:#17a2b8;transform:scale(1.05);color:#fff}.btn-outline-light{color:#f8f9fa;border:1px solid #f8f9fa;background:transparent;box-shadow:none}.btn-outline-light:hover{background:#f8f9fa;transform:scale(1.05);color:#000}.btn-outline-dark{color:#343a40;border:1px solid #343a40;background:transparent;box-shadow:none}.btn-outline-dark:hover{background:#343a40;transform:scale(1.05);color:#fff}.btn-primary{background:linear-gradient(145deg,#007bff,#0056b3);color:#fff}.btn-primary:hover{background:#0056b3;transform:scale(1.05);color:#fff}.btn-secondary{background:linear-gradient(145deg,#6c757d,#5a6268);color:#fff}.btn-secondary:hover{background:#5a6268;transform:scale(1.05);color:#fff}.btn-success{background:linear-gradient(145deg,#28a745,#218838);color:#fff}.btn-success:hover{background:#218838;transform:scale(1.05);color:#fff}.btn-danger{background:linear-gradient(145deg,#dc3545,#c82333);color:#fff}.btn-danger:hover{background:#c82333;transform:scale(1.05);color:#fff}.btn-warning{background:linear-gradient(145deg,#ffc107,#e0a800);color:#000}.btn-warning:hover{background:#e0a800;transform:scale(1.05);color:#000}.btn-info{background:linear-gradient(145deg,#17a2b8,#138496);color:#fff}.btn-info:hover{background:#138496;transform:scale(1.05);color:#fff}.btn-light{background:linear-gradient(145deg,#f8f9fa,#e2e6ea);color:#000}.btn-light:hover{background:#e2e6ea;transform:scale(1.05);color:#000}.btn-dark{background:linear-gradient(145deg,#343a40,#23272b);color:#fff}.btn-dark:hover{background:#23272b;transform:scale(1.05);color:#fff}.btn-icon{position:absolute;top:-12px;right:-12px;width:48px;height:48px;background-size:contain;background-repeat:no-repeat;opacity:.5;z-index:1;animation:float 3s ease-in-out infinite}.icon-ocean{width:64px;height:64px;background-repeat:no-repeat;background-size:contain;display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23007BFF' stop-opacity='1' /%3E%3Cstop offset='100%25' stop-color='%230045B7' stop-opacity='1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23grad1)' d='M12 40c6-12 18-12 24 0 4-12 16-12 20 0v12H12V40z'/%3E%3Cpath fill='%23A0D8FF' d='M12 48c6-8 18-8 24 0 4-8 16-8 20 0v4H12v-4z'/%3E%3Ccircle cx='16' cy='44' r='2' fill='%2300A1FF' opacity='0.7' /%3E%3Ccircle cx='48' cy='44' r='2' fill='%2300A1FF' opacity='0.7' /%3E%3C/svg%3E")}.icon-skull{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle fill='%23F8F8F8' cx='32' cy='32' r='18'/%3E%3Ccircle fill='%23000' cx='26' cy='28' r='2'/%3E%3Ccircle fill='%23000' cx='38' cy='28' r='2'/%3E%3Cpath fill='%23000' d='M30 38h4v4h-4z'/%3E%3Cpath fill='%23aaa' d='M22 44c6 4 14 4 20 0-6 2-14 2-20 0z'/%3E%3C/svg%3E")}.icon-sunset{width:64px;height:64px;background-repeat:no-repeat;background-size:contain;display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='grad-sunset' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23FF4B2B' /%3E%3Cstop offset='100%25' stop-color='%23FFB347' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='64' height='64' fill='%23002F4B'/%3E%3Ccircle cx='32' cy='40' r='14' fill='url(%23grad-sunset)'/%3E%3Cpath fill='%23002233' d='M18 44h28v10H18z'/%3E%3Cpath fill='%23FF6F3C' d='M14 48h36v6H14z' opacity='0.7'/%3E%3Cpath fill='%23FFF0E1' d='M20 54h24v2H20z' opacity='0.5'/%3E%3C/svg%3E")}.icon-cyber{width:64px;height:64px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='28' fill='none' stroke='%2300FFEA' stroke-width='4' stroke-dasharray='6 6'/%3E%3Cpath fill='none' stroke='%2300FFEA' stroke-width='3' d='M20 32h24M32 20v24'/%3E%3Ccircle cx='32' cy='32' r='8' fill='%2300FFEA' opacity='0.3'/%3E%3C/svg%3E")}.icon-pumpkin{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23FFA500' d='M32 4c-1.1 0-2 .9-2 2v2c-6.1 0-12 5-12 14s6 14 14 14 14-5 14-14-5.9-14-12-14V6c0-1.1-.9-2-2-2z'/%3E%3Cellipse fill='%23994D00' cx='32' cy='34' rx='18' ry='14'/%3E%3Ccircle fill='%23fff' cx='26' cy='32' r='2'/%3E%3Ccircle fill='%23fff' cx='38' cy='32' r='2'/%3E%3Cpath fill='%23000' d='M26 40c2 1 6 1 8 0'/%3E%3C/svg%3E")}.icon-zombie{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Ccircle fill=%22%23707F51%22 cx=%2232%22 cy=%2232%22 r=%2218%22/%3E%3Cpath fill=%22%2344432E%22 d=%22M20 45c5-2 25-5 22-14-4 2-15 2-22 6z%22/%3E%3Ccircle fill=%22%23000000%22 cx=%2223%22 cy=%2229%22 r=%223%22/%3E%3Ccircle fill=%22%23A00000%22 cx=%2223%22 cy=%2229%22 r=%222%22/%3E%3Ccircle fill=%22%23000000%22 cx=%2241%22 cy=%2229%22 r=%223%22/%3E%3Ccircle fill=%22%23A00000%22 cx=%2241%22 cy=%2229%22 r=%222%22/%3E%3Cpath fill=%22%23B22222%22 d=%22M28 38c5 2 12 2 15 0-3 5-14 7-15 0z%22/%3E%3Cpath fill=%22%23909060%22 d=%22M24 20l-2 5 3 1-2 5 4-1-1 4 4-4-1-6 3 2-2-7z%22/%3E%3Cpath fill=%22%23440000%22 d=%22M30 24c1-2 4-3 6-2-3 3-4 6-6 6z%22/%3E%3Cpath fill=%22%23440000%22 d=%22M20 40c3-4 15-4 18-8-3 1-13 4-18 8z%22/%3E%3Cpath fill=%22%23C40000%22 d=%22M35 35l1 3 2-2-3-3z%22/%3E%3Cpath fill=%22%23705050%22 d=%22M28 45c-1 2-2 6 2 6-3-4 1-9 3-7z%22/%3E%3C/svg%3E");width:64px;height:64px;display:inline-block;background-repeat:no-repeat;background-size:contain}.icon-ruby{width:64px;height:64px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23EA384D' stroke='%23B02633' stroke-width='2' points='32 4 12 20 16 44 48 44 52 20 32 4' /%3E%3Cpolygon fill='%23D31027' points='32 10 18 22 22 40 42 40 46 22 32 10' opacity='0.8' /%3E%3Cpolygon fill='%23FF5A73' points='32 16 24 28 28 36 36 36 40 28 32 16' opacity='0.9' /%3E%3C/svg%3E")}.icon-spider{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle fill='%23444444' cx='32' cy='32' r='10'/%3E%3Cpath stroke='%23999999' stroke-width='2' d='M32 22v-8M32 42v8M22 32h-8M42 32h8M26 26l-6-6M38 38l6 6M26 38l-6 6M38 26l6-6'/%3E%3C/svg%3E")}.icon-vampire{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%2351003F' d='M32 4c-9 0-16 7-16 16 0 5 2 10 6 12-2 4-4 10-4 14 0 8 8 14 14 14s14-6 14-14c0-4-2-10-4-14 4-2 6-7 6-12 0-9-7-16-16-16z'/%3E%3Ccircle fill='%23fff' cx='26' cy='28' r='2'/%3E%3Ccircle fill='%23fff' cx='38' cy='28' r='2'/%3E%3Cpath fill='%23fff' d='M28 38l1 4 1-4zm6 0l1 4 1-4z'/%3E%3C/svg%3E")}.icon-ghost{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23F0F0F0' d='M32 4c-10 0-18 8-18 18v26c0 2 2 4 4 4s4-2 6-2 4 2 6 2 4-2 6-2 4 2 6 2 4-2 4-4V22c0-10-8-18-18-18z'/%3E%3Ccircle fill='%23000' cx='24' cy='28' r='2'/%3E%3Ccircle fill='%23000' cx='40' cy='28' r='2'/%3E%3Cpath fill='%23ccc' d='M28 38c2 2 6 2 8 0'/%3E%3C/svg%3E")}.icon-midnight{width:64px;height:64px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle fill='%23414345' cx='32' cy='32' r='28'/%3E%3Cpath fill='%23232326' d='M32 4a28 28 0 100 56 24 24 0 010-48z'/%3E%3Ccircle fill='%23b0b0b0' cx='44' cy='20' r='4' opacity='0.6'/%3E%3Ccircle fill='%23a0a0a0' cx='18' cy='44' r='6' opacity='0.4'/%3E%3C/svg%3E")}.icon-forest{width:50px;height:50px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpolygon fill='%23006400' points='32 4 18 30 26 30 12 54 28 54 24 46 40 46 36 54 52 54 38 30 46 30 32 4'/%3E%3Cpolygon fill='%23008800' points='32 10 22 34 30 34 18 52 32 52 28 44 36 44 32 52 46 52 34 34 42 34 32 10' opacity='0.7'/%3E%3Crect x='28' y='54' width='8' height='6' fill='%23002200'/%3E%3Cpath fill='%23003300' d='M30 54h4v6h-4z' opacity='0.8'/%3E%3C/svg%3E")}@media (max-width: 576px){.btn-sm{padding:.4rem 1rem;font-size:.75rem}.btn-md{padding:.6rem 1.5rem;font-size:.95rem}.btn-lg{padding:.9rem 2rem;font-size:1.1rem}.btn-icon{width:70px;height:70px;top:-10px;right:-10px}}@media (min-width: 577px) and (max-width: 768px){.btn-sm{padding:.5rem 1.1rem;font-size:.85rem}.btn-md{padding:.7rem 1.8rem;font-size:1rem}.btn-lg{padding:1rem 2.4rem;font-size:1.2rem}.btn-icon{width:50px;height:50px}}@media (min-width: 769px){.btn-sm{padding:.5rem 1.2rem;font-size:.9rem}.btn-md{padding:.8rem 2rem;font-size:1.1rem}.btn-lg{padding:1.2rem 2.8rem;font-size:1.3rem}.btn-icon{width:64px;height:64px}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}`)),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
(function(R,P){typeof exports=="object"&&typeof module<"u"?P(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],P):(R=typeof globalThis<"u"?globalThis:R||self,P(R.BestUiGarv={},R.React))})(this,function(R,P){"use strict";var L={exports:{}},A={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ee;function Ce(){if(ee)return A;ee=1;var $=P,_=Symbol.for("react.element"),j=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,w=$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function m(g,f,x){var p,h={},T=null,U=null;x!==void 0&&(T=""+x),f.key!==void 0&&(T=""+f.key),f.ref!==void 0&&(U=f.ref);for(p in f)y.call(f,p)&&!C.hasOwnProperty(p)&&(h[p]=f[p]);if(g&&g.defaultProps)for(p in f=g.defaultProps,f)h[p]===void 0&&(h[p]=f[p]);return{$$typeof:_,type:g,key:T,ref:U,props:h,_owner:w.current}}return A.Fragment=j,A.jsx=m,A.jsxs=m,A}var I={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var re;function xe(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var $=P,_=Symbol.for("react.element"),j=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),g=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),U=Symbol.for("react.offscreen"),ne=Symbol.iterator,Fe="@@iterator";function Ae(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[Fe];return typeof r=="function"?r:null}var k=$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=k.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var $e=!1,We=!1,Ye=!1,Le=!1,Me=!1,ae;ae=Symbol.for("react.module.reference");function Ue(e){return!!(typeof e=="string"||typeof e=="function"||e===y||e===C||Me||e===w||e===x||e===p||Le||e===U||$e||We||Ye||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===h||e.$$typeof===m||e.$$typeof===g||e.$$typeof===f||e.$$typeof===ae||e.getModuleId!==void 0))}function Ve(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ie(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case j:return"Portal";case C:return"Profiler";case w:return"StrictMode";case x:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case g:var r=e;return ie(r)+".Consumer";case m:var t=e;return ie(t._context)+".Provider";case f:return Ve(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case T:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var O=Object.assign,W=0,oe,ue,se,le,fe,ce,de;function ve(){}ve.__reactDisabledLog=!0;function Ne(){{if(W===0){oe=console.log,ue=console.info,se=console.warn,le=console.error,fe=console.group,ce=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function Be(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:oe}),info:O({},e,{value:ue}),warn:O({},e,{value:se}),error:O({},e,{value:le}),group:O({},e,{value:fe}),groupCollapsed:O({},e,{value:ce}),groupEnd:O({},e,{value:de})})}W<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=k.ReactCurrentDispatcher,K;function V(e,r,t){{if(K===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);K=n&&n[1]||""}return`
`+K+e}}var G=!1,N;{var Je=typeof WeakMap=="function"?WeakMap:Map;N=new Je}function pe(e,r){if(!e||G)return"";{var t=N.get(e);if(t!==void 0)return t}var n;G=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
`),d=n.stack.split(`
`),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var b=`
`+a[s].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,b),b}while(s>=1&&l>=0);break}}}finally{G=!1,q.current=u,Be(),Error.prepareStackTrace=o}var F=e?e.displayName||e.name:"",S=F?V(F):"";return typeof e=="function"&&N.set(e,S),S}function qe(e,r,t){return pe(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function B(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,Ke(e));if(typeof e=="string")return V(e);switch(e){case x:return V("Suspense");case p:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return qe(e.render);case h:return B(e.type,r,t);case T:{var n=e,o=n._payload,u=n._init;try{return B(u(o),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,be={},ge=k.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}function Ge(e,r,t,n,o){{var u=Function.call.bind(Y);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(J(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),J(null)),a instanceof Error&&!(a.message in be)&&(be[a.message]=!0,J(o),c("Failed %s type: %s",t,a.message),J(null))}}}var ze=Array.isArray;function z(e){return ze(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function ye(e){if(He(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),he(e)}var Ee=k.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Re,_e;function Qe(e){if(Y.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){typeof e.ref=="string"&&Ee.current}function tr(e,r){{var t=function(){Re||(Re=!0,c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){_e||(_e=!0,c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ar=function(e,r,t,n,o,u,i){var a={$$typeof:_,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ir(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(ye(t),a=""+t),er(r)&&(ye(r.key),a=""+r.key),Qe(r)&&(d=r.ref,rr(r,o));for(u in r)Y.call(r,u)&&!Ze.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&tr(i,l),d&&nr(i,l)}return ar(e,a,d,o,n,Ee.current,i)}}var X=k.ReactCurrentOwner,me=k.ReactDebugCurrentFrame;function D(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);me.setExtraStackFrame(t)}else me.setExtraStackFrame(null)}var H;H=!1;function Z(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Te(){{if(X.current){var e=E(X.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}}function or(e){return""}var Oe={};function ur(e){{var r=Te();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
Check the top-level render call using <`+t+">.")}return r}}function Se(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(Oe[t])return;Oe[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),D(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),D(null)}}function Pe(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Se(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=Ae(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)Z(i.value)&&Se(i.value,r)}}}function sr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=E(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var o=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){D(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),D(null);break}}e.ref!==null&&(D(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}var je={};function we(e,r,t,n,o,u){{var i=Ue(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=or();d?a+=d:a+=Te();var s;e===null?s="null":z(e)?s="array":e!==void 0&&e.$$typeof===_?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ir(e,r,t,o,u);if(l==null)return l;if(i){var b=r.children;if(b!==void 0)if(n)if(z(b)){for(var F=0;F<b.length;F++)Pe(b[F],e);Object.freeze&&Object.freeze(b)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Pe(b,e)}if(Y.call(r,"key")){var S=E(e),v=Object.keys(r).filter(function(br){return br!=="key"}),Q=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!je[S+Q]){var pr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,Q,S,pr,S),je[S+Q]=!0}}return e===y?lr(l):sr(l),l}}function fr(e,r,t){return we(e,r,t,!0)}function cr(e,r,t){return we(e,r,t,!1)}var dr=cr,vr=fr;I.Fragment=y,I.jsx=dr,I.jsxs=vr}()),I}var te;function ke(){return te||(te=1,process.env.NODE_ENV==="production"?L.exports=Ce():L.exports=xe()),L.exports}var M=ke();const De=({children:$,onClick:_,variant:j="ghost",size:y="md",glow:w=!0,outlined:C=!0,rounded:m=!0,alert:g})=>{const f=["btn",`btn-${j}`,`btn-${y}`,w?"btn-glow":"",C?"btn-outlined":"",m?"btn-rounded":"btn-sharp",g?"btn-alert":""].join(" ").trim();return M.jsxs("button",{className:f,onClick:_,children:[M.jsx("span",{className:"btn-text",children:M.jsx("span",{children:$})}),M.jsx("span",{className:`btn-icon icon-${j}`})]})};R.Button=De,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});