design-system-silkhaus 0.0.17 → 0.0.20
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.cjs +10 -50
- package/dist/index.d.ts +0 -14
- package/dist/index.js +1025 -4308
- package/dist/style.css +1 -1
- package/package.json +1 -2
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var Zr=Object.defineProperty,Qr=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var Ee=Object.getOwnPropertySymbols;var Qe=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable;var Ze=(r,n,t)=>n in r?Zr(r,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[n]=t,P=(r,n)=>{for(var t in n||(n={}))Qe.call(n,t)&&Ze(r,t,n[t]);if(Ee)for(var t of Ee(n))er.call(n,t)&&Ze(r,t,n[t]);return r},rr=(r,n)=>Qr(r,et(n));var D=(r,n)=>{var t={};for(var o in r)Qe.call(r,o)&&n.indexOf(o)<0&&(t[o]=r[o]);if(r!=null&&Ee)for(var o of Ee(r))n.indexOf(o)<0&&er.call(r,o)&&(t[o]=r[o]);return t};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const pe=require("react");function rt(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}return n.default=r,Object.freeze(n)}const K=rt(pe);var Ie={exports:{}},ce={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
10
|
-
`+
|
|
11
|
-
`),
|
|
12
|
-
`),
|
|
13
|
-
`+
|
|
9
|
+
*/var tr;function tt(){return tr||(tr=1,process.env.NODE_ENV!=="production"&&function(){var r=pe,n=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),I=Symbol.iterator,k="@@iterator";function j(e){if(e===null||typeof e!="object")return null;var a=I&&e[I]||e[k];return typeof a=="function"?a:null}var S=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){{for(var a=arguments.length,i=new Array(a>1?a-1:0),d=1;d<a;d++)i[d-1]=arguments[d];ge("error",e,i)}}function ge(e,a,i){{var d=S.ReactDebugCurrentFrame,h=d.getStackAddendum();h!==""&&(a+="%s",i=i.concat([h]));var w=i.map(function(v){return String(v)});w.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,w)}}var ne=!1,be=!1,me=!1,ve=!1,ye=!1,Z;Z=Symbol.for("react.module.reference");function oe(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===l||ye||e===s||e===b||e===f||ve||e===O||ne||be||me||typeof e=="object"&&e!==null&&(e.$$typeof===E||e.$$typeof===y||e.$$typeof===c||e.$$typeof===u||e.$$typeof===g||e.$$typeof===Z||e.getModuleId!==void 0))}function ae(e,a,i){var d=e.displayName;if(d)return d;var h=a.displayName||a.name||"";return h!==""?i+"("+h+")":i}function x(e){return e.displayName||"Context"}function M(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case t:return"Portal";case l:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u:var a=e;return x(a)+".Consumer";case c:var i=e;return x(i._context)+".Provider";case g:return ae(e,e.render,"ForwardRef");case y:var d=e.displayName||null;return d!==null?d:M(e.type)||"Memo";case E:{var h=e,w=h._payload,v=h._init;try{return M(v(w))}catch(m){return null}}}return null}var N=Object.assign,L=0,J,ie,Q,B,se,Y,H;function ze(){}ze.__reactDisabledLog=!0;function _r(){{if(L===0){J=console.log,ie=console.info,Q=console.warn,B=console.error,se=console.group,Y=console.groupCollapsed,H=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ze,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}}function jr(){{if(L--,L===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:J}),info:N({},e,{value:ie}),warn:N({},e,{value:Q}),error:N({},e,{value:B}),group:N({},e,{value:se}),groupCollapsed:N({},e,{value:Y}),groupEnd:N({},e,{value:H})})}L<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=S.ReactCurrentDispatcher,_e;function he(e,a,i){{if(_e===void 0)try{throw Error()}catch(h){var d=h.stack.trim().match(/\n( *(at )?)/);_e=d&&d[1]||""}return`
|
|
10
|
+
`+_e+e}}var je=!1,xe;{var Sr=typeof WeakMap=="function"?WeakMap:Map;xe=new Sr}function De(e,a){if(!e||je)return"";{var i=xe.get(e);if(i!==void 0)return i}var d;je=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=Te.current,Te.current=null,_r();try{if(a){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch($){d=$}Reflect.construct(e,[],v)}else{try{v.call()}catch($){d=$}e.call(v.prototype)}}else{try{throw Error()}catch($){d=$}e()}}catch($){if($&&d&&typeof $.stack=="string"){for(var m=$.stack.split(`
|
|
11
|
+
`),A=d.stack.split(`
|
|
12
|
+
`),T=m.length-1,_=A.length-1;T>=1&&_>=0&&m[T]!==A[_];)_--;for(;T>=1&&_>=0;T--,_--)if(m[T]!==A[_]){if(T!==1||_!==1)do if(T--,_--,_<0||m[T]!==A[_]){var z=`
|
|
13
|
+
`+m[T].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&xe.set(e,z),z}while(T>=1&&_>=0);break}}}finally{je=!1,Te.current=w,jr(),Error.prepareStackTrace=h}var re=e?e.displayName||e.name:"",Ke=re?he(re):"";return typeof e=="function"&&xe.set(e,Ke),Ke}function Pr(e,a,i){return De(e,!1)}function Or(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function we(e,a,i){if(e==null)return"";if(typeof e=="function")return De(e,Or(e));if(typeof e=="string")return he(e);switch(e){case b:return he("Suspense");case f:return he("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return Pr(e.render);case y:return we(e.type,a,i);case E:{var d=e,h=d._payload,w=d._init;try{return we(w(h),a,i)}catch(v){}}}return""}var Ce=Object.prototype.hasOwnProperty,We={},Ve=S.ReactDebugCurrentFrame;function Re(e){if(e){var a=e._owner,i=we(e.type,e._source,a?a.type:null);Ve.setExtraStackFrame(i)}else Ve.setExtraStackFrame(null)}function Ar(e,a,i,d,h){{var w=Function.call.bind(Ce);for(var v in e)if(w(e,v)){var m=void 0;try{if(typeof e[v]!="function"){var A=Error((d||"React class")+": "+i+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}m=e[v](a,v,d,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(T){m=T}m&&!(m instanceof Error)&&(Re(h),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",d||"React class",i,v,typeof m),Re(null)),m instanceof Error&&!(m.message in We)&&(We[m.message]=!0,Re(h),C("Failed %s type: %s",i,m.message),Re(null))}}}var Fr=Array.isArray;function Se(e){return Fr(e)}function Ir(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,i=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Mr(e){try{return $e(e),!1}catch(a){return!0}}function $e(e){return""+e}function Ge(e){if(Mr(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ir(e)),$e(e)}var le=S.ReactCurrentOwner,Nr={key:!0,ref:!0,__self:!0,__source:!0},Le,Be,Pe;Pe={};function zr(e){if(Ce.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function Dr(e){if(Ce.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function Wr(e,a){if(typeof e.ref=="string"&&le.current&&a&&le.current.stateNode!==a){var i=M(le.current.type);Pe[i]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',M(le.current.type),e.ref),Pe[i]=!0)}}function Vr(e,a){{var i=function(){Le||(Le=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}}function $r(e,a){{var i=function(){Be||(Be=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}}var Gr=function(e,a,i,d,h,w,v){var m={$$typeof:n,type:e,key:a,ref:i,props:v,_owner:w};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:d}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function Lr(e,a,i,d,h){{var w,v={},m=null,A=null;i!==void 0&&(Ge(i),m=""+i),Dr(a)&&(Ge(a.key),m=""+a.key),zr(a)&&(A=a.ref,Wr(a,h));for(w in a)Ce.call(a,w)&&!Nr.hasOwnProperty(w)&&(v[w]=a[w]);if(e&&e.defaultProps){var T=e.defaultProps;for(w in T)v[w]===void 0&&(v[w]=T[w])}if(m||A){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;m&&Vr(v,_),A&&$r(v,_)}return Gr(e,m,A,h,d,le.current,v)}}var Oe=S.ReactCurrentOwner,Ye=S.ReactDebugCurrentFrame;function ee(e){if(e){var a=e._owner,i=we(e.type,e._source,a?a.type:null);Ye.setExtraStackFrame(i)}else Ye.setExtraStackFrame(null)}var Ae;Ae=!1;function Fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function qe(){{if(Oe.current){var e=M(Oe.current.type);if(e)return`
|
|
14
14
|
|
|
15
|
-
Check the render method of \``+
|
|
15
|
+
Check the render method of \``+e+"`."}return""}}function Br(e){{if(e!==void 0){var a=e.fileName.replace(/^.*[\\\/]/,""),i=e.lineNumber;return`
|
|
16
16
|
|
|
17
|
-
Check your code at `+
|
|
17
|
+
Check your code at `+a+":"+i+"."}return""}}var Ue={};function Yr(e){{var a=qe();if(!a){var i=typeof e=="string"?e:e.displayName||e.name;i&&(a=`
|
|
18
18
|
|
|
19
|
-
Check the top-level render call using <`+
|
|
19
|
+
Check the top-level render call using <`+i+">.")}return a}}function Je(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var i=Yr(a);if(Ue[i])return;Ue[i]=!0;var d="";e&&e._owner&&e._owner!==Oe.current&&(d=" It was passed a child from "+M(e._owner.type)+"."),ee(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,d),ee(null)}}function He(e,a){{if(typeof e!="object")return;if(Se(e))for(var i=0;i<e.length;i++){var d=e[i];Fe(d)&&Je(d,a)}else if(Fe(e))e._store&&(e._store.validated=!0);else if(e){var h=j(e);if(typeof h=="function"&&h!==e.entries)for(var w=h.call(e),v;!(v=w.next()).done;)Fe(v.value)&&Je(v.value,a)}}}function qr(e){{var a=e.type;if(a==null||typeof a=="string")return;var i;if(typeof a=="function")i=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===g||a.$$typeof===y))i=a.propTypes;else return;if(i){var d=M(a);Ar(i,e.props,"prop",d,e)}else if(a.PropTypes!==void 0&&!Ae){Ae=!0;var h=M(a);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ur(e){{for(var a=Object.keys(e.props),i=0;i<a.length;i++){var d=a[i];if(d!=="children"&&d!=="key"){ee(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d),ee(null);break}}e.ref!==null&&(ee(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}}function Xe(e,a,i,d,h,w){{var v=oe(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 A=Br(h);A?m+=A:m+=qe();var T;e===null?T="null":Se(e)?T="array":e!==void 0&&e.$$typeof===n?(T="<"+(M(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,m)}var _=Lr(e,a,i,h,w);if(_==null)return _;if(v){var z=a.children;if(z!==void 0)if(d)if(Se(z)){for(var re=0;re<z.length;re++)He(z[re],e);Object.freeze&&Object.freeze(z)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else He(z,e)}return e===o?Ur(_):qr(_),_}}function Jr(e,a,i){return Xe(e,a,i,!0)}function Hr(e,a,i){return Xe(e,a,i,!1)}var Xr=Hr,Kr=Jr;ce.Fragment=o,ce.jsx=Xr,ce.jsxs=Kr}()),ce}var ue={};/**
|
|
20
20
|
* @license React
|
|
21
21
|
* react-jsx-runtime.production.min.js
|
|
22
22
|
*
|
|
@@ -24,44 +24,4 @@ Check the top-level render call using <`+R+">.")}return x}}function kn(u,x){{if(
|
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the MIT license found in the
|
|
26
26
|
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/var Bn;function qo(){if(Bn)return ct;Bn=1;var e=d,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(c,s,l){var p,f={},b=null,m=null;l!==void 0&&(b=""+l),s.key!==void 0&&(b=""+s.key),s.ref!==void 0&&(m=s.ref);for(p in s)r.call(s,p)&&!a.hasOwnProperty(p)&&(f[p]=s[p]);if(c&&c.defaultProps)for(p in s=c.defaultProps,s)f[p]===void 0&&(f[p]=s[p]);return{$$typeof:t,type:c,key:b,ref:m,props:f,_owner:o.current}}return ct.Fragment=n,ct.jsx=i,ct.jsxs=i,ct}process.env.NODE_ENV==="production"?tn.exports=qo():tn.exports=Ko();var ae=tn.exports;function vr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=vr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function he(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=vr(e))&&(r&&(r+=" "),r+=t);return r}const mn="-";function Xo(e){const t=Jo(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const c=i.split(mn);return c[0]===""&&c.length!==1&&c.shift(),br(c,t)||Zo(i)}function a(i,c){const s=n[i]||[];return c&&r[i]?[...s,...r[i]]:s}return{getClassGroupId:o,getConflictingClassGroupIds:a}}function br(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?br(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(mn);return(i=t.validators.find(({validator:c})=>c(a)))==null?void 0:i.classGroupId}const zn=/^\[(.+)\]$/;function Zo(e){if(zn.test(e)){const t=zn.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Jo(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return ea(Object.entries(e.classGroups),n).forEach(([a,i])=>{nn(i,r,a,t)}),r}function nn(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Vn(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(Qo(o)){nn(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,i])=>{nn(i,Vn(t,a),n,r)})})}function Vn(e,t){let n=e;return t.split(mn).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Qo(e){return e.isThemeGetter}function ea(e,t){return t?e.map(([n,r])=>{const o=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,c])=>[t+i,c])):a);return[n,o]}):e}function ta(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(a,i){n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return o(a,i),i},set(a,i){n.has(a)?n.set(a,i):o(a,i)}}}const hr="!";function na(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const c=[];let s=0,l=0,p;for(let g=0;g<i.length;g++){let v=i[g];if(s===0){if(v===r&&(n||i.slice(g,g+o)===t)){c.push(i.slice(l,g)),l=g+o;continue}if(v==="/"){p=g;continue}}v==="["?s++:v==="]"&&s--}const f=c.length===0?i:i.substring(l),b=f.startsWith(hr),m=b?f.substring(1):f,h=p&&p>l?p-l:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:m,maybePostfixModifierPosition:h}}}function ra(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function oa(e){return S({cache:ta(e.cacheSize),splitModifiers:na(e)},Xo(e))}const aa=/\s+/;function ia(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=new Set;return e.trim().split(aa).map(i=>{const{modifiers:c,hasImportantModifier:s,baseClassName:l,maybePostfixModifierPosition:p}=n(i);let f=r(p?l.substring(0,p):l),b=!!p;if(!f){if(!p)return{isTailwindClass:!1,originalClassName:i};if(f=r(l),!f)return{isTailwindClass:!1,originalClassName:i};b=!1}const m=ra(c).join(":");return{isTailwindClass:!0,modifierId:s?m+hr:m,classGroupId:f,originalClassName:i,hasPostfixModifier:b}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:c,classGroupId:s,hasPostfixModifier:l}=i,p=c+s;return a.has(p)?!1:(a.add(p),o(s,l).forEach(f=>a.add(c+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function ca(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=yr(t))&&(r&&(r+=" "),r+=n);return r}function yr(e){if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=yr(e[r]))&&(n&&(n+=" "),n+=t);return n}function sa(e,...t){let n,r,o,a=i;function i(s){const l=t.reduce((p,f)=>f(p),e());return n=oa(l),r=n.cache.get,o=n.cache.set,a=c,c(s)}function c(s){const l=r(s);if(l)return l;const p=ia(s,n);return o(s,p),p}return function(){return a(ca.apply(null,arguments))}}function ee(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const wr=/^\[(?:([a-z-]+):)?(.+)\]$/i,la=/^\d+\/\d+$/,ua=new Set(["px","full","screen"]),da=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fa=/\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$/,pa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ma=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ga=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Pe(e){return ze(e)||ua.has(e)||la.test(e)}function De(e){return tt(e,"length",Ea)}function ze(e){return!!e&&!Number.isNaN(Number(e))}function wt(e){return tt(e,"number",ze)}function st(e){return!!e&&Number.isInteger(Number(e))}function va(e){return e.endsWith("%")&&ze(e.slice(0,-1))}function I(e){return wr.test(e)}function Ie(e){return da.test(e)}const ba=new Set(["length","size","percentage"]);function ha(e){return tt(e,ba,xr)}function ya(e){return tt(e,"position",xr)}const wa=new Set(["image","url"]);function xa(e){return tt(e,wa,Ra)}function $a(e){return tt(e,"",Ca)}function lt(){return!0}function tt(e,t,n){const r=wr.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Ea(e){return fa.test(e)&&!pa.test(e)}function xr(){return!1}function Ca(e){return ma.test(e)}function Ra(e){return ga.test(e)}function Sa(){const e=ee("colors"),t=ee("spacing"),n=ee("blur"),r=ee("brightness"),o=ee("borderColor"),a=ee("borderRadius"),i=ee("borderSpacing"),c=ee("borderWidth"),s=ee("contrast"),l=ee("grayscale"),p=ee("hueRotate"),f=ee("invert"),b=ee("gap"),m=ee("gradientColorStops"),h=ee("gradientColorStopPositions"),g=ee("inset"),v=ee("margin"),w=ee("opacity"),y=ee("padding"),C=ee("saturate"),$=ee("scale"),E=ee("sepia"),k=ee("skew"),D=ee("space"),T=ee("translate"),_=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",I,t],O=()=>[I,t],G=()=>["",Pe,De],F=()=>["auto",ze,I],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],L=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",I],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[ze,wt],te=()=>[ze,I];return{cacheSize:500,separator:":",theme:{colors:[lt],spacing:[Pe,De],blur:["none","",Ie,I],brightness:U(),borderColor:[e],borderRadius:["none","","full",Ie,I],borderSpacing:O(),borderWidth:G(),contrast:U(),grayscale:X(),hueRotate:te(),invert:X(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[va,De],inset:K(),margin:K(),opacity:U(),padding:O(),saturate:U(),scale:U(),sepia:X(),skew:te(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",I]}],container:["container"],columns:[{columns:[Ie]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:[...z(),I]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",st,I]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",I]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",st,I]}],"grid-cols":[{"grid-cols":[lt]}],"col-start-end":[{col:["auto",{span:["full",st,I]},I]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[lt]}],"row-start-end":[{row:["auto",{span:[st,I]},I]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",I]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",I]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",I,t]}],"min-w":[{"min-w":[I,t,"min","max","fit"]}],"max-w":[{"max-w":[I,t,"none","full","min","max","fit","prose",{screen:[Ie]},Ie]}],h:[{h:[I,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[I,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[I,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[I,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ie,De]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",wt]}],"font-family":[{font:[lt]}],"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",I]}],"line-clamp":[{"line-clamp":["none",ze,wt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Pe,I]}],"list-image":[{"list-image":["none",I]}],"list-style-type":[{list:["none","disc","decimal",I]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Pe,De]}],"underline-offset":[{"underline-offset":["auto",Pe,I]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I]}],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",I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),ya]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ha]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xa]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[Pe,I]}],"outline-w":[{outline:[Pe,De]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[Pe,De]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ie,$a]}],"shadow-color":[{shadow:[lt]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":L()}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",Ie,I]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[f]}],saturate:[{saturate:[C]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",I]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",I]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",I]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-x":[{"scale-x":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[st,I]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",I]}],accent:[{accent:["auto",e]}],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",I]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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",I]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Pe,De,wt]}],stroke:[{stroke:[e,"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 ye=sa(Sa),Un={primary:"bg-Background-accentEggplant-100 text-Text-textPrimaryDark rounded-sm hover:text-Text-textPrimaryDark hover:bg-Background-accentEggplant-highlight active:bg-Background-accentEggplant-darkened focus:bg-Background-accentEggplant-100 focus:border focus:border-white disabled:bg-Background-accentEggplant-20",secondary:"text-Text-secondary rounded-sm border border-Fills-secondary hover:text-black hover:border hover:border-Fills-black active:text-black active:border active:border-Fills-black focus:bg-Background-accentEggplant-5 focus:text-accentEggplant-100 focus:border focus:border-Background-accentEggplant-100 disabled:border disabled:border-Fills-quadrutery disabled:text-Text-tertiary",tertiary:"text-Text-secondary rounded-sm hover:bg-Fills-quintiary active:bg-Fills-quintiary focus:bg-Fills-quadrutery disabled:text-Fills-quadrutery disabled:bg-Fills-quintiary",quaternary:"text-accentEggplant-100 rounded-sm hover:bg-Background-accentEggplant-5 active:bg-Background-accentEggplant-5 focus:bg-Background-accentEggplant-100 focus:text-Text-textPrimaryDark disabled:text-Background-accentEggplant-20",small:"py-space075 px-space400",large:"py-space150 px-space400"},$r=d.forwardRef((i,a)=>{var c=i,{color:e="primary",size:t="small",disabled:n=!1,className:r}=c,o=N(c,["color","size","disabled","className"]);return ae.jsx("button",S({ref:a,disabled:n,className:ye(he(Un[e],Un[t],r))},o))});$r.displayName="Button";const Gn={primary:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-Fills-terciary rounded-sm hover:border-Fills-secondary active:text-Text-primary active:border-Text-primary focus:border-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]",success:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-Fills-terciary rounded-sm hover:border-Fills-secondary active:text-Text-primary active:border-Text-primary focus:border-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]",error:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-System-red rounded-sm active:text-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]"},Er=d.forwardRef((s,c)=>{var l=s,{color:e="primary",disabled:t=!1,textarea:n=!1,label:r,caption:o,className:a}=l,i=N(l,["color","disabled","textarea","label","caption","className"]);return n?ae.jsx("textarea",S({disabled:t,className:ye(he(Gn[e],a))},i)):ae.jsxs("div",{className:"flex flex-col items-start w-full",children:[r&&ae.jsx("label",{className:"text-mediumSubHead font-normal",children:r}),ae.jsx("input",S({ref:c,disabled:t,className:ye(he(Gn[e],a))},i)),o&&ae.jsx("caption",{className:"text-mediumCaption1 font-normal",children:o})]})});Er.displayName="Input";function Cr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Cr(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Pa(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Cr(e))&&(r&&(r+=" "),r+=t);return r}const Yn=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Hn=Pa,Rr=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Hn(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:a}=t,i=Object.keys(o).map(l=>{const p=n==null?void 0:n[l],f=a==null?void 0:a[l];if(p===null)return null;const b=Yn(p)||Yn(f);return o[l][b]}),c=n&&Object.entries(n).reduce((l,p)=>{let[f,b]=p;return b===void 0||(l[f]=b),l},{}),s=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,p)=>{let h=p,{class:f,className:b}=h,m=N(h,["class","className"]);return Object.entries(m).every(g=>{let[v,w]=g;return Array.isArray(w)?w.includes(S(S({},a),c)[v]):S(S({},a),c)[v]===w})?[...l,f,b]:l},[]);return Hn(e,i,s,n==null?void 0:n.class,n==null?void 0:n.className)},Ta=Rr("border text-text-primary",{variants:{cardType:{default:"shadow-none",shadowCard:"shadow-card"}},defaultVariants:{cardType:"default"}}),Sr=P.forwardRef((o,r)=>{var a=o,{className:e,cardType:t}=a,n=N(a,["className","cardType"]);return ae.jsx("div",S({ref:r,className:ye(he(Ta({cardType:t,className:e}),"rounded-[24px_24px_0px_24px]"),e)},n))});Sr.displayName="Card";const Pr=P.forwardRef((r,n)=>{var o=r,{className:e}=o,t=N(o,["className"]);return ae.jsx("div",S({ref:n,className:ye(he("flex flex-col pt-space300 pb-space200 px-space300",e))},t))});Pr.displayName="CardHeader";const Tr=P.forwardRef((r,n)=>{var o=r,{className:e}=o,t=N(o,["className"]);return ae.jsx("div",S({ref:n,className:ye(he("font-medium",e))},t))});Tr.displayName="Title";const Or=P.forwardRef((r,n)=>{var o=r,{className:e}=o,t=N(o,["className"]);return ae.jsx("div",S({ref:n,className:ye(he("font-regular",e))},t))});Or.displayName="Description";const _r=P.forwardRef((r,n)=>{var o=r,{className:e}=o,t=N(o,["className"]);return ae.jsx("div",S({ref:n,className:ye(he("pb-space300 px-space300 ",e))},t))});_r.displayName="Content";const Ar=P.forwardRef((r,n)=>{var o=r,{className:e}=o,t=N(o,["className"]);return ae.jsx("div",S({ref:n,className:ye(he("pb-space300 px-space300",e))},t))});Ar.displayName="Footer";const Oa=Rr("grid grid-cols-4 gap-x-3 mobile:grid-cols-4 mobile:gap-x-3 tablet:grid-cols-6 tablet:gap-x-4 desktop:grid-cols-12 desktop:gap-x-6 wide_desktop:grid-cols-12 wide_desktop:gap-x-6 w-full",{variants:{display:{grid:"grid",inlineGrid:"inline-grid"},gap:{gap0:"gap0",gap100:"gap-100",gap150:"gap-150",gap200:"gap-200",gap300:"gap-300",gap400:"gap-400",gap600:"gap-600",gap800:"gap-800",gap1000:"gap-1000",gap1200:"gap-1200",gap1600:"gap-1600",gap2000:"gap-2000"},gapX:{gap0:"gap-x-0",gap100:"gap-x-100",gap150:"gap-x-150",gap200:"gap-x-200",gap300:"gap-x-300",gap400:"gap-x-400",gap600:"gap-x-600",gap800:"gap-x-800",gap1000:"gap-x-1000",gap1200:"gap-x-1200",gap1600:"gap-x-1600",gap2000:"gap-x-2000"},gapY:{gap0:"gap-y-0",gap100:"gap-y-100",gap150:"gap-y-150",gap200:"gap-y-200",gap300:"gap-y-300",gap400:"gap-y-400",gap600:"gap-y-600",gap800:"gap-y-800",gap1000:"gap-y-1000",gap1200:"gap-y-1200",gap1600:"gap-y-1600",gap2000:"gap-y-2000"},justifyContent:{normal:"justify-normal",start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},justifyItems:{start:"justify-items-start",end:"justify-items-end",center:"justify-items-center",stretch:"justify-items-stretch"},alignContent:{normal:"content-normal",center:"content-center",start:"content-start",end:"content-end",between:"content-between",around:"content-around",evenly:"content-evenly",baseline:"content-baseline",stretch:"content-stretch"},alignItems:{start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},placeContent:{center:"place-content-center",start:"place-content-start",end:"place-content-end",between:"place-content-between",around:"place-content-around",evenly:"place-content-evenly",baseline:"place-content-baseline",stretch:"place-content-stretch"},placeItems:{start:"place-items-start",end:"place-items-end",center:"place-items-center",baseline:"place-items-baseline",stretch:"place-items-stretch"}}}),Mr=P.forwardRef((o,r)=>{var a=o,{className:e,children:t}=a,n=N(a,["className","children"]);return ae.jsx("div",J(S({className:ye(he(Oa({display:n==null?void 0:n.display,gap:n==null?void 0:n.gap,gapX:n==null?void 0:n.gapX,gapY:n==null?void 0:n.gapY,justifyContent:n==null?void 0:n.justifyContent,justifyItems:n==null?void 0:n.justifyItems,alignContent:n==null?void 0:n.alignContent,alignItems:n==null?void 0:n.alignItems,placeContent:n==null?void 0:n.placeContent,placeItems:n==null?void 0:n.placeItems,className:e}))),ref:r},n),{children:t}))});Mr.displayName="Grid";function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}function Q(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function _a(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function gn(...e){return t=>e.forEach(n=>_a(n,t))}function pe(...e){return d.useCallback(gn(...e),e)}function pt(e,t=[]){let n=[];function r(a,i){const c=d.createContext(i),s=n.length;n=[...n,i];function l(f){const w=f,{scope:b,children:m}=w,h=N(w,["scope","children"]),g=(b==null?void 0:b[e][s])||c,v=d.useMemo(()=>h,Object.values(h));return d.createElement(g.Provider,{value:v},m)}function p(f,b){const m=(b==null?void 0:b[e][s])||c,h=d.useContext(m);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return l.displayName=a+"Provider",[l,p]}const o=()=>{const a=n.map(i=>d.createContext(i));return function(c){const s=(c==null?void 0:c[e])||a;return d.useMemo(()=>({[`__scope${e}`]:J(S({},c),{[e]:s})}),[c,s])}};return o.scopeName=e,[r,Aa(o,...t)]}function Aa(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((c,{useScope:s,scopeName:l})=>{const f=s(a)[`__scope${l}`];return S(S({},c),f)},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Ee(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function kr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Ma({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,c=Ee(n),s=d.useCallback(l=>{if(a){const f=typeof l=="function"?l(e):l;f!==e&&c(f)}else o(l)},[a,e,o,c]);return[i,s]}function Ma({defaultProp:e,onChange:t}){const n=d.useState(e),[r]=n,o=d.useRef(r),a=Ee(t);return d.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}const ut=d.forwardRef((e,t)=>{const i=e,{children:n}=i,r=N(i,["children"]),o=d.Children.toArray(n),a=o.find(Da);if(a){const c=a.props.children,s=o.map(l=>l===a?d.Children.count(c)>1?d.Children.only(null):d.isValidElement(c)?c.props.children:null:l);return d.createElement(rn,q({},r,{ref:t}),d.isValidElement(c)?d.cloneElement(c,void 0,s):null)}return d.createElement(rn,q({},r,{ref:t}),n)});ut.displayName="Slot";const rn=d.forwardRef((e,t)=>{const o=e,{children:n}=o,r=N(o,["children"]);return d.isValidElement(n)?d.cloneElement(n,J(S({},Ia(r,n.props)),{ref:t?gn(t,n.ref):n.ref})):d.Children.count(n)>1?d.Children.only(null):null});rn.displayName="SlotClone";const ka=({children:e})=>d.createElement(d.Fragment,null,e);function Da(e){return d.isValidElement(e)&&e.type===ka}function Ia(e,t){const n=S({},t);for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...c)=>{a(...c),o(...c)}:o&&(n[r]=o):r==="style"?n[r]=S(S({},o),a):r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return S(S({},e),n)}const Fa=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ae=Fa.reduce((e,t)=>{const n=d.forwardRef((r,o)=>{const s=r,{asChild:a}=s,i=N(s,["asChild"]),c=a?ut:t;return d.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.createElement(c,q({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,J(S({},e),{[t]:n})},{});function Dr(e,t){e&&Dt.flushSync(()=>e.dispatchEvent(t))}function Ir(e){const t=e+"CollectionProvider",[n,r]=pt(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:h,children:g}=m,v=d.useRef(null),w=d.useRef(new Map).current;return d.createElement(o,{scope:h,itemMap:w,collectionRef:v},g)},c=e+"CollectionSlot",s=d.forwardRef((m,h)=>{const{scope:g,children:v}=m,w=a(c,g),y=pe(h,w.collectionRef);return d.createElement(ut,{ref:y},v)}),l=e+"CollectionItemSlot",p="data-radix-collection-item",f=d.forwardRef((m,h)=>{const E=m,{scope:g,children:v}=E,w=N(E,["scope","children"]),y=d.useRef(null),C=pe(h,y),$=a(l,g);return d.useEffect(()=>($.itemMap.set(y,S({ref:y},w)),()=>void $.itemMap.delete(y))),d.createElement(ut,{[p]:"",ref:C},v)});function b(m){const h=a(e+"CollectionConsumer",m);return d.useCallback(()=>{const v=h.collectionRef.current;if(!v)return[];const w=Array.from(v.querySelectorAll(`[${p}]`));return Array.from(h.itemMap.values()).sort(($,E)=>w.indexOf($.ref.current)-w.indexOf(E.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:f},b,r]}const Na=d.createContext(void 0);function Fr(e){const t=d.useContext(Na);return e||t||"ltr"}function La(e,t=globalThis==null?void 0:globalThis.document){const n=Ee(e);d.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const on="dismissableLayer.update",ja="dismissableLayer.pointerDownOutside",Wa="dismissableLayer.focusOutside";let Kn;const Ba=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),za=d.forwardRef((e,t)=>{var n;const T=e,{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:c,onDismiss:s}=T,l=N(T,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),p=d.useContext(Ba),[f,b]=d.useState(null),m=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=d.useState({}),g=pe(t,_=>b(_)),v=Array.from(p.layers),[w]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(w),C=f?v.indexOf(f):-1,$=p.layersWithOutsidePointerEventsDisabled.size>0,E=C>=y,k=Va(_=>{const B=_.target,K=[...p.branches].some(O=>O.contains(B));!E||K||(a==null||a(_),c==null||c(_),_.defaultPrevented||s==null||s())},m),D=Ua(_=>{const B=_.target;[...p.branches].some(O=>O.contains(B))||(i==null||i(_),c==null||c(_),_.defaultPrevented||s==null||s())},m);return La(_=>{C===p.layers.size-1&&(o==null||o(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},m),d.useEffect(()=>{if(f)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Kn=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(f)),p.layers.add(f),qn(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Kn)}},[f,m,r,p]),d.useEffect(()=>()=>{f&&(p.layers.delete(f),p.layersWithOutsidePointerEventsDisabled.delete(f),qn())},[f,p]),d.useEffect(()=>{const _=()=>h({});return document.addEventListener(on,_),()=>document.removeEventListener(on,_)},[]),d.createElement(Ae.div,q({},l,{ref:g,style:S({pointerEvents:$?E?"auto":"none":void 0},e.style),onFocusCapture:Q(e.onFocusCapture,D.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,k.onPointerDownCapture)}))});function Va(e,t=globalThis==null?void 0:globalThis.document){const n=Ee(e),r=d.useRef(!1),o=d.useRef(()=>{});return d.useEffect(()=>{const a=c=>{if(c.target&&!r.current){let l=function(){Nr(ja,n,s,{discrete:!0})};const s={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Ua(e,t=globalThis==null?void 0:globalThis.document){const n=Ee(e),r=d.useRef(!1);return d.useEffect(()=>{const o=a=>{a.target&&!r.current&&Nr(Wa,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qn(){const e=new CustomEvent(on);document.dispatchEvent(e)}function Nr(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Dr(o,a):o.dispatchEvent(a)}let Ht=0;function Ga(){d.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Xn()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Xn()),Ht++,()=>{Ht===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ht--}},[])}function Xn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Kt="focusScope.autoFocusOnMount",qt="focusScope.autoFocusOnUnmount",Zn={bubbles:!1,cancelable:!0},Ya=d.forwardRef((e,t)=>{const g=e,{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a}=g,i=N(g,["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"]),[c,s]=d.useState(null),l=Ee(o),p=Ee(a),f=d.useRef(null),b=pe(t,v=>s(v)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(r){let v=function($){if(m.paused||!c)return;const E=$.target;c.contains(E)?f.current=E:Fe(f.current,{select:!0})},w=function($){if(m.paused||!c)return;const E=$.relatedTarget;E!==null&&(c.contains(E)||Fe(f.current,{select:!0}))},y=function($){if(document.activeElement===document.body)for(const k of $)k.removedNodes.length>0&&Fe(c)};document.addEventListener("focusin",v),document.addEventListener("focusout",w);const C=new MutationObserver(y);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",w),C.disconnect()}}},[r,c,m.paused]),d.useEffect(()=>{if(c){Qn.add(m);const v=document.activeElement;if(!c.contains(v)){const y=new CustomEvent(Kt,Zn);c.addEventListener(Kt,l),c.dispatchEvent(y),y.defaultPrevented||(Ha(Ja(Lr(c)),{select:!0}),document.activeElement===v&&Fe(c))}return()=>{c.removeEventListener(Kt,l),setTimeout(()=>{const y=new CustomEvent(qt,Zn);c.addEventListener(qt,p),c.dispatchEvent(y),y.defaultPrevented||Fe(v!=null?v:document.body,{select:!0}),c.removeEventListener(qt,p),Qn.remove(m)},0)}}},[c,l,p,m]);const h=d.useCallback(v=>{if(!n&&!r||m.paused)return;const w=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(w&&y){const C=v.currentTarget,[$,E]=Ka(C);$&&E?!v.shiftKey&&y===E?(v.preventDefault(),n&&Fe($,{select:!0})):v.shiftKey&&y===$&&(v.preventDefault(),n&&Fe(E,{select:!0})):y===C&&v.preventDefault()}},[n,r,m.paused]);return d.createElement(Ae.div,q({tabIndex:-1},i,{ref:b,onKeyDown:h}))});function Ha(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Fe(r,{select:t}),document.activeElement!==n)return}function Ka(e){const t=Lr(e),n=Jn(t,e),r=Jn(t.reverse(),e);return[n,r]}function Lr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Jn(e,t){for(const n of e)if(!qa(n,{upTo:t}))return n}function qa(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Xa(e){return e instanceof HTMLInputElement&&"select"in e}function Fe(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Xa(e)&&t&&e.select()}}const Qn=Za();function Za(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=er(e,t),e.unshift(t)},remove(t){var n;e=er(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function er(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ja(e){return e.filter(t=>t.tagName!=="A")}const Qe=globalThis!=null&&globalThis.document?d.useLayoutEffect:()=>{},Qa=P.useId||(()=>{});let ei=0;function an(e){const[t,n]=P.useState(Qa());return Qe(()=>{e||n(r=>r!=null?r:String(ei++))},[e]),e||(t?`radix-${t}`:"")}const ti=["top","right","bottom","left"],Le=Math.min,le=Math.max,_t=Math.round,xt=Math.floor,je=e=>({x:e,y:e}),ni={left:"right",right:"left",bottom:"top",top:"bottom"},ri={start:"end",end:"start"};function cn(e,t,n){return le(e,Le(t,n))}function Te(e,t){return typeof e=="function"?e(t):e}function Oe(e){return e.split("-")[0]}function nt(e){return e.split("-")[1]}function vn(e){return e==="x"?"y":"x"}function bn(e){return e==="y"?"height":"width"}function rt(e){return["top","bottom"].includes(Oe(e))?"y":"x"}function hn(e){return vn(rt(e))}function oi(e,t,n){n===void 0&&(n=!1);const r=nt(e),o=hn(e),a=bn(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=At(i)),[i,At(i)]}function ai(e){const t=At(e);return[sn(e),t,sn(t)]}function sn(e){return e.replace(/start|end/g,t=>ri[t])}function ii(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function ci(e,t,n,r){const o=nt(e);let a=ii(Oe(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(sn)))),a}function At(e){return e.replace(/left|right|bottom|top/g,t=>ni[t])}function si(e){return S({top:0,right:0,bottom:0,left:0},e)}function jr(e){return typeof e!="number"?si(e):{top:e,right:e,bottom:e,left:e}}function Mt(e){return J(S({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function tr(e,t,n){let{reference:r,floating:o}=e;const a=rt(t),i=hn(t),c=bn(i),s=Oe(t),l=a==="y",p=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,b=r[c]/2-o[c]/2;let m;switch(s){case"top":m={x:p,y:r.y-o.height};break;case"bottom":m={x:p,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-o.width,y:f};break;default:m={x:r.x,y:r.y}}switch(nt(t)){case"start":m[i]-=b*(n&&l?-1:1);break;case"end":m[i]+=b*(n&&l?-1:1);break}return m}const li=(e,t,n)=>be(exports,null,function*(){const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,c=a.filter(Boolean),s=yield i.isRTL==null?void 0:i.isRTL(t);let l=yield i.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:f}=tr(l,r,s),b=r,m={},h=0;for(let g=0;g<c.length;g++){const{name:v,fn:w}=c[g],{x:y,y:C,data:$,reset:E}=yield w({x:p,y:f,initialPlacement:r,placement:b,strategy:o,middlewareData:m,rects:l,platform:i,elements:{reference:e,floating:t}});if(p=y!=null?y:p,f=C!=null?C:f,m=J(S({},m),{[v]:S(S({},m[v]),$)}),E&&h<=50){h++,typeof E=="object"&&(E.placement&&(b=E.placement),E.rects&&(l=E.rects===!0?yield i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:p,y:f}=tr(l,b,s)),g=-1;continue}}return{x:p,y:f,placement:b,strategy:o,middlewareData:m}});function dt(e,t){return be(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:c,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:b=!1,padding:m=0}=Te(t,e),h=jr(m),v=c[b?f==="floating"?"reference":"floating":f],w=Mt(yield a.getClippingRect({element:(n=yield a.isElement==null?void 0:a.isElement(v))==null||n?v:v.contextElement||(yield a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:l,rootBoundary:p,strategy:s})),y=f==="floating"?J(S({},i.floating),{x:r,y:o}):i.reference,C=yield a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating),$=(yield a.isElement==null?void 0:a.isElement(C))?(yield a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},E=Mt(a.convertOffsetParentRelativeRectToViewportRelativeRect?yield a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:C,strategy:s}):y);return{top:(w.top-E.top+h.top)/$.y,bottom:(E.bottom-w.bottom+h.bottom)/$.y,left:(w.left-E.left+h.left)/$.x,right:(E.right-w.right+h.right)/$.x}})}const ui=e=>({name:"arrow",options:e,fn(n){return be(this,null,function*(){const{x:r,y:o,placement:a,rects:i,platform:c,elements:s,middlewareData:l}=n,{element:p,padding:f=0}=Te(e,n)||{};if(p==null)return{};const b=jr(f),m={x:r,y:o},h=hn(a),g=bn(h),v=yield c.getDimensions(p),w=h==="y",y=w?"top":"left",C=w?"bottom":"right",$=w?"clientHeight":"clientWidth",E=i.reference[g]+i.reference[h]-m[h]-i.floating[g],k=m[h]-i.reference[h],D=yield c.getOffsetParent==null?void 0:c.getOffsetParent(p);let T=D?D[$]:0;(!T||!(yield c.isElement==null?void 0:c.isElement(D)))&&(T=s.floating[$]||i.floating[g]);const _=E/2-k/2,B=T/2-v[g]/2-1,K=Le(b[y],B),O=Le(b[C],B),G=K,F=T-v[g]-O,z=T/2-v[g]/2+_,V=cn(G,z,F),L=!l.arrow&&nt(a)!=null&&z!=V&&i.reference[g]/2-(z<G?K:O)-v[g]/2<0,Y=L?z<G?z-G:z-F:0;return{[h]:m[h]+Y,data:S({[h]:V,centerOffset:z-V-Y},L&&{alignmentOffset:Y}),reset:L}})}}),di=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return be(this,null,function*(){var r,o;const{placement:a,middlewareData:i,rects:c,initialPlacement:s,platform:l,elements:p}=n,G=Te(e,n),{mainAxis:f=!0,crossAxis:b=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0}=G,w=N(G,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const y=Oe(a),C=Oe(s)===s,$=yield l.isRTL==null?void 0:l.isRTL(p.floating),E=m||(C||!v?[At(s)]:ai(s));!m&&g!=="none"&&E.push(...ci(s,v,g,$));const k=[s,...E],D=yield dt(n,w),T=[];let _=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&T.push(D[y]),b){const F=oi(a,c,$);T.push(D[F[0]],D[F[1]])}if(_=[..._,{placement:a,overflows:T}],!T.every(F=>F<=0)){var B,K;const F=(((B=i.flip)==null?void 0:B.index)||0)+1,z=k[F];if(z)return{data:{index:F,overflows:_},reset:{placement:z}};let V=(K=_.filter(L=>L.overflows[0]<=0).sort((L,Y)=>L.overflows[1]-Y.overflows[1])[0])==null?void 0:K.placement;if(!V)switch(h){case"bestFit":{var O;const L=(O=_.map(Y=>[Y.placement,Y.overflows.filter(X=>X>0).reduce((X,A)=>X+A,0)]).sort((Y,X)=>Y[1]-X[1])[0])==null?void 0:O[0];L&&(V=L);break}case"initialPlacement":V=s;break}if(a!==V)return{reset:{placement:V}}}return{}})}}};function nr(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rr(e){return ti.some(t=>e[t]>=0)}const fi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,fn(n){return be(this,null,function*(){const{rects:r}=n,i=Te(e,n),{strategy:o="referenceHidden"}=i,a=N(i,["strategy"]);switch(o){case"referenceHidden":{const c=yield dt(n,J(S({},a),{elementContext:"reference"})),s=nr(c,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:rr(s)}}}case"escaped":{const c=yield dt(n,J(S({},a),{altBoundary:!0})),s=nr(c,r.floating);return{data:{escapedOffsets:s,escaped:rr(s)}}}default:return{}}})}}};function pi(e,t){return be(this,null,function*(){const{placement:n,platform:r,elements:o}=e,a=yield r.isRTL==null?void 0:r.isRTL(o.floating),i=Oe(n),c=nt(n),s=rt(n)==="y",l=["left","top"].includes(i)?-1:1,p=a&&s?-1:1,f=Te(t,e);let{mainAxis:b,crossAxis:m,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:S({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return c&&typeof h=="number"&&(m=c==="end"?h*-1:h),s?{x:m*p,y:b*l}:{x:b*l,y:m*p}})}const mi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return be(this,null,function*(){var r,o;const{x:a,y:i,placement:c,middlewareData:s}=n,l=yield pi(n,e);return c===((r=s.offset)==null?void 0:r.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:J(S({},l),{placement:c})}})}}},gi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return be(this,null,function*(){const{x:r,y:o,placement:a}=n,w=Te(e,n),{mainAxis:i=!0,crossAxis:c=!1,limiter:s={fn:y=>{let{x:C,y:$}=y;return{x:C,y:$}}}}=w,l=N(w,["mainAxis","crossAxis","limiter"]),p={x:r,y:o},f=yield dt(n,l),b=rt(Oe(a)),m=vn(b);let h=p[m],g=p[b];if(i){const y=m==="y"?"top":"left",C=m==="y"?"bottom":"right",$=h+f[y],E=h-f[C];h=cn($,h,E)}if(c){const y=b==="y"?"top":"left",C=b==="y"?"bottom":"right",$=g+f[y],E=g-f[C];g=cn($,g,E)}const v=s.fn(J(S({},n),{[m]:h,[b]:g}));return J(S({},v),{data:{x:v.x-r,y:v.y-o}})})}}},vi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:c=0,mainAxis:s=!0,crossAxis:l=!0}=Te(e,t),p={x:n,y:r},f=rt(o),b=vn(f);let m=p[b],h=p[f];const g=Te(c,t),v=typeof g=="number"?{mainAxis:g,crossAxis:0}:S({mainAxis:0,crossAxis:0},g);if(s){const C=b==="y"?"height":"width",$=a.reference[b]-a.floating[C]+v.mainAxis,E=a.reference[b]+a.reference[C]-v.mainAxis;m<$?m=$:m>E&&(m=E)}if(l){var w,y;const C=b==="y"?"width":"height",$=["top","left"].includes(Oe(o)),E=a.reference[f]-a.floating[C]+($&&((w=i.offset)==null?void 0:w[f])||0)+($?0:v.crossAxis),k=a.reference[f]+a.reference[C]+($?0:((y=i.offset)==null?void 0:y[f])||0)-($?v.crossAxis:0);h<E?h=E:h>k&&(h=k)}return{[b]:m,[f]:h}}}},bi=function(e){return e===void 0&&(e={}),{name:"size",options:e,fn(n){return be(this,null,function*(){const{placement:r,rects:o,platform:a,elements:i}=n,D=Te(e,n),{apply:c=()=>{}}=D,s=N(D,["apply"]),l=yield dt(n,s),p=Oe(r),f=nt(r),b=rt(r)==="y",{width:m,height:h}=o.floating;let g,v;p==="top"||p==="bottom"?(g=p,v=f===((yield a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(v=p,g=f==="end"?"top":"bottom");const w=h-l[g],y=m-l[v],C=!n.middlewareData.shift;let $=w,E=y;if(b){const T=m-l.left-l.right;E=f||C?Le(y,T):T}else{const T=h-l.top-l.bottom;$=f||C?Le(w,T):T}if(C&&!f){const T=le(l.left,0),_=le(l.right,0),B=le(l.top,0),K=le(l.bottom,0);b?E=m-2*(T!==0||_!==0?T+_:le(l.left,l.right)):$=h-2*(B!==0||K!==0?B+K:le(l.top,l.bottom))}yield c(J(S({},n),{availableWidth:E,availableHeight:$}));const k=yield a.getDimensions(i.floating);return m!==k.width||h!==k.height?{reset:{rects:!0}}:{}})}}};function We(e){return Wr(e)?(e.nodeName||"").toLowerCase():"#document"}function ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Me(e){var t;return(t=(Wr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Wr(e){return e instanceof Node||e instanceof ue(e).Node}function _e(e){return e instanceof Element||e instanceof ue(e).Element}function Ce(e){return e instanceof HTMLElement||e instanceof ue(e).HTMLElement}function or(e){return typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof ue(e).ShadowRoot}function mt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=me(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function hi(e){return["table","td","th"].includes(We(e))}function yn(e){const t=wn(),n=me(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yi(e){let t=et(e);for(;Ce(t)&&!It(t);){if(yn(t))return t;t=et(t)}return null}function wn(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function It(e){return["html","body","#document"].includes(We(e))}function me(e){return ue(e).getComputedStyle(e)}function Ft(e){return _e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function et(e){if(We(e)==="html")return e;const t=e.assignedSlot||e.parentNode||or(e)&&e.host||Me(e);return or(t)?t.host:t}function Br(e){const t=et(e);return It(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ce(t)&&mt(t)?t:Br(t)}function ft(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Br(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=ue(o);return a?t.concat(i,i.visualViewport||[],mt(o)?o:[],i.frameElement&&n?ft(i.frameElement):[]):t.concat(o,ft(o,[],n))}function zr(e){const t=me(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ce(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,c=_t(n)!==a||_t(r)!==i;return c&&(n=a,r=i),{width:n,height:r,$:c}}function xn(e){return _e(e)?e:e.contextElement}function Je(e){const t=xn(e);if(!Ce(t))return je(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=zr(t);let i=(a?_t(n.width):n.width)/r,c=(a?_t(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const wi=je(0);function Vr(e){const t=ue(e);return!wn()||!t.visualViewport?wi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xi(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ue(e)?!1:t}function Ve(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=xn(e);let i=je(1);t&&(r?_e(r)&&(i=Je(r)):i=Je(e));const c=xi(a,n,r)?Vr(a):je(0);let s=(o.left+c.x)/i.x,l=(o.top+c.y)/i.y,p=o.width/i.x,f=o.height/i.y;if(a){const b=ue(a),m=r&&_e(r)?ue(r):r;let h=b.frameElement;for(;h&&r&&m!==b;){const g=Je(h),v=h.getBoundingClientRect(),w=me(h),y=v.left+(h.clientLeft+parseFloat(w.paddingLeft))*g.x,C=v.top+(h.clientTop+parseFloat(w.paddingTop))*g.y;s*=g.x,l*=g.y,p*=g.x,f*=g.y,s+=y,l+=C,h=ue(h).frameElement}}return Mt({width:p,height:f,x:s,y:l})}function $i(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ce(n),a=Me(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},c=je(1);const s=je(0);if((o||!o&&r!=="fixed")&&((We(n)!=="body"||mt(a))&&(i=Ft(n)),Ce(n))){const l=Ve(n);c=Je(n),s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-i.scrollLeft*c.x+s.x,y:t.y*c.y-i.scrollTop*c.y+s.y}}function Ei(e){return Array.from(e.getClientRects())}function Ur(e){return Ve(Me(e)).left+Ft(e).scrollLeft}function Ci(e){const t=Me(e),n=Ft(e),r=e.ownerDocument.body,o=le(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=le(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ur(e);const c=-n.scrollTop;return me(r).direction==="rtl"&&(i+=le(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:c}}function Ri(e,t){const n=ue(e),r=Me(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,c=0,s=0;if(o){a=o.width,i=o.height;const l=wn();(!l||l&&t==="fixed")&&(c=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:c,y:s}}function Si(e,t){const n=Ve(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ce(e)?Je(e):je(1),i=e.clientWidth*a.x,c=e.clientHeight*a.y,s=o*a.x,l=r*a.y;return{width:i,height:c,x:s,y:l}}function ar(e,t,n){let r;if(t==="viewport")r=Ri(e,n);else if(t==="document")r=Ci(Me(e));else if(_e(t))r=Si(t,n);else{const o=Vr(e);r=J(S({},t),{x:t.x-o.x,y:t.y-o.y})}return Mt(r)}function Gr(e,t){const n=et(e);return n===t||!_e(n)||It(n)?!1:me(n).position==="fixed"||Gr(n,t)}function Pi(e,t){const n=t.get(e);if(n)return n;let r=ft(e,[],!1).filter(c=>_e(c)&&We(c)!=="body"),o=null;const a=me(e).position==="fixed";let i=a?et(e):e;for(;_e(i)&&!It(i);){const c=me(i),s=yn(i);!s&&c.position==="fixed"&&(o=null),(a?!s&&!o:!s&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||mt(i)&&!s&&Gr(e,i))?r=r.filter(p=>p!==i):o=c,i=et(i)}return t.set(e,r),r}function Ti(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Pi(t,this._c):[].concat(n),r],c=i[0],s=i.reduce((l,p)=>{const f=ar(t,p,o);return l.top=le(f.top,l.top),l.right=Le(f.right,l.right),l.bottom=Le(f.bottom,l.bottom),l.left=le(f.left,l.left),l},ar(t,c,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Oi(e){const{width:t,height:n}=zr(e);return{width:t,height:n}}function _i(e,t,n){const r=Ce(t),o=Me(t),a=n==="fixed",i=Ve(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const s=je(0);if(r||!r&&!a)if((We(t)!=="body"||mt(o))&&(c=Ft(t)),r){const l=Ve(t,!0,a,t);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=Ur(o));return{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function ir(e,t){return!Ce(e)||me(e).position==="fixed"?null:t?t(e):e.offsetParent}function Yr(e,t){const n=ue(e);if(!Ce(e))return n;let r=ir(e,t);for(;r&&hi(r)&&me(r).position==="static";)r=ir(r,t);return r&&(We(r)==="html"||We(r)==="body"&&me(r).position==="static"&&!yn(r))?n:r||yi(e)||n}const Ai=function(e){return be(this,null,function*(){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Yr,a=this.getDimensions;return{reference:_i(t,yield o(n),r),floating:S({x:0,y:0},yield a(n))}})};function Mi(e){return me(e).direction==="rtl"}const ki={convertOffsetParentRelativeRectToViewportRelativeRect:$i,getDocumentElement:Me,getClippingRect:Ti,getOffsetParent:Yr,getElementRects:Ai,getClientRects:Ei,getDimensions:Oi,getScale:Je,isElement:_e,isRTL:Mi};function Di(e,t){let n=null,r;const o=Me(e);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function i(c,s){c===void 0&&(c=!1),s===void 0&&(s=1),a();const{left:l,top:p,width:f,height:b}=e.getBoundingClientRect();if(c||t(),!f||!b)return;const m=xt(p),h=xt(o.clientWidth-(l+f)),g=xt(o.clientHeight-(p+b)),v=xt(l),y={rootMargin:-m+"px "+-h+"px "+-g+"px "+-v+"px",threshold:le(0,Le(1,s))||1};let C=!0;function $(E){const k=E[0].intersectionRatio;if(k!==s){if(!C)return i();k?i(!1,k):r=setTimeout(()=>{i(!1,1e-7)},100)}C=!1}try{n=new IntersectionObserver($,J(S({},y),{root:o.ownerDocument}))}catch(E){n=new IntersectionObserver($,y)}n.observe(e)}return i(!0),a}function Ii(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,l=xn(e),p=o||a?[...l?ft(l):[],...ft(t)]:[];p.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),a&&w.addEventListener("resize",n)});const f=l&&c?Di(l,n):null;let b=-1,m=null;i&&(m=new ResizeObserver(w=>{let[y]=w;y&&y.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{m&&m.observe(t)})),n()}),l&&!s&&m.observe(l),m.observe(t));let h,g=s?Ve(e):null;s&&v();function v(){const w=Ve(e);g&&(w.x!==g.x||w.y!==g.y||w.width!==g.width||w.height!==g.height)&&n(),g=w,h=requestAnimationFrame(v)}return n(),()=>{p.forEach(w=>{o&&w.removeEventListener("scroll",n),a&&w.removeEventListener("resize",n)}),f&&f(),m&&m.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const Fi=gi,Ni=di,Li=bi,ji=fi,cr=ui,Wi=vi,Bi=(e,t,n)=>{const r=new Map,o=S({platform:ki},n),a=J(S({},o.platform),{_c:r});return li(e,t,J(S({},o),{platform:a}))},zi=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?cr({element:r.current,padding:o}).fn(n):{}:r?cr({element:r,padding:o}).fn(n):{}}}};var Pt=typeof document!="undefined"?d.useLayoutEffect:d.useEffect;function kt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!kt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!kt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Hr(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function sr(e,t){const n=Hr(e);return Math.round(t*n)/n}function lr(e){const t=P.useRef(e);return Pt(()=>{t.current=e}),t}function Vi(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:c=!0,whileElementsMounted:s,open:l}=e,[p,f]=P.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,m]=P.useState(r);kt(b,r)||m(r);const[h,g]=P.useState(null),[v,w]=P.useState(null),y=P.useCallback(L=>{L!==k.current&&(k.current=L,g(L))},[]),C=P.useCallback(L=>{L!==D.current&&(D.current=L,w(L))},[]),$=a||h,E=i||v,k=P.useRef(null),D=P.useRef(null),T=P.useRef(p),_=s!=null,B=lr(s),K=lr(o),O=P.useCallback(()=>{if(!k.current||!D.current)return;const L={placement:t,strategy:n,middleware:b};K.current&&(L.platform=K.current),Bi(k.current,D.current,L).then(Y=>{const X=J(S({},Y),{isPositioned:!0});G.current&&!kt(T.current,X)&&(T.current=X,Ho.flushSync(()=>{f(X)}))})},[b,t,n,K]);Pt(()=>{l===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(L=>J(S({},L),{isPositioned:!1})))},[l]);const G=P.useRef(!1);Pt(()=>(G.current=!0,()=>{G.current=!1}),[]),Pt(()=>{if($&&(k.current=$),E&&(D.current=E),$&&E){if(B.current)return B.current($,E,O);O()}},[$,E,O,B,_]);const F=P.useMemo(()=>({reference:k,floating:D,setReference:y,setFloating:C}),[y,C]),z=P.useMemo(()=>({reference:$,floating:E}),[$,E]),V=P.useMemo(()=>{const L={position:n,left:0,top:0};if(!z.floating)return L;const Y=sr(z.floating,p.x),X=sr(z.floating,p.y);return c?S(J(S({},L),{transform:"translate("+Y+"px, "+X+"px)"}),Hr(z.floating)>=1.5&&{willChange:"transform"}):{position:n,left:Y,top:X}},[n,c,z.floating,p.x,p.y]);return P.useMemo(()=>J(S({},p),{update:O,refs:F,elements:z,floatingStyles:V}),[p,O,F,z,V])}function Ui(e){const[t,n]=d.useState(void 0);return Qe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,c;if("borderBoxSize"in a){const s=a.borderBoxSize,l=Array.isArray(s)?s[0]:s;i=l.inlineSize,c=l.blockSize}else i=e.offsetWidth,c=e.offsetHeight;n({width:i,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Kr="Popper",[qr,Xr]=pt(Kr),[Gi,Zr]=qr(Kr),Yi=e=>{const{__scopePopper:t,children:n}=e,[r,o]=d.useState(null);return d.createElement(Gi,{scope:t,anchor:r,onAnchorChange:o},n)},Hi="PopperAnchor",Ki=d.forwardRef((e,t)=>{const s=e,{__scopePopper:n,virtualRef:r}=s,o=N(s,["__scopePopper","virtualRef"]),a=Zr(Hi,n),i=d.useRef(null),c=pe(t,i);return d.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:d.createElement(Ae.div,q({},o,{ref:c}))}),Jr="PopperContent",[qi,Zs]=qr(Jr),Xi=d.forwardRef((e,t)=>{var n,r,o,a,i,c,s,l;const Be=e,{__scopePopper:p,side:f="bottom",sideOffset:b=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:v=!0,collisionBoundary:w=[],collisionPadding:y=0,sticky:C="partial",hideWhenDetached:$=!1,updatePositionStrategy:E="optimized",onPlaced:k}=Be,D=N(Be,["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"]),T=Zr(Jr,p),[_,B]=d.useState(null),K=pe(t,xe=>B(xe)),[O,G]=d.useState(null),F=Ui(O),z=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,V=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,L=f+(m!=="center"?"-"+m:""),Y=typeof y=="number"?y:S({top:0,right:0,bottom:0,left:0},y),X=Array.isArray(w)?w:[w],A=X.length>0,U={padding:Y,boundary:X.filter(Zi),altBoundary:A},{refs:te,floatingStyles:ce,placement:Re,isPositioned:we,middlewareData:se}=Vi({strategy:"fixed",placement:L,whileElementsMounted:(...xe)=>Ii(...xe,{animationFrame:E==="always"}),elements:{reference:T.anchor},middleware:[mi({mainAxis:b+V,alignmentAxis:h}),v&&Fi(S({mainAxis:!0,crossAxis:!1,limiter:C==="partial"?Wi():void 0},U)),v&&Ni(S({},U)),Li(J(S({},U),{apply:({elements:xe,rects:ot,availableWidth:ht,availableHeight:Ye})=>{const{width:Bt,height:zt}=ot.reference,ke=xe.floating.style;ke.setProperty("--radix-popper-available-width",`${ht}px`),ke.setProperty("--radix-popper-available-height",`${Ye}px`),ke.setProperty("--radix-popper-anchor-width",`${Bt}px`),ke.setProperty("--radix-popper-anchor-height",`${zt}px`)}})),O&&zi({element:O,padding:g}),Ji({arrowWidth:z,arrowHeight:V}),$&&ji(S({strategy:"referenceHidden"},U))]}),[ge,de]=Qr(Re),ve=Ee(k);Qe(()=>{we&&(ve==null||ve())},[we,ve]);const oe=(o=se.arrow)===null||o===void 0?void 0:o.x,Ge=(a=se.arrow)===null||a===void 0?void 0:a.y,bt=((i=se.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[jt,Wt]=d.useState();return Qe(()=>{_&&Wt(window.getComputedStyle(_).zIndex)},[_]),d.createElement("div",{ref:te.setFloating,"data-radix-popper-content-wrapper":"",style:J(S({},ce),{transform:we?ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:jt,"--radix-popper-transform-origin":[(c=se.transformOrigin)===null||c===void 0?void 0:c.x,(s=se.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")}),dir:e.dir},d.createElement(qi,{scope:p,placedSide:ge,onArrowChange:G,arrowX:oe,arrowY:Ge,shouldHideArrow:bt},d.createElement(Ae.div,q({"data-side":ge,"data-align":de},D,{ref:K,style:J(S({},D.style),{animation:we?void 0:"none",opacity:(l=se.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0})}))))});function Zi(e){return e!==null}const Ji=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:c,rects:s,middlewareData:l}=t,f=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,b=f?0:e.arrowWidth,m=f?0:e.arrowHeight,[h,g]=Qr(c),v={start:"0%",center:"50%",end:"100%"}[g],w=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+b/2,y=((a=(i=l.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+m/2;let C="",$="";return h==="bottom"?(C=f?v:`${w}px`,$=`${-m}px`):h==="top"?(C=f?v:`${w}px`,$=`${s.floating.height+m}px`):h==="right"?(C=`${-m}px`,$=f?v:`${y}px`):h==="left"&&(C=`${s.floating.width+m}px`,$=f?v:`${y}px`),{data:{x:C,y:$}}}});function Qr(e){const[t,n="center"]=e.split("-");return[t,n]}const Qi=Yi,ec=Ki,tc=Xi,nc=d.forwardRef((e,t)=>{var n;const a=e,{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body}=a,o=N(a,["container"]);return r?Dt.createPortal(d.createElement(Ae.div,q({},o,{ref:t})),r):null});function rc(e,t){return d.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const $n=e=>{const{present:t,children:n}=e,r=oc(t),o=typeof n=="function"?n({present:r.isPresent}):d.Children.only(n),a=pe(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.cloneElement(o,{ref:a}):null};$n.displayName="Presence";function oc(e){const[t,n]=d.useState(),r=d.useRef({}),o=d.useRef(e),a=d.useRef("none"),i=e?"mounted":"unmounted",[c,s]=rc(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const l=$t(r.current);a.current=c==="mounted"?l:"none"},[c]),Qe(()=>{const l=r.current,p=o.current;if(p!==e){const b=a.current,m=$t(l);e?s("MOUNT"):m==="none"||(l==null?void 0:l.display)==="none"?s("UNMOUNT"):s(p&&b!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),Qe(()=>{if(t){const l=f=>{const m=$t(r.current).includes(f.animationName);f.target===t&&m&&Dt.flushSync(()=>s("ANIMATION_END"))},p=f=>{f.target===t&&(a.current=$t(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:d.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function $t(e){return(e==null?void 0:e.animationName)||"none"}const Xt="rovingFocusGroup.onEntryFocus",ac={bubbles:!1,cancelable:!0},En="RovingFocusGroup",[ln,eo,ic]=Ir(En),[cc,to]=pt(En,[ic]),[sc,lc]=cc(En),uc=d.forwardRef((e,t)=>d.createElement(ln.Provider,{scope:e.__scopeRovingFocusGroup},d.createElement(ln.Slot,{scope:e.__scopeRovingFocusGroup},d.createElement(dc,q({},e,{ref:t}))))),dc=d.forwardRef((e,t)=>{const D=e,{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:s,onEntryFocus:l}=D,p=N(D,["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus"]),f=d.useRef(null),b=pe(t,f),m=Fr(a),[h=null,g]=kr({prop:i,defaultProp:c,onChange:s}),[v,w]=d.useState(!1),y=Ee(l),C=eo(n),$=d.useRef(!1),[E,k]=d.useState(0);return d.useEffect(()=>{const T=f.current;if(T)return T.addEventListener(Xt,y),()=>T.removeEventListener(Xt,y)},[y]),d.createElement(sc,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:h,onItemFocus:d.useCallback(T=>g(T),[g]),onItemShiftTab:d.useCallback(()=>w(!0),[]),onFocusableItemAdd:d.useCallback(()=>k(T=>T+1),[]),onFocusableItemRemove:d.useCallback(()=>k(T=>T-1),[])},d.createElement(Ae.div,q({tabIndex:v||E===0?-1:0,"data-orientation":r},p,{ref:b,style:S({outline:"none"},e.style),onMouseDown:Q(e.onMouseDown,()=>{$.current=!0}),onFocus:Q(e.onFocus,T=>{const _=!$.current;if(T.target===T.currentTarget&&_&&!v){const B=new CustomEvent(Xt,ac);if(T.currentTarget.dispatchEvent(B),!B.defaultPrevented){const K=C().filter(V=>V.focusable),O=K.find(V=>V.active),G=K.find(V=>V.id===h),z=[O,G,...K].filter(Boolean).map(V=>V.ref.current);no(z)}}$.current=!1}),onBlur:Q(e.onBlur,()=>w(!1))})))}),fc="RovingFocusGroupItem",pc=d.forwardRef((e,t)=>{const h=e,{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a}=h,i=N(h,["__scopeRovingFocusGroup","focusable","active","tabStopId"]),c=an(),s=a||c,l=lc(fc,n),p=l.currentTabStopId===s,f=eo(n),{onFocusableItemAdd:b,onFocusableItemRemove:m}=l;return d.useEffect(()=>{if(r)return b(),()=>m()},[r,b,m]),d.createElement(ln.ItemSlot,{scope:n,id:s,focusable:r,active:o},d.createElement(Ae.span,q({tabIndex:p?0:-1,"data-orientation":l.orientation},i,{ref:t,onMouseDown:Q(e.onMouseDown,g=>{r?l.onItemFocus(s):g.preventDefault()}),onFocus:Q(e.onFocus,()=>l.onItemFocus(s)),onKeyDown:Q(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){l.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=vc(g,l.orientation,l.dir);if(v!==void 0){g.preventDefault();let y=f().filter(C=>C.focusable).map(C=>C.ref.current);if(v==="last")y.reverse();else if(v==="prev"||v==="next"){v==="prev"&&y.reverse();const C=y.indexOf(g.currentTarget);y=l.loop?bc(y,C+1):y.slice(C+1)}setTimeout(()=>no(y))}})})))}),mc={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function gc(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function vc(e,t,n){const r=gc(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return mc[r]}function no(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const hc=uc,yc=pc;var wc=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},qe=new WeakMap,Et=new WeakMap,Ct={},Zt=0,ro=function(e){return e&&(e.host||ro(e.parentNode))},xc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ro(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$c=function(e,t,n,r){var o=xc(t,Array.isArray(e)?e:[e]);Ct[n]||(Ct[n]=new WeakMap);var a=Ct[n],i=[],c=new Set,s=new Set(o),l=function(f){!f||c.has(f)||(c.add(f),l(f.parentNode))};o.forEach(l);var p=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(b){if(c.has(b))p(b);else{var m=b.getAttribute(r),h=m!==null&&m!=="false",g=(qe.get(b)||0)+1,v=(a.get(b)||0)+1;qe.set(b,g),a.set(b,v),i.push(b),g===1&&h&&Et.set(b,!0),v===1&&b.setAttribute(n,"true"),h||b.setAttribute(r,"true")}})};return p(t),c.clear(),Zt++,function(){i.forEach(function(f){var b=qe.get(f)-1,m=a.get(f)-1;qe.set(f,b),a.set(f,m),b||(Et.has(f)||f.removeAttribute(r),Et.delete(f)),m||f.removeAttribute(n)}),Zt--,Zt||(qe=new WeakMap,qe=new WeakMap,Et=new WeakMap,Ct={})}},Ec=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||wc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),$c(r,o,n,"aria-hidden")):function(){return null}},$e=function(){return $e=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},$e.apply(this,arguments)};function oo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Cc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Tt="right-scroll-bar-position",Ot="width-before-scroll-bar",Rc="with-scroll-bars-hidden",Sc="--removed-body-scroll-bar-size";function Jt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Pc(e,t){var n=d.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var ur=new WeakMap;function Tc(e,t){var n=Pc(t||null,function(r){return e.forEach(function(o){return Jt(o,r)})});return P.useLayoutEffect(function(){var r=ur.get(n);if(r){var o=new Set(r),a=new Set(e),i=n.current;o.forEach(function(c){a.has(c)||Jt(c,null)}),a.forEach(function(c){o.has(c)||Jt(c,i)})}ur.set(n,e)},[e]),n}function Oc(e){return e}function _c(e,t){t===void 0&&(t=Oc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var i=t(a,r);return n.push(i),function(){n=n.filter(function(c){return c!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(c){return a(c)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var c=n;n=[],c.forEach(a),i=n}var s=function(){var p=i;i=[],p.forEach(a)},l=function(){return Promise.resolve().then(s)};l(),n={push:function(p){i.push(p),l()},filter:function(p){return i=i.filter(p),n}}}};return o}function Ac(e){e===void 0&&(e={});var t=_c(null);return t.options=$e({async:!0,ssr:!1},e),t}var ao=function(e){var t=e.sideCar,n=oo(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return P.createElement(r,$e({},n))};ao.isSideCarExport=!0;function Mc(e,t){return e.useMedium(t),ao}var io=Ac(),Qt=function(){},Nt=P.forwardRef(function(e,t){var n=P.useRef(null),r=P.useState({onScrollCapture:Qt,onWheelCapture:Qt,onTouchMoveCapture:Qt}),o=r[0],a=r[1],i=e.forwardProps,c=e.children,s=e.className,l=e.removeScrollBar,p=e.enabled,f=e.shards,b=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,v=e.as,w=v===void 0?"div":v,y=oo(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=b,$=Tc([n,t]),E=$e($e({},y),o);return P.createElement(P.Fragment,null,p&&P.createElement(C,{sideCar:io,removeScrollBar:l,shards:f,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),i?P.cloneElement(P.Children.only(c),$e($e({},E),{ref:$})):P.createElement(w,$e({},E,{className:s,ref:$}),c))});Nt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Nt.classNames={fullWidth:Ot,zeroRight:Tt};var kc=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function Dc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kc();return t&&e.setAttribute("nonce",t),e}function Ic(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Fc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Nc=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Dc())&&(Ic(t,n),Fc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Lc=function(){var e=Nc();return function(t,n){P.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},co=function(){var e=Lc(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},jc={left:0,top:0,right:0,gap:0},en=function(e){return parseInt(e||"",10)||0},Wc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[en(n),en(r),en(o)]},Bc=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return jc;var t=Wc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},zc=co(),Vc=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
28
|
-
.`.concat(Rc,` {
|
|
29
|
-
overflow: hidden `).concat(r,`;
|
|
30
|
-
padding-right: `).concat(c,"px ").concat(r,`;
|
|
31
|
-
}
|
|
32
|
-
body {
|
|
33
|
-
overflow: hidden `).concat(r,`;
|
|
34
|
-
overscroll-behavior: contain;
|
|
35
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
36
|
-
padding-left: `.concat(o,`px;
|
|
37
|
-
padding-top: `).concat(a,`px;
|
|
38
|
-
padding-right: `).concat(i,`px;
|
|
39
|
-
margin-left:0;
|
|
40
|
-
margin-top:0;
|
|
41
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
42
|
-
`),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.`).concat(Tt,` {
|
|
46
|
-
right: `).concat(c,"px ").concat(r,`;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.`).concat(Ot,` {
|
|
50
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.`).concat(Tt," .").concat(Tt,` {
|
|
54
|
-
right: 0 `).concat(r,`;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.`).concat(Ot," .").concat(Ot,` {
|
|
58
|
-
margin-right: 0 `).concat(r,`;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
body {
|
|
62
|
-
`).concat(Sc,": ").concat(c,`px;
|
|
63
|
-
}
|
|
64
|
-
`)},Uc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=P.useMemo(function(){return Bc(o)},[o]);return P.createElement(zc,{styles:Vc(a,!t,o,n?"":"!important")})},un=!1;if(typeof window!="undefined")try{var Rt=Object.defineProperty({},"passive",{get:function(){return un=!0,!0}});window.addEventListener("test",Rt,Rt),window.removeEventListener("test",Rt,Rt)}catch(e){un=!1}var Xe=un?{passive:!1}:!1,Gc=function(e){return e.tagName==="TEXTAREA"},so=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Gc(e)&&n[t]==="visible")},Yc=function(e){return so(e,"overflowY")},Hc=function(e){return so(e,"overflowX")},dr=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=lo(e,n);if(r){var o=uo(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Kc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},lo=function(e,t){return e==="v"?Yc(t):Hc(t)},uo=function(e,t){return e==="v"?Kc(t):qc(t)},Xc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Zc=function(e,t,n,r,o){var a=Xc(e,window.getComputedStyle(t).direction),i=a*r,c=n.target,s=t.contains(c),l=!1,p=i>0,f=0,b=0;do{var m=uo(e,c),h=m[0],g=m[1],v=m[2],w=g-v-a*h;(h||w)&&lo(e,c)&&(f+=w,b+=h),c=c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return(p&&(o&&f===0||!o&&i>f)||!p&&(o&&b===0||!o&&-i>b))&&(l=!0),l},St=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},fr=function(e){return[e.deltaX,e.deltaY]},pr=function(e){return e&&"current"in e?e.current:e},Jc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Qc=function(e){return`
|
|
65
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
66
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
67
|
-
`)},es=0,Ze=[];function ts(e){var t=P.useRef([]),n=P.useRef([0,0]),r=P.useRef(),o=P.useState(es++)[0],a=P.useState(function(){return co()})[0],i=P.useRef(e);P.useEffect(function(){i.current=e},[e]),P.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=Cc([e.lockRef.current],(e.shards||[]).map(pr),!0).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=P.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var w=St(g),y=n.current,C="deltaX"in g?g.deltaX:y[0]-w[0],$="deltaY"in g?g.deltaY:y[1]-w[1],E,k=g.target,D=Math.abs(C)>Math.abs($)?"h":"v";if("touches"in g&&D==="h"&&k.type==="range")return!1;var T=dr(D,k);if(!T)return!0;if(T?E=D:(E=D==="v"?"h":"v",T=dr(D,k)),!T)return!1;if(!r.current&&"changedTouches"in g&&(C||$)&&(r.current=E),!E)return!0;var _=r.current||E;return Zc(_,v,g,_==="h"?C:$,!0)},[]),s=P.useCallback(function(g){var v=g;if(!(!Ze.length||Ze[Ze.length-1]!==a)){var w="deltaY"in v?fr(v):St(v),y=t.current.filter(function(E){return E.name===v.type&&E.target===v.target&&Jc(E.delta,w)})[0];if(y&&y.should){v.cancelable&&v.preventDefault();return}if(!y){var C=(i.current.shards||[]).map(pr).filter(Boolean).filter(function(E){return E.contains(v.target)}),$=C.length>0?c(v,C[0]):!i.current.noIsolation;$&&v.cancelable&&v.preventDefault()}}},[]),l=P.useCallback(function(g,v,w,y){var C={name:g,delta:v,target:w,should:y};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function($){return $!==C})},1)},[]),p=P.useCallback(function(g){n.current=St(g),r.current=void 0},[]),f=P.useCallback(function(g){l(g.type,fr(g),g.target,c(g,e.lockRef.current))},[]),b=P.useCallback(function(g){l(g.type,St(g),g.target,c(g,e.lockRef.current))},[]);P.useEffect(function(){return Ze.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:b}),document.addEventListener("wheel",s,Xe),document.addEventListener("touchmove",s,Xe),document.addEventListener("touchstart",p,Xe),function(){Ze=Ze.filter(function(g){return g!==a}),document.removeEventListener("wheel",s,Xe),document.removeEventListener("touchmove",s,Xe),document.removeEventListener("touchstart",p,Xe)}},[]);var m=e.removeScrollBar,h=e.inert;return P.createElement(P.Fragment,null,h?P.createElement(a,{styles:Qc(o)}):null,m?P.createElement(Uc,{gapMode:"margin"}):null)}const ns=Mc(io,ts);var fo=P.forwardRef(function(e,t){return P.createElement(Nt,$e({},e,{ref:t,sideCar:ns}))});fo.classNames=Nt.classNames;const rs=fo,os=["Enter"," "],as=["ArrowDown","PageUp","Home"],po=["ArrowUp","PageDown","End"],is=[...as,...po],Lt="Menu",[dn,cs,ss]=Ir(Lt),[Ue,mo]=pt(Lt,[ss,Xr,to]),Cn=Xr(),go=to(),[ls,gt]=Ue(Lt),[us,Rn]=Ue(Lt),ds=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=e,c=Cn(t),[s,l]=d.useState(null),p=d.useRef(!1),f=Ee(a),b=Fr(o);return d.useEffect(()=>{const m=()=>{p.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>p.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),d.createElement(Qi,c,d.createElement(ls,{scope:t,open:n,onOpenChange:f,content:s,onContentChange:l},d.createElement(us,{scope:t,onClose:d.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:b,modal:i},r)))},fs=d.forwardRef((e,t)=>{const a=e,{__scopeMenu:n}=a,r=N(a,["__scopeMenu"]),o=Cn(n);return d.createElement(ec,q({},o,r,{ref:t}))}),vo="MenuPortal",[ps,ms]=Ue(vo,{forceMount:void 0}),gs=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,a=gt(vo,t);return d.createElement(ps,{scope:t,forceMount:n},d.createElement($n,{present:n||a.open},d.createElement(nc,{asChild:!0,container:o},r)))},Ne="MenuContent",[vs,bo]=Ue(Ne),bs=d.forwardRef((e,t)=>{const n=ms(Ne,e.__scopeMenu),c=e,{forceMount:r=n.forceMount}=c,o=N(c,["forceMount"]),a=gt(Ne,e.__scopeMenu),i=Rn(Ne,e.__scopeMenu);return d.createElement(dn.Provider,{scope:e.__scopeMenu},d.createElement($n,{present:r||a.open},d.createElement(dn.Slot,{scope:e.__scopeMenu},i.modal?d.createElement(hs,q({},o,{ref:t})):d.createElement(ys,q({},o,{ref:t})))))}),hs=d.forwardRef((e,t)=>{const n=gt(Ne,e.__scopeMenu),r=d.useRef(null),o=pe(t,r);return d.useEffect(()=>{const a=r.current;if(a)return Ec(a)},[]),d.createElement(ho,q({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Q(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),ys=d.forwardRef((e,t)=>{const n=gt(Ne,e.__scopeMenu);return d.createElement(ho,q({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),ho=d.forwardRef((e,t)=>{const X=e,{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEntryFocus:s,onEscapeKeyDown:l,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:b,onDismiss:m,disableOutsideScroll:h}=X,g=N(X,["__scopeMenu","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll"]),v=gt(Ne,n),w=Rn(Ne,n),y=Cn(n),C=go(n),$=cs(n),[E,k]=d.useState(null),D=d.useRef(null),T=pe(t,D,v.onContentChange),_=d.useRef(0),B=d.useRef(""),K=d.useRef(0),O=d.useRef(null),G=d.useRef("right"),F=d.useRef(0),z=h?rs:d.Fragment,V=h?{as:ut,allowPinchZoom:!0}:void 0,L=A=>{var U,te;const ce=B.current+A,Re=$().filter(oe=>!oe.disabled),we=document.activeElement,se=(U=Re.find(oe=>oe.ref.current===we))===null||U===void 0?void 0:U.textValue,ge=Re.map(oe=>oe.textValue),de=Ts(ge,ce,se),ve=(te=Re.find(oe=>oe.textValue===de))===null||te===void 0?void 0:te.ref.current;(function oe(Ge){B.current=Ge,window.clearTimeout(_.current),Ge!==""&&(_.current=window.setTimeout(()=>oe(""),1e3))})(ce),ve&&setTimeout(()=>ve.focus())};d.useEffect(()=>()=>window.clearTimeout(_.current),[]),Ga();const Y=d.useCallback(A=>{var U,te;return G.current===((U=O.current)===null||U===void 0?void 0:U.side)&&_s(A,(te=O.current)===null||te===void 0?void 0:te.area)},[]);return d.createElement(vs,{scope:n,searchRef:B,onItemEnter:d.useCallback(A=>{Y(A)&&A.preventDefault()},[Y]),onItemLeave:d.useCallback(A=>{var U;Y(A)||((U=D.current)===null||U===void 0||U.focus(),k(null))},[Y]),onTriggerLeave:d.useCallback(A=>{Y(A)&&A.preventDefault()},[Y]),pointerGraceTimerRef:K,onPointerGraceIntentChange:d.useCallback(A=>{O.current=A},[])},d.createElement(z,V,d.createElement(Ya,{asChild:!0,trapped:o,onMountAutoFocus:Q(a,A=>{var U;A.preventDefault(),(U=D.current)===null||U===void 0||U.focus()}),onUnmountAutoFocus:i},d.createElement(za,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:b,onDismiss:m},d.createElement(hc,q({asChild:!0},C,{dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:k,onEntryFocus:Q(s,A=>{w.isUsingKeyboardRef.current||A.preventDefault()})}),d.createElement(tc,q({role:"menu","aria-orientation":"vertical","data-state":Rs(v.open),"data-radix-menu-content":"",dir:w.dir},y,g,{ref:T,style:S({outline:"none"},g.style),onKeyDown:Q(g.onKeyDown,A=>{const te=A.target.closest("[data-radix-menu-content]")===A.currentTarget,ce=A.ctrlKey||A.altKey||A.metaKey,Re=A.key.length===1;te&&(A.key==="Tab"&&A.preventDefault(),!ce&&Re&&L(A.key));const we=D.current;if(A.target!==we||!is.includes(A.key))return;A.preventDefault();const ge=$().filter(de=>!de.disabled).map(de=>de.ref.current);po.includes(A.key)&&ge.reverse(),Ss(ge)}),onBlur:Q(e.onBlur,A=>{A.currentTarget.contains(A.target)||(window.clearTimeout(_.current),B.current="")}),onPointerMove:Q(e.onPointerMove,pn(A=>{const U=A.target,te=F.current!==A.clientX;if(A.currentTarget.contains(U)&&te){const ce=A.clientX>F.current?"right":"left";G.current=ce,F.current=A.clientX}}))})))))))}),fn="MenuItem",mr="menu.itemSelect",ws=d.forwardRef((e,t)=>{const f=e,{disabled:n=!1,onSelect:r}=f,o=N(f,["disabled","onSelect"]),a=d.useRef(null),i=Rn(fn,e.__scopeMenu),c=bo(fn,e.__scopeMenu),s=pe(t,a),l=d.useRef(!1),p=()=>{const b=a.current;if(!n&&b){const m=new CustomEvent(mr,{bubbles:!0,cancelable:!0});b.addEventListener(mr,h=>r==null?void 0:r(h),{once:!0}),Dr(b,m),m.defaultPrevented?l.current=!1:i.onClose()}};return d.createElement(xs,q({},o,{ref:s,disabled:n,onClick:Q(e.onClick,p),onPointerDown:b=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,b),l.current=!0},onPointerUp:Q(e.onPointerUp,b=>{var m;l.current||(m=b.currentTarget)===null||m===void 0||m.click()}),onKeyDown:Q(e.onKeyDown,b=>{const m=c.searchRef.current!=="";n||m&&b.key===" "||os.includes(b.key)&&(b.currentTarget.click(),b.preventDefault())})}))}),xs=d.forwardRef((e,t)=>{const h=e,{__scopeMenu:n,disabled:r=!1,textValue:o}=h,a=N(h,["__scopeMenu","disabled","textValue"]),i=bo(fn,n),c=go(n),s=d.useRef(null),l=pe(t,s),[p,f]=d.useState(!1),[b,m]=d.useState("");return d.useEffect(()=>{const g=s.current;if(g){var v;m(((v=g.textContent)!==null&&v!==void 0?v:"").trim())}},[a.children]),d.createElement(dn.ItemSlot,{scope:n,disabled:r,textValue:o!=null?o:b},d.createElement(yc,q({asChild:!0},c,{focusable:!r}),d.createElement(Ae.div,q({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:l,onPointerMove:Q(e.onPointerMove,pn(g=>{r?i.onItemLeave(g):(i.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus())})),onPointerLeave:Q(e.onPointerLeave,pn(g=>i.onItemLeave(g))),onFocus:Q(e.onFocus,()=>f(!0)),onBlur:Q(e.onBlur,()=>f(!1))}))))}),$s="MenuRadioGroup";Ue($s,{value:void 0,onValueChange:()=>{}});const Es="MenuItemIndicator";Ue(Es,{checked:!1});const Cs="MenuSub";Ue(Cs);function Rs(e){return e?"open":"closed"}function Ss(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Ps(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ts(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let i=Ps(e,Math.max(a,0));o.length===1&&(i=i.filter(l=>l!==n));const s=i.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}function Os(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const c=t[a].x,s=t[a].y,l=t[i].x,p=t[i].y;s>r!=p>r&&n<(l-c)*(r-s)/(p-s)+c&&(o=!o)}return o}function _s(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Os(n,t)}function pn(e){return t=>t.pointerType==="mouse"?e(t):void 0}const As=ds,Ms=fs,ks=gs,Ds=bs,Is=ws,yo="DropdownMenu",[Fs,Js]=pt(yo,[mo]),vt=mo(),[Ns,wo]=Fs(yo),Ls=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:c=!0}=e,s=vt(t),l=d.useRef(null),[p=!1,f]=kr({prop:o,defaultProp:a,onChange:i});return d.createElement(Ns,{scope:t,triggerId:an(),triggerRef:l,contentId:an(),open:p,onOpenChange:f,onOpenToggle:d.useCallback(()=>f(b=>!b),[f]),modal:c},d.createElement(As,q({},s,{open:p,onOpenChange:f,dir:r,modal:c}),n))},js="DropdownMenuTrigger",Ws=d.forwardRef((e,t)=>{const c=e,{__scopeDropdownMenu:n,disabled:r=!1}=c,o=N(c,["__scopeDropdownMenu","disabled"]),a=wo(js,n),i=vt(n);return d.createElement(Ms,q({asChild:!0},i),d.createElement(Ae.button,q({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:gn(t,a.triggerRef),onPointerDown:Q(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:Q(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),Bs=e=>{const o=e,{__scopeDropdownMenu:t}=o,n=N(o,["__scopeDropdownMenu"]),r=vt(t);return d.createElement(ks,q({},r,n))},zs="DropdownMenuContent",Vs=d.forwardRef((e,t)=>{const c=e,{__scopeDropdownMenu:n}=c,r=N(c,["__scopeDropdownMenu"]),o=wo(zs,n),a=vt(n),i=d.useRef(!1);return d.createElement(Ds,q({id:o.contentId,"aria-labelledby":o.triggerId},a,r,{ref:t,onCloseAutoFocus:Q(e.onCloseAutoFocus,s=>{var l;i.current||(l=o.triggerRef.current)===null||l===void 0||l.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:Q(e.onInteractOutside,s=>{const l=s.detail.originalEvent,p=l.button===0&&l.ctrlKey===!0,f=l.button===2||p;(!o.modal||f)&&(i.current=!0)}),style:J(S({},e.style),{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"})}))}),Us=d.forwardRef((e,t)=>{const a=e,{__scopeDropdownMenu:n}=a,r=N(a,["__scopeDropdownMenu"]),o=vt(n);return d.createElement(Is,q({},o,r,{ref:t}))}),Gs=Ls,Ys=Ws,Hs=Bs,xo=Vs,$o=Us;function Eo(...e){return ye(he(e))}const Ks=Gs,qs=Ys,Co=d.forwardRef((o,r)=>{var a=o,{className:e,sideOffset:t=4}=a,n=N(a,["className","sideOffset"]);return ae.jsx(Hs,{children:ae.jsx(xo,S({ref:r,sideOffset:t,className:Eo("z-50 min-w-[8rem] overflow-hidden rounded-sm border border-Fills-terciary bg-Text-textSecondaryPlusDark text-Text-primary shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},n))})});Co.displayName=xo.displayName;const Ro=d.forwardRef((o,r)=>{var a=o,{className:e,inset:t}=a,n=N(a,["className","inset"]);return ae.jsx($o,S({ref:r,className:Eo("relative flex cursor-default transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 items-center bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary rounded-sm hover:bg-Fills-quintiary active:text-Text-primary active:bg-Fills-quadrutery focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]",t&&"pl-8",e)},n))});Ro.displayName=$o.displayName;exports.Button=$r;exports.Card=Sr;exports.CardContent=_r;exports.CardDescription=Or;exports.CardFooter=Ar;exports.CardHeader=Pr;exports.CardTitle=Tr;exports.DropdownMenu=Ks;exports.DropdownMenuContent=Co;exports.DropdownMenuItem=Ro;exports.DropdownMenuTrigger=qs;exports.Grid=Mr;exports.Input=Er;
|
|
27
|
+
*/var nr;function nt(){if(nr)return ue;nr=1;var r=pe,n=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(u,g,b){var f,y={},E=null,O=null;b!==void 0&&(E=""+b),g.key!==void 0&&(E=""+g.key),g.ref!==void 0&&(O=g.ref);for(f in g)o.call(g,f)&&!l.hasOwnProperty(f)&&(y[f]=g[f]);if(u&&u.defaultProps)for(f in g=u.defaultProps,g)y[f]===void 0&&(y[f]=g[f]);return{$$typeof:n,type:u,key:E,ref:O,props:y,_owner:s.current}}return ue.Fragment=t,ue.jsx=c,ue.jsxs=c,ue}process.env.NODE_ENV==="production"?Ie.exports=nt():Ie.exports=tt();var F=Ie.exports;function ur(r){var n,t,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var s=r.length;for(n=0;n<s;n++)r[n]&&(t=ur(r[n]))&&(o&&(o+=" "),o+=t)}else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function W(){for(var r,n,t=0,o="",s=arguments.length;t<s;t++)(r=arguments[t])&&(n=ur(r))&&(o&&(o+=" "),o+=n);return o}const Ne="-";function ot(r){const n=it(r),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=r;function s(c){const u=c.split(Ne);return u[0]===""&&u.length!==1&&u.shift(),dr(u,n)||at(c)}function l(c,u){const g=t[c]||[];return u&&o[c]?[...g,...o[c]]:g}return{getClassGroupId:s,getConflictingClassGroupIds:l}}function dr(r,n){var c;if(r.length===0)return n.classGroupId;const t=r[0],o=n.nextPart.get(t),s=o?dr(r.slice(1),o):void 0;if(s)return s;if(n.validators.length===0)return;const l=r.join(Ne);return(c=n.validators.find(({validator:u})=>u(l)))==null?void 0:c.classGroupId}const or=/^\[(.+)\]$/;function at(r){if(or.test(r)){const n=or.exec(r)[1],t=n==null?void 0:n.substring(0,n.indexOf(":"));if(t)return"arbitrary.."+t}}function it(r){const{theme:n,prefix:t}=r,o={nextPart:new Map,validators:[]};return lt(Object.entries(r.classGroups),t).forEach(([l,c])=>{Me(c,o,l,n)}),o}function Me(r,n,t,o){r.forEach(s=>{if(typeof s=="string"){const l=s===""?n:ar(n,s);l.classGroupId=t;return}if(typeof s=="function"){if(st(s)){Me(s(o),n,t,o);return}n.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([l,c])=>{Me(c,ar(n,l),t,o)})})}function ar(r,n){let t=r;return n.split(Ne).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function st(r){return r.isThemeGetter}function lt(r,n){return n?r.map(([t,o])=>{const s=o.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,u])=>[n+c,u])):l);return[t,s]}):r}function ct(r){if(r<1)return{get:()=>{},set:()=>{}};let n=0,t=new Map,o=new Map;function s(l,c){t.set(l,c),n++,n>r&&(n=0,o=t,t=new Map)}return{get(l){let c=t.get(l);if(c!==void 0)return c;if((c=o.get(l))!==void 0)return s(l,c),c},set(l,c){t.has(l)?t.set(l,c):s(l,c)}}}const fr="!";function ut(r){const n=r.separator,t=n.length===1,o=n[0],s=n.length;return function(c){const u=[];let g=0,b=0,f;for(let k=0;k<c.length;k++){let j=c[k];if(g===0){if(j===o&&(t||c.slice(k,k+s)===n)){u.push(c.slice(b,k)),b=k+s;continue}if(j==="/"){f=k;continue}}j==="["?g++:j==="]"&&g--}const y=u.length===0?c:c.substring(b),E=y.startsWith(fr),O=E?y.substring(1):y,I=f&&f>b?f-b:void 0;return{modifiers:u,hasImportantModifier:E,baseClassName:O,maybePostfixModifierPosition:I}}}function dt(r){if(r.length<=1)return r;const n=[];let t=[];return r.forEach(o=>{o[0]==="["?(n.push(...t.sort(),o),t=[]):t.push(o)}),n.push(...t.sort()),n}function ft(r){return P({cache:ct(r.cacheSize),splitModifiers:ut(r)},ot(r))}const pt=/\s+/;function gt(r,n){const{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:s}=n,l=new Set;return r.trim().split(pt).map(c=>{const{modifiers:u,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}=t(c);let y=o(f?b.substring(0,f):b),E=!!f;if(!y){if(!f)return{isTailwindClass:!1,originalClassName:c};if(y=o(b),!y)return{isTailwindClass:!1,originalClassName:c};E=!1}const O=dt(u).join(":");return{isTailwindClass:!0,modifierId:g?O+fr:O,classGroupId:y,originalClassName:c,hasPostfixModifier:E}}).reverse().filter(c=>{if(!c.isTailwindClass)return!0;const{modifierId:u,classGroupId:g,hasPostfixModifier:b}=c,f=u+g;return l.has(f)?!1:(l.add(f),s(g,b).forEach(y=>l.add(u+y)),!0)}).reverse().map(c=>c.originalClassName).join(" ")}function bt(){let r=0,n,t,o="";for(;r<arguments.length;)(n=arguments[r++])&&(t=pr(n))&&(o&&(o+=" "),o+=t);return o}function pr(r){if(typeof r=="string")return r;let n,t="";for(let o=0;o<r.length;o++)r[o]&&(n=pr(r[o]))&&(t&&(t+=" "),t+=n);return t}function mt(r,...n){let t,o,s,l=c;function c(g){const b=n.reduce((f,y)=>y(f),r());return t=ft(b),o=t.cache.get,s=t.cache.set,l=u,u(g)}function u(g){const b=o(g);if(b)return b;const f=gt(g,t);return s(g,f),f}return function(){return l(bt.apply(null,arguments))}}function R(r){const n=t=>t[r]||[];return n.isThemeGetter=!0,n}const gr=/^\[(?:([a-z-]+):)?(.+)\]$/i,vt=/^\d+\/\d+$/,yt=new Set(["px","full","screen"]),ht=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xt=/\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$/,wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function G(r){return X(r)||yt.has(r)||vt.test(r)}function q(r){return te(r,"length",Ot)}function X(r){return!!r&&!Number.isNaN(Number(r))}function ke(r){return te(r,"number",X)}function de(r){return!!r&&Number.isInteger(Number(r))}function Et(r){return r.endsWith("%")&&X(r.slice(0,-1))}function p(r){return gr.test(r)}function U(r){return ht.test(r)}const kt=new Set(["length","size","percentage"]);function Tt(r){return te(r,kt,br)}function _t(r){return te(r,"position",br)}const jt=new Set(["image","url"]);function St(r){return te(r,jt,Ft)}function Pt(r){return te(r,"",At)}function fe(){return!0}function te(r,n,t){const o=gr.exec(r);return o?o[1]?typeof n=="string"?o[1]===n:n.has(o[1]):t(o[2]):!1}function Ot(r){return xt.test(r)&&!wt.test(r)}function br(){return!1}function At(r){return Ct.test(r)}function Ft(r){return Rt.test(r)}function It(){const r=R("colors"),n=R("spacing"),t=R("blur"),o=R("brightness"),s=R("borderColor"),l=R("borderRadius"),c=R("borderSpacing"),u=R("borderWidth"),g=R("contrast"),b=R("grayscale"),f=R("hueRotate"),y=R("invert"),E=R("gap"),O=R("gradientColorStops"),I=R("gradientColorStopPositions"),k=R("inset"),j=R("margin"),S=R("opacity"),C=R("padding"),ge=R("saturate"),ne=R("scale"),be=R("sepia"),me=R("skew"),ve=R("space"),ye=R("translate"),Z=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",p,n],x=()=>[p,n],M=()=>["",G,q],N=()=>["auto",X,p],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Q=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",p],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[X,ke],H=()=>[X,p];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[G,q],blur:["none","",U,p],brightness:Y(),borderColor:[r],borderRadius:["none","","full",U,p],borderSpacing:x(),borderWidth:M(),contrast:Y(),grayscale:B(),hueRotate:H(),invert:B(),gap:x(),gradientColorStops:[r],gradientColorStopPositions:[Et,q],inset:ae(),margin:ae(),opacity:Y(),padding:x(),saturate:Y(),scale:Y(),sepia:B(),skew:H(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...L(),p]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",de,p]}],basis:[{basis:ae()}],"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:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",de,p]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",de,p]},p]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[de,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",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],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":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,n]}],"min-w":[{"min-w":[p,n,"min","max","fit"]}],"max-w":[{"max-w":[p,n,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[p,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,n,"auto","min","max","fit"]}],"font-size":[{text:["base",U,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ke]}],"font-family":[{font:[fe]}],"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",X,ke]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,q]}],"underline-offset":[{"underline-offset":["auto",G,p]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"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":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),_t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Tt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},St]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:J()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[G,p]}],"outline-w":[{outline:[G,q]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[G,q]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",U,Pt]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[be]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"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:H()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ne]}],"scale-x":[{"scale-x":[ne]}],"scale-y":[{"scale-y":[ne]}],rotate:[{rotate:[de,p]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",r]}],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:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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:[r,"none"]}],"stroke-w":[{stroke:[G,q,ke]}],stroke:[{stroke:[r,"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 V=mt(It),ir={primary:"bg-Background-accentEggplant-100 text-Text-textPrimaryDark rounded-sm hover:text-Text-textPrimaryDark hover:bg-Background-accentEggplant-highlight active:bg-Background-accentEggplant-darkened focus:bg-Background-accentEggplant-100 focus:border focus:border-white disabled:bg-Background-accentEggplant-20",secondary:"text-Text-secondary rounded-sm border border-Fills-secondary hover:text-black hover:border hover:border-Fills-black active:text-black active:border active:border-Fills-black focus:bg-Background-accentEggplant-5 focus:text-accentEggplant-100 focus:border focus:border-Background-accentEggplant-100 disabled:border disabled:border-Fills-quadrutery disabled:text-Text-tertiary",tertiary:"text-Text-secondary rounded-sm hover:bg-Fills-quintiary active:bg-Fills-quintiary focus:bg-Fills-quadrutery disabled:text-Fills-quadrutery disabled:bg-Fills-quintiary",quaternary:"text-accentEggplant-100 rounded-sm hover:bg-Background-accentEggplant-5 active:bg-Background-accentEggplant-5 focus:bg-Background-accentEggplant-100 focus:text-Text-textPrimaryDark disabled:text-Background-accentEggplant-20",small:"py-space075 px-space400",large:"py-space150 px-space400"},mr=pe.forwardRef((c,l)=>{var u=c,{color:r="primary",size:n="small",disabled:t=!1,className:o}=u,s=D(u,["color","size","disabled","className"]);return F.jsx("button",P({ref:l,disabled:t,className:V(W(ir[r],ir[n],o))},s))});mr.displayName="Button";const sr={primary:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-Fills-terciary rounded-sm hover:border-Fills-secondary active:text-Text-primary active:border-Text-primary focus:border-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]",success:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-Fills-terciary rounded-sm hover:border-Fills-secondary active:text-Text-primary active:border-Text-primary focus:border-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]",error:"bg-Text-textSecondaryPlusDark placeholder-Fills-quadrutery text-Text-primary border border-System-red rounded-sm active:text-Text-primary focus:outline-none disabled:bg-Fills-quintiary px-[12px] pt-[8px] pb-[7px]"},vr=pe.forwardRef((g,u)=>{var b=g,{color:r="primary",disabled:n=!1,textarea:t=!1,label:o,caption:s,className:l}=b,c=D(b,["color","disabled","textarea","label","caption","className"]);return t?F.jsx("textarea",P({disabled:n,className:V(W(sr[r],l))},c)):F.jsxs("div",{className:"flex flex-col items-start w-full",children:[o&&F.jsx("label",{className:"text-mediumSubHead font-normal",children:o}),F.jsx("input",P({ref:u,disabled:n,className:V(W(sr[r],l))},c)),s&&F.jsx("caption",{className:"text-mediumCaption1 font-normal",children:s})]})});vr.displayName="Input";function yr(r){var n,t,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(n=0;n<r.length;n++)r[n]&&(t=yr(r[n]))&&(o&&(o+=" "),o+=t);else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function Mt(){for(var r,n,t=0,o="";t<arguments.length;)(r=arguments[t++])&&(n=yr(r))&&(o&&(o+=" "),o+=n);return o}const lr=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,cr=Mt,hr=(r,n)=>t=>{var o;if((n==null?void 0:n.variants)==null)return cr(r,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:s,defaultVariants:l}=n,c=Object.keys(s).map(b=>{const f=t==null?void 0:t[b],y=l==null?void 0:l[b];if(f===null)return null;const E=lr(f)||lr(y);return s[b][E]}),u=t&&Object.entries(t).reduce((b,f)=>{let[y,E]=f;return E===void 0||(b[y]=E),b},{}),g=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((b,f)=>{let I=f,{class:y,className:E}=I,O=D(I,["class","className"]);return Object.entries(O).every(k=>{let[j,S]=k;return Array.isArray(S)?S.includes(P(P({},l),u)[j]):P(P({},l),u)[j]===S})?[...b,y,E]:b},[]);return cr(r,c,g,t==null?void 0:t.class,t==null?void 0:t.className)},Nt=hr("border text-text-primary",{variants:{cardType:{default:"shadow-none",shadowCard:"shadow-card"}},defaultVariants:{cardType:"default"}}),xr=K.forwardRef((s,o)=>{var l=s,{className:r,cardType:n}=l,t=D(l,["className","cardType"]);return F.jsx("div",P({ref:o,className:V(W(Nt({cardType:n,className:r}),"rounded-[24px_24px_0px_24px]"),r)},t))});xr.displayName="Card";const wr=K.forwardRef((o,t)=>{var s=o,{className:r}=s,n=D(s,["className"]);return F.jsx("div",P({ref:t,className:V(W("flex flex-col pt-space300 pb-space200 px-space300",r))},n))});wr.displayName="CardHeader";const Cr=K.forwardRef((o,t)=>{var s=o,{className:r}=s,n=D(s,["className"]);return F.jsx("div",P({ref:t,className:V(W("font-medium",r))},n))});Cr.displayName="Title";const Rr=K.forwardRef((o,t)=>{var s=o,{className:r}=s,n=D(s,["className"]);return F.jsx("div",P({ref:t,className:V(W("font-regular",r))},n))});Rr.displayName="Description";const Er=K.forwardRef((o,t)=>{var s=o,{className:r}=s,n=D(s,["className"]);return F.jsx("div",P({ref:t,className:V(W("pb-space300 px-space300 ",r))},n))});Er.displayName="Content";const kr=K.forwardRef((o,t)=>{var s=o,{className:r}=s,n=D(s,["className"]);return F.jsx("div",P({ref:t,className:V(W("pb-space300 px-space300",r))},n))});kr.displayName="Footer";const zt=hr("grid grid-cols-4 gap-x-3 mobile:grid-cols-4 mobile:gap-x-3 tablet:grid-cols-6 tablet:gap-x-4 desktop:grid-cols-12 desktop:gap-x-6 wide_desktop:grid-cols-12 wide_desktop:gap-x-6 w-full",{variants:{display:{grid:"grid",inlineGrid:"inline-grid"},gap:{gap0:"gap0",gap100:"gap-100",gap150:"gap-150",gap200:"gap-200",gap300:"gap-300",gap400:"gap-400",gap600:"gap-600",gap800:"gap-800",gap1000:"gap-1000",gap1200:"gap-1200",gap1600:"gap-1600",gap2000:"gap-2000"},gapX:{gap0:"gap-x-0",gap100:"gap-x-100",gap150:"gap-x-150",gap200:"gap-x-200",gap300:"gap-x-300",gap400:"gap-x-400",gap600:"gap-x-600",gap800:"gap-x-800",gap1000:"gap-x-1000",gap1200:"gap-x-1200",gap1600:"gap-x-1600",gap2000:"gap-x-2000"},gapY:{gap0:"gap-y-0",gap100:"gap-y-100",gap150:"gap-y-150",gap200:"gap-y-200",gap300:"gap-y-300",gap400:"gap-y-400",gap600:"gap-y-600",gap800:"gap-y-800",gap1000:"gap-y-1000",gap1200:"gap-y-1200",gap1600:"gap-y-1600",gap2000:"gap-y-2000"},justifyContent:{normal:"justify-normal",start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},justifyItems:{start:"justify-items-start",end:"justify-items-end",center:"justify-items-center",stretch:"justify-items-stretch"},alignContent:{normal:"content-normal",center:"content-center",start:"content-start",end:"content-end",between:"content-between",around:"content-around",evenly:"content-evenly",baseline:"content-baseline",stretch:"content-stretch"},alignItems:{start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},placeContent:{center:"place-content-center",start:"place-content-start",end:"place-content-end",between:"place-content-between",around:"place-content-around",evenly:"place-content-evenly",baseline:"place-content-baseline",stretch:"place-content-stretch"},placeItems:{start:"place-items-start",end:"place-items-end",center:"place-items-center",baseline:"place-items-baseline",stretch:"place-items-stretch"}}}),Tr=K.forwardRef((s,o)=>{var l=s,{className:r,children:n}=l,t=D(l,["className","children"]);return F.jsx("div",rr(P({className:V(W(zt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:r}))),ref:o},t),{children:n}))});Tr.displayName="Grid";exports.Button=mr;exports.Card=xr;exports.CardContent=Er;exports.CardDescription=Rr;exports.CardFooter=kr;exports.CardHeader=wr;exports.CardTitle=Cr;exports.Grid=Tr;exports.Input=vr;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
2
|
import { default as React_2 } from 'react';
|
|
4
3
|
import * as React_3 from 'react';
|
|
5
4
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -35,19 +34,6 @@ declare const cardVariants: (props?: ({
|
|
|
35
34
|
cardType?: "default" | "shadowCard" | null | undefined;
|
|
36
35
|
} & ClassProp) | undefined) => string;
|
|
37
36
|
|
|
38
|
-
export declare const DropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
39
|
-
|
|
40
|
-
export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
|
|
42
|
-
export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
43
|
-
inset?: boolean | undefined;
|
|
44
|
-
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
45
|
-
|
|
46
|
-
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
47
|
-
|
|
48
|
-
export declare interface DropdownProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
49
|
-
}
|
|
50
|
-
|
|
51
37
|
export declare const Grid: React_3.ForwardRefExoticComponent<GridProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
52
38
|
|
|
53
39
|
export declare interface GridProps extends React_3.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|