@clasing/ui 0.0.52 → 0.0.53
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +13 -10
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
3
3
|
import * as TablerIcons from '@tabler/icons-react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
export declare const Badge: ({ children, iconLeft, iconRight, status, intent, size, rounded, className, ...props }: IBadgeProps) => JSX_2.Element;
|
|
6
|
+
export declare const Badge: ({ children, iconLeft, iconRight, status, intent, size, rounded, weight, className, ...props }: IBadgeProps) => JSX_2.Element;
|
|
7
7
|
|
|
8
8
|
declare const badgeStyles: (props?: ({
|
|
9
9
|
status?: "notStarted" | "notStarted-outline" | "locked" | "locked-outline" | "available" | "available-outline" | "inProgress" | "inProgress-outline" | "completed" | "completed-outline" | "viewed" | "viewed-outline" | null | undefined;
|
|
10
10
|
intent?: "neutral" | "neutral-outline" | "blue" | "blue-outline" | "mustard" | "mustard-outline" | "green" | "green-outline" | "lime" | "lime-outline" | "fuchsia" | "fuchsia-outline" | "marine" | "marine-outline" | "ice" | "ice-outline" | "gray" | "gray-outline" | null | undefined;
|
|
11
11
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
12
|
-
|
|
12
|
+
weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
|
|
13
13
|
rounded?: "rectangle" | "full" | null | undefined;
|
|
14
14
|
} & ClassProp) | undefined) => string;
|
|
15
15
|
|
package/dist/index.es.js
CHANGED
|
@@ -3070,7 +3070,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3070
3070
|
medium: "h-9 px-4 py-2 text-sm",
|
|
3071
3071
|
large: "h-10 px-4 py-2 text-base"
|
|
3072
3072
|
},
|
|
3073
|
-
|
|
3073
|
+
weight: {
|
|
3074
3074
|
light: "font-light",
|
|
3075
3075
|
regular: "font-regular",
|
|
3076
3076
|
semibold: "font-semibold",
|
|
@@ -3083,7 +3083,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3083
3083
|
},
|
|
3084
3084
|
defaultVariants: {
|
|
3085
3085
|
size: "medium",
|
|
3086
|
-
|
|
3086
|
+
weight: "regular",
|
|
3087
3087
|
rounded: "rectangle"
|
|
3088
3088
|
}
|
|
3089
3089
|
}), Fr = ({
|
|
@@ -3094,27 +3094,30 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3094
3094
|
intent: l,
|
|
3095
3095
|
size: i = "medium",
|
|
3096
3096
|
rounded: c = "rectangle",
|
|
3097
|
-
|
|
3098
|
-
|
|
3097
|
+
weight: d,
|
|
3098
|
+
className: f,
|
|
3099
|
+
...u
|
|
3099
3100
|
}) => {
|
|
3100
3101
|
typeof r == "string" && (r = { name: r }), typeof n == "string" && (n = { name: n });
|
|
3101
|
-
const
|
|
3102
|
+
const g = {
|
|
3102
3103
|
small: "h-4",
|
|
3103
3104
|
medium: "h-4",
|
|
3104
3105
|
large: "h-5"
|
|
3105
|
-
},
|
|
3106
|
+
}, h = o ? { status: o } : { intent: l };
|
|
3106
3107
|
return /* @__PURE__ */ C.jsxs(
|
|
3107
3108
|
"span",
|
|
3108
3109
|
{
|
|
3109
|
-
className: K(
|
|
3110
|
-
|
|
3110
|
+
className: K(
|
|
3111
|
+
Rr({ ...h, size: i, rounded: c, weight: d, className: f })
|
|
3112
|
+
),
|
|
3113
|
+
...u,
|
|
3111
3114
|
children: [
|
|
3112
3115
|
r && /* @__PURE__ */ C.jsx(
|
|
3113
3116
|
X,
|
|
3114
3117
|
{
|
|
3115
3118
|
iconName: r.name,
|
|
3116
3119
|
stroke: r.stroke,
|
|
3117
|
-
className:
|
|
3120
|
+
className: g[i || "medium"]
|
|
3118
3121
|
}
|
|
3119
3122
|
),
|
|
3120
3123
|
t,
|
|
@@ -3123,7 +3126,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
|
|
|
3123
3126
|
{
|
|
3124
3127
|
iconName: n.name,
|
|
3125
3128
|
stroke: n.stroke,
|
|
3126
|
-
className:
|
|
3129
|
+
className: g[i || "medium"]
|
|
3127
3130
|
}
|
|
3128
3131
|
)
|
|
3129
3132
|
]
|
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(P,Z){typeof exports=="object"&&typeof module<"u"?Z(exports,require("react"),require("@tabler/icons-react")):typeof define=="function"&&define.amd?define(["exports","react","@tabler/icons-react"],Z):(P=typeof globalThis<"u"?globalThis:P||self,Z(P["react-beautiful-timeline"]={},P.React,P.TablerIcons))})(this,function(P,Z,mt){"use strict";function vt(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const
|
|
1
|
+
(function(P,Z){typeof exports=="object"&&typeof module<"u"?Z(exports,require("react"),require("@tabler/icons-react")):typeof define=="function"&&define.amd?define(["exports","react","@tabler/icons-react"],Z):(P=typeof globalThis<"u"?globalThis:P||self,Z(P["react-beautiful-timeline"]={},P.React,P.TablerIcons))})(this,function(P,Z,mt){"use strict";function vt(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const We=vt(mt);var Re={exports:{}},oe={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+e+"`."}return""}}function Ar(e){return""}var ut={};function zr(e){{var a=dt();if(!a){var s=typeof e=="string"?e:e.displayName||e.name;s&&(a=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+s+">.")}return a}}function bt(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=zr(a);if(ut[s])return;ut[s]=!0;var b="";e&&e._owner&&e._owner!==Ne.current&&(b=" It was passed a child from "+M(e._owner.type)+"."),re(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,b),re(null)}}function ft(e,a){{if(typeof e!="object")return;if(Ie(e))for(var s=0;s<e.length;s++){var b=e[s];Fe(b)&&bt(b,a)}else if(Fe(e))e._store&&(e._store.validated=!0);else if(e){var x=j(e);if(typeof x=="function"&&x!==e.entries)for(var w=x.call(e),v;!(v=w.next()).done;)Fe(v.value)&&bt(v.value,a)}}}function Ir(e){{var a=e.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===f||a.$$typeof===h))s=a.propTypes;else return;if(s){var b=M(a);yr(s,e.props,"prop",b,e)}else if(a.PropTypes!==void 0&&!Ve){Ve=!0;var x=M(a);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mr(e){{for(var a=Object.keys(e.props),s=0;s<a.length;s++){var b=a[s];if(b!=="children"&&b!=="key"){re(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),re(null);break}}e.ref!==null&&(re(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var gt={};function pt(e,a,s,b,x,w){{var v=ce(e);if(!v){var m="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=Ar();z?m+=z:m+=dt();var _;e===null?_="null":Ie(e)?_="array":e!==void 0&&e.$$typeof===r?(_="<"+(M(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,m)}var T=Or(e,a,s,x,w);if(T==null)return T;if(v){var V=a.children;if(V!==void 0)if(b)if(Ie(V)){for(var ne=0;ne<V.length;ne++)ft(V[ne],e);Object.freeze&&Object.freeze(V)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ft(V,e)}if(fe.call(a,"key")){var H=M(e),I=Object.keys(a).filter(function(Dr){return Dr!=="key"})
|
|
25
|
+
Check the top-level render call using <`+s+">.")}return a}}function bt(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=zr(a);if(ut[s])return;ut[s]=!0;var b="";e&&e._owner&&e._owner!==Ne.current&&(b=" It was passed a child from "+M(e._owner.type)+"."),re(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,b),re(null)}}function ft(e,a){{if(typeof e!="object")return;if(Ie(e))for(var s=0;s<e.length;s++){var b=e[s];Fe(b)&&bt(b,a)}else if(Fe(e))e._store&&(e._store.validated=!0);else if(e){var x=j(e);if(typeof x=="function"&&x!==e.entries)for(var w=x.call(e),v;!(v=w.next()).done;)Fe(v.value)&&bt(v.value,a)}}}function Ir(e){{var a=e.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===f||a.$$typeof===h))s=a.propTypes;else return;if(s){var b=M(a);yr(s,e.props,"prop",b,e)}else if(a.PropTypes!==void 0&&!Ve){Ve=!0;var x=M(a);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mr(e){{for(var a=Object.keys(e.props),s=0;s<a.length;s++){var b=a[s];if(b!=="children"&&b!=="key"){re(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),re(null);break}}e.ref!==null&&(re(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var gt={};function pt(e,a,s,b,x,w){{var v=ce(e);if(!v){var m="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var z=Ar();z?m+=z:m+=dt();var _;e===null?_="null":Ie(e)?_="array":e!==void 0&&e.$$typeof===r?(_="<"+(M(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,m)}var T=Or(e,a,s,x,w);if(T==null)return T;if(v){var V=a.children;if(V!==void 0)if(b)if(Ie(V)){for(var ne=0;ne<V.length;ne++)ft(V[ne],e);Object.freeze&&Object.freeze(V)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ft(V,e)}if(fe.call(a,"key")){var H=M(e),I=Object.keys(a).filter(function(Dr){return Dr!=="key"}),$e=I.length>0?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}";if(!gt[H+$e]){var Wr=I.length>0?"{"+I.join(": ..., ")+": ...}":"{}";k(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,We,H,$r,H),gt[H+We]=!0}}return e===o?Mr(T):Ir(T),T}}function Nr(e,a,s){return pt(e,a,s,!0)}function Vr(e,a,s){return pt(e,a,s,!1)}var Fr=Vr,Wr=Nr;ae.Fragment=o,ae.jsx=Fr,ae.jsxs=Wr}()),ae}process.env.NODE_ENV==="production"?Re.exports=ht():Re.exports=xt();var C=Re.exports;function Ge(t){var r,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(n=Ge(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function yt(){for(var t,r,n=0,o="",l=arguments.length;n<l;n++)(t=arguments[n])&&(r=Ge(t))&&(o&&(o+=" "),o+=r);return o}const Ce="-";function wt(t){const r=St(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;function l(c){const d=c.split(Ce);return d[0]===""&&d.length!==1&&d.shift(),Ye(d,r)||kt(c)}function i(c,d){const f=n[c]||[];return d&&o[c]?[...f,...o[c]]:f}return{getClassGroupId:l,getConflictingClassGroupIds:i}}function Ye(t,r){var c;if(t.length===0)return r.classGroupId;const n=t[0],o=r.nextPart.get(n),l=o?Ye(t.slice(1),o):void 0;if(l)return l;if(r.validators.length===0)return;const i=t.join(Ce);return(c=r.validators.find(({validator:d})=>d(i)))==null?void 0:c.classGroupId}const Ue=/^\[(.+)\]$/;function kt(t){if(Ue.test(t)){const r=Ue.exec(t)[1],n=r==null?void 0:r.substring(0,r.indexOf(":"));if(n)return"arbitrary.."+n}}function St(t){const{theme:r,prefix:n}=t,o={nextPart:new Map,validators:[]};return Rt(Object.entries(t.classGroups),n).forEach(([i,c])=>{_e(c,o,i,r)}),o}function _e(t,r,n,o){t.forEach(l=>{if(typeof l=="string"){const i=l===""?r:Le(r,l);i.classGroupId=n;return}if(typeof l=="function"){if(Et(l)){_e(l(o),r,n,o);return}r.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([i,c])=>{_e(c,Le(r,i),n,o)})})}function Le(t,r){let n=t;return r.split(Ce).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Et(t){return t.isThemeGetter}function Rt(t,r){return r?t.map(([n,o])=>{const l=o.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,d])=>[r+c,d])):i);return[n,l]}):t}function Ct(t){if(t<1)return{get:()=>{},set:()=>{}};let r=0,n=new Map,o=new Map;function l(i,c){n.set(i,c),r++,r>t&&(r=0,o=n,n=new Map)}return{get(i){let c=n.get(i);if(c!==void 0)return c;if((c=o.get(i))!==void 0)return l(i,c),c},set(i,c){n.has(i)?n.set(i,c):l(i,c)}}}const qe="!";function _t(t){const r=t.separator,n=r.length===1,o=r[0],l=r.length;return function(c){const d=[];let f=0,u=0,g;for(let R=0;R<c.length;R++){let j=c[R];if(f===0){if(j===o&&(n||c.slice(R,R+l)===r)){d.push(c.slice(u,R)),u=R+l;continue}if(j==="/"){g=R;continue}}j==="["?f++:j==="]"&&f--}const h=d.length===0?c:c.substring(u),E=h.startsWith(qe),O=E?h.substring(1):h,F=g&&g>u?g-u:void 0;return{modifiers:d,hasImportantModifier:E,baseClassName:O,maybePostfixModifierPosition:F}}}function jt(t){if(t.length<=1)return t;const r=[];let n=[];return t.forEach(o=>{o[0]==="["?(r.push(...n.sort(),o),n=[]):n.push(o)}),r.push(...n.sort()),r}function Tt(t){return{cache:Ct(t.cacheSize),splitModifiers:_t(t),...wt(t)}}const Pt=/\s+/;function Ot(t,r){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:l}=r,i=new Set;return t.trim().split(Pt).map(c=>{const{modifiers:d,hasImportantModifier:f,baseClassName:u,maybePostfixModifierPosition:g}=n(c);let h=o(g?u.substring(0,g):u),E=!!g;if(!h){if(!g)return{isTailwindClass:!1,originalClassName:c};if(h=o(u),!h)return{isTailwindClass:!1,originalClassName:c};E=!1}const O=jt(d).join(":");return{isTailwindClass:!0,modifierId:f?O+qe:O,classGroupId:h,originalClassName:c,hasPostfixModifier:E}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:d,classGroupId:f,hasPostfixModifier:u}=c,g=d+f;return i.has(g)?!1:(i.add(g),l(f,u).forEach(h=>i.add(d+h)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function At(){let t=0,r,n,o="";for(;t<arguments.length;)(r=arguments[t++])&&(n=Je(r))&&(o&&(o+=" "),o+=n);return o}function Je(t){if(typeof t=="string")return t;let r,n="";for(let o=0;o<t.length;o++)t[o]&&(r=Je(t[o]))&&(n&&(n+=" "),n+=r);return n}function zt(t,...r){let n,o,l,i=c;function c(f){const u=r.reduce((g,h)=>h(g),t());return n=Tt(u),o=n.cache.get,l=n.cache.set,i=d,d(f)}function d(f){const u=o(f);if(u)return u;const g=Ot(f,n);return l(f,g),g}return function(){return i(At.apply(null,arguments))}}function S(t){const r=n=>n[t]||[];return r.isThemeGetter=!0,r}const Ke=/^\[(?:([a-z-]+):)?(.+)\]$/i,It=/^\d+\/\d+$/,Mt=new Set(["px","full","screen"]),Nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vt=/\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$/,Ft=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function $(t){return q(t)||Mt.has(t)||It.test(t)}function D(t){return Q(t,"length",Jt)}function q(t){return!!t&&!Number.isNaN(Number(t))}function pe(t){return Q(t,"number",q)}function ie(t){return!!t&&Number.isInteger(Number(t))}function Dt(t){return t.endsWith("%")&&q(t.slice(0,-1))}function p(t){return Ke.test(t)}function B(t){return Nt.test(t)}const Bt=new Set(["length","size","percentage"]);function Gt(t){return Q(t,Bt,Xe)}function Yt(t){return Q(t,"position",Xe)}const Ut=new Set(["image","url"]);function Lt(t){return Q(t,Ut,Xt)}function qt(t){return Q(t,"",Kt)}function se(){return!0}function Q(t,r,n){const o=Ke.exec(t);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):n(o[2]):!1}function Jt(t){return Vt.test(t)&&!Ft.test(t)}function Xe(){return!1}function Kt(t){return Wt.test(t)}function Xt(t){return $t.test(t)}function Ht(){const t=S("colors"),r=S("spacing"),n=S("blur"),o=S("brightness"),l=S("borderColor"),i=S("borderRadius"),c=S("borderSpacing"),d=S("borderWidth"),f=S("contrast"),u=S("grayscale"),g=S("hueRotate"),h=S("invert"),E=S("gap"),O=S("gradientColorStops"),F=S("gradientColorStopPositions"),R=S("inset"),j=S("margin"),A=S("opacity"),k=S("padding"),me=S("saturate"),le=S("scale"),ve=S("sepia"),he=S("skew"),xe=S("space"),ye=S("translate"),ee=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",p,r],y=()=>[p,r],M=()=>["",$,D],N=()=>["auto",q,p],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",p],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[q,pe],X=()=>[q,p];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[$,D],blur:["none","",B,p],brightness:L(),borderColor:[t],borderRadius:["none","","full",B,p],borderSpacing:y(),borderWidth:M(),contrast:L(),grayscale:U(),hueRotate:X(),invert:U(),gap:y(),gradientColorStops:[t],gradientColorStopPositions:[Dt,D],inset:de(),margin:de(),opacity:L(),padding:y(),saturate:L(),scale:L(),sepia:U(),skew:X(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"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"],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:[...Y(),p]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,p]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",ie,p]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ie,p]},p]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ie,p]},p]}],"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":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[E]}],"gap-x":[{"gap-x":[E]}],"gap-y":[{"gap-y":[E]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],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":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,r]}],"min-w":[{"min-w":[p,r,"min","max","fit"]}],"max-w":[{"max-w":[p,r,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[p,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,r,"auto","min","max","fit"]}],"font-size":[{text:["base",B,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pe]}],"font-family":[{font:[se]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",q,pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,D]}],"underline-offset":[{"underline-offset":["auto",$,p]}],"text-decoration-color":[{decoration:[t]}],"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",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lt]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[F]}],"gradient-via-pos":[{via:[F]}],"gradient-to-pos":[{to:[F]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:K()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[$,p]}],"outline-w":[{outline:[$,D]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[$,D]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",B,qt]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",B,p]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[h]}],saturate:[{saturate:[me]}],sepia:[{sepia:[ve]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[me]}],"backdrop-sepia":[{"backdrop-sepia":[ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[le]}],"scale-x":[{"scale-x":[le]}],"scale-y":[{"scale-y":[le]}],rotate:[{rotate:[ie,p]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",p]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",p]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,D,pe]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}}const Zt=zt(Ht),J=(...t)=>Zt(yt(t));function He(t){var r,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=He(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function Qt(){for(var t,r,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(r=He(t))&&(o&&(o+=" "),o+=r);return o}const Ze=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Qe=Qt,W=(t,r)=>n=>{var o;if((r==null?void 0:r.variants)==null)return Qe(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:l,defaultVariants:i}=r,c=Object.keys(l).map(u=>{const g=n==null?void 0:n[u],h=i==null?void 0:i[u];if(g===null)return null;const E=Ze(g)||Ze(h);return l[u][E]}),d=n&&Object.entries(n).reduce((u,g)=>{let[h,E]=g;return E===void 0||(u[h]=E),u},{}),f=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((u,g)=>{let{class:h,className:E,...O}=g;return Object.entries(O).every(F=>{let[R,j]=F;return Array.isArray(j)?j.includes({...i,...d}[R]):{...i,...d}[R]===j})?[...u,h,E]:u},[]);return Qe(t,c,f,n==null?void 0:n.class,n==null?void 0:n.className)},G=({iconName:t,...r})=>{if($e[t]){const n=$e[t];return C.jsx(n,{...r})}else return console.error(`Icon ${t} not found`),null},er=W("!border-sm flex w-fit items-center justify-center gap-2 rounded-sm transition-colors",{variants:{status:{notStarted:"border-border-transparent bg-bg-accent-ice-subtle text-content-text-default","notStarted-outline":"border-border-accent-ice text-content-accent-ice",locked:"border-border-transparent bg-bg-disabled text-content-text-subtle","locked-outline":"border-border-disabled text-content-text-subtlest",available:"border-border-transparent bg-bg-utility-discovery-bolder text-content-text-inverse","available-outline":"border-border-utility-discovery text-content-utility-discovery",inProgress:"border-border-transparent bg-bg-accent-blue-subtle text-content-text-default","inProgress-outline":"border-border-accent-blue text-content-accent-blue",completed:"border-border-transparent bg-bg-utility-success-bolder text-content-text-default","completed-outline":"border-border-utility-success text-content-utility-success",viewed:"border-border-transparent bg-bg-utility-informative-bolder text-content-text-inverse","viewed-outline":"border-border-utility-informative text-content-utility-informative"},intent:{neutral:"border-border-transparent bg-bg-bolder text-content-text-inverse","neutral-outline":"border-border-bolder text-content-text-default",blue:"border-border-transparent bg-bg-accent-blue text-content-text-inverse","blue-outline":"border-border-accent-blue text-content-accent-blue",mustard:"border-border-transparent bg-bg-accent-mustard text-content-text-default","mustard-outline":"border-border-accent-mustard text-content-accent-mustard",green:"border-border-transparent bg-bg-accent-green text-content-text-inverse","green-outline":"border-border-accent-green text-content-accent-green",lime:"border-border-transparent bg-bg-accent-lime text-content-text-default","lime-outline":"border-border-accent-lime text-content-accent-lime",fuchsia:"border-border-transparent bg-bg-accent-fuchsia text-content-text-inverse","fuchsia-outline":"border-border-accent-fuchsia text-content-accent-fuchsia",marine:"border-border-transparent bg-bg-accent-marine text-content-text-inverse","marine-outline":"border-border-accent-marine text-content-accent-marine",ice:"border-border-transparent bg-bg-accent-ice text-content-text-inverse","ice-outline":"border-border-accent-ice text-content-accent-ice",gray:"border-border-transparent bg-bg-accent-gray text-content-text-inverse","gray-outline":"border-border-accent-gray text-content-accent-gray"},size:{small:"h-[34px] px-4 py-2 text-2xs",medium:"h-9 px-4 py-2 text-sm",large:"h-10 px-4 py-2 text-base"},fontWeight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"},rounded:{rectangle:"rounded-sm",full:"rounded-full"}},defaultVariants:{size:"medium",fontWeight:"regular",rounded:"rectangle"}}),tr=({children:t,iconLeft:r,iconRight:n,status:o,intent:l,size:i="medium",rounded:c="rectangle",className:d,...f})=>{typeof r=="string"&&(r={name:r}),typeof n=="string"&&(n={name:n});const u={small:"h-4",medium:"h-4",large:"h-5"},g=o?{status:o}:{intent:l};return C.jsxs("span",{className:J(er({...g,size:i,rounded:c,className:d})),...f,children:[r&&C.jsx(G,{iconName:r.name,stroke:r.stroke,className:u[i||"medium"]}),t,n&&C.jsx(G,{iconName:n.name,stroke:n.stroke,className:u[i||"medium"]})]})},je=({className:t})=>C.jsx(G,{iconName:"IconLoader2",className:`${t} animate-spin`}),Te="flex items-center justify-center gap-2 rounded-sm !border-xs transition-colors",rr=W(Te,{variants:{intent:{primary:["bg-button-primary-background-enabled","text-button-primary-content-enabled","border-button-primary-border-enabled","lg:hover:bg-button-primary-background-hover","lg:hover:text-button-primary-content-hover","lg:hover:border-button-primary-border-hover","lg:active:bg-button-primary-background-pressed","lg:active:text-button-primary-content-pressed","lg:active:border-button-primary-border-pressed"],secondary:["bg-button-secondary-background-enabled","text-button-secondary-content-enabled","border-button-secondary-border-enabled","lg:hover:bg-button-secondary-background-hover","lg:hover:text-button-secondary-content-hover","lg:hover:border-button-secondary-border-hover","lg:active:bg-button-secondary-background-pressed","lg:active:text-button-secondary-content-pressed","lg:active:border-button-secondary-border-pressed"],tertiary:["bg-button-tertiary-background-enabled","text-button-tertiary-content-enabled","border-button-tertiary-border-enabled","lg:hover:bg-button-tertiary-background-hover","lg:hover:text-button-tertiary-content-hover","lg:hover:border-button-tertiary-border-hover","lg:active:bg-button-tertiary-background-pressed","lg:active:text-button-tertiary-content-pressed","lg:active:border-button-tertiary-border-pressed"],ghost:["bg-button-ghost-background-enabled","text-button-ghost-content-enabled","border-button-ghost-border-enabled","lg:hover:bg-button-ghost-background-hover","lg:hover:text-button-ghost-content-hover","lg:hover:border-button-ghost-border-hover","lg:active:bg-button-ghost-background-pressed","lg:active:text-button-ghost-content-pressed","lg:active:border-button-ghost-border-pressed"],outline:["bg-button-outline-background-enabled","text-button-outline-content-enabled","border-button-outline-border-enabled","lg:hover:bg-button-outline-background-hover","lg:hover:text-button-outline-content-hover","lg:hover:border-button-outline-border-hover","lg:active:bg-button-outline-background-pressed","lg:active:text-button-outline-content-pressed","lg:active:border-button-outline-border-pressed"],destructive:["bg-button-destructive-background-enabled","text-button-destructive-content-enabled","border-button-destructive-border-enabled","lg:hover:bg-button-destructive-background-hover","lg:hover:text-button-destructive-content-hover","lg:hover:border-button-destructive-border-hover","lg:active:bg-button-destructive-background-pressed","lg:active:text-button-destructive-content-pressed","lg:active:border-button-destructive-border-pressed"],link:["border-button-link-border-enabled","text-button-link-content-enabled","lg:hover:border-button-link-border-hover","lg:hover:text-button-link-content-hover","lg:active:border-button-link-border-pressed","lg:active:text-button-link-content-pressed"]},size:{small:"h-10 text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-fit rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),nr=W(`${Te} cursor-default`,{variants:{intent:{primary:["border-button-primary-border-pressed","bg-button-primary-background-pressed","text-button-primary-content-pressed"],secondary:["border-button-secondary-border-enabled","bg-button-secondary-background-enabled","text-button-secondary-content-enabled"],tertiary:["border-button-tertiary-border-enabled","bg-button-tertiary-background-enabled","text-button-tertiary-content-enabled"],ghost:["border-button-ghost-border-pressed","bg-button-ghost-background-pressed","text-button-ghost-content-pressed"],outline:["border-button-outline-border-pressed","bg-button-outline-background-pressed","text-button-outline-content-pressed"],destructive:["border-button-destructive-border-pressed","bg-button-destructive-background-pressed","text-button-destructive-content-pressed"],link:["border-b border-button-link-border-pressed","text-button-link-content-pressed"]},size:{small:"h-10text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-24 rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),or=W(Te,{variants:{intent:{primary:["border-button-primary-border-disabled","bg-button-primary-background-disabled","text-button-primary-content-disabled"],secondary:["border-button-secondary-border-disabled","bg-button-secondary-background-disabled","text-button-secondary-content-disabled"],tertiary:["border-button-tertiary-border-disabled","bg-button-tertiary-background-disabled","text-button-tertiary-content-disabled"],ghost:["border-button-ghost-border-disabled","bg-button-ghost-background-disabled","text-button-ghost-content-disabled"],outline:["border-button-outline-border-disabled","bg-button-outline-background-disabled","text-button-outline-content-disabled"],destructive:["border-button-destructive-border-disabled","bg-button-destructive-background-disabled","text-button-destructive-content-disabled"],link:["border-b border-button-link-border-disabled","text-button-link-content-disabled"]},size:{small:"h-10 text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-24 rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),ar=({className:t,intent:r,size:n,children:o,iconLeft:l,iconRight:i,isLoading:c,disabled:d,...f})=>{typeof l=="string"&&(l={name:l}),typeof i=="string"&&(i={name:i});const u={small:"h-5",medium:"h-5",large:"h-6"};return C.jsx("button",{className:J(c?nr({intent:r,size:n,className:t}):d?or({intent:r,size:n,className:t}):rr({intent:r,size:n,className:t})),disabled:d||c,...f,children:c?C.jsx(je,{className:u[n||"medium"]}):C.jsxs(C.Fragment,{children:[l&&C.jsx(G,{iconName:l.name,stroke:l.stroke,className:u[n||"medium"]}),o,i&&C.jsx(G,{iconName:i.name,stroke:i.stroke,className:u[n||"medium"]})]})})},Pe="flex items-center justify-center transition-colors relative border !border-xs",ir=W(Pe,{variants:{intent:{fill:["bg-button-icon-fill-bg-enabled","text-button-icon-fill-content-enabled","border-button-icon-fill-border-enabled","lg:hover:bg-button-icon-fill-bg-hover","lg:hover:text-button-icon-fill-content-hover","lg:hover:border-button-icon-fill-border-hover","lg:active:bg-button-icon-fill-border-disabled","lg:active:text-button-icon-fill-content-disabled","lg:active:border-button-icon-fill-border-disabled"],outline:["bg-button-icon-outline-bg-enabled","text-button-icon-outline-content-enabled","border-button-icon-outline-border-enabled","lg:hover:bg-button-icon-outline-bg-hover","lg:hover:text-button-icon-outline-content-hover","lg:hover:border-button-icon-outline-border-hover","lg:active:bg-button-icon-outline-bg-pressed","lg:active:text-button-icon-outline-content-pressed","lg:active:border-button-icon-outline-border-pressed"],ghost:["bg-button-icon-ghost-bg-enabled","text-button-icon-ghost-content-enabled","border-button-icon-ghost-border-enabled","lg:hover:bg-button-icon-ghost-bg-hover","lg:hover:text-button-icon-ghost-content-hover","lg:hover:border-button-icon-ghost-border-hover","lg:active:bg-button-icon-ghost-bg-pressed","lg:active:text-button-icon-ghost-content-pressed","lg:active:border-button-icon-ghost-border-pressed"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),sr=W(Pe,{variants:{intent:{fill:["border-button-icon-fill-border-pressed","bg-button-icon-fill-bg-pressed","text-button-icon-fill-content-pressed"],outline:["border-button-icon-outline-border-enabled","bg-button-icon-outline-bg-enabled","text-button-icon-outline-content-enabled"],ghost:["border-button-icon-ghost-border-enabled","bg-button-icon-ghost-bg-enabled","text-button-icon-ghost-content-enabled"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),lr=W(Pe,{variants:{intent:{fill:["border-button-icon-fill-border-disabled","bg-button-icon-fill-bg-disabled","text-button-icon-fill-content-disabled"],outline:["border-button-icon-outline-border-disabled","bg-button-icon-outline-bg-disabled","text-button-icon-outline-content-disabled"],ghost:["border-button-icon-ghost-border-disabled","bg-button-icon-ghost-bg-disabled","text-button-icon-ghost-content-disabled"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),cr=({iconName:t,className:r,intent:n="fill",size:o="medium",rounded:l,disabled:i,isLoading:c,notification:d,...f})=>{typeof t=="string"&&(t={name:t});const u={small:"h-5",medium:"h-5",large:"h-6"};return C.jsxs("button",{className:J(c?sr({intent:n,size:o,rounded:l,className:r}):i?lr({intent:n,size:o,rounded:l,className:r}):ir({intent:n,size:o,rounded:l,className:r})),disabled:i||c,...f,children:[d&&!c&&C.jsx(G,{iconName:"IconCircleFilled",className:`absolute ${l==="full"?"right-2 top-2":"right-1 top-1"} h-[6px] w-[6px] ${n==="fill"?"text-button-primary-content-pressed":"text-button-primary-background-enabled"}`}),c?C.jsx(je,{className:u[o||"medium"]}):C.jsx(C.Fragment,{children:t&&C.jsx(G,{iconName:t.name,stroke:t.stroke,className:u[o||"medium"]})})]})},dr=W("flex flex-col gap-3 p-3 rounded-lg",{variants:{intent:{default:"text-content-primary bg-bg-white",outline:"!border-xs border-solid border-border-utility-discovery bg-bg-white text-content-text-default"},shadow:{none:"",xs:"shadow-xs",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl","2xl":"shadow-2xl"}},defaultVariants:{intent:"default",shadow:"none"}}),ur=({className:t,intent:r,shadow:n,children:o,...l})=>C.jsx("div",{className:J(dr({intent:r,shadow:n,className:t})),...l,children:o}),et=W("transition-all ease-out duration-500 relative overflow-hidden w-full",{variants:{intent:{primary:"bg-bg-brand",green:"bg-bg-accent-green",blue:"bg-bg-accent-blue",violet:"bg-bg-accent-violet",mustard:"bg-bg-accent-mustard",lime:"bg-bg-accent-lime",marine:"bg-bg-accent-marine",ice:"bg-bg-accent-ice",gray:"bg-bg-accent-gray",fuchsia:"bg-bg-accent-fuchsia"},size:{small:"h-3",medium:"h-4",large:"h-5"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"primary",size:"medium",rounded:"full"}}),br=({progress:t,className:r,intent:n="primary",size:o="medium",rounded:l="full",...i})=>{const c={small:"text-2xs",medium:"text-sm",large:"text-base"};return C.jsx("div",{className:J(et({size:o,rounded:l,className:r}),"relative bg-bg-accent-gray-subtle-hover"),...i,children:C.jsx("div",{className:J(et({intent:n,size:o,rounded:l})),style:{width:`${t}%`},children:C.jsxs("span",{className:`absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${c[o||"medium"]}`,children:[t,"%"]})})})},fr=W("transition-colors",{variants:{intent:{"display-sm":"text-7xl leading-6xl tracking-tight","display-lg":"text-9xl leading-7xl tracking-tight","title-xs":"text-2xl leading-2xl tracking-tight","title-sm":"text-3xl leading-3xl tracking-tight","title-md":"text-4xl leading-4xl tracking-tight","title-lg":"text-5xl leading-5xl tracking-tight","title-xl":"text-6xl leading-6xl tracking-tight","label-xs":"text-2xs leading-xs tracking-normal","label-sm":"text-xs leading-sm tracking-normal","label-md":"text-sm leading-md tracking-normal","label-lg":"text-base leading-lg tracking-normal","label-xl":"text-lg leading-lg tracking-normal","label-2xl":"text-xl leading-xl tracking-normal","label-3xl":"text-2xl leading-2xl tracking-normal","paragraph-xs":"text-xs leading-md tracking-normal","paragraph-sm":"text-sm leading-md tracking-normal","paragraph-md":"text-base leading-lg tracking-normal","paragraph-lg":"text-lg leading-xl tracking-normal","overline-sm":"text-xs leading-md tracking-widest","overline-lg":"text-sm leading-md tracking-widest"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{intent:"paragraph-md",weight:"regular"}}),gr=({as:t="span",intent:r,className:n,weight:o,...l})=>{const i=t;return C.jsx(i,{className:J(fr({intent:r,weight:o,className:n})),...l})};P.Badge=tr,P.Button=ar,P.ButtonIcon=cr,P.Card=ur,P.IconComponent=G,P.ProgressBar=br,P.Spinner=je,P.Text=gr,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})});
|
|
30
|
+
<%s key={someKey} {...props} />`,$e,H,Wr,H),gt[H+$e]=!0}}return e===o?Mr(T):Ir(T),T}}function Nr(e,a,s){return pt(e,a,s,!0)}function Vr(e,a,s){return pt(e,a,s,!1)}var Fr=Vr,$r=Nr;ae.Fragment=o,ae.jsx=Fr,ae.jsxs=$r}()),ae}process.env.NODE_ENV==="production"?Re.exports=ht():Re.exports=xt();var C=Re.exports;function Ge(t){var r,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(n=Ge(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function yt(){for(var t,r,n=0,o="",l=arguments.length;n<l;n++)(t=arguments[n])&&(r=Ge(t))&&(o&&(o+=" "),o+=r);return o}const Ce="-";function wt(t){const r=St(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;function l(c){const d=c.split(Ce);return d[0]===""&&d.length!==1&&d.shift(),Ye(d,r)||kt(c)}function i(c,d){const f=n[c]||[];return d&&o[c]?[...f,...o[c]]:f}return{getClassGroupId:l,getConflictingClassGroupIds:i}}function Ye(t,r){var c;if(t.length===0)return r.classGroupId;const n=t[0],o=r.nextPart.get(n),l=o?Ye(t.slice(1),o):void 0;if(l)return l;if(r.validators.length===0)return;const i=t.join(Ce);return(c=r.validators.find(({validator:d})=>d(i)))==null?void 0:c.classGroupId}const Ue=/^\[(.+)\]$/;function kt(t){if(Ue.test(t)){const r=Ue.exec(t)[1],n=r==null?void 0:r.substring(0,r.indexOf(":"));if(n)return"arbitrary.."+n}}function St(t){const{theme:r,prefix:n}=t,o={nextPart:new Map,validators:[]};return Rt(Object.entries(t.classGroups),n).forEach(([i,c])=>{_e(c,o,i,r)}),o}function _e(t,r,n,o){t.forEach(l=>{if(typeof l=="string"){const i=l===""?r:Le(r,l);i.classGroupId=n;return}if(typeof l=="function"){if(Et(l)){_e(l(o),r,n,o);return}r.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([i,c])=>{_e(c,Le(r,i),n,o)})})}function Le(t,r){let n=t;return r.split(Ce).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Et(t){return t.isThemeGetter}function Rt(t,r){return r?t.map(([n,o])=>{const l=o.map(i=>typeof i=="string"?r+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,d])=>[r+c,d])):i);return[n,l]}):t}function Ct(t){if(t<1)return{get:()=>{},set:()=>{}};let r=0,n=new Map,o=new Map;function l(i,c){n.set(i,c),r++,r>t&&(r=0,o=n,n=new Map)}return{get(i){let c=n.get(i);if(c!==void 0)return c;if((c=o.get(i))!==void 0)return l(i,c),c},set(i,c){n.has(i)?n.set(i,c):l(i,c)}}}const qe="!";function _t(t){const r=t.separator,n=r.length===1,o=r[0],l=r.length;return function(c){const d=[];let f=0,u=0,g;for(let R=0;R<c.length;R++){let j=c[R];if(f===0){if(j===o&&(n||c.slice(R,R+l)===r)){d.push(c.slice(u,R)),u=R+l;continue}if(j==="/"){g=R;continue}}j==="["?f++:j==="]"&&f--}const h=d.length===0?c:c.substring(u),E=h.startsWith(qe),O=E?h.substring(1):h,F=g&&g>u?g-u:void 0;return{modifiers:d,hasImportantModifier:E,baseClassName:O,maybePostfixModifierPosition:F}}}function jt(t){if(t.length<=1)return t;const r=[];let n=[];return t.forEach(o=>{o[0]==="["?(r.push(...n.sort(),o),n=[]):n.push(o)}),r.push(...n.sort()),r}function Tt(t){return{cache:Ct(t.cacheSize),splitModifiers:_t(t),...wt(t)}}const Pt=/\s+/;function Ot(t,r){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:l}=r,i=new Set;return t.trim().split(Pt).map(c=>{const{modifiers:d,hasImportantModifier:f,baseClassName:u,maybePostfixModifierPosition:g}=n(c);let h=o(g?u.substring(0,g):u),E=!!g;if(!h){if(!g)return{isTailwindClass:!1,originalClassName:c};if(h=o(u),!h)return{isTailwindClass:!1,originalClassName:c};E=!1}const O=jt(d).join(":");return{isTailwindClass:!0,modifierId:f?O+qe:O,classGroupId:h,originalClassName:c,hasPostfixModifier:E}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:d,classGroupId:f,hasPostfixModifier:u}=c,g=d+f;return i.has(g)?!1:(i.add(g),l(f,u).forEach(h=>i.add(d+h)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function At(){let t=0,r,n,o="";for(;t<arguments.length;)(r=arguments[t++])&&(n=Je(r))&&(o&&(o+=" "),o+=n);return o}function Je(t){if(typeof t=="string")return t;let r,n="";for(let o=0;o<t.length;o++)t[o]&&(r=Je(t[o]))&&(n&&(n+=" "),n+=r);return n}function zt(t,...r){let n,o,l,i=c;function c(f){const u=r.reduce((g,h)=>h(g),t());return n=Tt(u),o=n.cache.get,l=n.cache.set,i=d,d(f)}function d(f){const u=o(f);if(u)return u;const g=Ot(f,n);return l(f,g),g}return function(){return i(At.apply(null,arguments))}}function S(t){const r=n=>n[t]||[];return r.isThemeGetter=!0,r}const Ke=/^\[(?:([a-z-]+):)?(.+)\]$/i,It=/^\d+\/\d+$/,Mt=new Set(["px","full","screen"]),Nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vt=/\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$/,Ft=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Wt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(t){return q(t)||Mt.has(t)||It.test(t)}function D(t){return Q(t,"length",Jt)}function q(t){return!!t&&!Number.isNaN(Number(t))}function pe(t){return Q(t,"number",q)}function ie(t){return!!t&&Number.isInteger(Number(t))}function Dt(t){return t.endsWith("%")&&q(t.slice(0,-1))}function p(t){return Ke.test(t)}function B(t){return Nt.test(t)}const Bt=new Set(["length","size","percentage"]);function Gt(t){return Q(t,Bt,Xe)}function Yt(t){return Q(t,"position",Xe)}const Ut=new Set(["image","url"]);function Lt(t){return Q(t,Ut,Xt)}function qt(t){return Q(t,"",Kt)}function se(){return!0}function Q(t,r,n){const o=Ke.exec(t);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):n(o[2]):!1}function Jt(t){return Vt.test(t)&&!Ft.test(t)}function Xe(){return!1}function Kt(t){return $t.test(t)}function Xt(t){return Wt.test(t)}function Ht(){const t=S("colors"),r=S("spacing"),n=S("blur"),o=S("brightness"),l=S("borderColor"),i=S("borderRadius"),c=S("borderSpacing"),d=S("borderWidth"),f=S("contrast"),u=S("grayscale"),g=S("hueRotate"),h=S("invert"),E=S("gap"),O=S("gradientColorStops"),F=S("gradientColorStopPositions"),R=S("inset"),j=S("margin"),A=S("opacity"),k=S("padding"),me=S("saturate"),le=S("scale"),ve=S("sepia"),he=S("skew"),xe=S("space"),ye=S("translate"),ee=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",p,r],y=()=>[p,r],M=()=>["",W,D],N=()=>["auto",q,p],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",p],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[q,pe],X=()=>[q,p];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[W,D],blur:["none","",B,p],brightness:L(),borderColor:[t],borderRadius:["none","","full",B,p],borderSpacing:y(),borderWidth:M(),contrast:L(),grayscale:U(),hueRotate:X(),invert:U(),gap:y(),gradientColorStops:[t],gradientColorStopPositions:[Dt,D],inset:de(),margin:de(),opacity:L(),padding:y(),saturate:L(),scale:L(),sepia:U(),skew:X(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"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"],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:[...Y(),p]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,p]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",ie,p]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ie,p]},p]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ie,p]},p]}],"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":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[E]}],"gap-x":[{"gap-x":[E]}],"gap-y":[{"gap-y":[E]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],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":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,r]}],"min-w":[{"min-w":[p,r,"min","max","fit"]}],"max-w":[{"max-w":[p,r,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[p,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,r,"auto","min","max","fit"]}],"font-size":[{text:["base",B,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pe]}],"font-family":[{font:[se]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",q,pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,D]}],"underline-offset":[{"underline-offset":["auto",W,p]}],"text-decoration-color":[{decoration:[t]}],"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",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lt]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[F]}],"gradient-via-pos":[{via:[F]}],"gradient-to-pos":[{to:[F]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:K()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[W,p]}],"outline-w":[{outline:[W,D]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[W,D]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",B,qt]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",B,p]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[h]}],saturate:[{saturate:[me]}],sepia:[{sepia:[ve]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[me]}],"backdrop-sepia":[{"backdrop-sepia":[ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[le]}],"scale-x":[{"scale-x":[le]}],"scale-y":[{"scale-y":[le]}],rotate:[{rotate:[ie,p]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",p]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],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",p]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[W,D,pe]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}}const Zt=zt(Ht),J=(...t)=>Zt(yt(t));function He(t){var r,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=He(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function Qt(){for(var t,r,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(r=He(t))&&(o&&(o+=" "),o+=r);return o}const Ze=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Qe=Qt,$=(t,r)=>n=>{var o;if((r==null?void 0:r.variants)==null)return Qe(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:l,defaultVariants:i}=r,c=Object.keys(l).map(u=>{const g=n==null?void 0:n[u],h=i==null?void 0:i[u];if(g===null)return null;const E=Ze(g)||Ze(h);return l[u][E]}),d=n&&Object.entries(n).reduce((u,g)=>{let[h,E]=g;return E===void 0||(u[h]=E),u},{}),f=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((u,g)=>{let{class:h,className:E,...O}=g;return Object.entries(O).every(F=>{let[R,j]=F;return Array.isArray(j)?j.includes({...i,...d}[R]):{...i,...d}[R]===j})?[...u,h,E]:u},[]);return Qe(t,c,f,n==null?void 0:n.class,n==null?void 0:n.className)},G=({iconName:t,...r})=>{if(We[t]){const n=We[t];return C.jsx(n,{...r})}else return console.error(`Icon ${t} not found`),null},er=$("!border-sm flex w-fit items-center justify-center gap-2 rounded-sm transition-colors",{variants:{status:{notStarted:"border-border-transparent bg-bg-accent-ice-subtle text-content-text-default","notStarted-outline":"border-border-accent-ice text-content-accent-ice",locked:"border-border-transparent bg-bg-disabled text-content-text-subtle","locked-outline":"border-border-disabled text-content-text-subtlest",available:"border-border-transparent bg-bg-utility-discovery-bolder text-content-text-inverse","available-outline":"border-border-utility-discovery text-content-utility-discovery",inProgress:"border-border-transparent bg-bg-accent-blue-subtle text-content-text-default","inProgress-outline":"border-border-accent-blue text-content-accent-blue",completed:"border-border-transparent bg-bg-utility-success-bolder text-content-text-default","completed-outline":"border-border-utility-success text-content-utility-success",viewed:"border-border-transparent bg-bg-utility-informative-bolder text-content-text-inverse","viewed-outline":"border-border-utility-informative text-content-utility-informative"},intent:{neutral:"border-border-transparent bg-bg-bolder text-content-text-inverse","neutral-outline":"border-border-bolder text-content-text-default",blue:"border-border-transparent bg-bg-accent-blue text-content-text-inverse","blue-outline":"border-border-accent-blue text-content-accent-blue",mustard:"border-border-transparent bg-bg-accent-mustard text-content-text-default","mustard-outline":"border-border-accent-mustard text-content-accent-mustard",green:"border-border-transparent bg-bg-accent-green text-content-text-inverse","green-outline":"border-border-accent-green text-content-accent-green",lime:"border-border-transparent bg-bg-accent-lime text-content-text-default","lime-outline":"border-border-accent-lime text-content-accent-lime",fuchsia:"border-border-transparent bg-bg-accent-fuchsia text-content-text-inverse","fuchsia-outline":"border-border-accent-fuchsia text-content-accent-fuchsia",marine:"border-border-transparent bg-bg-accent-marine text-content-text-inverse","marine-outline":"border-border-accent-marine text-content-accent-marine",ice:"border-border-transparent bg-bg-accent-ice text-content-text-inverse","ice-outline":"border-border-accent-ice text-content-accent-ice",gray:"border-border-transparent bg-bg-accent-gray text-content-text-inverse","gray-outline":"border-border-accent-gray text-content-accent-gray"},size:{small:"h-[34px] px-4 py-2 text-2xs",medium:"h-9 px-4 py-2 text-sm",large:"h-10 px-4 py-2 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"},rounded:{rectangle:"rounded-sm",full:"rounded-full"}},defaultVariants:{size:"medium",weight:"regular",rounded:"rectangle"}}),tr=({children:t,iconLeft:r,iconRight:n,status:o,intent:l,size:i="medium",rounded:c="rectangle",weight:d,className:f,...u})=>{typeof r=="string"&&(r={name:r}),typeof n=="string"&&(n={name:n});const g={small:"h-4",medium:"h-4",large:"h-5"},h=o?{status:o}:{intent:l};return C.jsxs("span",{className:J(er({...h,size:i,rounded:c,weight:d,className:f})),...u,children:[r&&C.jsx(G,{iconName:r.name,stroke:r.stroke,className:g[i||"medium"]}),t,n&&C.jsx(G,{iconName:n.name,stroke:n.stroke,className:g[i||"medium"]})]})},je=({className:t})=>C.jsx(G,{iconName:"IconLoader2",className:`${t} animate-spin`}),Te="flex items-center justify-center gap-2 rounded-sm !border-xs transition-colors",rr=$(Te,{variants:{intent:{primary:["bg-button-primary-background-enabled","text-button-primary-content-enabled","border-button-primary-border-enabled","lg:hover:bg-button-primary-background-hover","lg:hover:text-button-primary-content-hover","lg:hover:border-button-primary-border-hover","lg:active:bg-button-primary-background-pressed","lg:active:text-button-primary-content-pressed","lg:active:border-button-primary-border-pressed"],secondary:["bg-button-secondary-background-enabled","text-button-secondary-content-enabled","border-button-secondary-border-enabled","lg:hover:bg-button-secondary-background-hover","lg:hover:text-button-secondary-content-hover","lg:hover:border-button-secondary-border-hover","lg:active:bg-button-secondary-background-pressed","lg:active:text-button-secondary-content-pressed","lg:active:border-button-secondary-border-pressed"],tertiary:["bg-button-tertiary-background-enabled","text-button-tertiary-content-enabled","border-button-tertiary-border-enabled","lg:hover:bg-button-tertiary-background-hover","lg:hover:text-button-tertiary-content-hover","lg:hover:border-button-tertiary-border-hover","lg:active:bg-button-tertiary-background-pressed","lg:active:text-button-tertiary-content-pressed","lg:active:border-button-tertiary-border-pressed"],ghost:["bg-button-ghost-background-enabled","text-button-ghost-content-enabled","border-button-ghost-border-enabled","lg:hover:bg-button-ghost-background-hover","lg:hover:text-button-ghost-content-hover","lg:hover:border-button-ghost-border-hover","lg:active:bg-button-ghost-background-pressed","lg:active:text-button-ghost-content-pressed","lg:active:border-button-ghost-border-pressed"],outline:["bg-button-outline-background-enabled","text-button-outline-content-enabled","border-button-outline-border-enabled","lg:hover:bg-button-outline-background-hover","lg:hover:text-button-outline-content-hover","lg:hover:border-button-outline-border-hover","lg:active:bg-button-outline-background-pressed","lg:active:text-button-outline-content-pressed","lg:active:border-button-outline-border-pressed"],destructive:["bg-button-destructive-background-enabled","text-button-destructive-content-enabled","border-button-destructive-border-enabled","lg:hover:bg-button-destructive-background-hover","lg:hover:text-button-destructive-content-hover","lg:hover:border-button-destructive-border-hover","lg:active:bg-button-destructive-background-pressed","lg:active:text-button-destructive-content-pressed","lg:active:border-button-destructive-border-pressed"],link:["border-button-link-border-enabled","text-button-link-content-enabled","lg:hover:border-button-link-border-hover","lg:hover:text-button-link-content-hover","lg:active:border-button-link-border-pressed","lg:active:text-button-link-content-pressed"]},size:{small:"h-10 text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-fit rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),nr=$(`${Te} cursor-default`,{variants:{intent:{primary:["border-button-primary-border-pressed","bg-button-primary-background-pressed","text-button-primary-content-pressed"],secondary:["border-button-secondary-border-enabled","bg-button-secondary-background-enabled","text-button-secondary-content-enabled"],tertiary:["border-button-tertiary-border-enabled","bg-button-tertiary-background-enabled","text-button-tertiary-content-enabled"],ghost:["border-button-ghost-border-pressed","bg-button-ghost-background-pressed","text-button-ghost-content-pressed"],outline:["border-button-outline-border-pressed","bg-button-outline-background-pressed","text-button-outline-content-pressed"],destructive:["border-button-destructive-border-pressed","bg-button-destructive-background-pressed","text-button-destructive-content-pressed"],link:["border-b border-button-link-border-pressed","text-button-link-content-pressed"]},size:{small:"h-10text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-24 rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),or=$(Te,{variants:{intent:{primary:["border-button-primary-border-disabled","bg-button-primary-background-disabled","text-button-primary-content-disabled"],secondary:["border-button-secondary-border-disabled","bg-button-secondary-background-disabled","text-button-secondary-content-disabled"],tertiary:["border-button-tertiary-border-disabled","bg-button-tertiary-background-disabled","text-button-tertiary-content-disabled"],ghost:["border-button-ghost-border-disabled","bg-button-ghost-background-disabled","text-button-ghost-content-disabled"],outline:["border-button-outline-border-disabled","bg-button-outline-background-disabled","text-button-outline-content-disabled"],destructive:["border-button-destructive-border-disabled","bg-button-destructive-background-disabled","text-button-destructive-content-disabled"],link:["border-b border-button-link-border-disabled","text-button-link-content-disabled"]},size:{small:"h-10 text-xs",medium:"h-11 text-sm",large:"h-12 text-base"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},compoundVariants:[{intent:"link",className:"w-24 rounded-none !border-[0px] !border-b-xs px-1"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"small",className:"min-w-36 p-button-sm"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"medium",className:"min-w-44 p-button-md"},{intent:["primary","secondary","tertiary","ghost","outline","destructive"],size:"large",className:"min-w-52 p-button-lg"}],defaultVariants:{intent:"primary",size:"medium",weight:"regular"}}),ar=({className:t,intent:r,size:n,children:o,iconLeft:l,iconRight:i,isLoading:c,disabled:d,...f})=>{typeof l=="string"&&(l={name:l}),typeof i=="string"&&(i={name:i});const u={small:"h-5",medium:"h-5",large:"h-6"};return C.jsx("button",{className:J(c?nr({intent:r,size:n,className:t}):d?or({intent:r,size:n,className:t}):rr({intent:r,size:n,className:t})),disabled:d||c,...f,children:c?C.jsx(je,{className:u[n||"medium"]}):C.jsxs(C.Fragment,{children:[l&&C.jsx(G,{iconName:l.name,stroke:l.stroke,className:u[n||"medium"]}),o,i&&C.jsx(G,{iconName:i.name,stroke:i.stroke,className:u[n||"medium"]})]})})},Pe="flex items-center justify-center transition-colors relative border !border-xs",ir=$(Pe,{variants:{intent:{fill:["bg-button-icon-fill-bg-enabled","text-button-icon-fill-content-enabled","border-button-icon-fill-border-enabled","lg:hover:bg-button-icon-fill-bg-hover","lg:hover:text-button-icon-fill-content-hover","lg:hover:border-button-icon-fill-border-hover","lg:active:bg-button-icon-fill-border-disabled","lg:active:text-button-icon-fill-content-disabled","lg:active:border-button-icon-fill-border-disabled"],outline:["bg-button-icon-outline-bg-enabled","text-button-icon-outline-content-enabled","border-button-icon-outline-border-enabled","lg:hover:bg-button-icon-outline-bg-hover","lg:hover:text-button-icon-outline-content-hover","lg:hover:border-button-icon-outline-border-hover","lg:active:bg-button-icon-outline-bg-pressed","lg:active:text-button-icon-outline-content-pressed","lg:active:border-button-icon-outline-border-pressed"],ghost:["bg-button-icon-ghost-bg-enabled","text-button-icon-ghost-content-enabled","border-button-icon-ghost-border-enabled","lg:hover:bg-button-icon-ghost-bg-hover","lg:hover:text-button-icon-ghost-content-hover","lg:hover:border-button-icon-ghost-border-hover","lg:active:bg-button-icon-ghost-bg-pressed","lg:active:text-button-icon-ghost-content-pressed","lg:active:border-button-icon-ghost-border-pressed"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),sr=$(Pe,{variants:{intent:{fill:["border-button-icon-fill-border-pressed","bg-button-icon-fill-bg-pressed","text-button-icon-fill-content-pressed"],outline:["border-button-icon-outline-border-enabled","bg-button-icon-outline-bg-enabled","text-button-icon-outline-content-enabled"],ghost:["border-button-icon-ghost-border-enabled","bg-button-icon-ghost-bg-enabled","text-button-icon-ghost-content-enabled"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),lr=$(Pe,{variants:{intent:{fill:["border-button-icon-fill-border-disabled","bg-button-icon-fill-bg-disabled","text-button-icon-fill-content-disabled"],outline:["border-button-icon-outline-border-disabled","bg-button-icon-outline-bg-disabled","text-button-icon-outline-content-disabled"],ghost:["border-button-icon-ghost-border-disabled","bg-button-icon-ghost-bg-disabled","text-button-icon-ghost-content-disabled"]},size:{small:"h-[38px] w-[38px] p-[9px]",medium:"h-11 w-11 p-[10px]",large:"h-12 w-12 p-3"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"fill",size:"medium",rounded:"sm"}}),cr=({iconName:t,className:r,intent:n="fill",size:o="medium",rounded:l,disabled:i,isLoading:c,notification:d,...f})=>{typeof t=="string"&&(t={name:t});const u={small:"h-5",medium:"h-5",large:"h-6"};return C.jsxs("button",{className:J(c?sr({intent:n,size:o,rounded:l,className:r}):i?lr({intent:n,size:o,rounded:l,className:r}):ir({intent:n,size:o,rounded:l,className:r})),disabled:i||c,...f,children:[d&&!c&&C.jsx(G,{iconName:"IconCircleFilled",className:`absolute ${l==="full"?"right-2 top-2":"right-1 top-1"} h-[6px] w-[6px] ${n==="fill"?"text-button-primary-content-pressed":"text-button-primary-background-enabled"}`}),c?C.jsx(je,{className:u[o||"medium"]}):C.jsx(C.Fragment,{children:t&&C.jsx(G,{iconName:t.name,stroke:t.stroke,className:u[o||"medium"]})})]})},dr=$("flex flex-col gap-3 p-3 rounded-lg",{variants:{intent:{default:"text-content-primary bg-bg-white",outline:"!border-xs border-solid border-border-utility-discovery bg-bg-white text-content-text-default"},shadow:{none:"",xs:"shadow-xs",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl","2xl":"shadow-2xl"}},defaultVariants:{intent:"default",shadow:"none"}}),ur=({className:t,intent:r,shadow:n,children:o,...l})=>C.jsx("div",{className:J(dr({intent:r,shadow:n,className:t})),...l,children:o}),et=$("transition-all ease-out duration-500 relative overflow-hidden w-full",{variants:{intent:{primary:"bg-bg-brand",green:"bg-bg-accent-green",blue:"bg-bg-accent-blue",violet:"bg-bg-accent-violet",mustard:"bg-bg-accent-mustard",lime:"bg-bg-accent-lime",marine:"bg-bg-accent-marine",ice:"bg-bg-accent-ice",gray:"bg-bg-accent-gray",fuchsia:"bg-bg-accent-fuchsia"},size:{small:"h-3",medium:"h-4",large:"h-5"},rounded:{full:"rounded-full",sm:"rounded-sm"}},defaultVariants:{intent:"primary",size:"medium",rounded:"full"}}),br=({progress:t,className:r,intent:n="primary",size:o="medium",rounded:l="full",...i})=>{const c={small:"text-2xs",medium:"text-sm",large:"text-base"};return C.jsx("div",{className:J(et({size:o,rounded:l,className:r}),"relative bg-bg-accent-gray-subtle-hover"),...i,children:C.jsx("div",{className:J(et({intent:n,size:o,rounded:l})),style:{width:`${t}%`},children:C.jsxs("span",{className:`absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${c[o||"medium"]}`,children:[t,"%"]})})})},fr=$("transition-colors",{variants:{intent:{"display-sm":"text-7xl leading-6xl tracking-tight","display-lg":"text-9xl leading-7xl tracking-tight","title-xs":"text-2xl leading-2xl tracking-tight","title-sm":"text-3xl leading-3xl tracking-tight","title-md":"text-4xl leading-4xl tracking-tight","title-lg":"text-5xl leading-5xl tracking-tight","title-xl":"text-6xl leading-6xl tracking-tight","label-xs":"text-2xs leading-xs tracking-normal","label-sm":"text-xs leading-sm tracking-normal","label-md":"text-sm leading-md tracking-normal","label-lg":"text-base leading-lg tracking-normal","label-xl":"text-lg leading-lg tracking-normal","label-2xl":"text-xl leading-xl tracking-normal","label-3xl":"text-2xl leading-2xl tracking-normal","paragraph-xs":"text-xs leading-md tracking-normal","paragraph-sm":"text-sm leading-md tracking-normal","paragraph-md":"text-base leading-lg tracking-normal","paragraph-lg":"text-lg leading-xl tracking-normal","overline-sm":"text-xs leading-md tracking-widest","overline-lg":"text-sm leading-md tracking-widest"},weight:{light:"font-light",regular:"font-regular",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{intent:"paragraph-md",weight:"regular"}}),gr=({as:t="span",intent:r,className:n,weight:o,...l})=>{const i=t;return C.jsx(i,{className:J(fr({intent:r,weight:o,className:n})),...l})};P.Badge=tr,P.Button=ar,P.ButtonIcon=cr,P.Card=ur,P.IconComponent=G,P.ProgressBar=br,P.Spinner=je,P.Text=gr,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})});
|