@pulseui/core
Version:
A production-ready, headless React UI component library offering maximum styling flexibility with robust TypeScript support and comprehensive accessibility features
1 lines • 1.4 MB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("styled-components"),require("react/jsx-runtime"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","styled-components","react/jsx-runtime","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).PulseUI={},e.React,e.styled,e.jsxRuntime,e.ReactDOM)}(this,(function(e,t,n,r,o){"use strict";function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i,l,s,c,u,d,f,m,h,p=a(t);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){g(a,r,o,i,l,"next",e)}function l(e){g(a,r,o,i,l,"throw",e)}i(void 0)}))}}function b(e,t,n){return t=k(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,n||[],k(e).constructor):t.apply(e,n))}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,L(r.key),r)}}function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function E(e,t,n){return(t=L(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(null,arguments)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function M(){M=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(t,n,r,o){var a=n&&n.prototype instanceof f?n:f,i=Object.create(a.prototype);return s(i,"_invoke",function(t,n,r){var o=1;return function(a,i){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var l=r.delegate;if(l){var s=w(l,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(1===o)throw o=4,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=3;var c=u(t,n,r);if("normal"===c.type){if(o=r.done?4:2,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=4,r.method="throw",r.arg=c.arg)}}}(t,r,new k(o||[])),!0),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d={};function f(){}function m(){}function h(){}var p={};s(p,a,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(S([])));g&&g!==n&&r.call(g,a)&&(p=g);var y=h.prototype=f.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,a,i,l){var s=u(e[o],e,a);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var o;s(this,"_invoke",(function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}),!0)}function w(t,n){var r=n.method,o=t.i[r];if(o===e)return n.delegate=null,"throw"===r&&t.i.return&&(n.method="return",n.arg=e,w(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var a=u(o,t.i,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,d;var i=a.arg;return i?i.done?(n[t.r]=i.value,n.next=t.n,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function E(e){this.tryEntries.push(e)}function C(t){var n=t[4]||{};n.type="normal",n.arg=e,t[4]=n}function k(e){this.tryEntries=[[-1]],e.forEach(E,this),this.reset(!0)}function S(t){if(null!=t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return m.prototype=h,s(y,"constructor",h),s(h,"constructor",m),m.displayName=s(h,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},t.awrap=function(e){return{__await:e}},b(x.prototype),s(x.prototype,i,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new x(c(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(y),s(y,l,"Generator"),s(y,a,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e){i.type="throw",i.arg=t,n.next=e}for(var o=n.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a[4],l=this.prev,s=a[1],c=a[2];if(-1===a[0])return r("end"),!1;if(!s&&!c)throw Error("try statement without catch or finally");if(null!=a[0]&&a[0]<=l){if(l<s)return this.method="next",this.arg=e,r(s),!0;if(l<c)return r(c),!1}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===e||"continue"===e)&&o[0]<=t&&t<=o[2]&&(o=null);var a=o?o[4]:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o[2],d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[2]===e)return this.complete(n[4],n[3]),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[0]===e){var r=n[4];if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={i:S(t),r:n,n:r},"next"===this.method&&(this.arg=e),d}},t}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function D(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||O(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function F(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function O(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}var A=t.createContext(void 0),B=function(){var e=t.useContext(A);if(!e)throw new Error("useAccordion must be used within an Accordion component");return e},H=n.div(i||(i=I(["\n width: 100%;\n \n ","\n"])),(function(e){var t=e.variant,r=e.theme;switch(t){case"bordered":return n.css(l||(l=I(["\n border: 1px solid ",";\n border-radius: ",";\n overflow: hidden;\n \n & > * + * {\n border-top: 1px solid ",";\n }\n "])),r.colors.neutral[300],r.borderRadius.md,r.colors.neutral[300]);case"filled":return n.css(s||(s=I(["\n background-color: ",";\n border-radius: ",";\n \n & > * + * {\n border-top: 1px solid ",";\n }\n "])),r.colors.neutral[100],r.borderRadius.md,r.colors.neutral[200]);default:return n.css(c||(c=I(["\n & > * + * {\n border-top: 1px solid ",";\n }\n "])),r.colors.neutral[200])}})),$=n.div(u||(u=I(["\n width: 100%;\n ","\n"])),(function(e){return e.isDisabled&&n.css(d||(d=I(["\n opacity: 0.6;\n cursor: not-allowed;\n "])))})),W=n.button(f||(f=I(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 1rem;\n background: none;\n border: none;\n text-align: left;\n font-size: ",";\n font-weight: ",";\n color: ",";\n cursor: ",";\n transition: all 0.2s ease;\n \n &:hover:not(:disabled) {\n background-color: ",";\n }\n \n &:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px ",";\n }\n"])),(function(e){return e.theme.typography.fontSize.md}),(function(e){return e.theme.typography.fontWeight.medium}),(function(e){return e.theme.colors.neutral[800]}),(function(e){return e.isDisabled?"not-allowed":"pointer"}),(function(e){return e.theme.colors.neutral[100]}),(function(e){return e.theme.colors.primary[300]})),V=n.span(m||(m=I(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: transform 0.2s ease;\n transform: ",";\n \n svg {\n width: 16px;\n height: 16px;\n }\n"])),(function(e){return e.isExpanded?"rotate(180deg)":"rotate(0deg)"})),j=n.div(h||(h=I(["\n overflow: hidden;\n transition: max-height 0.3s ease, padding 0.3s ease;\n max-height: ",";\n padding: ",";\n"])),(function(e){return e.isExpanded?"1000px":"0"}),(function(e){return e.isExpanded?"0 1rem 1rem 1rem":"0 1rem"})),U=function(e){var n=e.children,r=e.allowMultiple,o=void 0!==r&&r,a=e.defaultExpandedItems,i=void 0===a?[]:a,l=e.expandedItems,s=e.onChange,c=e.variant,u=void 0===c?"default":c,d=e.className,f=D(t.useState(i),2),m=f[0],h=f[1],p=void 0!==l?l:m,v=t.useCallback((function(e){var t=o?p.includes(e)?p.filter((function(t){return t!==e})):[].concat(F(p),[e]):p.includes(e)?[]:[e];void 0===l&&h(t),null==s||s(t)}),[o,p,l,s]),g={expandedItems:p,toggleItem:v,allowMultiple:o};return t.createElement(A.Provider,{value:g},t.createElement(H,{variant:u,className:d},n))};U.Item=function(e){var n=e.children,r=e.id,o=e.isDisabled,a=void 0!==o&&o,i=e.className,l=t.createContext({id:r,isDisabled:a});return t.createElement(l.Provider,{value:{id:r,isDisabled:a}},t.createElement($,{isDisabled:a,className:i},n))},U.Header=function(e){var n=e.children,r=e.className,o=B(),a=o.expandedItems,i=o.toggleItem,l=t.useContext(t.createContext({id:"",isDisabled:!1})),s=l.id,c=l.isDisabled,u=a.includes(s);return t.createElement(W,{onClick:function(){c||i(s)},isExpanded:u,isDisabled:c,disabled:c,"aria-expanded":u,"aria-controls":"panel-".concat(s),id:"header-".concat(s),className:r},t.createElement("span",null,n),t.createElement(V,{isExpanded:u},t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))},U.Panel=function(e){var n=e.children,r=e.className,o=B().expandedItems,a=t.useContext(t.createContext({id:"",isDisabled:!1})).id,i=o.includes(a);return t.createElement(j,{isExpanded:i,id:"panel-".concat(a),"aria-labelledby":"header-".concat(a),role:"region",hidden:!i,className:r},n)};var Y,q,G,X,K,Z=function(){var e={light:1,regular:1.5,medium:2,bold:2.5,fill:0};return e[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular"]||e.regular},_=function(){return"fill"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular")?"currentColor":"none"},Q=function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},J=Q,ee=Object.freeze({__proto__:null,Activity:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)})},AlertCircle:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:Z(r),fill:_(r)}),t.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round"}),t.createElement("line",{x1:"12",y1:"16",x2:"12.01",y2:"16",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round"}))},AlertTriangle:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("path",{d:"M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)})},ArrowDown:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("polyline",{points:"19 12 12 19 5 12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},ArrowLeft:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"19",y1:"12",x2:"5",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("polyline",{points:"12 19 5 12 12 5",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},ArrowRight:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("polyline",{points:"12 5 19 12 12 19",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},ArrowUp:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"12",y1:"19",x2:"12",y2:"5",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("polyline",{points:"5 12 12 5 19 12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},Check:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polyline",{points:"20 6 9 17 4 12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})},CheckCircle:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M22 11.08V12a10 10 0 11-5.93-9.14",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("polyline",{points:"22 4 12 14.01 9 11.01",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},ChevronDown:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polyline",{points:"6 9 12 15 18 9",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})},ChevronLeft:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polyline",{points:"15 18 9 12 15 6",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})},ChevronRight:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polyline",{points:"9 18 15 12 9 6",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})},ChevronUp:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polyline",{points:"18 15 12 9 6 15",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})},Close:Q,Edit:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},Eye:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("circle",{cx:"12",cy:"12",r:"3",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},EyeOff:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19m-6.72-1.07a3 3 0 11-4.24-4.24M1 1l22 22",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},Filter:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)})},Heart:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("path",{d:"M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"fill"===r?"currentColor":"none"})},Home:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("polyline",{points:"9 22 9 12 15 12 15 22",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},Info:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},Mail:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("polyline",{points:"22,6 12,13 2,6",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}))},Menu:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},Moon:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)})},Plus:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},Search:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"11",cy:"11",r:"8",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},Settings:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"12",cy:"12",r:"3",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("path",{d:"M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-.09a1.65 1.65 0 00-1.51 1z",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},Star:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"fill"===r?"currentColor":"none"})},Sun:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"12",cy:"12",r:"5",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("line",{x1:"12",y1:"1",x2:"12",y2:"3",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"23",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"1",y1:"12",x2:"3",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"21",y1:"12",x2:"23",y2:"12",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},Trash:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"3 6 5 6 21 6",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),t.createElement("path",{d:"M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("line",{x1:"10",y1:"11",x2:"10",y2:"17",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("line",{x1:"14",y1:"11",x2:"14",y2:"17",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round"}))},User:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},Users:function(e){var n=e.weight,r=void 0===n?"regular":n;return t.createElement(t.Fragment,null,t.createElement("path",{d:"M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("circle",{cx:"9",cy:"7",r:"4",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}),t.createElement("path",{d:"M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75",stroke:"currentColor",strokeWidth:Z(r),strokeLinecap:"round",strokeLinejoin:"round",fill:_(r)}))},X:J}),te=["name","size","weight","color","spin","pulse","bounce","mirrored","title","description","label","className"],ne=["svgProps"],re=function(e){if("number"==typeof e)return"".concat(e,"px");var t={xs:"1rem",sm:"1.25rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem"};return t[e]||t.md},oe=n.svg(Y||(Y=I(["\n display: inline-flex;\n align-self: center;\n width: ",";\n height: ",";\n color: ",";\n fill: currentColor;\n flex-shrink: 0;\n transition: transform 0.2s ease;\n \n ","\n \n ","\n \n ","\n \n ","\n"])),(function(e){return re(e.$size)}),(function(e){return re(e.$size)}),(function(e){return e.$color||"currentColor"}),(function(e){return e.$mirrored&&n.css(q||(q=I(["\n transform: scaleX(-1);\n "])))}),(function(e){return e.$spin&&n.css(G||(G=I(["\n animation: spin 1.5s linear infinite;\n \n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n "])))}),(function(e){return e.$pulse&&n.css(X||(X=I(["\n animation: pulse 1.5s ease-in-out infinite;\n \n @keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n }\n "])))}),(function(e){return e.$bounce&&n.css(K||(K=I(["\n animation: bounce 1s ease infinite;\n \n @keyframes bounce {\n 0%, 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(-5px);\n }\n }\n "])))})),ae=t.forwardRef((function(e,n){var r=e.name,o=e.size,a=void 0===o?"md":o,i=e.weight,l=void 0===i?"regular":i,s=e.color,c=e.spin,u=void 0!==c&&c,d=e.pulse,f=void 0!==d&&d,m=e.bounce,h=void 0!==m&&m,p=e.mirrored,v=void 0!==p&&p,g=e.title,y=e.description,b=e.label,x=e.className,w=P(e,te),E=ee[r];if(!E)return console.warn('Icon "'.concat(String(r),'" not found')),null;var k={};g||b?k["aria-label"]=b||g||"":k["aria-hidden"]="true";var S=w.svgProps,R=P(w,ne);return t.createElement(oe,C({ref:n,$size:a,$color:s,$spin:u,$pulse:f,$bounce:h,$mirrored:v,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:x},k,R,S),g&&t.createElement("title",null,g),y&&t.createElement("desc",null,y),t.createElement(E,{weight:l}))}));ae.displayName="Icon";var ie,le,se,ce,ue,de,fe,me,he,pe,ve,ge,ye,be,xe,we,Ee,Ce,ke,Se,Re,Ne,Pe,Me,Te,De,Ie,Fe,Le,ze,Oe,Ae,Be,He,$e,We,Ve,je,Ue,Ye,qe,Ge,Xe,Ke,Ze,_e,Qe,Je=Object.keys(ee),et={white:"#ffffff",primary:{100:"#E6F7FF",200:"#BAE7FF",300:"#91D5FF",400:"#69C0FF",500:"#40A9FF",600:"#1890FF",700:"#096DD9",800:"#0050B3",900:"#003A8C"},neutral:{100:"#FFFFFF",200:"#F5F5F5",300:"#E8E8E8",400:"#D9D9D9",500:"#BFBFBF",600:"#8C8C8C",700:"#595959",800:"#262626",900:"#000000"},success:"#52C41A",warning:"#FAAD14",error:"#FF4D4F",info:"#1890FF"},tt={fontFamily:{base:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",heading:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",mono:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace"},fontWeight:{regular:400,medium:500,semibold:600,bold:700},fontSize:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem"},lineHeight:{none:1,tight:1.25,snug:1.375,normal:1.5,relaxed:1.625,loose:2}},nt={0:"0",1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",8:"2rem",10:"2.5rem",12:"3rem",16:"4rem",20:"5rem",24:"6rem"},rt={none:"0",sm:"0.125rem",md:"0.25rem",lg:"0.5rem",xl:"1rem",full:"9999px"},ot={sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},at={0:0,10:10,20:20,30:30,40:40,50:50,auto:"auto"},it={duration:{faster:"100ms",fast:"200ms",normal:"300ms",slow:"400ms",slower:"500ms"},easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"}},lt={name:"base",colors:{primary:et.primary,background:{default:et.neutral[100],paper:et.white,subtle:et.neutral[200],inverse:et.neutral[800]},text:{primary:et.neutral[900],secondary:et.neutral[700],disabled:et.neutral[500],inverse:et.neutral[100],hint:et.neutral[600]},success:{light:"#84E472",main:et.success,dark:"#389E0D",contrastText:et.white},warning:{light:"#FFD666",main:et.warning,dark:"#D48806",contrastText:et.neutral[900]},error:{light:"#FF7875",main:et.error,dark:"#D32F2F",contrastText:et.white},info:{light:"#91D5FF",main:et.info,dark:"#096DD9",contrastText:et.white},neutral:et.neutral,divider:et.neutral[300],overlay:"rgba(0, 0, 0, 0.5)",focus:et.primary[300],common:{white:et.white,black:et.neutral[900]}},typography:{fontFamily:tt.fontFamily,fontWeight:tt.fontWeight,fontSize:tt.fontSize,lineHeight:tt.lineHeight,letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},variants:{h1:{fontSize:tt.fontSize["5xl"],fontWeight:tt.fontWeight.bold,lineHeight:tt.lineHeight.tight,marginTop:nt[6],marginBottom:nt[4]},h2:{fontSize:tt.fontSize["4xl"],fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.tight,marginTop:nt[5],marginBottom:nt[4]},h3:{fontSize:tt.fontSize["3xl"],fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.snug,marginTop:nt[4],marginBottom:nt[3]},h4:{fontSize:tt.fontSize["2xl"],fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.snug,marginTop:nt[4],marginBottom:nt[2]},h5:{fontSize:tt.fontSize.xl,fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.normal,marginTop:nt[3],marginBottom:nt[2]},h6:{fontSize:tt.fontSize.lg,fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.normal,marginTop:nt[3],marginBottom:nt[2]},body1:{fontSize:tt.fontSize.md,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},body2:{fontSize:tt.fontSize.sm,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},subtitle1:{fontSize:tt.fontSize.lg,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal},subtitle2:{fontSize:tt.fontSize.md,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal},button:{fontSize:tt.fontSize.sm,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal,textTransform:"none"},caption:{fontSize:tt.fontSize.xs,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},overline:{fontSize:tt.fontSize.xs,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal,letterSpacing:"0.1em",textTransform:"uppercase"}}},spacing:nt,borderRadius:rt,shadows:N(N({},ot),{},{focus:"0 0 0 3px ".concat(et.primary[300])}),breakpoints:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},zIndex:at,animation:it,isDark:!1},st=function(e){var t;return N(N(N({},lt),e),{},{colors:N(N({},lt.colors),e.colors),typography:N(N(N({},lt.typography),e.typography),{},{variants:N(N({},lt.typography.variants),null===(t=e.typography)||void 0===t?void 0:t.variants)}),componentVariants:N(N({},lt.componentVariants),e.componentVariants)})},ct=st({name:"dark",isDark:!0,colors:{primary:{100:"#1A365D",200:"#2A4365",300:"#2C5282",400:"#2B6CB0",500:"#3182CE",600:"#4299E1",700:"#63B3ED",800:"#90CDF4",900:"#BEE3F8"},background:{default:"#121212",paper:"#1E1E1E",subtle:"#2C2C2C",inverse:"#F5F5F5"},text:{primary:"#F5F5F5",secondary:"#A0AEC0",disabled:"#718096",inverse:"#1A202C",hint:"#CBD5E0"},success:{light:"#48BB78",main:"#38A169",dark:"#2F855A",contrastText:"#FFFFFF"},warning:{light:"#F6AD55",main:"#ED8936",dark:"#DD6B20",contrastText:"#1A202C"},error:{light:"#FC8181",main:"#F56565",dark:"#E53E3E",contrastText:"#FFFFFF"},info:{light:"#63B3ED",main:"#4299E1",dark:"#3182CE",contrastText:"#FFFFFF"},neutral:{100:"#1A202C",200:"#2D3748",300:"#4A5568",400:"#718096",500:"#A0AEC0",600:"#CBD5E0",700:"#E2E8F0",800:"#EDF2F7",900:"#F7FAFC"},divider:"#2D3748",overlay:"rgba(0, 0, 0, 0.7)",focus:"#4299E1",common:{white:"#FFFFFF",black:"#000000"}},shadows:{sm:"0 1px 3px rgba(0, 0, 0, 0.5)",md:"0 4px 6px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4)",lg:"0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.4)",xl:"0 20px 25px rgba(0, 0, 0, 0.5), 0 10px 10px rgba(0, 0, 0, 0.4)","2xl":"0 25px 50px rgba(0, 0, 0, 0.6)",inner:"inset 0 2px 4px rgba(0, 0, 0, 0.4)",none:"none",focus:"0 0 0 3px rgba(66, 153, 225, 0.5)"},componentVariants:{Button:{primary:{backgroundColor:"#4299E1",color:"#FFFFFF","&:hover":{backgroundColor:"#3182CE"}},secondary:{backgroundColor:"#2D3748",color:"#FFFFFF",border:"1px solid #4A5568","&:hover":{backgroundColor:"#4A5568"}}},Card:{default:{backgroundColor:"#1E1E1E",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.5)"}},Input:{default:{backgroundColor:"#2C2C2C",color:"#F5F5F5",border:"1px solid #4A5568","&:focus":{borderColor:"#4299E1",boxShadow:"0 0 0 3px rgba(66, 153, 225, 0.3)"}}}}}),ut=st({name:"modern",colors:{primary:{100:"#E6F7FF",200:"#BAE7FF",300:"#91D5FF",400:"#69C0FF",500:"#40A9FF",600:"#1890FF",700:"#096DD9",800:"#0050B3",900:"#003A8C"},secondary:{100:"#F0F5FF",200:"#D6E4FF",300:"#ADC6FF",400:"#85A5FF",500:"#597EF7",600:"#2F54EB",700:"#1D39C4",800:"#10239E",900:"#061178"},background:{default:"#FAFAFA",paper:"#FFFFFF",subtle:"#F5F5F5",inverse:"#141414"},text:{primary:"#262626",secondary:"#595959",disabled:"#BFBFBF",inverse:"#FFFFFF",hint:"#8C8C8C"},success:{light:"#95DE64",main:"#52C41A",dark:"#389E0D",contrastText:"#FFFFFF"},warning:{light:"#FFD666",main:"#FAAD14",dark:"#D48806",contrastText:"#262626"},error:{light:"#FF7875",main:"#FF4D4F",dark:"#D9363E",contrastText:"#FFFFFF"},info:{light:"#91D5FF",main:"#1890FF",dark:"#096DD9",contrastText:"#FFFFFF"},neutral:{100:"#FFFFFF",200:"#F5F5F5",300:"#E8E8E8",400:"#D9D9D9",500:"#BFBFBF",600:"#8C8C8C",700:"#595959",800:"#262626",900:"#000000"},divider:"#E8E8E8",overlay:"rgba(0, 0, 0, 0.45)",focus:"#1890FF",common:{white:"#FFFFFF",black:"#000000"}},borderRadius:{none:"0",sm:"0.25rem",md:"0.5rem",lg:"0.75rem",xl:"1rem",full:"9999px"},shadows:{sm:"0 1px 2px rgba(0, 0, 0, 0.05)",md:"0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03)",lg:"0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03)",xl:"0 20px 25px rgba(0, 0, 0, 0.05), 0 10px 10px rgba(0, 0, 0, 0.03)","2xl":"0 25px 50px rgba(0, 0, 0, 0.1)",inner:"inset 0 2px 4px rgba(0, 0, 0, 0.03)",none:"none",focus:"0 0 0 3px rgba(24, 144, 255, 0.3)"},typography:{fontFamily:{base:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",heading:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",mono:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace"},fontWeight:tt.fontWeight,fontSize:tt.fontSize,lineHeight:tt.lineHeight,letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},variants:{h1:{fontSize:tt.fontSize["4xl"],fontWeight:tt.fontWeight.bold,lineHeight:tt.lineHeight.tight,marginTop:"1.5rem",marginBottom:"1rem"},h2:{fontSize:tt.fontSize["3xl"],fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.tight,marginTop:"1.25rem",marginBottom:"0.75rem"},h3:{fontSize:tt.fontSize["2xl"],fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.snug,marginTop:"1rem",marginBottom:"0.75rem"},h4:{fontSize:tt.fontSize.xl,fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.snug,marginTop:"1rem",marginBottom:"0.5rem"},h5:{fontSize:tt.fontSize.lg,fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.normal,marginTop:"0.75rem",marginBottom:"0.5rem"},h6:{fontSize:tt.fontSize.md,fontWeight:tt.fontWeight.semibold,lineHeight:tt.lineHeight.normal,marginTop:"0.75rem",marginBottom:"0.5rem"},body1:{fontSize:tt.fontSize.md,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},body2:{fontSize:tt.fontSize.sm,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},subtitle1:{fontSize:tt.fontSize.lg,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal},subtitle2:{fontSize:tt.fontSize.md,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal},button:{fontSize:tt.fontSize.sm,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal,textTransform:"none"},caption:{fontSize:tt.fontSize.xs,fontWeight:tt.fontWeight.regular,lineHeight:tt.lineHeight.normal},overline:{fontSize:tt.fontSize.xs,fontWeight:tt.fontWeight.medium,lineHeight:tt.lineHeight.normal,letterSpacing:"0.1em",textTransform:"uppercase"}}},componentVariants:{Button:{primary:{borderRadius:"0.5rem",boxShadow:"0 2px 4px rgba(24, 144, 255, 0.2)",transition:"all 0.2s ease","&:hover":{transform:"translateY(-1px)",boxShadow:"0 4px 8px rgba(24, 144, 255, 0.3)"}},secondary:{borderRadius:"0.5rem",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.05)","&:hover":{transform:"translateY(-1px)",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)"}}},Card:{default:{borderRadius:"0.75rem",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.05)",transition:"all 0.3s ease","&:hover":{boxShadow:"0 8px 20px rgba(0, 0, 0, 0.08)"}}},Input:{default:{borderRadius:"0.5rem",transition:"all 0.2s ease","&:focus":{boxShadow:"0 0 0 3px rgba(24, 144, 255, 0.2)"}}}}}),dt=st({name:"minimal",colors:{primary:{100:"#F3F8FF",200:"#E6F0FF",300:"#CCE0FF",400:"#99C0FF",500:"#66A0FF",600:"#3380FF",700:"#0066FF",800:"#0052CC",900:"#003D99"},background:{default:"#FFFFFF",paper:"#FFFFFF",subtle:"#FAFAFA",inverse:"#111111"},text:{primary:"#111111",secondary:"#555555",disabled:"#999999",inverse:"#FFFFFF",hint:"#777777"},neutral:{100:"#FFFFFF",200:"#FAFAFA",300:"#F0F0F0",400:"#E0E0E0",500:"#C0C0C0",600:"#999999",700:"#777777",800:"#555555",900:"#111111"},divider:"#EEEEEE",success:{light:"#8AE65C",main:"#52C41A",dark:"#389E0D",contrastText:"#FFFFFF"},warning:{light:"#FFE58F",main:"#FAAD14",dark:"#D48806",contrastText:"#111111"},error:{light:"#FFA39E",main:"#FF4D4F",dark:"#CF1322",contrastText:"#FFFFFF"},info:{light:"#A7D1FF",main:"#3380FF",dark:"#0052CC",contrastText:"#FFFFFF"},overlay:"rgba(0, 0, 0, 0.3)",focus:"#3380FF",common:{white:"#FFFFFF",black:"#111111"}},borderRadius:{none:"0",sm:"2px",md:"3px",lg:"4px",xl:"6px",full:"9999px"},shadows:{sm:"0 1px 2px rgba(0, 0, 0, 0.03)",md:"0 2px 4px rgba(0, 0, 0, 0.03)",lg:"0 3px 6px rgba(0, 0, 0, 0.03)",xl:"0 4px 8px rgba(0, 0, 0, 0.03)","2xl":"0 6px 12px rgba(0, 0, 0, 0.03)",inner:"inset 0 1px 2px rgba(0, 0, 0, 0.03)",none:"none",focus:"0 0 0 2px rgba(51, 128, 255, 0.2)"},typography:{fontFamily:{base:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",heading:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",mono:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace"},fontWeight:{regular:400,medium:500,semibold:600,bold:700},fontSize:tt.fontSize,lineHeight:tt.lineHeight,letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},variants:{h1:{fontSize:tt.fontSize["4xl"],fontWeight:700,lineHeight:1.2,marginTop:"1.5rem",marginBottom:"1rem"},h2:{fontSize:tt.fontSize["3xl"],fontWeight:600,lineHeight:1.25,marginTop:"1.25rem",marginBottom:"0.75rem"},h3:{fontSize:tt.fontSize["2xl"],fontWeight:600,lineHeight:1.3,marginTop:"1rem",marginBottom:"0.75rem"},h4:{fontSize:tt.fontSize.xl,fontWeight:600,lineHeight:1.4,marginTop:"1rem",marginBottom:"0.5rem"},h5:{fontSize:tt.fontSize.lg,fontWeight:600,lineHeight:1.4,marginTop:"0.75rem",marginBottom:"0.5rem"},h6:{fontSize:tt.fontSize.md,fontWeight:600,lineHeight:1.5,marginTop:"0.75rem",marginBottom:"0.5rem"},body1:{fontSize:tt.fontSize.md,fontWeight:400,lineHeight:1.5},body2:{fontSize:tt.fontSize.sm,fontWeight:400,lineHeight:1.5},subtitle1:{fontSize:tt.fontSize.lg,fontWeight:500,lineHeight:1.4},subtitle2:{fontSize:tt.fontSize.md,fontWeight:500,lineHeight:1.4},button:{fontSize:tt.fontSize.sm,fontWeight:500,lineHeight:1.5,textTransform:"none"},caption:{fontSize:tt.fontSize.xs,fontWeight:400,lineHeight:1.5},overline:{fontSize:tt.fontSize.xs,fontWeight:500,lineHeight:1.5,letterSpacing:"0.05em",textTransform:"uppercase"}}},componentVariants:{Button:{primary:{borderRadius:"3px",boxShadow:"none",fontWeight:500,transition:"all 0.15s ease","&:hover":{boxShadow:"0 2px 4px rgba(0, 0, 0, 0.05)"}},secondary:{borderRadius:"3px",boxShadow:"none",border:"1px solid #E0E0E0",fontWeight:500,"&:hover":{backgroundColor:"#FAFAFA"}}},Card:{default:{borderRadius:"3px",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.03)",border:"1px solid #F0F0F0"}},Input:{default:{borderRadius:"3px",border:"1px solid #E0E0E0","&:focus":{borderColor:"#3380FF",boxShadow:"0 0 0 2px rgba(51, 128, 255, 0.1)"}}}}}),ft={base:lt,dark:ct,modern:ut,minimal:dt},mt=t.createContext(void 0),ht=n.createGlobalStyle(ie||(ie=I(["\n /* Include all keyframe animations */\n ","\n \n *, *::before, *::after {\n box-sizing: border-box;\n }\n \n html {\n font-size: 16px;\n }\n \n body {\n margin: 0;\n padding: 0;\n font-family: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n background-color: ",";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n transition: background-color 0.3s ease, color 0.3s ease;\n }\n \n /* Typography styles */\n h1 {\n ","\n }\n \n h2 {\n ","\n }\n \n h3 {\n ","\n }\n \n h4 {\n ","\n }\n \n h5 {\n ","\n }\n \n h6 {\n ","\n }\n \n p {\n ","\n }\n \n a {\n color: ",";\n text-decoration: none;\n transition: color 0.2s ease;\n \n &:hover {\n color: ",";\n text-decoration: underline;\n }\n }\n \n /* Focus styles for accessibility */\n :focus-visible {\n outline: none;\n box-shadow: ",";\n }\n \n /* Smooth scrolling */\n html {\n scroll-behavior: smooth;\n }\n \n /* Selection styling */\n ::selection {\n background-color: ",";\n color: ",";\n }\n"])),Object.values({fadeIn:"\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n ",fadeOut:"\n @keyframes fadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n }\n ",slideInUp:"\n @keyframes slideInUp {\n from { \n transform: translateY(20px);\n opacity: 0;\n }\n to { \n transform: translateY(0);\n opacity: 1;\n }\n }\n ",slideInDown:"\n @keyframes slideInDown {\n from { \n transform: translateY(-20px);\n opacity: 0;\n }\n to { \n transform: translateY(0);\n opacity: 1;\n }\n }\n ",slideInLeft:"\n @keyframes slideInLeft {\n from { \n transform: translateX(-20px);\n opacity: 0;\n }\n to { \n transform: translateX(0);\n opacity: 1;\n }\n }\n ",slideInRight:"\n @keyframes slideInRight {\n from { \n transform: translateX(20px);\n opacity: 0;\n }\n to { \n transform: translateX(0);\n opacity: 1;\n }\n }\n ",zoomIn:"\n @keyframes zoomIn {\n from { \n transform: scale(0.95);\n opacity: 0;\n }\n to { \n transform: scale(1);\n opacity: 1;\n }\n }\n ",zoomOut:"\n @keyframes zoomOut {\n from { \n transform: scale(1);\n opacity: 1;\n }\n to { \n transform: scale(0.95);\n opacity: 0;\n }\n }\n ",pulse:"\n @keyframes pulse {\n 0% { transform: scale(1); }\n 50% { transform: scale(1.05); }\n 100% { transform: scale(1); }\n }\n ",spin:"\n @keyframes spin {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n }\n ",bounce:"\n @keyframes bounce {\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-10px); }\n }\n ",shimmer:"\n @keyframes shimmer {\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n }\n "}).join("\n"),(function(e){return e.theme.typography.fontFamily.