next-ui-lib 0.1.20 → 0.1.21

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.
@@ -1,7 +1,7 @@
1
- import { ButtonColor } from '../../constants/colors';
1
+ import { ColorName } from '../../constants/colors';
2
2
  export interface ButtonProps {
3
3
  onClick: () => void;
4
- color?: ButtonColor;
4
+ color?: ColorName;
5
5
  customClass?: string;
6
6
  iconSrc?: string;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bgIcon.d.ts","sourceRoot":"","sources":["../../../src/components/bgIcon/bgIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,GAAI,2CAKb,WAAW,gBAwBb,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"bgIcon.d.ts","sourceRoot":"","sources":["../../../src/components/bgIcon/bgIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAG3D,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,GAAI,2CAKb,WAAW,gBAwBb,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ButtonColor } from '../../constants/colors';
2
+ import { ButtonColor, ColorName } from '../../constants/colors';
3
3
  type CardProps = {
4
4
  title?: string;
5
5
  description?: string;
@@ -9,7 +9,7 @@ type CardProps = {
9
9
  buttonLabel?: string;
10
10
  buttonColor?: ButtonColor;
11
11
  buttonVariant?: "primary" | "secondary";
12
- bgIconColor?: ButtonColor;
12
+ bgIconColor?: ColorName;
13
13
  buttonPosition?: "top-right" | "bottom-right";
14
14
  iconSrc?: string;
15
15
  buttonSize?: "small" | "medium" | "large" | "full";
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACxC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,cAAc,CAAC,EAAE,WAAW,GAAG,cAAc,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,kKAclB,SAAS,gBAmEX,CAAC"}
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE5D,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACxC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,WAAW,GAAG,cAAc,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,kKAclB,SAAS,gBAmEX,CAAC"}
@@ -10,7 +10,7 @@ declare const meta: {
10
10
  buttonLabel?: string;
11
11
  buttonColor?: import('../../constants/colors').ButtonColor;
12
12
  buttonVariant?: "primary" | "secondary";
13
- bgIconColor?: import('../../constants/colors').ButtonColor;
13
+ bgIconColor?: import('../../constants/colors').ColorName;
14
14
  buttonPosition?: "top-right" | "bottom-right";
15
15
  iconSrc?: string;
16
16
  buttonSize?: "small" | "medium" | "large" | "full";
@@ -1,6 +1,6 @@
1
- import { ButtonColor } from '../../constants/colors';
1
+ import { ColorName } from '../../constants/colors';
2
2
  export interface ProgressBarProps {
3
- bgIconColor?: ButtonColor;
3
+ bgIconColor?: ColorName;
4
4
  iconSrc?: string;
5
5
  label?: string;
6
6
  percentage?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../../src/components/progressBar/progressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAGZ,MAAM,wBAAwB,CAAC;AAIhC,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,GAAI,wEAOlB,gBAAgB,gBAsClB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../../src/components/progressBar/progressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAGV,MAAM,wBAAwB,CAAC;AAIhC,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,GAAI,wEAOlB,gBAAgB,gBAsClB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -36,6 +36,44 @@ export declare const buttonColors: {
36
36
  };
37
37
  };
38
38
  };
39
+ export declare const colors: {
40
+ readonly red: {
41
+ readonly value: "#FF5733";
42
+ readonly dark: "#C74422";
43
+ };
44
+ readonly amber: {
45
+ readonly text: "#936E00";
46
+ readonly value: "#FFC107";
47
+ readonly dark: "#D39E00";
48
+ };
49
+ readonly green: {
50
+ readonly value: "#79C70B";
51
+ readonly dark: "#619F08";
52
+ };
53
+ readonly blue: {
54
+ readonly value: "#2196F3";
55
+ readonly dark: "#1976D2";
56
+ };
57
+ readonly purple: {
58
+ readonly value: "#9C27B0";
59
+ readonly dark: "#7B1FA2";
60
+ };
61
+ readonly orange: {
62
+ readonly value: "#FF9800";
63
+ readonly dark: "#E68900";
64
+ };
65
+ readonly pink: {
66
+ readonly text: "#FFFFFF";
67
+ readonly value: "#E91E63";
68
+ readonly dark: "#C2185B";
69
+ };
70
+ readonly cyan: {
71
+ readonly text: "#FFFFFF";
72
+ readonly value: "#00BCD4";
73
+ readonly dark: "#0097A7";
74
+ };
75
+ };
76
+ export type ColorName = keyof typeof colors;
39
77
  export declare const staticColors: {
40
78
  readonly Gray: {
41
79
  readonly value: "#F1F1F1";
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaf,CAAC;AAEX,eAAO,MAAM,YAAY;;;;CAEf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaf,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAST,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAC;AAE5C,eAAO,MAAM,YAAY;;;;CAEf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC"}
package/dist/ui.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),Ce=require("react");function De(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const O=De(Ce),ce={lightBlue:{primary:{text:"#FFFFFF",value:"#27a7e3",dark:"#1f8ecb"},secondary:{text:"#1CB0F6",value:"#E0F3FF",dark:"#B3DFFC"}},amber:{primary:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},secondary:{text:"#936E00",value:"#FFE082",dark:"#FFCA28"}},cyan:{primary:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"},secondary:{text:"#00BCD4",value:"#B2EBF2",dark:"#80DEEA"}}},We={Gray:{value:"#F1F1F1"}},ae=({color:e="lightBlue",onClick:t,label:r,size:o="medium",variant:n="primary",customClass:c=""})=>{const l={small:"px-2 py-1 text-xs rounded-lg",medium:"px-3 py-1 text-base rounded-xl",large:"px-8 py-3 text-2xl rounded-2xl",full:"px-8 py-2 text-xl rounded-2xl w-full"},p=ce[e];return f.jsx("button",{className:`relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,style:{backgroundColor:n=="primary"?p.primary.value:p.secondary.value,boxShadow:`0 ${o==="large"?"6px":"4px"} 0 ${n=="primary"?p.primary.dark:p.secondary.dark}`,color:n=="primary"?p.primary.text:p.secondary.text},onMouseDown:m=>{m.currentTarget.style.boxShadow="none"},onMouseUp:m=>{m.currentTarget.style.boxShadow=`0 4px 0 ${n=="primary"?p.primary.dark:p.secondary.dark}`},onClick:t,children:f.jsx("span",{className:"font-bold",children:r})})};function ze(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=ze(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ue(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=ze(e))&&(o&&(o+=" "),o+=t);return o}const de="-",qe=e=>{const t=Je(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const p=l.split(de);return p[0]===""&&p.length!==1&&p.shift(),je(p,t)||He(l)},getConflictingClassGroupIds:(l,p)=>{const m=r[l]||[];return p&&o[l]?[...m,...o[l]]:m}}},je=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?je(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const c=e.join(de);return t.validators.find(({validator:l})=>l(c))?.classGroupId},ye=/^\[(.+)\]$/,He=e=>{if(ye.test(e)){const t=ye.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Je=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const n in r)ne(r[n],o,n,t);return o},ne=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){const c=n===""?t:we(t,n);c.classGroupId=r;return}if(typeof n=="function"){if(Xe(n)){ne(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([c,l])=>{ne(l,we(t,c),r,o)})})},we=(e,t)=>{let r=e;return t.split(de).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Xe=e=>e.isThemeGetter,Ke=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(c,l)=>{r.set(c,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(c){let l=r.get(c);if(l!==void 0)return l;if((l=o.get(c))!==void 0)return n(c,l),l},set(c,l){r.has(c)?r.set(c,l):n(c,l)}}},le="!",ie=":",Qe=ie.length,Ye=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=n=>{const c=[];let l=0,p=0,m=0,b;for(let k=0;k<n.length;k++){let C=n[k];if(l===0&&p===0){if(C===ie){c.push(n.slice(m,k)),m=k+Qe;continue}if(C==="/"){b=k;continue}}C==="["?l++:C==="]"?l--:C==="("?p++:C===")"&&p--}const h=c.length===0?n:n.substring(m),v=Ze(h),F=v!==h,S=b&&b>m?b-m:void 0;return{modifiers:c,hasImportantModifier:F,baseClassName:v,maybePostfixModifierPosition:S}};if(t){const n=t+ie,c=o;o=l=>l.startsWith(n)?c(l.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const n=o;o=c=>r({className:c,parseClassName:n})}return o},Ze=e=>e.endsWith(le)?e.substring(0,e.length-1):e.startsWith(le)?e.substring(1):e,er=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let c=[];return o.forEach(l=>{l[0]==="["||t[l]?(n.push(...c.sort(),l),c=[]):c.push(l)}),n.push(...c.sort()),n}},rr=e=>({cache:Ke(e.cacheSize),parseClassName:Ye(e),sortModifiers:er(e),...qe(e)}),or=/\s+/,tr=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:c}=t,l=[],p=e.trim().split(or);let m="";for(let b=p.length-1;b>=0;b-=1){const h=p[b],{isExternal:v,modifiers:F,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:C}=r(h);if(v){m=h+(m.length>0?" "+m:m);continue}let G=!!C,A=o(G?k.substring(0,C):k);if(!A){if(!G){m=h+(m.length>0?" "+m:m);continue}if(A=o(k),!A){m=h+(m.length>0?" "+m:m);continue}G=!1}const q=c(F).join(":"),D=S?q+le:q,T=D+A;if(l.includes(T))continue;l.push(T);const B=n(A,G);for(let R=0;R<B.length;++R){const W=B[R];l.push(D+W)}m=h+(m.length>0?" "+m:m)}return m};function sr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ne(t))&&(o&&(o+=" "),o+=r);return o}const Ne=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ne(e[o]))&&(r&&(r+=" "),r+=t);return r};function ar(e,...t){let r,o,n,c=l;function l(m){const b=t.reduce((h,v)=>v(h),e());return r=rr(b),o=r.cache.get,n=r.cache.set,c=p,p(m)}function p(m){const b=o(m);if(b)return b;const h=tr(m,r);return n(m,h),h}return function(){return c(sr.apply(null,arguments))}}const g=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Se=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Me=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nr=/^\d+\/\d+$/,lr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ir=/\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$/,cr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,dr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>nr.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&u(e.slice(0,-1)),N=e=>lr.test(e),pr=()=>!0,ur=e=>ir.test(e)&&!cr.test(e),Fe=()=>!1,fr=e=>dr.test(e),gr=e=>mr.test(e),br=e=>!s(e)&&!a(e),hr=e=>L(e,Pe,Fe),s=e=>Se.test(e),I=e=>L(e,Ie,ur),se=e=>L(e,vr,u),ke=e=>L(e,Ae,Fe),xr=e=>L(e,Re,gr),Y=e=>L(e,Ge,fr),a=e=>Me.test(e),U=e=>V(e,Ie),yr=e=>V(e,Cr),ve=e=>V(e,Ae),wr=e=>V(e,Pe),kr=e=>V(e,Re),Z=e=>V(e,Ge,!0),L=(e,t,r)=>{const o=Se.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},V=(e,t,r=!1)=>{const o=Me.exec(e);return o?o[1]?t(o[1]):r:!1},Ae=e=>e==="position"||e==="percentage",Re=e=>e==="image"||e==="url",Pe=e=>e==="length"||e==="size"||e==="bg-size",Ie=e=>e==="length",vr=e=>e==="number",Cr=e=>e==="family-name",Ge=e=>e==="shadow",zr=()=>{const e=g("color"),t=g("font"),r=g("text"),o=g("font-weight"),n=g("tracking"),c=g("leading"),l=g("breakpoint"),p=g("container"),m=g("spacing"),b=g("radius"),h=g("shadow"),v=g("inset-shadow"),F=g("text-shadow"),S=g("drop-shadow"),k=g("blur"),C=g("perspective"),G=g("aspect"),A=g("ease"),q=g("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...T(),a,s],R=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],d=()=>[a,s,m],z=()=>[$,"full","auto",...d()],me=()=>[M,"none","subgrid",a,s],pe=()=>["auto",{span:["full",M,a,s]},M,a,s],H=()=>[M,"auto",a,s],ue=()=>["auto","min","max","fr",a,s],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...d()],P=()=>[$,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...d()],i=()=>[e,a,s],fe=()=>[...T(),ve,ke,{position:[a,s]}],ge=()=>["no-repeat",{repeat:["","x","y","space","round"]}],be=()=>["auto","cover","contain",wr,hr,{size:[a,s]}],re=()=>[te,U,I],y=()=>["","none","full",b,a,s],w=()=>["",u,U,I],J=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[u,te,ve,ke],xe=()=>["","none",k,a,s],X=()=>["none",u,a,s],K=()=>["none",u,a,s],oe=()=>[u,a,s],Q=()=>[$,"full",...d()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[pr],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[br],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",u],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$,s,a,G]}],container:["container"],columns:[{columns:[u,s,a,p]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:B()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{start:z()}],end:[{end:z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",a,s]}],basis:[{basis:[$,"full","auto",p,...d()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,$,"auto","initial","none",s]}],grow:[{grow:["",u,a,s]}],shrink:[{shrink:["",u,a,s]}],order:[{order:[M,"first","last","none",a,s]}],"grid-cols":[{"grid-cols":me()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":me()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:d()}],"gap-x":[{"gap-x":d()}],"gap-y":[{"gap-y":d()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:d()}],px:[{px:d()}],py:[{py:d()}],ps:[{ps:d()}],pe:[{pe:d()}],pt:[{pt:d()}],pr:[{pr:d()}],pb:[{pb:d()}],pl:[{pl:d()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":d()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":d()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],w:[{w:[p,"screen",...P()]}],"min-w":[{"min-w":[p,"screen","none",...P()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[l]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",r,U,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,se]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,s]}],"font-family":[{font:[yr,s,t]}],"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,a,s]}],"line-clamp":[{"line-clamp":[u,"none",a,se]}],leading:[{leading:[c,...d()]}],"list-image":[{"list-image":["none",a,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",a,I]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[u,"auto",a,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,s]}],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",a,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:ge()}],"bg-size":[{bg:be()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,a,s],radial:["",a,s],conic:[M,a,s]},kr,xr]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"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:[...J(),"hidden","none"]}],"divide-style":[{divide:[...J(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...J(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,a,s]}],"outline-w":[{outline:["",u,U,I]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",h,Z,Y]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",v,Z,Y]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[u,I]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",F,Z,Y]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[u,a,s]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"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":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"mask-image-radial":[{"mask-radial":[a,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:ge()}],"mask-size":[{mask:be()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",a,s]}],filter:[{filter:["","none",a,s]}],blur:[{blur:xe()}],brightness:[{brightness:[u,a,s]}],contrast:[{contrast:[u,a,s]}],"drop-shadow":[{"drop-shadow":["","none",S,Z,Y]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",u,a,s]}],"hue-rotate":[{"hue-rotate":[u,a,s]}],invert:[{invert:["",u,a,s]}],saturate:[{saturate:[u,a,s]}],sepia:[{sepia:["",u,a,s]}],"backdrop-filter":[{"backdrop-filter":["","none",a,s]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[u,a,s]}],"backdrop-contrast":[{"backdrop-contrast":[u,a,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,a,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,a,s]}],"backdrop-invert":[{"backdrop-invert":["",u,a,s]}],"backdrop-opacity":[{"backdrop-opacity":[u,a,s]}],"backdrop-saturate":[{"backdrop-saturate":[u,a,s]}],"backdrop-sepia":[{"backdrop-sepia":["",u,a,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":d()}],"border-spacing-x":[{"border-spacing-x":d()}],"border-spacing-y":[{"border-spacing-y":d()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",a,s]}],ease:[{ease:["linear","initial",A,a,s]}],delay:[{delay:[u,a,s]}],animate:[{animate:["none",q,a,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,a,s]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:K()}],"scale-x":[{"scale-x":K()}],"scale-y":[{"scale-y":K()}],"scale-z":[{"scale-z":K()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[a,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"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",a,s]}],"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":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",a,s]}],fill:[{fill:["none",...i()]}],"stroke-w":[{stroke:[u,U,I,se]}],stroke:[{stroke:["none",...i()]}],"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"]}},jr=ar(zr);function _(...e){return jr(Ue(e))}const Te=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Te.displayName="Card";const Be=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("flex",e),...t}));Be.displayName="CardHeader";const Ee=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("font-semibold leading-none tracking-tight",e),...t}));Ee.displayName="CardTitle";const $e=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("text-sm text-muted-foreground",e),...t}));$e.displayName="CardDescription";const Oe=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("pt-0",e),...t}));Oe.displayName="CardContent";const Le=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:_("flex items-center pt-0",e),...t}));Le.displayName="CardFooter";const Ve=({color:e="amber",onClick:t,customClass:r="",iconSrc:o})=>{const n=ce[e];return f.jsx("button",{className:`w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${r}`,onClick:t,style:{backgroundColor:n.primary.value,boxShadow:`0 4px 0 ${n.primary.dark}`},children:f.jsx("span",{className:"text-2xl",children:f.jsx("img",{style:{maxWidth:"1.2em",maxHeight:"1.2em",display:"inline-block"},src:o})})})},_e=({title:e,description:t,children:r,iconSrc:o,customClass:n="",button:c=!1,buttonLabel:l="Button",buttonPosition:p="top-right",bgIconColor:m="lightBlue",buttonColor:b="lightBlue",buttonVariant:h="primary",buttonSize:v="medium",onButtonClick:F})=>{const S=F??(()=>{});return f.jsxs(Te,{className:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),ve=require("react");function _e(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const O=_e(ve),We={lightBlue:{primary:{text:"#FFFFFF",value:"#27a7e3",dark:"#1f8ecb"},secondary:{text:"#1CB0F6",value:"#E0F3FF",dark:"#B3DFFC"}},amber:{primary:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},secondary:{text:"#936E00",value:"#FFE082",dark:"#FFCA28"}},cyan:{primary:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"},secondary:{text:"#00BCD4",value:"#B2EBF2",dark:"#80DEEA"}}},Ce={red:{value:"#FF5733",dark:"#C74422"},amber:{text:"#936E00",value:"#FFC107",dark:"#D39E00"},green:{value:"#79C70B",dark:"#619F08"},blue:{value:"#2196F3",dark:"#1976D2"},purple:{value:"#9C27B0",dark:"#7B1FA2"},orange:{value:"#FF9800",dark:"#E68900"},pink:{text:"#FFFFFF",value:"#E91E63",dark:"#C2185B"},cyan:{text:"#FFFFFF",value:"#00BCD4",dark:"#0097A7"}},Ue={Gray:{value:"#F1F1F1"}},ae=({color:e="lightBlue",onClick:t,label:r,size:o="medium",variant:n="primary",customClass:c=""})=>{const l={small:"px-2 py-1 text-xs rounded-lg",medium:"px-3 py-1 text-base rounded-xl",large:"px-8 py-3 text-2xl rounded-2xl",full:"px-8 py-2 text-xl rounded-2xl w-full"},p=We[e];return f.jsx("button",{className:`relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,style:{backgroundColor:n=="primary"?p.primary.value:p.secondary.value,boxShadow:`0 ${o==="large"?"6px":"4px"} 0 ${n=="primary"?p.primary.dark:p.secondary.dark}`,color:n=="primary"?p.primary.text:p.secondary.text},onMouseDown:m=>{m.currentTarget.style.boxShadow="none"},onMouseUp:m=>{m.currentTarget.style.boxShadow=`0 4px 0 ${n=="primary"?p.primary.dark:p.secondary.dark}`},onClick:t,children:f.jsx("span",{className:"font-bold",children:r})})};function Fe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Fe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function qe(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Fe(e))&&(o&&(o+=" "),o+=t);return o}const ce="-",He=e=>{const t=Xe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const p=l.split(ce);return p[0]===""&&p.length!==1&&p.shift(),ze(p,t)||Je(l)},getConflictingClassGroupIds:(l,p)=>{const m=r[l]||[];return p&&o[l]?[...m,...o[l]]:m}}},ze=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?ze(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const c=e.join(ce);return t.validators.find(({validator:l})=>l(c))?.classGroupId},xe=/^\[(.+)\]$/,Je=e=>{if(xe.test(e)){const t=xe.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xe=e=>{const{theme:t,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const n in r)ne(r[n],o,n,t);return o},ne=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){const c=n===""?t:ye(t,n);c.classGroupId=r;return}if(typeof n=="function"){if(Ke(n)){ne(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([c,l])=>{ne(l,ye(t,c),r,o)})})},ye=(e,t)=>{let r=e;return t.split(ce).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ke=e=>e.isThemeGetter,Qe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(c,l)=>{r.set(c,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(c){let l=r.get(c);if(l!==void 0)return l;if((l=o.get(c))!==void 0)return n(c,l),l},set(c,l){r.has(c)?r.set(c,l):n(c,l)}}},le="!",ie=":",Ye=ie.length,Ze=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=n=>{const c=[];let l=0,p=0,m=0,b;for(let k=0;k<n.length;k++){let C=n[k];if(l===0&&p===0){if(C===ie){c.push(n.slice(m,k)),m=k+Ye;continue}if(C==="/"){b=k;continue}}C==="["?l++:C==="]"?l--:C==="("?p++:C===")"&&p--}const h=c.length===0?n:n.substring(m),v=er(h),M=v!==h,N=b&&b>m?b-m:void 0;return{modifiers:c,hasImportantModifier:M,baseClassName:v,maybePostfixModifierPosition:N}};if(t){const n=t+ie,c=o;o=l=>l.startsWith(n)?c(l.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const n=o;o=c=>r({className:c,parseClassName:n})}return o},er=e=>e.endsWith(le)?e.substring(0,e.length-1):e.startsWith(le)?e.substring(1):e,rr=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const n=[];let c=[];return o.forEach(l=>{l[0]==="["||t[l]?(n.push(...c.sort(),l),c=[]):c.push(l)}),n.push(...c.sort()),n}},or=e=>({cache:Qe(e.cacheSize),parseClassName:Ze(e),sortModifiers:rr(e),...He(e)}),tr=/\s+/,sr=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:c}=t,l=[],p=e.trim().split(tr);let m="";for(let b=p.length-1;b>=0;b-=1){const h=p[b],{isExternal:v,modifiers:M,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:C}=r(h);if(v){m=h+(m.length>0?" "+m:m);continue}let E=!!C,A=o(E?k.substring(0,C):k);if(!A){if(!E){m=h+(m.length>0?" "+m:m);continue}if(A=o(k),!A){m=h+(m.length>0?" "+m:m);continue}E=!1}const q=c(M).join(":"),_=N?q+le:q,B=_+A;if(l.includes(B))continue;l.push(B);const G=n(A,E);for(let R=0;R<G.length;++R){const W=G[R];l.push(_+W)}m=h+(m.length>0?" "+m:m)}return m};function ar(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=je(t))&&(o&&(o+=" "),o+=r);return o}const je=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=je(e[o]))&&(r&&(r+=" "),r+=t);return r};function nr(e,...t){let r,o,n,c=l;function l(m){const b=t.reduce((h,v)=>v(h),e());return r=or(b),o=r.cache.get,n=r.cache.set,c=p,p(m)}function p(m){const b=o(m);if(b)return b;const h=sr(m,r);return n(m,h),h}return function(){return c(ar.apply(null,arguments))}}const g=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Se=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lr=/^\d+\/\d+$/,ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cr=/\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$/,dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>lr.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),S=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&u(e.slice(0,-1)),j=e=>ir.test(e),ur=()=>!0,fr=e=>cr.test(e)&&!dr.test(e),Me=()=>!1,gr=e=>mr.test(e),br=e=>pr.test(e),hr=e=>!s(e)&&!a(e),xr=e=>L(e,Pe,Me),s=e=>Ne.test(e),I=e=>L(e,Ie,fr),se=e=>L(e,Cr,u),we=e=>L(e,Ae,Me),yr=e=>L(e,Re,br),Y=e=>L(e,Ee,gr),a=e=>Se.test(e),U=e=>V(e,Ie),wr=e=>V(e,Fr),ke=e=>V(e,Ae),kr=e=>V(e,Pe),vr=e=>V(e,Re),Z=e=>V(e,Ee,!0),L=(e,t,r)=>{const o=Ne.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},V=(e,t,r=!1)=>{const o=Se.exec(e);return o?o[1]?t(o[1]):r:!1},Ae=e=>e==="position"||e==="percentage",Re=e=>e==="image"||e==="url",Pe=e=>e==="length"||e==="size"||e==="bg-size",Ie=e=>e==="length",Cr=e=>e==="number",Fr=e=>e==="family-name",Ee=e=>e==="shadow",zr=()=>{const e=g("color"),t=g("font"),r=g("text"),o=g("font-weight"),n=g("tracking"),c=g("leading"),l=g("breakpoint"),p=g("container"),m=g("spacing"),b=g("radius"),h=g("shadow"),v=g("inset-shadow"),M=g("text-shadow"),N=g("drop-shadow"),k=g("blur"),C=g("perspective"),E=g("aspect"),A=g("ease"),q=g("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...B(),a,s],R=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],d=()=>[a,s,m],F=()=>[$,"full","auto",...d()],de=()=>[S,"none","subgrid",a,s],me=()=>["auto",{span:["full",S,a,s]},S,a,s],H=()=>[S,"auto",a,s],pe=()=>["auto","min","max","fr",a,s],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],T=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...d()],P=()=>[$,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...d()],i=()=>[e,a,s],ue=()=>[...B(),ke,we,{position:[a,s]}],fe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",kr,xr,{size:[a,s]}],re=()=>[te,U,I],y=()=>["","none","full",b,a,s],w=()=>["",u,U,I],J=()=>["solid","dashed","dotted","double"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[u,te,ke,we],he=()=>["","none",k,a,s],X=()=>["none",u,a,s],K=()=>["none",u,a,s],oe=()=>[u,a,s],Q=()=>[$,"full",...d()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[ur],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[hr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j],shadow:[j],spacing:["px",u],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$,s,a,E]}],container:["container"],columns:[{columns:[u,s,a,p]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:G()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:F()}],"inset-x":[{"inset-x":F()}],"inset-y":[{"inset-y":F()}],start:[{start:F()}],end:[{end:F()}],top:[{top:F()}],right:[{right:F()}],bottom:[{bottom:F()}],left:[{left:F()}],visibility:["visible","invisible","collapse"],z:[{z:[S,"auto",a,s]}],basis:[{basis:[$,"full","auto",p,...d()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,$,"auto","initial","none",s]}],grow:[{grow:["",u,a,s]}],shrink:[{shrink:["",u,a,s]}],order:[{order:[S,"first","last","none",a,s]}],"grid-cols":[{"grid-cols":de()}],"col-start-end":[{col:me()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":de()}],"row-start-end":[{row:me()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pe()}],"auto-rows":[{"auto-rows":pe()}],gap:[{gap:d()}],"gap-x":[{"gap-x":d()}],"gap-y":[{"gap-y":d()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...T(),"normal"]}],"justify-self":[{"justify-self":["auto",...T()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...T(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...T(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...T(),"baseline"]}],"place-self":[{"place-self":["auto",...T()]}],p:[{p:d()}],px:[{px:d()}],py:[{py:d()}],ps:[{ps:d()}],pe:[{pe:d()}],pt:[{pt:d()}],pr:[{pr:d()}],pb:[{pb:d()}],pl:[{pl:d()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":d()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":d()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],w:[{w:[p,"screen",...P()]}],"min-w":[{"min-w":[p,"screen","none",...P()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[l]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",r,U,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,se]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,s]}],"font-family":[{font:[wr,s,t]}],"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,a,s]}],"line-clamp":[{"line-clamp":[u,"none",a,se]}],leading:[{leading:[c,...d()]}],"list-image":[{"list-image":["none",a,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",a,I]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[u,"auto",a,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,s]}],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",a,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ue()}],"bg-repeat":[{bg:fe()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},S,a,s],radial:["",a,s],conic:[S,a,s]},vr,yr]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"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:[...J(),"hidden","none"]}],"divide-style":[{divide:[...J(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...J(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,a,s]}],"outline-w":[{outline:["",u,U,I]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",h,Z,Y]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",v,Z,Y]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[u,I]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",M,Z,Y]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[u,a,s]}],"mix-blend":[{"mix-blend":[...be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":be()}],"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":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"mask-image-radial":[{"mask-radial":[a,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"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":B()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ue()}],"mask-repeat":[{mask:fe()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",a,s]}],filter:[{filter:["","none",a,s]}],blur:[{blur:he()}],brightness:[{brightness:[u,a,s]}],contrast:[{contrast:[u,a,s]}],"drop-shadow":[{"drop-shadow":["","none",N,Z,Y]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",u,a,s]}],"hue-rotate":[{"hue-rotate":[u,a,s]}],invert:[{invert:["",u,a,s]}],saturate:[{saturate:[u,a,s]}],sepia:[{sepia:["",u,a,s]}],"backdrop-filter":[{"backdrop-filter":["","none",a,s]}],"backdrop-blur":[{"backdrop-blur":he()}],"backdrop-brightness":[{"backdrop-brightness":[u,a,s]}],"backdrop-contrast":[{"backdrop-contrast":[u,a,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,a,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,a,s]}],"backdrop-invert":[{"backdrop-invert":["",u,a,s]}],"backdrop-opacity":[{"backdrop-opacity":[u,a,s]}],"backdrop-saturate":[{"backdrop-saturate":[u,a,s]}],"backdrop-sepia":[{"backdrop-sepia":["",u,a,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":d()}],"border-spacing-x":[{"border-spacing-x":d()}],"border-spacing-y":[{"border-spacing-y":d()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",a,s]}],ease:[{ease:["linear","initial",A,a,s]}],delay:[{delay:[u,a,s]}],animate:[{animate:["none",q,a,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,a,s]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:K()}],"scale-x":[{"scale-x":K()}],"scale-y":[{"scale-y":K()}],"scale-z":[{"scale-z":K()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[a,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"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",a,s]}],"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":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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",a,s]}],fill:[{fill:["none",...i()]}],"stroke-w":[{stroke:[u,U,I,se]}],stroke:[{stroke:["none",...i()]}],"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"]}},jr=nr(zr);function D(...e){return jr(qe(e))}const Be=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Be.displayName="Card";const Ge=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("flex",e),...t}));Ge.displayName="CardHeader";const Te=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("font-semibold leading-none tracking-tight",e),...t}));Te.displayName="CardTitle";const $e=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("text-sm text-muted-foreground",e),...t}));$e.displayName="CardDescription";const Oe=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("pt-0",e),...t}));Oe.displayName="CardContent";const Le=O.forwardRef(({className:e,...t},r)=>f.jsx("div",{ref:r,className:D("flex items-center pt-0",e),...t}));Le.displayName="CardFooter";const Ve=({color:e="amber",onClick:t,customClass:r="",iconSrc:o})=>{const n=Ce[e];return f.jsx("button",{className:`w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${r}`,onClick:t,style:{backgroundColor:n.value,boxShadow:`0 4px 0 ${n.dark}`},children:f.jsx("span",{className:"text-2xl",children:f.jsx("img",{style:{maxWidth:"1.2em",maxHeight:"1.2em",display:"inline-block"},src:o})})})},De=({title:e,description:t,children:r,iconSrc:o,customClass:n="",button:c=!1,buttonLabel:l="Button",buttonPosition:p="top-right",bgIconColor:m="amber",buttonColor:b="lightBlue",buttonVariant:h="primary",buttonSize:v="medium",onButtonClick:M})=>{const N=M??(()=>{});return f.jsxs(Be,{className:`
2
2
  w-full max-w-full sm:max-w-md md:max-w-lg lg:max-w-xl
3
3
  border-2 border-b-4 border-gray-200 border-opacity-80
4
4
  px-4 sm:px-6 py-4 sm:py-6 rounded-xl
5
5
  flex flex-col relative
6
6
  ${n}
7
- `,children:[(e||t||c&&p==="top-right")&&f.jsxs(Be,{className:"mb-4 flex items-start justify-between",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[o&&f.jsx(Ve,{color:m,iconSrc:o,onClick:()=>{}}),f.jsxs("div",{children:[e&&f.jsx(Ee,{className:"text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl",children:e}),t&&f.jsx($e,{className:"text-sm sm:text-base text-gray-600",children:t})]})]}),c&&p==="top-right"&&f.jsx(ae,{label:l,size:v,onClick:S,color:b,variant:h})]}),r&&f.jsx(Oe,{className:"flex flex-col gap-3 font-regular",children:r}),c&&p==="bottom-right"&&f.jsx(Le,{className:"flex justify-end pt-2",children:f.jsx(ae,{label:l,size:v,onClick:S,color:b,variant:h})})]})},Nr=({color:e="lightBlue"})=>{const[t,r]=Ce.useState(!1),o={lightBlue:"bg-blue-500",amber:"bg-amber-500",cyan:"bg-cyan-500"},n=c=>{r(c.target.checked)};return f.jsxs("div",{className:"inline-block relative w-12 h-6",children:[f.jsx("input",{checked:t,onChange:n,className:"absolute opacity-0 w-0 h-0",id:`react-switch-${e}`,type:"checkbox"}),f.jsx("label",{className:"block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",htmlFor:`react-switch-${e}`,children:f.jsx("span",{className:`block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${t?`translate-x-full ${o[e]}`:"bg-white"}`})})]})},Sr=({bgIconColor:e="lightBlue",iconSrc:t="",label:r="",percentage:o=0,showCard:n=!1,showPercentage:c=!1})=>{const l=ce[e],p=f.jsxs("div",{className:"flex w-full items-center",children:[f.jsx(Ve,{color:e,iconSrc:t,onClick:()=>{}}),f.jsxs("div",{className:"flex flex-col ml-3 flex-1",children:[f.jsxs("div",{className:"flex justify-between mb-1 items-end",children:[r&&f.jsx("p",{className:"font-semibold text-sec text-md",children:r}),c&&f.jsxs("span",{className:"text-base text-gray-500",children:[o,"%"]})]}),f.jsx("div",{className:"relative w-full h-4 rounded-2xl overflow-hidden",style:{backgroundColor:We.Gray.value},children:f.jsx("div",{className:"absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",style:{width:`${o}%`,background:"linear-gradient(to right, #FFC801, #FFC801)",boxShadow:`0 1px 2px ${l.primary.dark}`}})})]})]});return n?f.jsx(_e,{children:p}):p};exports.Button=ae;exports.Card=_e;exports.ProgressBar=Sr;exports.Toggle=Nr;
7
+ `,children:[(e||t||c&&p==="top-right")&&f.jsxs(Ge,{className:"mb-4 flex items-start justify-between",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[o&&f.jsx(Ve,{color:m,iconSrc:o,onClick:()=>{}}),f.jsxs("div",{children:[e&&f.jsx(Te,{className:"text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl",children:e}),t&&f.jsx($e,{className:"text-sm sm:text-base text-gray-600",children:t})]})]}),c&&p==="top-right"&&f.jsx(ae,{label:l,size:v,onClick:N,color:b,variant:h})]}),r&&f.jsx(Oe,{className:"flex flex-col gap-3 font-regular",children:r}),c&&p==="bottom-right"&&f.jsx(Le,{className:"flex justify-end pt-2",children:f.jsx(ae,{label:l,size:v,onClick:N,color:b,variant:h})})]})},Nr=({color:e="lightBlue"})=>{const[t,r]=ve.useState(!1),o={lightBlue:"bg-blue-500",amber:"bg-amber-500",cyan:"bg-cyan-500"},n=c=>{r(c.target.checked)};return f.jsxs("div",{className:"inline-block relative w-12 h-6",children:[f.jsx("input",{checked:t,onChange:n,className:"absolute opacity-0 w-0 h-0",id:`react-switch-${e}`,type:"checkbox"}),f.jsx("label",{className:"block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",htmlFor:`react-switch-${e}`,children:f.jsx("span",{className:`block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${t?`translate-x-full ${o[e]}`:"bg-white"}`})})]})},Sr=({bgIconColor:e="amber",iconSrc:t="",label:r="",percentage:o=0,showCard:n=!1,showPercentage:c=!1})=>{const l=Ce[e],p=f.jsxs("div",{className:"flex w-full items-center",children:[f.jsx(Ve,{color:e,iconSrc:t,onClick:()=>{}}),f.jsxs("div",{className:"flex flex-col ml-3 flex-1",children:[f.jsxs("div",{className:"flex justify-between mb-1 items-end",children:[r&&f.jsx("p",{className:"font-medium text-sec text-md",children:r}),c&&f.jsxs("span",{className:"text-base text-gray-500",children:[o,"%"]})]}),f.jsx("div",{className:"relative w-full h-4 rounded-2xl overflow-hidden",style:{backgroundColor:Ue.Gray.value},children:f.jsx("div",{className:"absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",style:{width:`${o}%`,background:"linear-gradient(to right, #FFC801, #FFC801)",boxShadow:`0 1px 2px ${l.dark}`}})})]})]});return n?f.jsx(De,{children:p}):p};exports.Button=ae;exports.Card=De;exports.ProgressBar=Sr;exports.Toggle=Nr;