@zimyo/ui 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/Accordion/index.d.ts +34 -0
  2. package/dist/Accordion/index.esm.js +27 -0
  3. package/dist/Accordion/index.js +27 -0
  4. package/dist/Badge/index.d.ts +29 -0
  5. package/dist/Badge/index.esm.js +1 -0
  6. package/dist/Badge/index.js +1 -0
  7. package/dist/Button/index.d.ts +15 -0
  8. package/dist/Button/index.esm.js +1 -0
  9. package/dist/Button/index.js +1 -0
  10. package/dist/Card/index.d.ts +41 -0
  11. package/dist/Card/index.esm.js +1 -0
  12. package/dist/Card/index.js +1 -0
  13. package/dist/Checkbox/index.d.ts +14 -0
  14. package/dist/Checkbox/index.esm.js +27 -0
  15. package/dist/Checkbox/index.js +27 -0
  16. package/dist/CheckboxGroup/index.d.ts +39 -0
  17. package/dist/CheckboxGroup/index.esm.js +26 -0
  18. package/dist/CheckboxGroup/index.js +26 -0
  19. package/dist/DatePicker/index.d.ts +39 -0
  20. package/dist/DatePicker/index.esm.js +26 -0
  21. package/dist/DatePicker/index.js +26 -0
  22. package/dist/DateRangePicker/index.d.ts +28 -0
  23. package/dist/DateRangePicker/index.esm.js +26 -0
  24. package/dist/DateRangePicker/index.js +26 -0
  25. package/dist/Form/index.d.ts +33 -0
  26. package/dist/Form/index.esm.js +26 -0
  27. package/dist/Form/index.js +26 -0
  28. package/dist/Input/index.d.ts +23 -0
  29. package/dist/Input/index.esm.js +27 -0
  30. package/dist/Input/index.js +27 -0
  31. package/dist/Modal/index.d.ts +19 -0
  32. package/dist/Modal/index.esm.js +27 -0
  33. package/dist/Modal/index.js +27 -0
  34. package/dist/Notice/index.d.ts +19 -0
  35. package/dist/Notice/index.esm.js +26 -0
  36. package/dist/Notice/index.js +26 -0
  37. package/dist/Popover/index.d.ts +19 -0
  38. package/dist/Popover/index.esm.js +1 -0
  39. package/dist/Popover/index.js +1 -0
  40. package/dist/RadioGroup/index.d.ts +31 -0
  41. package/dist/RadioGroup/index.esm.js +1 -0
  42. package/dist/RadioGroup/index.js +1 -0
  43. package/dist/Select/index.d.ts +27 -0
  44. package/dist/Select/index.esm.js +27 -0
  45. package/dist/Select/index.js +27 -0
  46. package/dist/Switch/index.d.ts +15 -0
  47. package/dist/Switch/index.esm.js +1 -0
  48. package/dist/Switch/index.js +1 -0
  49. package/dist/Tabs/index.d.ts +36 -0
  50. package/dist/Tabs/index.esm.js +1 -0
  51. package/dist/Tabs/index.js +1 -0
  52. package/dist/Typography/index.d.ts +30 -0
  53. package/dist/Typography/index.esm.js +1 -0
  54. package/dist/Typography/index.js +1 -0
  55. package/dist/index.d.ts +17 -7
  56. package/dist/index.esm.js +5 -18849
  57. package/dist/index.js +5 -18895
  58. package/dist/theme/index.esm.js +1 -241
  59. package/dist/theme/index.js +1 -246
  60. package/package.json +1 -1
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import { AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps } from '@mui/material';
3
+ import { SxProps } from '@mui/system';
4
+
5
+ interface AccordionProps extends Omit<AccordionProps$1, 'sx' | 'onChange' | 'expanded'> {
6
+ type?: 'single' | 'multiple';
7
+ collapsible?: boolean;
8
+ value?: string | string[];
9
+ defaultValue?: string | string[];
10
+ onValueChange?: (value: string | string[]) => void;
11
+ children: React.ReactNode;
12
+ sx?: SxProps;
13
+ }
14
+ interface AccordionItemProps extends Omit<AccordionProps$1, 'sx'> {
15
+ value: string;
16
+ children: React.ReactNode;
17
+ sx?: SxProps;
18
+ }
19
+ interface AccordionTriggerProps extends Omit<AccordionSummaryProps, 'sx'> {
20
+ children: React.ReactNode;
21
+ sx?: SxProps;
22
+ expandIcon?: React.ReactNode;
23
+ }
24
+ interface AccordionContentProps extends Omit<AccordionDetailsProps, 'sx'> {
25
+ children: React.ReactNode;
26
+ sx?: SxProps;
27
+ }
28
+ declare const Accordion: React.ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionTriggerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
32
+
33
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Accordion as default };
34
+ export type { AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps };
@@ -0,0 +1,27 @@
1
+ import{jsx as e}from"react/jsx-runtime";import r,{forwardRef as o,createElement as t}from"react";import{useTheme as n,Accordion as a,AccordionSummary as i,AccordionDetails as l}from"@mui/material";var d=function(){return d=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},d.apply(this,arguments)};function s(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}function u(e,r,o){if(o||2===arguments.length)for(var t,n=0,a=r.length;n<a;n++)!t&&n in r||(t||(t=Array.prototype.slice.call(r,0,n)),t[n]=r[n]);return e.concat(t||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;
2
+ /**
3
+ * @license lucide-react v0.525.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const c=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},p=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),f=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
+ /**
10
+ * @license lucide-react v0.525.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ var v={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
16
+ /**
17
+ * @license lucide-react v0.525.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const h=o(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:l,...d},s)=>t("svg",{ref:s,...v,width:r,height:r,stroke:e,strokeWidth:n?24*Number(o)/Number(r):o,className:p("lucide",a),...!i&&!f(d)&&{"aria-hidden":"true"},...d},[...l.map(([e,r])=>t(e,r)),...Array.isArray(i)?i:[i]])),m=((e,r)=>{const n=o(({className:o,...n},a)=>{return t(h,{ref:a,iconNode:r,className:p(`lucide-${i=c(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...n});var i});return n.displayName=c(e),n})("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);
22
+ /**
23
+ * @license lucide-react v0.525.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */var g=r.createContext({}),y=r.forwardRef(function(o,t){var a=o.type,i=void 0===a?"single":a,l=o.collapsible,u=void 0!==l&&l,c=o.value,p=o.defaultValue,f=o.onValueChange,v=o.children;o.sx;var h=s(o,["type","collapsible","value","defaultValue","onValueChange","children","sx"]),m=n(),y=r.useState(function(){return void 0!==c?c:void 0!==p?p:"multiple"===i?[]:""}),x=y[0],b=y[1],w=void 0!==c?c:x,C=r.useCallback(function(e){void 0===c&&b(e),null==f||f(e)},[c,f]),R=r.useMemo(function(){return{type:i,collapsible:u,value:w,defaultValue:p,onValueChange:C}},[i,u,w,p,C]);return e(g.Provider,{value:R,children:e("div",d({ref:t,style:{display:"flex",flexDirection:"column",gap:m.spacing(1)}},h,{children:v}))})}),x=r.forwardRef(function(o,t){var i,l=o.value,c=o.children,p=o.sx,f=void 0===p?{}:p,v=s(o,["value","children","sx"]),h=n(),m=r.useContext(g),y=r.useMemo(function(){return"multiple"===m.type?Array.isArray(m.value)&&m.value.includes(l):m.value===l},[m.value,m.type,l]),x=r.useCallback(function(){if(m.onValueChange)if("multiple"===m.type){var e=Array.isArray(m.value)?m.value:[],r=y?e.filter(function(e){return e!==l}):u(u([],e,!0),[l],!1);m.onValueChange(r)}else{r=y&&m.collapsible?"":l;m.onValueChange(r)}},[m,l,y]);return e(a,d({ref:t,expanded:y,onChange:x,variant:"outlined",sx:d({borderRadius:(null===(i=h.radius)||void 0===i?void 0:i.sm)||h.shape.borderRadius,"&:before":{display:"none"},"&.Mui-expanded":{margin:0},border:"1px solid ".concat(h.palette.divider)},f)},v,{children:c}))}),b=r.forwardRef(function(r,o){var t,a=r.children,l=r.sx,u=void 0===l?{}:l,c=r.expandIcon,p=s(r,["children","sx","expandIcon"]),f=n(),v=void 0!==c?c:e(m,{});return e(i,d({ref:o,expandIcon:v,sx:d({borderRadius:(null===(t=f.radius)||void 0===t?void 0:t.sm)||f.shape.borderRadius,minHeight:56,fontWeight:500,"&.Mui-expanded":{minHeight:56,borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"1px solid ".concat(f.palette.divider)},"& .MuiAccordionSummary-content":{margin:"12px 0","&.Mui-expanded":{margin:"12px 0"}},"& .MuiAccordionSummary-expandIconWrapper":{transition:f.transitions.create("transform",{duration:f.transitions.duration.shortest}),"&.Mui-expanded":{transform:"rotate(180deg)"}},"&:hover":{backgroundColor:f.palette.action.hover}},u)},p,{children:a}))}),w=r.forwardRef(function(r,o){var t,a,i=r.children,u=r.sx,c=void 0===u?{}:u,p=s(r,["children","sx"]),f=n();return e(l,d({ref:o,sx:d({padding:f.spacing(2),borderBottomLeftRadius:(null===(t=f.radius)||void 0===t?void 0:t.sm)||f.shape.borderRadius,borderBottomRightRadius:(null===(a=f.radius)||void 0===a?void 0:a.sm)||f.shape.borderRadius},c)},p,{children:i}))});export{y as Accordion,w as AccordionContent,x as AccordionItem,b as AccordionTrigger,y as default};
@@ -0,0 +1,27 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("@mui/material"),t=function(){return t=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},t.apply(this,arguments)};function n(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}function i(e,r,o){if(o||2===arguments.length)for(var t,n=0,i=r.length;n<i;n++)!t&&n in r||(t||(t=Array.prototype.slice.call(r,0,n)),t[n]=r[n]);return e.concat(t||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;
2
+ /**
3
+ * @license lucide-react v0.525.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const a=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},l=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),s=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
+ /**
10
+ * @license lucide-react v0.525.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ var d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
16
+ /**
17
+ * @license lucide-react v0.525.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const u=r.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:i="",children:a,iconNode:u,...c},p)=>r.createElement("svg",{ref:p,...d,width:o,height:o,stroke:e,strokeWidth:n?24*Number(t)/Number(o):t,className:l("lucide",i),...!a&&!s(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,o])=>r.createElement(e,o)),...Array.isArray(a)?a:[a]])),c=((e,o)=>{const t=r.forwardRef(({className:t,...n},i)=>{return r.createElement(u,{ref:i,iconNode:o,className:l(`lucide-${s=a(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...n});var s});return t.displayName=a(e),t})("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);
22
+ /**
23
+ * @license lucide-react v0.525.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */var p=r.createContext({}),f=r.forwardRef(function(i,a){var l=i.type,s=void 0===l?"single":l,d=i.collapsible,u=void 0!==d&&d,c=i.value,f=i.defaultValue,h=i.onValueChange,v=i.children;i.sx;var m=n(i,["type","collapsible","value","defaultValue","onValueChange","children","sx"]),x=o.useTheme(),g=r.useState(function(){return void 0!==c?c:void 0!==f?f:"multiple"===s?[]:""}),y=g[0],b=g[1],w=void 0!==c?c:y,A=r.useCallback(function(e){void 0===c&&b(e),null==h||h(e)},[c,h]),C=r.useMemo(function(){return{type:s,collapsible:u,value:w,defaultValue:f,onValueChange:A}},[s,u,w,f,A]);return e.jsx(p.Provider,{value:C,children:e.jsx("div",t({ref:a,style:{display:"flex",flexDirection:"column",gap:x.spacing(1)}},m,{children:v}))})}),h=r.forwardRef(function(a,l){var s,d=a.value,u=a.children,c=a.sx,f=void 0===c?{}:c,h=n(a,["value","children","sx"]),v=o.useTheme(),m=r.useContext(p),x=r.useMemo(function(){return"multiple"===m.type?Array.isArray(m.value)&&m.value.includes(d):m.value===d},[m.value,m.type,d]),g=r.useCallback(function(){if(m.onValueChange)if("multiple"===m.type){var e=Array.isArray(m.value)?m.value:[],r=x?e.filter(function(e){return e!==d}):i(i([],e,!0),[d],!1);m.onValueChange(r)}else{r=x&&m.collapsible?"":d;m.onValueChange(r)}},[m,d,x]);return e.jsx(o.Accordion,t({ref:l,expanded:x,onChange:g,variant:"outlined",sx:t({borderRadius:(null===(s=v.radius)||void 0===s?void 0:s.sm)||v.shape.borderRadius,"&:before":{display:"none"},"&.Mui-expanded":{margin:0},border:"1px solid ".concat(v.palette.divider)},f)},h,{children:u}))}),v=r.forwardRef(function(r,i){var a,l=r.children,s=r.sx,d=void 0===s?{}:s,u=r.expandIcon,p=n(r,["children","sx","expandIcon"]),f=o.useTheme(),h=void 0!==u?u:e.jsx(c,{});return e.jsx(o.AccordionSummary,t({ref:i,expandIcon:h,sx:t({borderRadius:(null===(a=f.radius)||void 0===a?void 0:a.sm)||f.shape.borderRadius,minHeight:56,fontWeight:500,"&.Mui-expanded":{minHeight:56,borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"1px solid ".concat(f.palette.divider)},"& .MuiAccordionSummary-content":{margin:"12px 0","&.Mui-expanded":{margin:"12px 0"}},"& .MuiAccordionSummary-expandIconWrapper":{transition:f.transitions.create("transform",{duration:f.transitions.duration.shortest}),"&.Mui-expanded":{transform:"rotate(180deg)"}},"&:hover":{backgroundColor:f.palette.action.hover}},d)},p,{children:l}))}),m=r.forwardRef(function(r,i){var a,l,s=r.children,d=r.sx,u=void 0===d?{}:d,c=n(r,["children","sx"]),p=o.useTheme();return e.jsx(o.AccordionDetails,t({ref:i,sx:t({padding:p.spacing(2),borderBottomLeftRadius:(null===(a=p.radius)||void 0===a?void 0:a.sm)||p.shape.borderRadius,borderBottomRightRadius:(null===(l=p.radius)||void 0===l?void 0:l.sm)||p.shape.borderRadius},u)},c,{children:s}))});exports.Accordion=f,exports.AccordionContent=m,exports.AccordionItem=h,exports.AccordionTrigger=v,exports.default=f;
@@ -0,0 +1,29 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
3
+ import React from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ type Position = "start" | "end";
7
+ interface CustomColor {
8
+ bg?: string;
9
+ text?: string;
10
+ border?: string;
11
+ }
12
+ interface BadgeProps extends VariantProps<typeof badgeVariants> {
13
+ label: string;
14
+ icon?: React.ReactNode;
15
+ iconPosition?: Position;
16
+ dot?: boolean;
17
+ dotPosition?: Position;
18
+ color?: CustomColor;
19
+ className?: string;
20
+ }
21
+ declare const badgeVariants: (props?: ({
22
+ variant?: "contained" | "outlined" | "text" | null | undefined;
23
+ size?: "sm" | "md" | "lg" | null | undefined;
24
+ type?: "default" | "success" | "warning" | "error" | "info" | null | undefined;
25
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
26
+ declare const Badge: ({ label, icon, iconPosition, dot, dotPosition, variant, size, type, color, className, }: BadgeProps) => react_jsx_runtime.JSX.Element;
27
+
28
+ export { Badge, Badge as default };
29
+ export type { BadgeProps };
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import"react";import{Typography as r}from"@mui/material";function o(e){var r,t,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=o(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function t(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=o(e))&&(n&&(n+=" "),n+=r);return n}const n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t,s=e=>{const r=c(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),l(o,r)||d(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},l=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?l(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,d=e=>{if(i.test(e)){const r=i.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},c=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)m(o[e],t,e,r);return t},m=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:u(r,e)).classGroupId=o)}if("function"==typeof e)return p(e)?void m(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{m(n,u(r,e),o,t)})})},u=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},p=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,a)=>{o.set(n,a),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},f=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,n=0,a=0;for(let s=0;s<e.length;s++){let l=e[s];if(0===t&&0===n){if(":"===l){r.push(e.slice(a,s)),a=s+1;continue}if("/"===l){o=s;continue}}"["===l?t++:"]"===l?t--:"("===l?n++:")"===l&&n--}const s=0===r.length?e:e.substring(a),l=g(s);return{modifiers:r,hasImportantModifier:l!==s,baseClassName:l,maybePostfixModifierPosition:o&&o>a?o-a:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},g=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,h=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},x=/\s+/;function v(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=y(e))&&(t&&(t+=" "),t+=r);return t}const y=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=y(e[t]))&&(o&&(o+=" "),o+=r);return o};function k(e,...r){let o,t,n,a=function(i){const d=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:b(e.cacheSize),parseClassName:f(e),sortModifiers:h(e),...s(e)}))(d),t=o.cache.get,n=o.cache.set,a=l,l(i)};function l(e){const r=t(e);if(r)return r;const a=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:a}=r,s=[],l=e.trim().split(x);let i="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:p}=o(r);if(d){i=r+(i.length>0?" "+i:i);continue}let b=!!p,f=t(b?u.substring(0,p):u);if(!f){if(!b){i=r+(i.length>0?" "+i:i);continue}if(f=t(u),!f){i=r+(i.length>0?" "+i:i);continue}b=!1}const g=a(c).join(":"),h=m?g+"!":g,x=h+f;if(s.includes(x))continue;s.push(x);const v=n(f,b);for(let e=0;e<v.length;++e){const r=v[e];s.push(h+r)}i=r+(i.length>0?" "+i:i)}return i})(e,o);return n(e,a),a}return function(){return a(v.apply(null,arguments))}}const w=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N=/^\d+\/\d+$/,C=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,P=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>N.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),S=e=>e.endsWith("%")&&E(e.slice(0,-1)),W=e=>C.test(e),A=()=>!0,V=e=>P.test(e)&&!O.test(e),q=()=>!1,T=e=>M.test(e),_=e=>G.test(e),B=e=>!F(e)&&!R(e),D=e=>oe(e,se,q),F=e=>z.test(e),H=e=>oe(e,le,V),J=e=>oe(e,ie,E),K=e=>oe(e,ne,q),L=e=>oe(e,ae,_),Q=e=>oe(e,ce,T),R=e=>j.test(e),U=e=>te(e,le),X=e=>te(e,de),Y=e=>te(e,ne),Z=e=>te(e,se),ee=e=>te(e,ae),re=e=>te(e,ce,!0),oe=(e,r,o)=>{const t=z.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},te=(e,r,o=!1)=>{const t=j.exec(e);return!!t&&(t[1]?r(t[1]):o)},ne=e=>"position"===e||"percentage"===e,ae=e=>"image"===e||"url"===e,se=e=>"length"===e||"size"===e||"bg-size"===e,le=e=>"length"===e,ie=e=>"number"===e,de=e=>"family-name"===e,ce=e=>"shadow"===e,me=k(()=>{const e=w("color"),r=w("font"),o=w("text"),t=w("font-weight"),n=w("tracking"),a=w("leading"),s=w("breakpoint"),l=w("container"),i=w("spacing"),d=w("radius"),c=w("shadow"),m=w("inset-shadow"),u=w("text-shadow"),p=w("drop-shadow"),b=w("blur"),f=w("perspective"),g=w("aspect"),h=w("ease"),x=w("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",R,F],y=()=>[R,F,i],k=()=>[I,"full","auto",...y()],z=()=>[$,"none","subgrid",R,F],j=()=>["auto",{span:["full",$,R,F]},$,R,F],N=()=>[$,"auto",R,F],C=()=>["auto","min","max","fr",R,F],P=()=>["auto",...y()],O=()=>[I,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],M=()=>[e,R,F],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Y,K,{position:[R,F]}],V=()=>["auto","cover","contain",Z,D,{size:[R,F]}],q=()=>[S,U,H],T=()=>["","none","full",d,R,F],_=()=>["",E,U,H],oe=()=>[E,S,Y,K],te=()=>["","none",b,R,F],ne=()=>["none",E,R,F],ae=()=>["none",E,R,F],se=()=>[E,R,F],le=()=>[I,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[W],breakpoint:[W],color:[A],container:[W],"drop-shadow":[W],ease:["in","out","in-out"],font:[B],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[W],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[W],shadow:[W],spacing:["px",E],text:[W],"text-shadow":[W],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",I,F,R,g]}],container:["container"],columns:[{columns:[E,F,R,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",R,F]}],basis:[{basis:[I,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,I,"auto","initial","none",F]}],grow:[{grow:["",E,R,F]}],shrink:[{shrink:["",E,R,F]}],order:[{order:[$,"first","last","none",R,F]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,U,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,R,J]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,F]}],"font-family":[{font:[X,F,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,R,F]}],"line-clamp":[{"line-clamp":[E,"none",R,J]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",R,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",R,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",R,H]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[E,"auto",R,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,R,F],radial:["",R,F],conic:[$,R,F]},ee,L]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:_()}],"border-w-x":[{"border-x":_()}],"border-w-y":[{"border-y":_()}],"border-w-s":[{"border-s":_()}],"border-w-e":[{"border-e":_()}],"border-w-t":[{"border-t":_()}],"border-w-r":[{"border-r":_()}],"border-w-b":[{"border-b":_()}],"border-w-l":[{"border-l":_()}],"divide-x":[{"divide-x":_()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[E,R,F]}],"outline-w":[{outline:["",E,U,H]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",c,re,Q]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,re,Q]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[E,H]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",u,re,Q]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[E,R,F]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[R,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",R,F]}],filter:[{filter:["","none",R,F]}],blur:[{blur:te()}],brightness:[{brightness:[E,R,F]}],contrast:[{contrast:[E,R,F]}],"drop-shadow":[{"drop-shadow":["","none",p,re,Q]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",E,R,F]}],"hue-rotate":[{"hue-rotate":[E,R,F]}],invert:[{invert:["",E,R,F]}],saturate:[{saturate:[E,R,F]}],sepia:[{sepia:["",E,R,F]}],"backdrop-filter":[{"backdrop-filter":["","none",R,F]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[E,R,F]}],"backdrop-contrast":[{"backdrop-contrast":[E,R,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,R,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,R,F]}],"backdrop-invert":[{"backdrop-invert":["",E,R,F]}],"backdrop-opacity":[{"backdrop-opacity":[E,R,F]}],"backdrop-saturate":[{"backdrop-saturate":[E,R,F]}],"backdrop-sepia":[{"backdrop-sepia":["",E,R,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",R,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",R,F]}],ease:[{ease:["linear","initial",h,R,F]}],delay:[{delay:[E,R,F]}],animate:[{animate:["none",x,R,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,R,F]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[R,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R,F]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[E,U,H,J]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var ue=function(){return ue=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},ue.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var pe,be,fe=function(o){var t=o.size,n=void 0===t?"md":t,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size"]);return e(r,ue({variant:{sm:"body2",md:"body1",lg:"subtitle1"}[n],component:a.component||"p"},a))},ge=(pe="zui:inline-flex zui:items-center zui:rounded-full zui:font-medium zui:gap-2",be={variants:{variant:{contained:"",outlined:"zui:border zui:bg-transparent",text:"zui:bg-transparent zui:border-transparent"},size:{sm:"zui:text-xs zui:px-2 zui:py-0.5",md:"zui:text-sm zui:px-3 zui:py-1",lg:"zui:text-base zui:px-4 zui:py-1.5"},type:{success:"",warning:"",error:"",info:"",default:""}},defaultVariants:{variant:"contained",size:"md",type:"default"}},e=>{var r;if(null==(null==be?void 0:be.variants))return a(pe,null==e?void 0:e.class,null==e?void 0:e.className);const{variants:o,defaultVariants:t}=be,s=Object.keys(o).map(r=>{const a=null==e?void 0:e[r],s=null==t?void 0:t[r];if(null===a)return null;const l=n(a)||n(s);return o[r][l]}),l=e&&Object.entries(e).reduce((e,r)=>{let[o,t]=r;return void 0===t||(e[o]=t),e},{}),i=null==be||null===(r=be.compoundVariants)||void 0===r?void 0:r.reduce((e,r)=>{let{class:o,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,o]=e;return Array.isArray(o)?o.includes({...t,...l}[r]):{...t,...l}[r]===o})?[...e,o,n]:e},[]);return a(pe,s,i,null==e?void 0:e.class,null==e?void 0:e.className)}),he={success:{bg:"zui:bg-green-100",text:"zui:text-green-700",border:"zui:border-green-700"},warning:{bg:"zui:bg-yellow-100",text:"zui:text-yellow-600",border:"zui:border-yellow-600"},error:{bg:"zui:bg-red-100",text:"zui:text-red-700",border:"zui:border-red-700"},info:{bg:"zui:bg-blue-100",text:"zui:text-blue-700",border:"zui:border-blue-700"},default:{bg:"zui:bg-gray-100",text:"zui:text-gray-800",border:"zui:border-gray-800"}},xe=function(r){var o,n,a,s=r.label,l=r.icon,i=r.iconPosition,d=void 0===i?"start":i,c=r.dot,m=void 0!==c&&c,u=r.dotPosition,p=void 0===u?"start":u,b=r.variant,f=void 0===b?"contained":b,g=r.size,h=void 0===g?"md":g,x=r.type,v=void 0===x?"default":x,y=r.color,k=r.className,w=he[v],z={bg:null!==(o=null==y?void 0:y.bg)&&void 0!==o?o:w.bg,text:null!==(n=null==y?void 0:y.text)&&void 0!==n?n:w.text,border:null!==(a=null==y?void 0:y.border)&&void 0!==a?a:w.border},j=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return me(t(e))}(ge({variant:f,size:h,type:v}),"string"==typeof(null==y?void 0:y.bg)?"":"contained"===f?z.bg:"","string"==typeof(null==y?void 0:y.text)?"":z.text,"string"==typeof(null==y?void 0:y.border)?"":"outlined"===f?z.border:"",k),N={backgroundColor:"contained"===f?null==y?void 0:y.bg:void 0,color:null==y?void 0:y.text,borderColor:"outlined"===f?null==y?void 0:y.border:void 0},C=m&&e("span",{className:"zui:w-2 zui:h-2 zui:rounded-full zui:bg-current zui:inline-block"}),P=[];return m&&"start"===p&&P.push(C),l&&"start"===d&&P.push(l),P.push(e("span",{children:s},"label")),l&&"end"===d&&P.push(l),m&&"end"===p&&P.push(C),e(fe,{size:"sm",fontWeight:500,className:j,style:N,children:P})};export{xe as Badge,xe as default};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var r=require("@mui/material");function o(e){var r,t,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=o(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function t(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=o(e))&&(n&&(n+=" "),n+=r);return n}const n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t,s=e=>{const r=c(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),l(o,r)||d(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},l=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?l(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,d=e=>{if(i.test(e)){const r=i.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},c=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)m(o[e],t,e,r);return t},m=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:u(r,e)).classGroupId=o)}if("function"==typeof e)return p(e)?void m(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{m(n,u(r,e),o,t)})})},u=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},p=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,a)=>{o.set(n,a),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},f=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,n=0,a=0;for(let s=0;s<e.length;s++){let l=e[s];if(0===t&&0===n){if(":"===l){r.push(e.slice(a,s)),a=s+1;continue}if("/"===l){o=s;continue}}"["===l?t++:"]"===l?t--:"("===l?n++:")"===l&&n--}const s=0===r.length?e:e.substring(a),l=g(s);return{modifiers:r,hasImportantModifier:l!==s,baseClassName:l,maybePostfixModifierPosition:o&&o>a?o-a:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},g=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,h=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},x=/\s+/;function v(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=y(e))&&(t&&(t+=" "),t+=r);return t}const y=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=y(e[t]))&&(o&&(o+=" "),o+=r);return o};function k(e,...r){let o,t,n,a=function(i){const d=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:b(e.cacheSize),parseClassName:f(e),sortModifiers:h(e),...s(e)}))(d),t=o.cache.get,n=o.cache.set,a=l,l(i)};function l(e){const r=t(e);if(r)return r;const a=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:a}=r,s=[],l=e.trim().split(x);let i="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:p}=o(r);if(d){i=r+(i.length>0?" "+i:i);continue}let b=!!p,f=t(b?u.substring(0,p):u);if(!f){if(!b){i=r+(i.length>0?" "+i:i);continue}if(f=t(u),!f){i=r+(i.length>0?" "+i:i);continue}b=!1}const g=a(c).join(":"),h=m?g+"!":g,x=h+f;if(s.includes(x))continue;s.push(x);const v=n(f,b);for(let e=0;e<v.length;++e){const r=v[e];s.push(h+r)}i=r+(i.length>0?" "+i:i)}return i})(e,o);return n(e,a),a}return function(){return a(v.apply(null,arguments))}}const w=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N=/^\d+\/\d+$/,P=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>N.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),S=e=>e.endsWith("%")&&E(e.slice(0,-1)),q=e=>P.test(e),W=()=>!0,A=e=>C.test(e)&&!O.test(e),_=()=>!1,T=e=>M.test(e),V=e=>G.test(e),B=e=>!F(e)&&!R(e),D=e=>oe(e,se,_),F=e=>z.test(e),H=e=>oe(e,le,A),J=e=>oe(e,ie,E),K=e=>oe(e,ne,_),L=e=>oe(e,ae,V),Q=e=>oe(e,ce,T),R=e=>j.test(e),U=e=>te(e,le),X=e=>te(e,de),Y=e=>te(e,ne),Z=e=>te(e,se),ee=e=>te(e,ae),re=e=>te(e,ce,!0),oe=(e,r,o)=>{const t=z.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},te=(e,r,o=!1)=>{const t=j.exec(e);return!!t&&(t[1]?r(t[1]):o)},ne=e=>"position"===e||"percentage"===e,ae=e=>"image"===e||"url"===e,se=e=>"length"===e||"size"===e||"bg-size"===e,le=e=>"length"===e,ie=e=>"number"===e,de=e=>"family-name"===e,ce=e=>"shadow"===e,me=k(()=>{const e=w("color"),r=w("font"),o=w("text"),t=w("font-weight"),n=w("tracking"),a=w("leading"),s=w("breakpoint"),l=w("container"),i=w("spacing"),d=w("radius"),c=w("shadow"),m=w("inset-shadow"),u=w("text-shadow"),p=w("drop-shadow"),b=w("blur"),f=w("perspective"),g=w("aspect"),h=w("ease"),x=w("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",R,F],y=()=>[R,F,i],k=()=>[I,"full","auto",...y()],z=()=>[$,"none","subgrid",R,F],j=()=>["auto",{span:["full",$,R,F]},$,R,F],N=()=>[$,"auto",R,F],P=()=>["auto","min","max","fr",R,F],C=()=>["auto",...y()],O=()=>[I,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],M=()=>[e,R,F],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Y,K,{position:[R,F]}],A=()=>["auto","cover","contain",Z,D,{size:[R,F]}],_=()=>[S,U,H],T=()=>["","none","full",d,R,F],V=()=>["",E,U,H],oe=()=>[E,S,Y,K],te=()=>["","none",b,R,F],ne=()=>["none",E,R,F],ae=()=>["none",E,R,F],se=()=>[E,R,F],le=()=>[I,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[q],breakpoint:[q],color:[W],container:[q],"drop-shadow":[q],ease:["in","out","in-out"],font:[B],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[q],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[q],shadow:[q],spacing:["px",E],text:[q],"text-shadow":[q],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",I,F,R,g]}],container:["container"],columns:[{columns:[E,F,R,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",R,F]}],basis:[{basis:[I,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,I,"auto","initial","none",F]}],grow:[{grow:["",E,R,F]}],shrink:[{shrink:["",E,R,F]}],order:[{order:[$,"first","last","none",R,F]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,U,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,R,J]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,F]}],"font-family":[{font:[X,F,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,R,F]}],"line-clamp":[{"line-clamp":[E,"none",R,J]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",R,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",R,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",R,H]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[E,"auto",R,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,R,F],radial:["",R,F],conic:[$,R,F]},ee,L]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:_()}],"gradient-via-pos":[{via:_()}],"gradient-to-pos":[{to:_()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[E,R,F]}],"outline-w":[{outline:["",E,U,H]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",c,re,Q]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,re,Q]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[E,H]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",u,re,Q]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[E,R,F]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[R,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",R,F]}],filter:[{filter:["","none",R,F]}],blur:[{blur:te()}],brightness:[{brightness:[E,R,F]}],contrast:[{contrast:[E,R,F]}],"drop-shadow":[{"drop-shadow":["","none",p,re,Q]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",E,R,F]}],"hue-rotate":[{"hue-rotate":[E,R,F]}],invert:[{invert:["",E,R,F]}],saturate:[{saturate:[E,R,F]}],sepia:[{sepia:["",E,R,F]}],"backdrop-filter":[{"backdrop-filter":["","none",R,F]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[E,R,F]}],"backdrop-contrast":[{"backdrop-contrast":[E,R,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,R,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,R,F]}],"backdrop-invert":[{"backdrop-invert":["",E,R,F]}],"backdrop-opacity":[{"backdrop-opacity":[E,R,F]}],"backdrop-saturate":[{"backdrop-saturate":[E,R,F]}],"backdrop-sepia":[{"backdrop-sepia":["",E,R,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",R,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",R,F]}],ease:[{ease:["linear","initial",h,R,F]}],delay:[{delay:[E,R,F]}],animate:[{animate:["none",x,R,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,R,F]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[R,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R,F]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[E,U,H,J]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var ue=function(){return ue=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},ue.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var pe,be,fe=function(o){var t=o.size,n=void 0===t?"md":t,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size"]);return e.jsx(r.Typography,ue({variant:{sm:"body2",md:"body1",lg:"subtitle1"}[n],component:a.component||"p"},a))},ge=(pe="zui:inline-flex zui:items-center zui:rounded-full zui:font-medium zui:gap-2",be={variants:{variant:{contained:"",outlined:"zui:border zui:bg-transparent",text:"zui:bg-transparent zui:border-transparent"},size:{sm:"zui:text-xs zui:px-2 zui:py-0.5",md:"zui:text-sm zui:px-3 zui:py-1",lg:"zui:text-base zui:px-4 zui:py-1.5"},type:{success:"",warning:"",error:"",info:"",default:""}},defaultVariants:{variant:"contained",size:"md",type:"default"}},e=>{var r;if(null==(null==be?void 0:be.variants))return a(pe,null==e?void 0:e.class,null==e?void 0:e.className);const{variants:o,defaultVariants:t}=be,s=Object.keys(o).map(r=>{const a=null==e?void 0:e[r],s=null==t?void 0:t[r];if(null===a)return null;const l=n(a)||n(s);return o[r][l]}),l=e&&Object.entries(e).reduce((e,r)=>{let[o,t]=r;return void 0===t||(e[o]=t),e},{}),i=null==be||null===(r=be.compoundVariants)||void 0===r?void 0:r.reduce((e,r)=>{let{class:o,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,o]=e;return Array.isArray(o)?o.includes({...t,...l}[r]):{...t,...l}[r]===o})?[...e,o,n]:e},[]);return a(pe,s,i,null==e?void 0:e.class,null==e?void 0:e.className)}),he={success:{bg:"zui:bg-green-100",text:"zui:text-green-700",border:"zui:border-green-700"},warning:{bg:"zui:bg-yellow-100",text:"zui:text-yellow-600",border:"zui:border-yellow-600"},error:{bg:"zui:bg-red-100",text:"zui:text-red-700",border:"zui:border-red-700"},info:{bg:"zui:bg-blue-100",text:"zui:text-blue-700",border:"zui:border-blue-700"},default:{bg:"zui:bg-gray-100",text:"zui:text-gray-800",border:"zui:border-gray-800"}},xe=function(r){var o,n,a,s=r.label,l=r.icon,i=r.iconPosition,d=void 0===i?"start":i,c=r.dot,m=void 0!==c&&c,u=r.dotPosition,p=void 0===u?"start":u,b=r.variant,f=void 0===b?"contained":b,g=r.size,h=void 0===g?"md":g,x=r.type,v=void 0===x?"default":x,y=r.color,k=r.className,w=he[v],z={bg:null!==(o=null==y?void 0:y.bg)&&void 0!==o?o:w.bg,text:null!==(n=null==y?void 0:y.text)&&void 0!==n?n:w.text,border:null!==(a=null==y?void 0:y.border)&&void 0!==a?a:w.border},j=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return me(t(e))}(ge({variant:f,size:h,type:v}),"string"==typeof(null==y?void 0:y.bg)?"":"contained"===f?z.bg:"","string"==typeof(null==y?void 0:y.text)?"":z.text,"string"==typeof(null==y?void 0:y.border)?"":"outlined"===f?z.border:"",k),N={backgroundColor:"contained"===f?null==y?void 0:y.bg:void 0,color:null==y?void 0:y.text,borderColor:"outlined"===f?null==y?void 0:y.border:void 0},P=m&&e.jsx("span",{className:"zui:w-2 zui:h-2 zui:rounded-full zui:bg-current zui:inline-block"}),C=[];return m&&"start"===p&&C.push(P),l&&"start"===d&&C.push(l),C.push(e.jsx("span",{children:s},"label")),l&&"end"===d&&C.push(l),m&&"end"===p&&C.push(P),e.jsx(fe,{size:"sm",fontWeight:500,className:j,style:N,children:C})};exports.Badge=xe,exports.default=xe;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ButtonProps as ButtonProps$1 } from '@mui/material';
3
+ import { SxProps } from '@mui/system';
4
+
5
+ interface ButtonProps extends Omit<ButtonProps$1, 'sx'> {
6
+ loading?: boolean;
7
+ loadingText?: string;
8
+ sx?: SxProps;
9
+ loaderSize?: number;
10
+ loaderPosition?: 'start' | 'end' | 'center';
11
+ }
12
+ declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
+
14
+ export { Button, Button as default };
15
+ export type { ButtonProps };
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import o from"react";import{Button as e,CircularProgress as t}from"@mui/material";var i=function(){return i=Object.assign||function(r){for(var o,e=1,t=arguments.length;e<t;e++)for(var i in o=arguments[e])Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i]);return r},i.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var n=o.forwardRef(function(o,n){var a=o.children,l=o.loading,d=void 0!==l&&l,s=o.loadingText,c=o.loaderSize,p=void 0===c?18:c,f=o.loaderPosition,u=void 0===f?"start":f,v=o.variant,m=void 0===v?"contained":v,y=o.color,b=void 0===y?"primary":y,O=o.size,h=void 0===O?"medium":O,g=o.sx,x=void 0===g?{}:g,z=o.disabled,j=o.startIcon,I=o.endIcon,P=function(r,o){var e={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&o.indexOf(t)<0&&(e[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(e[t[i]]=r[t[i]])}return e}(o,["children","loading","loadingText","loaderSize","loaderPosition","variant","color","size","sx","disabled","startIcon","endIcon"]),S=d&&"end"===u,w=d&&"center"===u;return r(e,i({ref:n,variant:m,color:b,disabled:z||d,size:h,startIcon:d&&"start"===u?r(t,{size:p,color:"inherit"}):j,endIcon:S?r(t,{size:p,color:"inherit"}):I,sx:i({position:"relative"},x)},P,{children:w?r(t,{size:p,color:"inherit"}):d&&s?s:a}))});n.displayName="Button";export{n as Button,n as default};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("react/jsx-runtime"),e=require("react"),o=require("@mui/material"),t=function(){return t=Object.assign||function(r){for(var e,o=1,t=arguments.length;o<t;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},t.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var i=e.forwardRef(function(e,i){var n=e.children,a=e.loading,s=void 0!==a&&a,l=e.loadingText,c=e.loaderSize,d=void 0===c?18:c,u=e.loaderPosition,p=void 0===u?"start":u,f=e.variant,v=void 0===f?"contained":f,y=e.color,x=void 0===y?"primary":y,b=e.size,O=void 0===b?"medium":b,g=e.sx,j=void 0===g?{}:g,h=e.disabled,m=e.startIcon,P=e.endIcon,z=function(r,e){var o={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(o[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(o[t[i]]=r[t[i]])}return o}(e,["children","loading","loadingText","loaderSize","loaderPosition","variant","color","size","sx","disabled","startIcon","endIcon"]),I=s&&"start"===p,S=s&&"end"===p,w=s&&"center"===p;return r.jsx(o.Button,t({ref:i,variant:v,color:x,disabled:h||s,size:O,startIcon:I?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):m,endIcon:S?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):P,sx:t({position:"relative"},j)},z,{children:w?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):s&&l?l:n}))});i.displayName="Button",exports.Button=i,exports.default=i;
@@ -0,0 +1,41 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React$1 from 'react';
3
+ import React__default from 'react';
4
+ import { CardProps } from '@mui/material';
5
+ import { SxProps } from '@mui/system';
6
+
7
+ interface CardRootProps extends CardProps {
8
+ sx?: SxProps;
9
+ variant?: 'elevated' | 'outlined' | 'bordered';
10
+ children: React__default.ReactNode;
11
+ }
12
+
13
+ declare const Card: React$1.FC<CardRootProps> & {
14
+ Header: ({ title, subtitle, action, }: {
15
+ title?: string | React.ReactNode;
16
+ subtitle?: string | React.ReactNode;
17
+ action?: React.ReactNode;
18
+ }) => react_jsx_runtime.JSX.Element;
19
+ Content: ({ children, sx }: {
20
+ children: React.ReactNode;
21
+ sx?: any;
22
+ }) => react_jsx_runtime.JSX.Element;
23
+ Body: ({ children, sx }: {
24
+ children: React.ReactNode;
25
+ sx?: any;
26
+ }) => react_jsx_runtime.JSX.Element;
27
+ Actions: ({ children, sx }: {
28
+ children: React.ReactNode;
29
+ sx?: any;
30
+ }) => react_jsx_runtime.JSX.Element;
31
+ Image: ({ src, height, alt }: {
32
+ src: string;
33
+ height?: number | string;
34
+ alt?: string;
35
+ }) => react_jsx_runtime.JSX.Element;
36
+ Skeleton: ({ lines }: {
37
+ lines?: number;
38
+ }) => react_jsx_runtime.JSX.Element;
39
+ };
40
+
41
+ export { Card as default };
@@ -0,0 +1 @@
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";import{useTheme as t,Card as n,CardHeader as i,Typography as o,CardActions as a,Box as l,Skeleton as c}from"@mui/material";import d from"@mui/material/CardContent";import u from"@mui/material/CardMedia";var s=function(){return s=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},s.apply(this,arguments)};function p(r,e,t){if(t||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return r.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var v=function(e){var t=e.children,n=e.sx;return r(d,{sx:n,children:t})},f=Object.assign(function(e){var i,o=e.children,a=e.sx,l=void 0===a?{}:a,c=e.elevation,d=void 0===c?1:c,u=e.variant,p=void 0===u?"elevated":u,v=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]])}return t}(e,["children","sx","elevation","variant"]),f=t();return r(n,s({elevation:"elevated"===p?d:0,variant:"outlined"===p?"outlined":"elevation",sx:s({borderRadius:(null===(i=f.radius)||void 0===i?void 0:i.sm)||8,border:"bordered"===p?"1px solid ".concat(f.palette.divider):"none",overflow:"hidden",backgroundColor:f.palette.background.paper},l)},v,{children:o}))},{Header:function(e){var t=e.title,n=e.subtitle,a=e.action;return r(i,{title:"string"==typeof t?r(o,{variant:"h6",fontWeight:600,children:t}):t,subheader:"string"==typeof n?r(o,{variant:"body2",color:"text.secondary",children:n}):n,action:a})},Content:v,Body:v,Actions:function(e){var t=e.children,n=e.sx;return r(a,{sx:n,children:t})},Image:function(e){var t=e.src,n=e.height,i=void 0===n?160:n,o=e.alt;return r(u,{component:"img",height:i,image:t,alt:void 0===o?"card image":o})},Skeleton:function(t){var n=t.lines,i=void 0===n?3:n;return e(l,{p:2,children:[r(c,{variant:"rectangular",height:140}),p([],Array(i),!0).map(function(e,t){return r(c,{variant:"text",height:20,sx:{mt:1}},t)})]})}});export{f as default};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("@mui/material"),t=require("@mui/material/CardContent"),n=require("@mui/material/CardMedia"),i=function(){return i=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},i.apply(this,arguments)};function o(e,r,t){if(t||2===arguments.length)for(var n,i=0,o=r.length;i<o;i++)!n&&i in r||(n||(n=Array.prototype.slice.call(r,0,i)),n[i]=r[i]);return e.concat(n||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;var a=function(r){var n=r.children,i=r.sx;return e.jsx(t,{sx:i,children:n})},l=Object.assign(function(t){var n,o=t.children,a=t.sx,l=void 0===a?{}:a,c=t.elevation,d=void 0===c?1:c,s=t.variant,u=void 0===s?"elevated":s,p=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)r.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]])}return t}(t,["children","sx","elevation","variant"]),v=r.useTheme();return e.jsx(r.Card,i({elevation:"elevated"===u?d:0,variant:"outlined"===u?"outlined":"elevation",sx:i({borderRadius:(null===(n=v.radius)||void 0===n?void 0:n.sm)||8,border:"bordered"===u?"1px solid ".concat(v.palette.divider):"none",overflow:"hidden",backgroundColor:v.palette.background.paper},l)},p,{children:o}))},{Header:function(t){var n=t.title,i=t.subtitle,o=t.action;return e.jsx(r.CardHeader,{title:"string"==typeof n?e.jsx(r.Typography,{variant:"h6",fontWeight:600,children:n}):n,subheader:"string"==typeof i?e.jsx(r.Typography,{variant:"body2",color:"text.secondary",children:i}):i,action:o})},Content:a,Body:a,Actions:function(t){var n=t.children,i=t.sx;return e.jsx(r.CardActions,{sx:i,children:n})},Image:function(r){var t=r.src,i=r.height,o=void 0===i?160:i,a=r.alt,l=void 0===a?"card image":a;return e.jsx(n,{component:"img",height:o,image:t,alt:l})},Skeleton:function(t){var n=t.lines,i=void 0===n?3:n;return e.jsxs(r.Box,{p:2,children:[e.jsx(r.Skeleton,{variant:"rectangular",height:140}),o([],Array(i),!0).map(function(t,n){return e.jsx(r.Skeleton,{variant:"text",height:20,sx:{mt:1}},n)})]})}});module.exports=l;
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+
3
+ type CheckboxSize = "sm" | "md" | "lg";
4
+ interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
5
+ label?: React.ReactNode;
6
+ description?: React.ReactNode;
7
+ size?: CheckboxSize;
8
+ indeterminate?: boolean;
9
+ error?: boolean;
10
+ }
11
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
12
+
13
+ export { Checkbox, Checkbox as default };
14
+ export type { CheckboxProps };
@@ -0,0 +1,27 @@
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import*as o from"react";import{forwardRef as t,createElement as n}from"react";var s=function(){return s=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},s.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;
2
+ /**
3
+ * @license lucide-react v0.525.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const a=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},i=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),l=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
+ /**
10
+ * @license lucide-react v0.525.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
16
+ /**
17
+ * @license lucide-react v0.525.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const d=t(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:s="",children:a,iconNode:d,...m},p)=>n("svg",{ref:p,...c,width:r,height:r,stroke:e,strokeWidth:t?24*Number(o)/Number(r):o,className:i("lucide",s),...!a&&!l(m)&&{"aria-hidden":"true"},...m},[...d.map(([e,r])=>n(e,r)),...Array.isArray(a)?a:[a]])),m=(e,r)=>{const o=t(({className:o,...t},s)=>{return n(d,{ref:s,iconNode:r,className:i(`lucide-${l=a(e),l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...t});var l});return o.displayName=a(e),o},p=m("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),u=m("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);
22
+ /**
23
+ * @license lucide-react v0.525.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */function f(e){var r,o,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(o=f(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}const b=e=>{const r=x(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),g(o,r)||k(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},g=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?g(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},h=/^\[(.+)\]$/,k=e=>{if(h.test(e)){const r=h.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},x=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)w(o[e],t,e,r);return t},w=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:y(r,e)).classGroupId=o)}if("function"==typeof e)return v(e)?void w(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{w(n,y(r,e),o,t)})})},y=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},v=e=>e.isThemeGetter,z=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,s)=>{o.set(n,s),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},N=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,n=0,s=0;for(let a=0;a<e.length;a++){let i=e[a];if(0===t&&0===n){if(":"===i){r.push(e.slice(s,a)),s=a+1;continue}if("/"===i){o=a;continue}}"["===i?t++:"]"===i?t--:"("===i?n++:")"===i&&n--}const a=0===r.length?e:e.substring(s),i=j(a);return{modifiers:r,hasImportantModifier:i!==a,baseClassName:i,maybePostfixModifierPosition:o&&o>s?o-s:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},j=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,C=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},M=/\s+/;function P(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=G(e))&&(t&&(t+=" "),t+=r);return t}const G=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=G(e[t]))&&(o&&(o+=" "),o+=r);return o};function O(e,...r){let o,t,n,s=function(i){const l=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:z(e.cacheSize),parseClassName:N(e),sortModifiers:C(e),...b(e)}))(l),t=o.cache.get,n=o.cache.set,s=a,a(i)};function a(e){const r=t(e);if(r)return r;const s=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:s}=r,a=[],i=e.trim().split(M);let l="";for(let e=i.length-1;e>=0;e-=1){const r=i[e],{isExternal:c,modifiers:d,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:u}=o(r);if(c){l=r+(l.length>0?" "+l:l);continue}let f=!!u,b=t(f?p.substring(0,u):p);if(!b){if(!f){l=r+(l.length>0?" "+l:l);continue}if(b=t(p),!b){l=r+(l.length>0?" "+l:l);continue}f=!1}const g=s(d).join(":"),h=m?g+"!":g,k=h+b;if(a.includes(k))continue;a.push(k);const x=n(b,f);for(let e=0;e<x.length;++e){const r=x[e];a.push(h+r)}l=r+(l.length>0?" "+l:l)}return l})(e,o);return n(e,s),s}return function(){return s(P.apply(null,arguments))}}const I=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},$=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,E=/^\((?:(\w[\w-]*):)?(.+)\)$/i,W=/^\d+\/\d+$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,L=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>W.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),T=e=>!!e&&Number.isInteger(Number(e)),U=e=>e.endsWith("%")&&R(e.slice(0,-1)),Z=e=>S.test(e),D=()=>!0,F=e=>A.test(e)&&!L.test(e),H=()=>!1,J=e=>_.test(e),K=e=>q.test(e),Q=e=>!X(e)&&!ne(e),V=e=>me(e,be,H),X=e=>$.test(e),Y=e=>me(e,ge,F),ee=e=>me(e,he,R),re=e=>me(e,ue,H),oe=e=>me(e,fe,K),te=e=>me(e,xe,J),ne=e=>E.test(e),se=e=>pe(e,ge),ae=e=>pe(e,ke),ie=e=>pe(e,ue),le=e=>pe(e,be),ce=e=>pe(e,fe),de=e=>pe(e,xe,!0),me=(e,r,o)=>{const t=$.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},pe=(e,r,o=!1)=>{const t=E.exec(e);return!!t&&(t[1]?r(t[1]):o)},ue=e=>"position"===e||"percentage"===e,fe=e=>"image"===e||"url"===e,be=e=>"length"===e||"size"===e||"bg-size"===e,ge=e=>"length"===e,he=e=>"number"===e,ke=e=>"family-name"===e,xe=e=>"shadow"===e,we=O(()=>{const e=I("color"),r=I("font"),o=I("text"),t=I("font-weight"),n=I("tracking"),s=I("leading"),a=I("breakpoint"),i=I("container"),l=I("spacing"),c=I("radius"),d=I("shadow"),m=I("inset-shadow"),p=I("text-shadow"),u=I("drop-shadow"),f=I("blur"),b=I("perspective"),g=I("aspect"),h=I("ease"),k=I("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ne,X],w=()=>[ne,X,l],y=()=>[B,"full","auto",...w()],v=()=>[T,"none","subgrid",ne,X],z=()=>["auto",{span:["full",T,ne,X]},T,ne,X],N=()=>[T,"auto",ne,X],j=()=>["auto","min","max","fr",ne,X],C=()=>["auto",...w()],M=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],P=()=>[e,ne,X],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ie,re,{position:[ne,X]}],O=()=>["auto","cover","contain",le,V,{size:[ne,X]}],$=()=>[U,se,Y],E=()=>["","none","full",c,ne,X],W=()=>["",R,se,Y],S=()=>[R,U,ie,re],A=()=>["","none",f,ne,X],L=()=>["none",R,ne,X],_=()=>["none",R,ne,X],q=()=>[R,ne,X],F=()=>[B,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Z],breakpoint:[Z],color:[D],container:[Z],"drop-shadow":[Z],ease:["in","out","in-out"],font:[Q],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Z],shadow:[Z],spacing:["px",R],text:[Z],"text-shadow":[Z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,X,ne,g]}],container:["container"],columns:[{columns:[R,X,ne,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:y()}],"inset-x":[{"inset-x":y()}],"inset-y":[{"inset-y":y()}],start:[{start:y()}],end:[{end:y()}],top:[{top:y()}],right:[{right:y()}],bottom:[{bottom:y()}],left:[{left:y()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",ne,X]}],basis:[{basis:[B,"full","auto",i,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,B,"auto","initial","none",X]}],grow:[{grow:["",R,ne,X]}],shrink:[{shrink:["",R,ne,X]}],order:[{order:[T,"first","last","none",ne,X]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:z()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:z()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],w:[{w:[i,"screen",...M()]}],"min-w":[{"min-w":[i,"screen","none",...M()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",o,se,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,ne,ee]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",U,X]}],"font-family":[{font:[ae,X,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,ne,X]}],"line-clamp":[{"line-clamp":[R,"none",ne,ee]}],leading:[{leading:[s,...w()]}],"list-image":[{"list-image":["none",ne,X]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,X]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",ne,Y]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[R,"auto",ne,X]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,X]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,ne,X],radial:["",ne,X],conic:[T,ne,X]},ce,oe]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[R,ne,X]}],"outline-w":[{outline:["",R,se,Y]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",d,de,te]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",m,de,te]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[R,Y]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,de,te]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[R,ne,X]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":S()}],"mask-image-linear-to-pos":[{"mask-linear-to":S()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":S()}],"mask-image-t-to-pos":[{"mask-t-to":S()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":S()}],"mask-image-r-to-pos":[{"mask-r-to":S()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":S()}],"mask-image-b-to-pos":[{"mask-b-to":S()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":S()}],"mask-image-l-to-pos":[{"mask-l-to":S()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":S()}],"mask-image-x-to-pos":[{"mask-x-to":S()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":S()}],"mask-image-y-to-pos":[{"mask-y-to":S()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[ne,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":S()}],"mask-image-radial-to-pos":[{"mask-radial-to":S()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":S()}],"mask-image-conic-to-pos":[{"mask-conic-to":S()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,X]}],filter:[{filter:["","none",ne,X]}],blur:[{blur:A()}],brightness:[{brightness:[R,ne,X]}],contrast:[{contrast:[R,ne,X]}],"drop-shadow":[{"drop-shadow":["","none",u,de,te]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",R,ne,X]}],"hue-rotate":[{"hue-rotate":[R,ne,X]}],invert:[{invert:["",R,ne,X]}],saturate:[{saturate:[R,ne,X]}],sepia:[{sepia:["",R,ne,X]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,X]}],"backdrop-blur":[{"backdrop-blur":A()}],"backdrop-brightness":[{"backdrop-brightness":[R,ne,X]}],"backdrop-contrast":[{"backdrop-contrast":[R,ne,X]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,ne,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,ne,X]}],"backdrop-invert":[{"backdrop-invert":["",R,ne,X]}],"backdrop-opacity":[{"backdrop-opacity":[R,ne,X]}],"backdrop-saturate":[{"backdrop-saturate":[R,ne,X]}],"backdrop-sepia":[{"backdrop-sepia":["",R,ne,X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,X]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",ne,X]}],ease:[{ease:["linear","initial",h,ne,X]}],delay:[{delay:[R,ne,X]}],animate:[{animate:["none",k,ne,X]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,ne,X]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:_()}],"scale-x":[{"scale-x":_()}],"scale-y":[{"scale-y":_()}],"scale-z":[{"scale-z":_()}],"scale-3d":["scale-3d"],skew:[{skew:q()}],"skew-x":[{"skew-x":q()}],"skew-y":[{"skew-y":q()}],transform:[{transform:[ne,X,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne,X]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,X]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[R,se,Y,ee]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ye(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return we(function(){for(var e,r,o=0,t="",n=arguments.length;o<n;o++)(e=arguments[o])&&(r=f(e))&&(t&&(t+=" "),t+=r);return t}(e))}var ve={sm:"zui:h-4 zui:w-4",md:"zui:h-5 zui:w-5",lg:"zui:h-6 zui:w-6"},ze=o.forwardRef(function(t,n){var a=t.className,i=t.label,l=t.description,c=t.size,d=void 0===c?"md":c,m=t.disabled,f=t.indeterminate,b=t.error,g=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(t,["className","label","description","size","disabled","indeterminate","error"]),h=o.useRef(null);return o.useEffect(function(){h.current&&(h.current.indeterminate=!!f)},[f]),e("label",{className:ye("zui:inline-flex zui:items-start zui:gap-2 zui:cursor-pointer",m&&"zui:opacity-60 zui:cursor-not-allowed",a),children:[e("span",{className:ye("zui:relative zui:inline-flex zui:items-center zui:justify-center zui:rounded zui:border zui:border-slate-300 zui:bg-white zui:transition-colors zui:shrink-0",ve[d],{"zui:border-red-500":b,"zui:bg-slate-200":m,"zui:border-blue-600":(g.checked||f)&&!b,"zui:bg-blue-600":(g.checked||f)&&!b,"zui:ring-1 zui:ring-offset-1 zui:ring-blue-600":(g.checked||f)&&!m}),children:[r("input",s({type:"checkbox",className:"zui:sr-only",ref:function(e){h.current=e,"function"==typeof n?n(e):n&&(n.current=e)},disabled:m,"aria-invalid":b},g)),f?r(u,{className:"zui:w-3 zui:h-3 zui:text-white zui:pointer-events-none",strokeWidth:3}):g.checked?r(p,{className:"zui:w-4 zui:h-4 zui:text-white zui:pointer-events-none"}):null]}),(i||l)&&e("div",{className:"zui:flex zui:flex-col",children:[i&&r("span",{className:"zui:text-sm zui:text-slate-800 zui:font-medium",children:i}),l&&r("span",{className:ye("zui:text-xs zui:text-slate-500",b&&"zui:text-red-500"),children:l})]})]})});export{ze as Checkbox,ze as default};