@qodo/design-system 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ae=require("react");function Ye(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const Ue=Ye(Ae),qe={primary:{50:"#eff6ff",100:"#dbeafe",500:"#3b82f6",600:"#2563eb",900:"#1e3a8a"},secondary:{50:"#f8fafc",100:"#f1f5f9",500:"#64748b",600:"#475569",900:"#0f172a"},success:{50:"#f0fdf4",500:"#22c55e",600:"#16a34a"},error:{50:"#fef2f2",500:"#ef4444",600:"#dc2626"}},Be={xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},De={sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem"},Je={fontFamily:{sans:["Inter","system-ui","sans-serif"],mono:["JetBrains Mono","monospace"]},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem"}};var le={exports:{}},te={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react"),vn=require("react-dom");function hn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=hn(I),bn=hn(vn),js={primary:{50:"#eff6ff",100:"#dbeafe",500:"#3b82f6",600:"#2563eb",900:"#1e3a8a"},secondary:{50:"#f8fafc",100:"#f1f5f9",500:"#64748b",600:"#475569",900:"#0f172a"},success:{50:"#f0fdf4",500:"#22c55e",600:"#16a34a"},error:{50:"#fef2f2",500:"#ef4444",600:"#dc2626"}},Ls={xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},Fs={sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem"},$s={fontFamily:{sans:["Inter","system-ui","sans-serif"],mono:["JetBrains Mono","monospace"]},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem"}};var nt={exports:{}},Ue={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
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 xe;function Xe(){if(xe)return te;xe=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(o,i,l){var c=null;if(l!==void 0&&(c=""+l),i.key!==void 0&&(c=""+i.key),"key"in i){l={};for(var b in i)b!=="key"&&(l[b]=i[b])}else l=i;return i=l.ref,{$$typeof:e,type:o,key:c,ref:i!==void 0?i:null,props:l}}return te.Fragment=n,te.jsx=r,te.jsxs=r,te}var oe={};/**
9
+ */var Ir;function zs(){if(Ir)return Ue;Ir=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,s){var a=null;if(s!==void 0&&(a=""+s),o.key!==void 0&&(a=""+o.key),"key"in o){s={};for(var i in o)i!=="key"&&(s[i]=o[i])}else s=o;return o=s.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:s}}return Ue.Fragment=t,Ue.jsx=r,Ue.jsxs=r,Ue}var Ye={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,10 +14,89 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ve;function He(){return ve||(ve=1,process.env.NODE_ENV!=="production"&&function(){function e(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===se?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case E:return"Fragment";case N:return"Profiler";case _:return"StrictMode";case F:return"Suspense";case I:return"SuspenseList";case z:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case A:return"Portal";case Y:return(t.displayName||"Context")+".Provider";case J:return(t._context.displayName||"Context")+".Consumer";case L:var m=t.render;return t=t.displayName,t||(t=m.displayName||m.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case U:return m=t.displayName||null,m!==null?m:e(t.type)||"Memo";case u:m=t._payload,t=t._init;try{return e(t(m))}catch{}}return null}function n(t){return""+t}function r(t){try{n(t);var m=!1}catch{m=!0}if(m){m=console;var x=m.error,g=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return x.call(m,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",g),n(t)}}function o(t){if(t===E)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===u)return"<...>";try{var m=e(t);return m?"<"+m+">":"<...>"}catch{return"<...>"}}function i(){var t=X.A;return t===null?null:t.getOwner()}function l(){return Error("react-stack-top-frame")}function c(t){if(q.call(t,"key")){var m=Object.getOwnPropertyDescriptor(t,"key").get;if(m&&m.isReactWarning)return!1}return t.key!==void 0}function b(t,m){function x(){G||(G=!0,console.error("%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://react.dev/link/special-props)",m))}x.isReactWarning=!0,Object.defineProperty(t,"key",{get:x,configurable:!0})}function f(){var t=e(this.type);return C[t]||(C[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),t=this.props.ref,t!==void 0?t:null}function h(t,m,x,g,y,P,H,w){return x=P.ref,t={$$typeof:j,type:t,key:m,props:P,_owner:y},(x!==void 0?x:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:f}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:H}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function v(t,m,x,g,y,P,H,w){var k=m.children;if(k!==void 0)if(g)if(ae(k)){for(g=0;g<k.length;g++)S(k[g]);Object.freeze&&Object.freeze(k)}else console.error("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 S(k);if(q.call(m,"key")){k=e(t);var O=Object.keys(m).filter(function(re){return re!=="key"});g=0<O.length?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}",ee[k+g]||(O=0<O.length?"{"+O.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Dr;function Ws(){return Dr||(Dr=1,process.env.NODE_ENV!=="production"&&function(){function e(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===L?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case p:return"Fragment";case x:return"Profiler";case h:return"StrictMode";case A:return"Suspense";case O:return"SuspenseList";case M:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case b:return"Portal";case w:return(C.displayName||"Context")+".Provider";case y:return(C._context.displayName||"Context")+".Consumer";case k:var N=C.render;return C=C.displayName,C||(C=N.displayName||N.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case P:return N=C.displayName||null,N!==null?N:e(C.type)||"Memo";case E:N=C._payload,C=C._init;try{return e(C(N))}catch{}}return null}function t(C){return""+C}function r(C){try{t(C);var N=!1}catch{N=!0}if(N){N=console;var z=N.error,j=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return z.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",j),t(C)}}function n(C){if(C===p)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===E)return"<...>";try{var N=e(C);return N?"<"+N+">":"<...>"}catch{return"<...>"}}function o(){var C=B.A;return C===null?null:C.getOwner()}function s(){return Error("react-stack-top-frame")}function a(C){if(U.call(C,"key")){var N=Object.getOwnPropertyDescriptor(C,"key").get;if(N&&N.isReactWarning)return!1}return C.key!==void 0}function i(C,N){function z(){Y||(Y=!0,console.error("%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://react.dev/link/special-props)",N))}z.isReactWarning=!0,Object.defineProperty(C,"key",{get:z,configurable:!0})}function c(){var C=e(this.type);return _[C]||(_[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function u(C,N,z,j,K,ee,ye,W){return z=ee.ref,C={$$typeof:g,type:C,key:N,props:ee,_owner:K},(z!==void 0?z:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:c}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ye}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function d(C,N,z,j,K,ee,ye,W){var Z=N.children;if(Z!==void 0)if(j)if(H(Z)){for(j=0;j<Z.length;j++)f(Z[j]);Object.freeze&&Object.freeze(Z)}else console.error("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 f(Z);if(U.call(N,"key")){Z=e(C);var te=Object.keys(N).filter(function(Ae){return Ae!=="key"});j=0<te.length?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}",q[Z+j]||(te=0<te.length?"{"+te.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,g,k,O,k),ee[k+g]=!0)}if(k=null,x!==void 0&&(r(x),k=""+x),c(m)&&(r(m.key),k=""+m.key),"key"in m){x={};for(var $ in m)$!=="key"&&(x[$]=m[$])}else x=m;return k&&b(x,typeof t=="function"?t.displayName||t.name||"Unknown":t),h(t,k,P,y,i(),x,H,w)}function S(t){typeof t=="object"&&t!==null&&t.$$typeof===j&&t._store&&(t._store.validated=1)}var T=Ae,j=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),J=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),se=Symbol.for("react.client.reference"),X=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=Object.prototype.hasOwnProperty,ae=Array.isArray,B=console.createTask?console.createTask:function(){return null};T={"react-stack-bottom-frame":function(t){return t()}};var G,C={},M=T["react-stack-bottom-frame"].bind(T,l)(),d=B(o(l)),ee={};oe.Fragment=E,oe.jsx=function(t,m,x,g,y){var P=1e4>X.recentlyCreatedOwnerStacks++;return v(t,m,x,!1,g,y,P?Error("react-stack-top-frame"):M,P?B(o(t)):d)},oe.jsxs=function(t,m,x,g,y){var P=1e4>X.recentlyCreatedOwnerStacks++;return v(t,m,x,!0,g,y,P?Error("react-stack-top-frame"):M,P?B(o(t)):d)}}()),oe}var ye;function Ze(){return ye||(ye=1,process.env.NODE_ENV==="production"?le.exports=Xe():le.exports=He()),le.exports}var Pe=Ze();function _e(e){var n,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(r=_e(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ce(){for(var e,n,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(n=_e(e))&&(o&&(o+=" "),o+=n);return o}const we=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ke=Ce,ze=(e,n)=>r=>{var o;if(n?.variants==null)return ke(e,r?.class,r?.className);const{variants:i,defaultVariants:l}=n,c=Object.keys(i).map(h=>{const v=r?.[h],S=l?.[h];if(v===null)return null;const T=we(v)||we(S);return i[h][T]}),b=r&&Object.entries(r).reduce((h,v)=>{let[S,T]=v;return T===void 0||(h[S]=T),h},{}),f=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((h,v)=>{let{class:S,className:T,...j}=v;return Object.entries(j).every(A=>{let[E,_]=A;return Array.isArray(_)?_.includes({...l,...b}[E]):{...l,...b}[E]===_})?[...h,S,T]:h},[]);return ke(e,c,f,r?.class,r?.className)},ge="-",Qe=e=>{const n=er(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{const b=c.split(ge);return b[0]===""&&b.length!==1&&b.shift(),Oe(b,n)||Ke(c)},getConflictingClassGroupIds:(c,b)=>{const f=r[c]||[];return b&&o[c]?[...f,...o[c]]:f}}},Oe=(e,n)=>{if(e.length===0)return n.classGroupId;const r=e[0],o=n.nextPart.get(r),i=o?Oe(e.slice(1),o):void 0;if(i)return i;if(n.validators.length===0)return;const l=e.join(ge);return n.validators.find(({validator:c})=>c(l))?.classGroupId},Re=/^\[(.+)\]$/,Ke=e=>{if(Re.test(e)){const n=Re.exec(e)[1],r=n?.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}},er=e=>{const{theme:n,classGroups:r}=e,o={nextPart:new Map,validators:[]};for(const i in r)fe(r[i],o,i,n);return o},fe=(e,n,r,o)=>{e.forEach(i=>{if(typeof i=="string"){const l=i===""?n:Ee(n,i);l.classGroupId=r;return}if(typeof i=="function"){if(rr(i)){fe(i(o),n,r,o);return}n.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,c])=>{fe(c,Ee(n,l),r,o)})})},Ee=(e,n)=>{let r=e;return n.split(ge).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},rr=e=>e.isThemeGetter,tr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,o=new Map;const i=(l,c)=>{r.set(l,c),n++,n>e&&(n=0,o=r,r=new Map)};return{get(l){let c=r.get(l);if(c!==void 0)return c;if((c=o.get(l))!==void 0)return i(l,c),c},set(l,c){r.has(l)?r.set(l,c):i(l,c)}}},pe="!",be=":",or=be.length,nr=e=>{const{prefix:n,experimentalParseClassName:r}=e;let o=i=>{const l=[];let c=0,b=0,f=0,h;for(let A=0;A<i.length;A++){let E=i[A];if(c===0&&b===0){if(E===be){l.push(i.slice(f,A)),f=A+or;continue}if(E==="/"){h=A;continue}}E==="["?c++:E==="]"?c--:E==="("?b++:E===")"&&b--}const v=l.length===0?i:i.substring(f),S=sr(v),T=S!==v,j=h&&h>f?h-f:void 0;return{modifiers:l,hasImportantModifier:T,baseClassName:S,maybePostfixModifierPosition:j}};if(n){const i=n+be,l=o;o=c=>c.startsWith(i)?l(c.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(r){const i=o;o=l=>r({className:l,parseClassName:i})}return o},sr=e=>e.endsWith(pe)?e.substring(0,e.length-1):e.startsWith(pe)?e.substring(1):e,ar=e=>{const n=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const i=[];let l=[];return o.forEach(c=>{c[0]==="["||n[c]?(i.push(...l.sort(),c),l=[]):l.push(c)}),i.push(...l.sort()),i}},ir=e=>({cache:tr(e.cacheSize),parseClassName:nr(e),sortModifiers:ar(e),...Qe(e)}),lr=/\s+/,cr=(e,n)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:l}=n,c=[],b=e.trim().split(lr);let f="";for(let h=b.length-1;h>=0;h-=1){const v=b[h],{isExternal:S,modifiers:T,hasImportantModifier:j,baseClassName:A,maybePostfixModifierPosition:E}=r(v);if(S){f=v+(f.length>0?" "+f:f);continue}let _=!!E,N=o(_?A.substring(0,E):A);if(!N){if(!_){f=v+(f.length>0?" "+f:f);continue}if(N=o(A),!N){f=v+(f.length>0?" "+f:f);continue}_=!1}const J=l(T).join(":"),Y=j?J+pe:J,L=Y+N;if(c.includes(L))continue;c.push(L);const F=i(N,_);for(let I=0;I<F.length;++I){const U=F[I];c.push(Y+U)}f=v+(f.length>0?" "+f:f)}return f};function dr(){let e=0,n,r,o="";for(;e<arguments.length;)(n=arguments[e++])&&(r=je(n))&&(o&&(o+=" "),o+=r);return o}const je=e=>{if(typeof e=="string")return e;let n,r="";for(let o=0;o<e.length;o++)e[o]&&(n=je(e[o]))&&(r&&(r+=" "),r+=n);return r};function ur(e,...n){let r,o,i,l=c;function c(f){const h=n.reduce((v,S)=>S(v),e());return r=ir(h),o=r.cache.get,i=r.cache.set,l=b,b(f)}function b(f){const h=o(f);if(h)return h;const v=cr(f,r);return i(f,v),v}return function(){return l(dr.apply(null,arguments))}}const R=e=>{const n=r=>r[e]||[];return n.isThemeGetter=!0,n},Me=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ne=/^\((?:(\w[\w-]*):)?(.+)\)$/i,mr=/^\d+\/\d+$/,fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\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$/,br=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,gr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z=e=>mr.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),ue=e=>e.endsWith("%")&&p(e.slice(0,-1)),V=e=>fr.test(e),xr=()=>!0,vr=e=>pr.test(e)&&!br.test(e),Ie=()=>!1,yr=e=>gr.test(e),wr=e=>hr.test(e),kr=e=>!s(e)&&!a(e),Rr=e=>Q(e,Le,Ie),s=e=>Me.test(e),D=e=>Q(e,Fe,vr),me=e=>Q(e,Pr,p),Se=e=>Q(e,Ge,Ie),Er=e=>Q(e,Ve,wr),ce=e=>Q(e,$e,yr),a=e=>Ne.test(e),ne=e=>K(e,Fe),Sr=e=>K(e,_r),Te=e=>K(e,Ge),Tr=e=>K(e,Le),Ar=e=>K(e,Ve),de=e=>K(e,$e,!0),Q=(e,n,r)=>{const o=Me.exec(e);return o?o[1]?n(o[1]):r(o[2]):!1},K=(e,n,r=!1)=>{const o=Ne.exec(e);return o?o[1]?n(o[1]):r:!1},Ge=e=>e==="position"||e==="percentage",Ve=e=>e==="image"||e==="url",Le=e=>e==="length"||e==="size"||e==="bg-size",Fe=e=>e==="length",Pr=e=>e==="number",_r=e=>e==="family-name",$e=e=>e==="shadow",Cr=()=>{const e=R("color"),n=R("font"),r=R("text"),o=R("font-weight"),i=R("tracking"),l=R("leading"),c=R("breakpoint"),b=R("container"),f=R("spacing"),h=R("radius"),v=R("shadow"),S=R("inset-shadow"),T=R("text-shadow"),j=R("drop-shadow"),A=R("blur"),E=R("perspective"),_=R("aspect"),N=R("ease"),J=R("animate"),Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...L(),a,s],I=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto","contain","none"],u=()=>[a,s,f],z=()=>[Z,"full","auto",...u()],se=()=>[W,"none","subgrid",a,s],X=()=>["auto",{span:["full",W,a,s]},W,a,s],q=()=>[W,"auto",a,s],ae=()=>["auto","min","max","fr",a,s],B=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],C=()=>["auto",...u()],M=()=>[Z,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...u()],d=()=>[e,a,s],ee=()=>[...L(),Te,Se,{position:[a,s]}],t=()=>["no-repeat",{repeat:["","x","y","space","round"]}],m=()=>["auto","cover","contain",Tr,Rr,{size:[a,s]}],x=()=>[ue,ne,D],g=()=>["","none","full",h,a,s],y=()=>["",p,ne,D],P=()=>["solid","dashed","dotted","double"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],w=()=>[p,ue,Te,Se],k=()=>["","none",A,a,s],O=()=>["none",p,a,s],$=()=>["none",p,a,s],re=()=>[p,a,s],ie=()=>[Z,"full",...u()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[xr],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[kr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",p],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z,s,a,_]}],container:["container"],columns:[{columns:[p,s,a,b]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{start:z()}],end:[{end:z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",a,s]}],basis:[{basis:[Z,"full","auto",b,...u()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,Z,"auto","initial","none",s]}],grow:[{grow:["",p,a,s]}],shrink:[{shrink:["",p,a,s]}],order:[{order:[W,"first","last","none",a,s]}],"grid-cols":[{"grid-cols":se()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":se()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ae()}],"auto-rows":[{"auto-rows":ae()}],gap:[{gap:u()}],"gap-x":[{"gap-x":u()}],"gap-y":[{"gap-y":u()}],"justify-content":[{justify:[...B(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...B()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":B()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:u()}],px:[{px:u()}],py:[{py:u()}],ps:[{ps:u()}],pe:[{pe:u()}],pt:[{pt:u()}],pr:[{pr:u()}],pb:[{pb:u()}],pl:[{pl:u()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":u()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":u()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],w:[{w:[b,"screen",...M()]}],"min-w":[{"min-w":[b,"screen","none",...M()]}],"max-w":[{"max-w":[b,"screen","none","prose",{screen:[c]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",r,ne,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,a,me]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ue,s]}],"font-family":[{font:[Sr,s,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,a,s]}],"line-clamp":[{"line-clamp":[p,"none",a,me]}],leading:[{leading:[l,...u()]}],"list-image":[{"list-image":["none",a,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",a,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...P(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",a,D]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[p,"auto",a,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",a,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",a,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ee()}],"bg-repeat":[{bg:t()}],"bg-size":[{bg:m()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,a,s],radial:["",a,s],conic:[W,a,s]},Ar,Er]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:x()}],"gradient-via-pos":[{via:x()}],"gradient-to-pos":[{to:x()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:g()}],"rounded-s":[{"rounded-s":g()}],"rounded-e":[{"rounded-e":g()}],"rounded-t":[{"rounded-t":g()}],"rounded-r":[{"rounded-r":g()}],"rounded-b":[{"rounded-b":g()}],"rounded-l":[{"rounded-l":g()}],"rounded-ss":[{"rounded-ss":g()}],"rounded-se":[{"rounded-se":g()}],"rounded-ee":[{"rounded-ee":g()}],"rounded-es":[{"rounded-es":g()}],"rounded-tl":[{"rounded-tl":g()}],"rounded-tr":[{"rounded-tr":g()}],"rounded-br":[{"rounded-br":g()}],"rounded-bl":[{"rounded-bl":g()}],"border-w":[{border:y()}],"border-w-x":[{"border-x":y()}],"border-w-y":[{"border-y":y()}],"border-w-s":[{"border-s":y()}],"border-w-e":[{"border-e":y()}],"border-w-t":[{"border-t":y()}],"border-w-r":[{"border-r":y()}],"border-w-b":[{"border-b":y()}],"border-w-l":[{"border-l":y()}],"divide-x":[{"divide-x":y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...P(),"hidden","none"]}],"divide-style":[{divide:[...P(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...P(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,a,s]}],"outline-w":[{outline:["",p,ne,D]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",v,de,ce]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",S,de,ce]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[p,D]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":y()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",T,de,ce]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[p,a,s]}],"mix-blend":[{"mix-blend":[...H(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":H()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":w()}],"mask-image-linear-to-pos":[{"mask-linear-to":w()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":w()}],"mask-image-t-to-pos":[{"mask-t-to":w()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":w()}],"mask-image-r-to-pos":[{"mask-r-to":w()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":w()}],"mask-image-b-to-pos":[{"mask-b-to":w()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":w()}],"mask-image-l-to-pos":[{"mask-l-to":w()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":w()}],"mask-image-x-to-pos":[{"mask-x-to":w()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":w()}],"mask-image-y-to-pos":[{"mask-y-to":w()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[a,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":w()}],"mask-image-radial-to-pos":[{"mask-radial-to":w()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":L()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":w()}],"mask-image-conic-to-pos":[{"mask-conic-to":w()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ee()}],"mask-repeat":[{mask:t()}],"mask-size":[{mask:m()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",a,s]}],filter:[{filter:["","none",a,s]}],blur:[{blur:k()}],brightness:[{brightness:[p,a,s]}],contrast:[{contrast:[p,a,s]}],"drop-shadow":[{"drop-shadow":["","none",j,de,ce]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",p,a,s]}],"hue-rotate":[{"hue-rotate":[p,a,s]}],invert:[{invert:["",p,a,s]}],saturate:[{saturate:[p,a,s]}],sepia:[{sepia:["",p,a,s]}],"backdrop-filter":[{"backdrop-filter":["","none",a,s]}],"backdrop-blur":[{"backdrop-blur":k()}],"backdrop-brightness":[{"backdrop-brightness":[p,a,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,a,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,a,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,a,s]}],"backdrop-invert":[{"backdrop-invert":["",p,a,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,a,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,a,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,a,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":u()}],"border-spacing-x":[{"border-spacing-x":u()}],"border-spacing-y":[{"border-spacing-y":u()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",a,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",a,s]}],ease:[{ease:["linear","initial",N,a,s]}],delay:[{delay:[p,a,s]}],animate:[{animate:["none",J,a,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,a,s]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:$()}],"scale-x":[{"scale-x":$()}],"scale-y":[{"scale-y":$()}],"scale-z":[{"scale-z":$()}],"scale-3d":["scale-3d"],skew:[{skew:re()}],"skew-x":[{"skew-x":re()}],"skew-y":[{"skew-y":re()}],transform:[{transform:[a,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",a,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",a,s]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[p,ne,D,me]}],stroke:[{stroke:["none",...d()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},zr=ur(Cr);function he(...e){return zr(Ce(e))}const Or=ze("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",success:"bg-success text-white hover:bg-success/80",warning:"bg-warning text-black hover:bg-warning/80 "},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),We=Ue.forwardRef(({className:e,variant:n,size:r,...o},i)=>Pe.jsx("button",{className:he(Or({variant:n,size:r,className:e})),ref:i,...o}));We.displayName="Button";const jr=ze("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-background px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",{variants:{variant:{default:"bg-background border-input text-foreground placeholder:text-muted-foreground",secondary:"bg-secondary border-secondary text-secondary-foreground placeholder:text-muted-foreground",accent:"bg-accent border-accent text-accent-foreground placeholder:text-muted-foreground",success:"bg-[var(--color-qodo-success)] border-[var(--color-qodo-success)] text-white placeholder:text-white/70",warning:"bg-[var(--color-qodo-warning)] border-[var(--color-qodo-warning)] text-black placeholder:text-black/70",destructive:"bg-destructive border-destructive text-destructive-foreground placeholder:text-destructive-foreground/70"}},defaultVariants:{variant:"default"}});function Mr({className:e,variant:n,type:r,...o}){return Pe.jsx("input",{type:r,"data-slot":"input",className:he(jr({variant:n,className:e})),...o})}exports.Button=We;exports.Input=Mr;exports.borderRadius=De;exports.cn=he;exports.colors=qe;exports.spacing=Be;exports.typography=Je;
22
+ <%s key={someKey} {...props} />`,j,Z,te,Z),q[Z+j]=!0)}if(Z=null,z!==void 0&&(r(z),Z=""+z),a(N)&&(r(N.key),Z=""+N.key),"key"in N){z={};for(var ce in N)ce!=="key"&&(z[ce]=N[ce])}else z=N;return Z&&i(z,typeof C=="function"?C.displayName||C.name||"Unknown":C),u(C,Z,ee,K,o(),z,ye,W)}function f(C){typeof C=="object"&&C!==null&&C.$$typeof===g&&C._store&&(C._store.validated=1)}var v=I,g=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),w=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),B=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,H=Array.isArray,F=console.createTask?console.createTask:function(){return null};v={"react-stack-bottom-frame":function(C){return C()}};var Y,_={},$=v["react-stack-bottom-frame"].bind(v,s)(),R=F(n(s)),q={};Ye.Fragment=p,Ye.jsx=function(C,N,z,j,K){var ee=1e4>B.recentlyCreatedOwnerStacks++;return d(C,N,z,!1,j,K,ee?Error("react-stack-top-frame"):$,ee?F(n(C)):R)},Ye.jsxs=function(C,N,z,j,K){var ee=1e4>B.recentlyCreatedOwnerStacks++;return d(C,N,z,!0,j,K,ee?Error("react-stack-top-frame"):$,ee?F(n(C)):R)}}()),Ye}var Mr;function Gs(){return Mr||(Mr=1,process.env.NODE_ENV==="production"?nt.exports=zs():nt.exports=Ws()),nt.exports}var m=Gs();function xn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=xn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function yn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=xn(e))&&(n&&(n+=" "),n+=t);return n}const jr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lr=yn,kt=(e,t)=>r=>{var n;if(t?.variants==null)return Lr(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,a=Object.keys(o).map(u=>{const d=r?.[u],f=s?.[u];if(d===null)return null;const v=jr(d)||jr(f);return o[u][v]}),i=r&&Object.entries(r).reduce((u,d)=>{let[f,v]=d;return v===void 0||(u[f]=v),u},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,d)=>{let{class:f,className:v,...g}=d;return Object.entries(g).every(b=>{let[p,h]=b;return Array.isArray(h)?h.includes({...s,...i}[p]):{...s,...i}[p]===h})?[...u,f,v]:u},[]);return Lr(e,a,c,r?.class,r?.className)},sr="-",Vs=e=>{const t=Hs(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{const i=a.split(sr);return i[0]===""&&i.length!==1&&i.shift(),wn(i,t)||Bs(a)},getConflictingClassGroupIds:(a,i)=>{const c=r[a]||[];return i&&n[a]?[...c,...n[a]]:c}}},wn=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?wn(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(sr);return t.validators.find(({validator:a})=>a(s))?.classGroupId},Fr=/^\[(.+)\]$/,Bs=e=>{if(Fr.test(e)){const t=Fr.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Hs=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const o in r)Yt(r[o],n,o,t);return n},Yt=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:$r(t,o);s.classGroupId=r;return}if(typeof o=="function"){if(Us(o)){Yt(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([s,a])=>{Yt(a,$r(t,s),r,n)})})},$r=(e,t)=>{let r=e;return t.split(sr).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Us=e=>e.isThemeGetter,Ys=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=n.get(s))!==void 0)return o(s,a),a},set(s,a){r.has(s)?r.set(s,a):o(s,a)}}},Kt="!",Xt=":",Ks=Xt.length,Xs=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let a=0,i=0,c=0,u;for(let b=0;b<o.length;b++){let p=o[b];if(a===0&&i===0){if(p===Xt){s.push(o.slice(c,b)),c=b+Ks;continue}if(p==="/"){u=b;continue}}p==="["?a++:p==="]"?a--:p==="("?i++:p===")"&&i--}const d=s.length===0?o:o.substring(c),f=qs(d),v=f!==d,g=u&&u>c?u-c:void 0;return{modifiers:s,hasImportantModifier:v,baseClassName:f,maybePostfixModifierPosition:g}};if(t){const o=t+Xt,s=n;n=a=>a.startsWith(o)?s(a.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},qs=e=>e.endsWith(Kt)?e.substring(0,e.length-1):e.startsWith(Kt)?e.substring(1):e,Zs=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const o=[];let s=[];return n.forEach(a=>{a[0]==="["||t[a]?(o.push(...s.sort(),a),s=[]):s.push(a)}),o.push(...s.sort()),o}},Js=e=>({cache:Ys(e.cacheSize),parseClassName:Xs(e),sortModifiers:Zs(e),...Vs(e)}),Qs=/\s+/,ea=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,a=[],i=e.trim().split(Qs);let c="";for(let u=i.length-1;u>=0;u-=1){const d=i[u],{isExternal:f,modifiers:v,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:p}=r(d);if(f){c=d+(c.length>0?" "+c:c);continue}let h=!!p,x=n(h?b.substring(0,p):b);if(!x){if(!h){c=d+(c.length>0?" "+c:c);continue}if(x=n(b),!x){c=d+(c.length>0?" "+c:c);continue}h=!1}const y=s(v).join(":"),w=g?y+Kt:y,k=w+x;if(a.includes(k))continue;a.push(k);const A=o(x,h);for(let O=0;O<A.length;++O){const P=A[O];a.push(w+P)}c=d+(c.length>0?" "+c:c)}return c};function ta(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Cn(t))&&(n&&(n+=" "),n+=r);return n}const Cn=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Cn(e[n]))&&(r&&(r+=" "),r+=t);return r};function ra(e,...t){let r,n,o,s=a;function a(c){const u=t.reduce((d,f)=>f(d),e());return r=Js(u),n=r.cache.get,o=r.cache.set,s=i,i(c)}function i(c){const u=n(c);if(u)return u;const d=ea(c,r);return o(c,d),d}return function(){return s(ta.apply(null,arguments))}}const J=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},kn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,En=/^\((?:(\w[\w-]*):)?(.+)\)$/i,na=/^\d+\/\d+$/,oa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sa=/\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$/,aa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ia=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ca=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,De=e=>na.test(e),D=e=>!!e&&!Number.isNaN(Number(e)),we=e=>!!e&&Number.isInteger(Number(e)),Mt=e=>e.endsWith("%")&&D(e.slice(0,-1)),ve=e=>oa.test(e),la=()=>!0,ua=e=>sa.test(e)&&!aa.test(e),Rn=()=>!1,da=e=>ia.test(e),fa=e=>ca.test(e),pa=e=>!S(e)&&!T(e),ma=e=>Ge(e,Sn,Rn),S=e=>kn.test(e),Pe=e=>Ge(e,Tn,ua),jt=e=>Ge(e,xa,D),zr=e=>Ge(e,An,Rn),ga=e=>Ge(e,Pn,fa),ot=e=>Ge(e,On,da),T=e=>En.test(e),Ke=e=>Ve(e,Tn),va=e=>Ve(e,ya),Wr=e=>Ve(e,An),ha=e=>Ve(e,Sn),ba=e=>Ve(e,Pn),st=e=>Ve(e,On,!0),Ge=(e,t,r)=>{const n=kn.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Ve=(e,t,r=!1)=>{const n=En.exec(e);return n?n[1]?t(n[1]):r:!1},An=e=>e==="position"||e==="percentage",Pn=e=>e==="image"||e==="url",Sn=e=>e==="length"||e==="size"||e==="bg-size",Tn=e=>e==="length",xa=e=>e==="number",ya=e=>e==="family-name",On=e=>e==="shadow",wa=()=>{const e=J("color"),t=J("font"),r=J("text"),n=J("font-weight"),o=J("tracking"),s=J("leading"),a=J("breakpoint"),i=J("container"),c=J("spacing"),u=J("radius"),d=J("shadow"),f=J("inset-shadow"),v=J("text-shadow"),g=J("drop-shadow"),b=J("blur"),p=J("perspective"),h=J("aspect"),x=J("ease"),y=J("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...k(),T,S],O=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],E=()=>[T,S,c],M=()=>[De,"full","auto",...E()],L=()=>[we,"none","subgrid",T,S],B=()=>["auto",{span:["full",we,T,S]},we,T,S],U=()=>[we,"auto",T,S],H=()=>["auto","min","max","fr",T,S],F=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...E()],$=()=>[De,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],R=()=>[e,T,S],q=()=>[...k(),Wr,zr,{position:[T,S]}],C=()=>["no-repeat",{repeat:["","x","y","space","round"]}],N=()=>["auto","cover","contain",ha,ma,{size:[T,S]}],z=()=>[Mt,Ke,Pe],j=()=>["","none","full",u,T,S],K=()=>["",D,Ke,Pe],ee=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>[D,Mt,Wr,zr],Z=()=>["","none",b,T,S],te=()=>["none",D,T,S],ce=()=>["none",D,T,S],Ae=()=>[D,T,S],Ie=()=>[De,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ve],breakpoint:[ve],color:[la],container:[ve],"drop-shadow":[ve],ease:["in","out","in-out"],font:[pa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ve],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ve],shadow:[ve],spacing:["px",D],text:[ve],"text-shadow":[ve],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",De,S,T,h]}],container:["container"],columns:[{columns:[D,S,T,i]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:A()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{start:M()}],end:[{end:M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[we,"auto",T,S]}],basis:[{basis:[De,"full","auto",i,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[D,De,"auto","initial","none",S]}],grow:[{grow:["",D,T,S]}],shrink:[{shrink:["",D,T,S]}],order:[{order:[we,"first","last","none",T,S]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...F(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...F()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":F()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[i,"screen",...$()]}],"min-w":[{"min-w":[i,"screen","none",...$()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,Ke,Pe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,T,jt]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Mt,S]}],"font-family":[{font:[va,S,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,T,S]}],"line-clamp":[{"line-clamp":[D,"none",T,jt]}],leading:[{leading:[s,...E()]}],"list-image":[{"list-image":["none",T,S]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T,S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[D,"from-font","auto",T,Pe]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[D,"auto",T,S]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T,S]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T,S]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:q()}],"bg-repeat":[{bg:C()}],"bg-size":[{bg:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},we,T,S],radial:["",T,S],conic:[we,T,S]},ba,ga]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:z()}],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ee(),"hidden","none"]}],"divide-style":[{divide:[...ee(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[D,T,S]}],"outline-w":[{outline:["",D,Ke,Pe]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",d,st,ot]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",f,st,ot]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[D,Pe]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",v,st,ot]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[D,T,S]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[D]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[T,S]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[D]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:q()}],"mask-repeat":[{mask:C()}],"mask-size":[{mask:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T,S]}],filter:[{filter:["","none",T,S]}],blur:[{blur:Z()}],brightness:[{brightness:[D,T,S]}],contrast:[{contrast:[D,T,S]}],"drop-shadow":[{"drop-shadow":["","none",g,st,ot]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",D,T,S]}],"hue-rotate":[{"hue-rotate":[D,T,S]}],invert:[{invert:["",D,T,S]}],saturate:[{saturate:[D,T,S]}],sepia:[{sepia:["",D,T,S]}],"backdrop-filter":[{"backdrop-filter":["","none",T,S]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[D,T,S]}],"backdrop-contrast":[{"backdrop-contrast":[D,T,S]}],"backdrop-grayscale":[{"backdrop-grayscale":["",D,T,S]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[D,T,S]}],"backdrop-invert":[{"backdrop-invert":["",D,T,S]}],"backdrop-opacity":[{"backdrop-opacity":[D,T,S]}],"backdrop-saturate":[{"backdrop-saturate":[D,T,S]}],"backdrop-sepia":[{"backdrop-sepia":["",D,T,S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T,S]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[D,"initial",T,S]}],ease:[{ease:["linear","initial",x,T,S]}],delay:[{delay:[D,T,S]}],animate:[{animate:["none",y,T,S]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,T,S]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:te()}],"rotate-x":[{"rotate-x":te()}],"rotate-y":[{"rotate-y":te()}],"rotate-z":[{"rotate-z":te()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":["scale-3d"],skew:[{skew:Ae()}],"skew-x":[{"skew-x":Ae()}],"skew-y":[{"skew-y":Ae()}],transform:[{transform:[T,S,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ie()}],"translate-x":[{"translate-x":Ie()}],"translate-y":[{"translate-y":Ie()}],"translate-z":[{"translate-z":Ie()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T,S]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"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",T,S]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[D,Ke,Pe,jt]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ca=ra(wa);function G(...e){return Ca(yn(e))}const ka=kt("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80 dark:bg-primary dark:text-primary-foreground dark:hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/80 dark:bg-destructive dark:text-destructive-foreground dark:hover:bg-destructive/80",outline:"border border-input bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-background dark:text-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:bg-secondary dark:text-secondary-foreground dark:hover:bg-secondary/80",ghost:"text-foreground hover:bg-accent hover:text-accent-foreground dark:text-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline dark:text-primary",success:"bg-success text-success-foreground hover:bg-success/80 dark:bg-success dark:text-success-foreground dark:hover:bg-success/80",warning:"bg-warning text-warning-foreground hover:bg-warning/80 dark:bg-warning dark:text-warning-foreground dark:hover:bg-warning/80"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Nn=l.forwardRef(({className:e,variant:t,size:r,...n},o)=>m.jsx("button",{className:G(ka({variant:t,size:r,className:e})),ref:o,...n}));Nn.displayName="Button";const Ea=kt("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input flex h-9 w-full min-w-0 rounded-md border bg-background px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:border-input dark:bg-background dark:text-foreground dark:placeholder:text-muted-foreground",{variants:{variant:{default:"bg-background border-input text-foreground placeholder:text-muted-foreground dark:bg-background dark:border-input dark:text-foreground dark:placeholder:text-muted-foreground",secondary:"bg-secondary border-secondary text-secondary-foreground placeholder:text-muted-foreground dark:bg-secondary dark:border-secondary dark:text-secondary-foreground dark:placeholder:text-muted-foreground",accent:"bg-accent border-accent text-accent-foreground placeholder:text-muted-foreground dark:bg-accent dark:border-accent dark:text-accent-foreground dark:placeholder:text-muted-foreground",success:"bg-success border-success text-success-foreground placeholder:text-success-foreground/70 dark:bg-success dark:border-success dark:text-success-foreground dark:placeholder:text-success-foreground/70",warning:"bg-warning border-warning text-warning-foreground placeholder:text-warning-foreground/70 dark:bg-warning dark:border-warning dark:text-warning-foreground dark:placeholder:text-warning-foreground/70",destructive:"bg-destructive border-destructive text-destructive-foreground placeholder:text-destructive-foreground/70 dark:bg-destructive dark:border-destructive dark:text-destructive-foreground dark:placeholder:text-destructive-foreground/70"}},defaultVariants:{variant:"default"}});function Ra({className:e,variant:t,type:r,...n}){return m.jsx("input",{type:r,"data-slot":"input",className:G(Ea({variant:t,className:e})),...n})}function Gr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function _n(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Gr(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Gr(e[o],null)}}}}function Q(...e){return l.useCallback(_n(...e),e)}function Xe(e){const t=Pa(e),r=l.forwardRef((n,o)=>{const{children:s,...a}=n,i=l.Children.toArray(s),c=i.find(Ta);if(c){const u=c.props.children,d=i.map(f=>f===c?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:f);return m.jsx(t,{...a,ref:o,children:l.isValidElement(u)?l.cloneElement(u,void 0,d):null})}return m.jsx(t,{...a,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}var Aa=Xe("Slot");function Pa(e){const t=l.forwardRef((r,n)=>{const{children:o,...s}=r;if(l.isValidElement(o)){const a=Na(o),i=Oa(s,o.props);return o.type!==l.Fragment&&(i.ref=n?_n(n,a):a),l.cloneElement(o,i)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var In=Symbol("radix.slottable");function Sa(e){const t=({children:r})=>m.jsx(m.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=In,t}function Ta(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===In}function Oa(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...i)=>{const c=s(...i);return o(...i),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Na(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const _a=kt("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden dark:border-border",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90 dark:bg-primary dark:text-primary-foreground dark:[a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 dark:bg-secondary dark:text-secondary-foreground dark:[a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-destructive-foreground [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive dark:text-destructive-foreground dark:[a&]:hover:bg-destructive/90",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground dark:text-foreground dark:[a&]:hover:bg-accent dark:[a&]:hover:text-accent-foreground",success:"bg-green-100 text-green-800 border-green-200 dark:bg-green-900/30 dark:text-green-400 dark:border-green-800 "}},defaultVariants:{variant:"default"}});function Ia({className:e,variant:t,asChild:r=!1,...n}){const o=r?Aa:"span";return m.jsx(o,{"data-slot":"badge",className:G(_a({variant:t}),e),...n})}function Da({className:e,...t}){return m.jsx("div",{"data-slot":"card",className:G("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm dark:bg-card dark:text-card-foreground dark:border-border",e),...t})}function Ma({className:e,...t}){return m.jsx("div",{"data-slot":"card-header",className:G("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function ja({className:e,...t}){return m.jsx("div",{"data-slot":"card-title",className:G("leading-none font-semibold",e),...t})}function La({className:e,...t}){return m.jsx("div",{"data-slot":"card-description",className:G("text-muted-foreground text-sm dark:text-muted-foreground",e),...t})}function Fa({className:e,...t}){return m.jsx("div",{"data-slot":"card-action",className:G("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function $a({className:e,...t}){return m.jsx("div",{"data-slot":"card-content",className:G("px-6",e),...t})}function za({className:e,...t}){return m.jsx("div",{"data-slot":"card-footer",className:G("flex items-center px-6 [.border-t]:pt-6",e),...t})}function X(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Wa(e,t){const r=l.createContext(t),n=s=>{const{children:a,...i}=s,c=l.useMemo(()=>i,Object.values(i));return m.jsx(r.Provider,{value:c,children:a})};n.displayName=e+"Provider";function o(s){const a=l.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[n,o]}function pe(e,t=[]){let r=[];function n(s,a){const i=l.createContext(a),c=r.length;r=[...r,a];const u=f=>{const{scope:v,children:g,...b}=f,p=v?.[e]?.[c]||i,h=l.useMemo(()=>b,Object.values(b));return m.jsx(p.Provider,{value:h,children:g})};u.displayName=s+"Provider";function d(f,v){const g=v?.[e]?.[c]||i,b=l.useContext(g);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=r.map(a=>l.createContext(a));return function(i){const c=i?.[e]||s;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return o.scopeName=e,[n,Ga(o,...t)]}function Ga(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const a=n.reduce((i,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...i,...f}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}var he=globalThis?.document?l.useLayoutEffect:()=>{},Va=l[" useId ".trim().toString()]||(()=>{}),Ba=0;function Se(e){const[t,r]=l.useState(Va());return he(()=>{r(n=>n??String(Ba++))},[e]),e||(t?`radix-${t}`:"")}var Ha=l[" useInsertionEffect ".trim().toString()]||he;function me({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,a]=Ua({defaultProp:t,onChange:r}),i=e!==void 0,c=i?e:o;{const d=l.useRef(e!==void 0);l.useEffect(()=>{const f=d.current;f!==i&&console.warn(`${n} is changing from ${f?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=i},[i,n])}const u=l.useCallback(d=>{if(i){const f=Ya(d)?d(e):d;f!==e&&a.current?.(f)}else s(d)},[i,e,s,a]);return[c,u]}function Ua({defaultProp:e,onChange:t}){const[r,n]=l.useState(e),o=l.useRef(r),s=l.useRef(t);return Ha(()=>{s.current=t},[t]),l.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function Ya(e){return typeof e=="function"}var Ka=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],V=Ka.reduce((e,t)=>{const r=Xe(`Primitive.${t}`),n=l.forwardRef((o,s)=>{const{asChild:a,...i}=o,c=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(c,{...i,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Xa(e,t){e&&bn.flushSync(()=>e.dispatchEvent(t))}function Te(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>t.current?.(...r),[])}function qa(e,t=globalThis?.document){const r=Te(e);l.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Za="DismissableLayer",qt="dismissableLayer.update",Ja="dismissableLayer.pointerDownOutside",Qa="dismissableLayer.focusOutside",Vr,Dn=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ar=l.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:i,...c}=e,u=l.useContext(Dn),[d,f]=l.useState(null),v=d?.ownerDocument??globalThis?.document,[,g]=l.useState({}),b=Q(t,P=>f(P)),p=Array.from(u.layers),[h]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=p.indexOf(h),y=d?p.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=x,A=ri(P=>{const E=P.target,M=[...u.branches].some(L=>L.contains(E));!k||M||(o?.(P),a?.(P),P.defaultPrevented||i?.())},v),O=ni(P=>{const E=P.target;[...u.branches].some(L=>L.contains(E))||(s?.(P),a?.(P),P.defaultPrevented||i?.())},v);return qa(P=>{y===u.layers.size-1&&(n?.(P),!P.defaultPrevented&&i&&(P.preventDefault(),i()))},v),l.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Vr=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Br(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Vr)}},[d,v,r,u]),l.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Br())},[d,u]),l.useEffect(()=>{const P=()=>g({});return document.addEventListener(qt,P),()=>document.removeEventListener(qt,P)},[]),m.jsx(V.div,{...c,ref:b,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:X(e.onFocusCapture,O.onFocusCapture),onBlurCapture:X(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:X(e.onPointerDownCapture,A.onPointerDownCapture)})});ar.displayName=Za;var ei="DismissableLayerBranch",ti=l.forwardRef((e,t)=>{const r=l.useContext(Dn),n=l.useRef(null),o=Q(t,n);return l.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),m.jsx(V.div,{...e,ref:o})});ti.displayName=ei;function ri(e,t=globalThis?.document){const r=Te(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const s=i=>{if(i.target&&!n.current){let c=function(){Mn(Ja,r,u,{discrete:!0})};const u={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function ni(e,t=globalThis?.document){const r=Te(e),n=l.useRef(!1);return l.useEffect(()=>{const o=s=>{s.target&&!n.current&&Mn(Qa,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Br(){const e=new CustomEvent(qt);document.dispatchEvent(e)}function Mn(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Xa(o,s):o.dispatchEvent(s)}var Lt="focusScope.autoFocusOnMount",Ft="focusScope.autoFocusOnUnmount",Hr={bubbles:!1,cancelable:!0},oi="FocusScope",jn=l.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[i,c]=l.useState(null),u=Te(o),d=Te(s),f=l.useRef(null),v=Q(t,p=>c(p)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let p=function(w){if(g.paused||!i)return;const k=w.target;i.contains(k)?f.current=k:Ce(f.current,{select:!0})},h=function(w){if(g.paused||!i)return;const k=w.relatedTarget;k!==null&&(i.contains(k)||Ce(f.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const A of w)A.removedNodes.length>0&&Ce(i)};document.addEventListener("focusin",p),document.addEventListener("focusout",h);const y=new MutationObserver(x);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",h),y.disconnect()}}},[n,i,g.paused]),l.useEffect(()=>{if(i){Yr.add(g);const p=document.activeElement;if(!i.contains(p)){const x=new CustomEvent(Lt,Hr);i.addEventListener(Lt,u),i.dispatchEvent(x),x.defaultPrevented||(si(ui(Ln(i)),{select:!0}),document.activeElement===p&&Ce(i))}return()=>{i.removeEventListener(Lt,u),setTimeout(()=>{const x=new CustomEvent(Ft,Hr);i.addEventListener(Ft,d),i.dispatchEvent(x),x.defaultPrevented||Ce(p??document.body,{select:!0}),i.removeEventListener(Ft,d),Yr.remove(g)},0)}}},[i,u,d,g]);const b=l.useCallback(p=>{if(!r&&!n||g.paused)return;const h=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,x=document.activeElement;if(h&&x){const y=p.currentTarget,[w,k]=ai(y);w&&k?!p.shiftKey&&x===k?(p.preventDefault(),r&&Ce(w,{select:!0})):p.shiftKey&&x===w&&(p.preventDefault(),r&&Ce(k,{select:!0})):x===y&&p.preventDefault()}},[r,n,g.paused]);return m.jsx(V.div,{tabIndex:-1,...a,ref:v,onKeyDown:b})});jn.displayName=oi;function si(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Ce(n,{select:t}),document.activeElement!==r)return}function ai(e){const t=Ln(e),r=Ur(t,e),n=Ur(t.reverse(),e);return[r,n]}function Ln(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ur(e,t){for(const r of e)if(!ii(r,{upTo:t}))return r}function ii(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 ci(e){return e instanceof HTMLInputElement&&"select"in e}function Ce(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&ci(e)&&t&&e.select()}}var Yr=li();function li(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Kr(e,t),e.unshift(t)},remove(t){e=Kr(e,t),e[0]?.resume()}}}function Kr(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function ui(e){return e.filter(t=>t.tagName!=="A")}var di="Portal",ir=l.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=l.useState(!1);he(()=>s(!0),[]);const a=r||o&&globalThis?.document?.body;return a?vn.createPortal(m.jsx(V.div,{...n,ref:t}),a):null});ir.displayName=di;function fi(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}var _e=e=>{const{present:t,children:r}=e,n=pi(t),o=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),s=Q(n.ref,mi(o));return typeof r=="function"||n.isPresent?l.cloneElement(o,{ref:s}):null};_e.displayName="Presence";function pi(e){const[t,r]=l.useState(),n=l.useRef(null),o=l.useRef(e),s=l.useRef("none"),a=e?"mounted":"unmounted",[i,c]=fi(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const u=at(n.current);s.current=i==="mounted"?u:"none"},[i]),he(()=>{const u=n.current,d=o.current;if(d!==e){const v=s.current,g=at(u);e?c("MOUNT"):g==="none"||u?.display==="none"?c("UNMOUNT"):c(d&&v!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),he(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=g=>{const p=at(n.current).includes(g.animationName);if(g.target===t&&p&&(c("ANIMATION_END"),!o.current)){const h=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=h)})}},v=g=>{g.target===t&&(s.current=at(n.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:l.useCallback(u=>{n.current=u?getComputedStyle(u):null,r(u)},[])}}function at(e){return e?.animationName||"none"}function mi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var $t=0;function gi(){l.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Xr()),document.body.insertAdjacentElement("beforeend",e[1]??Xr()),$t++,()=>{$t===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),$t--}},[])}function Xr(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var le=function(){return le=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},le.apply(this,arguments)};function Fn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function vi(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}var ft="right-scroll-bar-position",pt="width-before-scroll-bar",hi="with-scroll-bars-hidden",bi="--removed-body-scroll-bar-size";function zt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function xi(e,t){var r=I.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var yi=typeof window<"u"?l.useLayoutEffect:l.useEffect,qr=new WeakMap;function wi(e,t){var r=xi(null,function(n){return e.forEach(function(o){return zt(o,n)})});return yi(function(){var n=qr.get(r);if(n){var o=new Set(n),s=new Set(e),a=r.current;o.forEach(function(i){s.has(i)||zt(i,null)}),s.forEach(function(i){o.has(i)||zt(i,a)})}qr.set(r,e)},[e]),r}function Ci(e){return e}function ki(e,t){t===void 0&&(t=Ci);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var a=t(s,n);return r.push(a),function(){r=r.filter(function(i){return i!==a})}},assignSyncMedium:function(s){for(n=!0;r.length;){var a=r;r=[],a.forEach(s)}r={push:function(i){return s(i)},filter:function(){return r}}},assignMedium:function(s){n=!0;var a=[];if(r.length){var i=r;r=[],i.forEach(s),a=r}var c=function(){var d=a;a=[],d.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),r={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),r}}}};return o}function Ei(e){e===void 0&&(e={});var t=ki(null);return t.options=le({async:!0,ssr:!1},e),t}var $n=function(e){var t=e.sideCar,r=Fn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return l.createElement(n,le({},r))};$n.isSideCarExport=!0;function Ri(e,t){return e.useMedium(t),$n}var zn=Ei(),Wt=function(){},Et=l.forwardRef(function(e,t){var r=l.useRef(null),n=l.useState({onScrollCapture:Wt,onWheelCapture:Wt,onTouchMoveCapture:Wt}),o=n[0],s=n[1],a=e.forwardProps,i=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,v=e.sideCar,g=e.noRelative,b=e.noIsolation,p=e.inert,h=e.allowPinchZoom,x=e.as,y=x===void 0?"div":x,w=e.gapMode,k=Fn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=v,O=wi([r,t]),P=le(le({},k),o);return l.createElement(l.Fragment,null,d&&l.createElement(A,{sideCar:zn,removeScrollBar:u,shards:f,noRelative:g,noIsolation:b,inert:p,setCallbacks:s,allowPinchZoom:!!h,lockRef:r,gapMode:w}),a?l.cloneElement(l.Children.only(i),le(le({},P),{ref:O})):l.createElement(y,le({},P,{className:c,ref:O}),i))});Et.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Et.classNames={fullWidth:pt,zeroRight:ft};var Ai=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pi(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ai();return t&&e.setAttribute("nonce",t),e}function Si(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ti(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Oi=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Pi())&&(Si(t,r),Ti(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ni=function(){var e=Oi();return function(t,r){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Wn=function(){var e=Ni(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},_i={left:0,top:0,right:0,gap:0},Gt=function(e){return parseInt(e||"",10)||0},Ii=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Gt(r),Gt(n),Gt(o)]},Di=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _i;var t=Ii(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Mi=Wn(),Fe="data-scroll-locked",ji=function(e,t,r,n){var o=e.left,s=e.top,a=e.right,i=e.gap;return r===void 0&&(r="margin"),`
23
+ .`.concat(hi,` {
24
+ overflow: hidden `).concat(n,`;
25
+ padding-right: `).concat(i,"px ").concat(n,`;
26
+ }
27
+ body[`).concat(Fe,`] {
28
+ overflow: hidden `).concat(n,`;
29
+ overscroll-behavior: contain;
30
+ `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
31
+ padding-left: `.concat(o,`px;
32
+ padding-top: `).concat(s,`px;
33
+ padding-right: `).concat(a,`px;
34
+ margin-left:0;
35
+ margin-top:0;
36
+ margin-right: `).concat(i,"px ").concat(n,`;
37
+ `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),`
38
+ }
39
+
40
+ .`).concat(ft,` {
41
+ right: `).concat(i,"px ").concat(n,`;
42
+ }
43
+
44
+ .`).concat(pt,` {
45
+ margin-right: `).concat(i,"px ").concat(n,`;
46
+ }
47
+
48
+ .`).concat(ft," .").concat(ft,` {
49
+ right: 0 `).concat(n,`;
50
+ }
51
+
52
+ .`).concat(pt," .").concat(pt,` {
53
+ margin-right: 0 `).concat(n,`;
54
+ }
55
+
56
+ body[`).concat(Fe,`] {
57
+ `).concat(bi,": ").concat(i,`px;
58
+ }
59
+ `)},Zr=function(){var e=parseInt(document.body.getAttribute(Fe)||"0",10);return isFinite(e)?e:0},Li=function(){l.useEffect(function(){return document.body.setAttribute(Fe,(Zr()+1).toString()),function(){var e=Zr()-1;e<=0?document.body.removeAttribute(Fe):document.body.setAttribute(Fe,e.toString())}},[])},Fi=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Li();var s=l.useMemo(function(){return Di(o)},[o]);return l.createElement(Mi,{styles:ji(s,!t,o,r?"":"!important")})},Zt=!1;if(typeof window<"u")try{var it=Object.defineProperty({},"passive",{get:function(){return Zt=!0,!0}});window.addEventListener("test",it,it),window.removeEventListener("test",it,it)}catch{Zt=!1}var Me=Zt?{passive:!1}:!1,$i=function(e){return e.tagName==="TEXTAREA"},Gn=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!$i(e)&&r[t]==="visible")},zi=function(e){return Gn(e,"overflowY")},Wi=function(e){return Gn(e,"overflowX")},Jr=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Vn(e,n);if(o){var s=Bn(e,n),a=s[1],i=s[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Gi=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Vi=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Vn=function(e,t){return e==="v"?zi(t):Wi(t)},Bn=function(e,t){return e==="v"?Gi(t):Vi(t)},Bi=function(e,t){return e==="h"&&t==="rtl"?-1:1},Hi=function(e,t,r,n,o){var s=Bi(e,window.getComputedStyle(t).direction),a=s*n,i=r.target,c=t.contains(i),u=!1,d=a>0,f=0,v=0;do{if(!i)break;var g=Bn(e,i),b=g[0],p=g[1],h=g[2],x=p-h-s*b;(b||x)&&Vn(e,i)&&(f+=x,v+=b);var y=i.parentNode;i=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&i!==document.body||c&&(t.contains(i)||t===i));return(d&&Math.abs(f)<1||!d&&Math.abs(v)<1)&&(u=!0),u},ct=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Qr=function(e){return[e.deltaX,e.deltaY]},en=function(e){return e&&"current"in e?e.current:e},Ui=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yi=function(e){return`
60
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
61
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
62
+ `)},Ki=0,je=[];function Xi(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),o=l.useState(Ki++)[0],s=l.useState(Wn)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=vi([e.lockRef.current],(e.shards||[]).map(en),!0).filter(Boolean);return p.forEach(function(h){return h.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(h){return h.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=l.useCallback(function(p,h){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!a.current.allowPinchZoom;var x=ct(p),y=r.current,w="deltaX"in p?p.deltaX:y[0]-x[0],k="deltaY"in p?p.deltaY:y[1]-x[1],A,O=p.target,P=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in p&&P==="h"&&O.type==="range")return!1;var E=Jr(P,O);if(!E)return!0;if(E?A=P:(A=P==="v"?"h":"v",E=Jr(P,O)),!E)return!1;if(!n.current&&"changedTouches"in p&&(w||k)&&(n.current=A),!A)return!0;var M=n.current||A;return Hi(M,h,p,M==="h"?w:k)},[]),c=l.useCallback(function(p){var h=p;if(!(!je.length||je[je.length-1]!==s)){var x="deltaY"in h?Qr(h):ct(h),y=t.current.filter(function(A){return A.name===h.type&&(A.target===h.target||h.target===A.shadowParent)&&Ui(A.delta,x)})[0];if(y&&y.should){h.cancelable&&h.preventDefault();return}if(!y){var w=(a.current.shards||[]).map(en).filter(Boolean).filter(function(A){return A.contains(h.target)}),k=w.length>0?i(h,w[0]):!a.current.noIsolation;k&&h.cancelable&&h.preventDefault()}}},[]),u=l.useCallback(function(p,h,x,y){var w={name:p,delta:h,target:x,should:y,shadowParent:qi(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),d=l.useCallback(function(p){r.current=ct(p),n.current=void 0},[]),f=l.useCallback(function(p){u(p.type,Qr(p),p.target,i(p,e.lockRef.current))},[]),v=l.useCallback(function(p){u(p.type,ct(p),p.target,i(p,e.lockRef.current))},[]);l.useEffect(function(){return je.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",c,Me),document.addEventListener("touchmove",c,Me),document.addEventListener("touchstart",d,Me),function(){je=je.filter(function(p){return p!==s}),document.removeEventListener("wheel",c,Me),document.removeEventListener("touchmove",c,Me),document.removeEventListener("touchstart",d,Me)}},[]);var g=e.removeScrollBar,b=e.inert;return l.createElement(l.Fragment,null,b?l.createElement(s,{styles:Yi(o)}):null,g?l.createElement(Fi,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function qi(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Zi=Ri(zn,Xi);var Hn=l.forwardRef(function(e,t){return l.createElement(Et,le({},e,{ref:t,sideCar:Zi}))});Hn.classNames=Et.classNames;var Ji=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Le=new WeakMap,lt=new WeakMap,ut={},Vt=0,Un=function(e){return e&&(e.host||Un(e.parentNode))},Qi=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Un(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},ec=function(e,t,r,n){var o=Qi(t,Array.isArray(e)?e:[e]);ut[r]||(ut[r]=new WeakMap);var s=ut[r],a=[],i=new Set,c=new Set(o),u=function(f){!f||i.has(f)||(i.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(v){if(i.has(v))d(v);else try{var g=v.getAttribute(n),b=g!==null&&g!=="false",p=(Le.get(v)||0)+1,h=(s.get(v)||0)+1;Le.set(v,p),s.set(v,h),a.push(v),p===1&&b&&lt.set(v,!0),h===1&&v.setAttribute(r,"true"),b||v.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",v,x)}})};return d(t),i.clear(),Vt++,function(){a.forEach(function(f){var v=Le.get(f)-1,g=s.get(f)-1;Le.set(f,v),s.set(f,g),v||(lt.has(f)||f.removeAttribute(n),lt.delete(f)),g||f.removeAttribute(r)}),Vt--,Vt||(Le=new WeakMap,Le=new WeakMap,lt=new WeakMap,ut={})}},tc=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=Ji(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),ec(n,o,r,"aria-hidden")):function(){return null}},Rt="Dialog",[Yn,Wd]=pe(Rt),[rc,ae]=Yn(Rt),Kn=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,i=l.useRef(null),c=l.useRef(null),[u,d]=me({prop:n,defaultProp:o??!1,onChange:s,caller:Rt});return m.jsx(rc,{scope:t,triggerRef:i,contentRef:c,contentId:Se(),titleId:Se(),descriptionId:Se(),open:u,onOpenChange:d,onOpenToggle:l.useCallback(()=>d(f=>!f),[d]),modal:a,children:r})};Kn.displayName=Rt;var Xn="DialogTrigger",qn=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=ae(Xn,r),s=Q(t,o.triggerRef);return m.jsx(V.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ur(o.open),...n,ref:s,onClick:X(e.onClick,o.onOpenToggle)})});qn.displayName=Xn;var cr="DialogPortal",[nc,Zn]=Yn(cr,{forceMount:void 0}),Jn=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,s=ae(cr,t);return m.jsx(nc,{scope:t,forceMount:r,children:l.Children.map(n,a=>m.jsx(_e,{present:r||s.open,children:m.jsx(ir,{asChild:!0,container:o,children:a})}))})};Jn.displayName=cr;var gt="DialogOverlay",Qn=l.forwardRef((e,t)=>{const r=Zn(gt,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=ae(gt,e.__scopeDialog);return s.modal?m.jsx(_e,{present:n||s.open,children:m.jsx(sc,{...o,ref:t})}):null});Qn.displayName=gt;var oc=Xe("DialogOverlay.RemoveScroll"),sc=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=ae(gt,r);return m.jsx(Hn,{as:oc,allowPinchZoom:!0,shards:[o.contentRef],children:m.jsx(V.div,{"data-state":ur(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),Oe="DialogContent",eo=l.forwardRef((e,t)=>{const r=Zn(Oe,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=ae(Oe,e.__scopeDialog);return m.jsx(_e,{present:n||s.open,children:s.modal?m.jsx(ac,{...o,ref:t}):m.jsx(ic,{...o,ref:t})})});eo.displayName=Oe;var ac=l.forwardRef((e,t)=>{const r=ae(Oe,e.__scopeDialog),n=l.useRef(null),o=Q(t,r.contentRef,n);return l.useEffect(()=>{const s=n.current;if(s)return tc(s)},[]),m.jsx(to,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:X(e.onCloseAutoFocus,s=>{s.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:X(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,i=a.button===0&&a.ctrlKey===!0;(a.button===2||i)&&s.preventDefault()}),onFocusOutside:X(e.onFocusOutside,s=>s.preventDefault())})}),ic=l.forwardRef((e,t)=>{const r=ae(Oe,e.__scopeDialog),n=l.useRef(!1),o=l.useRef(!1);return m.jsx(to,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=s.target;r.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),to=l.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,i=ae(Oe,r),c=l.useRef(null),u=Q(t,c);return gi(),m.jsxs(m.Fragment,{children:[m.jsx(jn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:m.jsx(ar,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":ur(i.open),...a,ref:u,onDismiss:()=>i.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(cc,{titleId:i.titleId}),m.jsx(uc,{contentRef:c,descriptionId:i.descriptionId})]})]})}),lr="DialogTitle",ro=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=ae(lr,r);return m.jsx(V.h2,{id:o.titleId,...n,ref:t})});ro.displayName=lr;var no="DialogDescription",oo=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=ae(no,r);return m.jsx(V.p,{id:o.descriptionId,...n,ref:t})});oo.displayName=no;var so="DialogClose",ao=l.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=ae(so,r);return m.jsx(V.button,{type:"button",...n,ref:t,onClick:X(e.onClick,()=>o.onOpenChange(!1))})});ao.displayName=so;function ur(e){return e?"open":"closed"}var io="DialogTitleWarning",[Gd,co]=Wa(io,{contentName:Oe,titleName:lr,docsSlug:"dialog"}),cc=({titleId:e})=>{const t=co(io),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
63
+
64
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
65
+
66
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},lc="DialogDescriptionWarning",uc=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${co(lc).contentName}}.`;return l.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},dc=Kn,fc=qn,pc=Jn,mc=Qn,gc=eo,vc=ro,hc=oo,lo=ao;/**
67
+ * @license lucide-react v0.525.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */const bc=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xc=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),tn=e=>{const t=xc(e);return t.charAt(0).toUpperCase()+t.slice(1)},uo=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),yc=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
72
+ * @license lucide-react v0.525.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */var wc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
77
+ * @license lucide-react v0.525.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */const Cc=I.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:a,...i},c)=>I.createElement("svg",{ref:c,...wc,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:uo("lucide",o),...!s&&!yc(i)&&{"aria-hidden":"true"},...i},[...a.map(([u,d])=>I.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
82
+ * @license lucide-react v0.525.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const fo=(e,t)=>{const r=I.forwardRef(({className:n,...o},s)=>I.createElement(Cc,{ref:s,iconNode:t,className:uo(`lucide-${bc(tn(e))}`,`lucide-${e}`,n),...o}));return r.displayName=tn(e),r};/**
87
+ * @license lucide-react v0.525.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const kc=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ec=fo("chevron-down",kc);/**
92
+ * @license lucide-react v0.525.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const Rc=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ac=fo("x",Rc);function Pc({...e}){return m.jsx(dc,{"data-slot":"dialog",...e})}function Sc({...e}){return m.jsx(fc,{"data-slot":"dialog-trigger",...e})}function po({...e}){return m.jsx(pc,{"data-slot":"dialog-portal",...e})}function Tc({...e}){return m.jsx(lo,{"data-slot":"dialog-close",...e})}function mo({className:e,...t}){return m.jsx(mc,{"data-slot":"dialog-overlay",className:G("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-foreground/50 dark:bg-foreground/50",e),...t})}function Oc({className:e,children:t,showCloseButton:r=!0,...n}){return m.jsxs(po,{"data-slot":"dialog-portal",children:[m.jsx(mo,{}),m.jsxs(gc,{"data-slot":"dialog-content",className:G("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg dark:bg-background dark:border-border",e),...n,children:[t,r&&m.jsxs(lo,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[m.jsx(Ac,{}),m.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Nc({className:e,...t}){return m.jsx("div",{"data-slot":"dialog-header",className:G("flex flex-col gap-2 text-center sm:text-left",e),...t})}function _c({className:e,...t}){return m.jsx("div",{"data-slot":"dialog-footer",className:G("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Ic({className:e,...t}){return m.jsx(vc,{"data-slot":"dialog-title",className:G("text-lg leading-none font-semibold",e),...t})}function Dc({className:e,...t}){return m.jsx(hc,{"data-slot":"dialog-description",className:G("text-muted-foreground text-sm dark:text-muted-foreground",e),...t})}var dr="Progress",fr=100,[Mc,Vd]=pe(dr),[jc,Lc]=Mc(dr),go=l.forwardRef((e,t)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:s=Fc,...a}=e;(o||o===0)&&!rn(o)&&console.error($c(`${o}`,"Progress"));const i=rn(o)?o:fr;n!==null&&!nn(n,i)&&console.error(zc(`${n}`,"Progress"));const c=nn(n,i)?n:null,u=vt(c)?s(c,i):void 0;return m.jsx(jc,{scope:r,value:c,max:i,children:m.jsx(V.div,{"aria-valuemax":i,"aria-valuemin":0,"aria-valuenow":vt(c)?c:void 0,"aria-valuetext":u,role:"progressbar","data-state":bo(c,i),"data-value":c??void 0,"data-max":i,...a,ref:t})})});go.displayName=dr;var vo="ProgressIndicator",ho=l.forwardRef((e,t)=>{const{__scopeProgress:r,...n}=e,o=Lc(vo,r);return m.jsx(V.div,{"data-state":bo(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:t})});ho.displayName=vo;function Fc(e,t){return`${Math.round(e/t*100)}%`}function bo(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function vt(e){return typeof e=="number"}function rn(e){return vt(e)&&!isNaN(e)&&e>0}function nn(e,t){return vt(e)&&!isNaN(e)&&e<=t&&e>=0}function $c(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${fr}\`.`}function zc(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
97
+ - a positive number
98
+ - less than the value passed to \`max\` (or ${fr} if no \`max\` prop is set)
99
+ - \`null\` or \`undefined\` if the progress is indeterminate.
100
+
101
+ Defaulting to \`null\`.`}var Wc=go,Gc=ho;function Vc({className:e,value:t,...r}){return m.jsx(Wc,{"data-slot":"progress",className:G("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full dark:bg-primary/20",e),...r,children:m.jsx(Gc,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all dark:bg-primary",style:{transform:`translateX(-${100-(t||0)}%)`}})})}function Bc({className:e,...t}){return m.jsx("div",{"data-slot":"skeleton",className:G("bg-accent animate-pulse rounded-md dark:bg-accent",e),...t})}function Hc(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function xo(e){const[t,r]=l.useState(void 0);return he(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,i;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,i=u.blockSize}else a=e.offsetWidth,i=e.offsetHeight;r({width:a,height:i})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var At="Switch",[Uc,Bd]=pe(At),[Yc,Kc]=Uc(At),yo=l.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:a,disabled:i,value:c="on",onCheckedChange:u,form:d,...f}=e,[v,g]=l.useState(null),b=Q(t,w=>g(w)),p=l.useRef(!1),h=v?d||!!v.closest("form"):!0,[x,y]=me({prop:o,defaultProp:s??!1,onChange:u,caller:At});return m.jsxs(Yc,{scope:r,checked:x,disabled:i,children:[m.jsx(V.button,{type:"button",role:"switch","aria-checked":x,"aria-required":a,"data-state":Eo(x),"data-disabled":i?"":void 0,disabled:i,value:c,...f,ref:b,onClick:X(e.onClick,w=>{y(k=>!k),h&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),h&&m.jsx(ko,{control:v,bubbles:!p.current,name:n,value:c,checked:x,required:a,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});yo.displayName=At;var wo="SwitchThumb",Co=l.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Kc(wo,r);return m.jsx(V.span,{"data-state":Eo(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});Co.displayName=wo;var Xc="SwitchBubbleInput",ko=l.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const a=l.useRef(null),i=Q(a,s),c=Hc(r),u=xo(t);return l.useEffect(()=>{const d=a.current;if(!d)return;const f=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(f,"checked").set;if(c!==r&&g){const b=new Event("click",{bubbles:n});g.call(d,r),d.dispatchEvent(b)}},[c,r,n]),m.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:i,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ko.displayName=Xc;function Eo(e){return e?"checked":"unchecked"}var qc=yo,Zc=Co;function Jc({className:e,...t}){return m.jsx(qc,{"data-slot":"switch",className:G("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:data-[state=checked]:bg-primary dark:data-[state=unchecked]:bg-input",e),...t,children:m.jsx(Zc,{"data-slot":"switch-thumb",className:G("bg-background pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground")})})}var Ro="Toggle",pr=l.forwardRef((e,t)=>{const{pressed:r,defaultPressed:n,onPressedChange:o,...s}=e,[a,i]=me({prop:r,onChange:o,defaultProp:n??!1,caller:Ro});return m.jsx(V.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:X(e.onClick,()=>{e.disabled||i(!a)})})});pr.displayName=Ro;var Qc=pr;const Ao=kt("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium text-foreground hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap dark:text-foreground dark:hover:bg-muted dark:hover:text-muted-foreground dark:data-[state=on]:bg-accent dark:data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent text-foreground dark:bg-transparent dark:text-foreground",outline:"border border-input bg-transparent text-foreground shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-transparent dark:text-foreground dark:hover:bg-accent dark:hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}});function el({className:e,variant:t,size:r,...n}){return m.jsx(Qc,{"data-slot":"toggle",className:G(Ao({variant:t,size:r,className:e})),...n})}function Po(e){const t=e+"CollectionProvider",[r,n]=pe(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:h,children:x}=p,y=I.useRef(null),w=I.useRef(new Map).current;return m.jsx(o,{scope:h,itemMap:w,collectionRef:y,children:x})};a.displayName=t;const i=e+"CollectionSlot",c=Xe(i),u=I.forwardRef((p,h)=>{const{scope:x,children:y}=p,w=s(i,x),k=Q(h,w.collectionRef);return m.jsx(c,{ref:k,children:y})});u.displayName=i;const d=e+"CollectionItemSlot",f="data-radix-collection-item",v=Xe(d),g=I.forwardRef((p,h)=>{const{scope:x,children:y,...w}=p,k=I.useRef(null),A=Q(h,k),O=s(d,x);return I.useEffect(()=>(O.itemMap.set(k,{ref:k,...w}),()=>void O.itemMap.delete(k))),m.jsx(v,{[f]:"",ref:A,children:y})});g.displayName=d;function b(p){const h=s(e+"CollectionConsumer",p);return I.useCallback(()=>{const y=h.collectionRef.current;if(!y)return[];const w=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(h.itemMap.values()).sort((O,P)=>w.indexOf(O.ref.current)-w.indexOf(P.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:a,Slot:u,ItemSlot:g},b,n]}var tl=l.createContext(void 0);function mr(e){const t=l.useContext(tl);return e||t||"ltr"}var Bt="rovingFocusGroup.onEntryFocus",rl={bubbles:!1,cancelable:!0},Qe="RovingFocusGroup",[Jt,So,nl]=Po(Qe),[ol,To]=pe(Qe,[nl]),[sl,al]=ol(Qe),Oo=l.forwardRef((e,t)=>m.jsx(Jt.Provider,{scope:e.__scopeRovingFocusGroup,children:m.jsx(Jt.Slot,{scope:e.__scopeRovingFocusGroup,children:m.jsx(il,{...e,ref:t})})}));Oo.displayName=Qe;var il=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:s,currentTabStopId:a,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,v=l.useRef(null),g=Q(t,v),b=mr(s),[p,h]=me({prop:a,defaultProp:i??null,onChange:c,caller:Qe}),[x,y]=l.useState(!1),w=Te(u),k=So(r),A=l.useRef(!1),[O,P]=l.useState(0);return l.useEffect(()=>{const E=v.current;if(E)return E.addEventListener(Bt,w),()=>E.removeEventListener(Bt,w)},[w]),m.jsx(sl,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:p,onItemFocus:l.useCallback(E=>h(E),[h]),onItemShiftTab:l.useCallback(()=>y(!0),[]),onFocusableItemAdd:l.useCallback(()=>P(E=>E+1),[]),onFocusableItemRemove:l.useCallback(()=>P(E=>E-1),[]),children:m.jsx(V.div,{tabIndex:x||O===0?-1:0,"data-orientation":n,...f,ref:g,style:{outline:"none",...e.style},onMouseDown:X(e.onMouseDown,()=>{A.current=!0}),onFocus:X(e.onFocus,E=>{const M=!A.current;if(E.target===E.currentTarget&&M&&!x){const L=new CustomEvent(Bt,rl);if(E.currentTarget.dispatchEvent(L),!L.defaultPrevented){const B=k().filter(_=>_.focusable),U=B.find(_=>_.active),H=B.find(_=>_.id===p),Y=[U,H,...B].filter(Boolean).map(_=>_.ref.current);Io(Y,d)}}A.current=!1}),onBlur:X(e.onBlur,()=>y(!1))})})}),No="RovingFocusGroupItem",_o=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:a,...i}=e,c=Se(),u=s||c,d=al(No,r),f=d.currentTabStopId===u,v=So(r),{onFocusableItemAdd:g,onFocusableItemRemove:b,currentTabStopId:p}=d;return l.useEffect(()=>{if(n)return g(),()=>b()},[n,g,b]),m.jsx(Jt.ItemSlot,{scope:r,id:u,focusable:n,active:o,children:m.jsx(V.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...i,ref:t,onMouseDown:X(e.onMouseDown,h=>{n?d.onItemFocus(u):h.preventDefault()}),onFocus:X(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:X(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){d.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const x=ul(h,d.orientation,d.dir);if(x!==void 0){if(h.metaKey||h.ctrlKey||h.altKey||h.shiftKey)return;h.preventDefault();let w=v().filter(k=>k.focusable).map(k=>k.ref.current);if(x==="last")w.reverse();else if(x==="prev"||x==="next"){x==="prev"&&w.reverse();const k=w.indexOf(h.currentTarget);w=d.loop?dl(w,k+1):w.slice(k+1)}setTimeout(()=>Io(w))}}),children:typeof a=="function"?a({isCurrentTabStop:f,hasTabStop:p!=null}):a})})});_o.displayName=No;var cl={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ll(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ul(e,t,r){const n=ll(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return cl[n]}function Io(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function dl(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var fl=Oo,pl=_o,Re="ToggleGroup",[Do,Hd]=pe(Re,[To]),Mo=To(),gr=I.forwardRef((e,t)=>{const{type:r,...n}=e;if(r==="single"){const o=n;return m.jsx(ml,{...o,ref:t})}if(r==="multiple"){const o=n;return m.jsx(gl,{...o,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${Re}\``)});gr.displayName=Re;var[jo,Lo]=Do(Re),ml=I.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},...s}=e,[a,i]=me({prop:r,defaultProp:n??"",onChange:o,caller:Re});return m.jsx(jo,{scope:e.__scopeToggleGroup,type:"single",value:I.useMemo(()=>a?[a]:[],[a]),onItemActivate:i,onItemDeactivate:I.useCallback(()=>i(""),[i]),children:m.jsx(Fo,{...s,ref:t})})}),gl=I.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},...s}=e,[a,i]=me({prop:r,defaultProp:n??[],onChange:o,caller:Re}),c=I.useCallback(d=>i((f=[])=>[...f,d]),[i]),u=I.useCallback(d=>i((f=[])=>f.filter(v=>v!==d)),[i]);return m.jsx(jo,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:c,onItemDeactivate:u,children:m.jsx(Fo,{...s,ref:t})})});gr.displayName=Re;var[vl,hl]=Do(Re),Fo=I.forwardRef((e,t)=>{const{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:o=!0,orientation:s,dir:a,loop:i=!0,...c}=e,u=Mo(r),d=mr(a),f={role:"group",dir:d,...c};return m.jsx(vl,{scope:r,rovingFocus:o,disabled:n,children:o?m.jsx(fl,{asChild:!0,...u,orientation:s,dir:d,loop:i,children:m.jsx(V.div,{...f,ref:t})}):m.jsx(V.div,{...f,ref:t})})}),ht="ToggleGroupItem",$o=I.forwardRef((e,t)=>{const r=Lo(ht,e.__scopeToggleGroup),n=hl(ht,e.__scopeToggleGroup),o=Mo(e.__scopeToggleGroup),s=r.value.includes(e.value),a=n.disabled||e.disabled,i={...e,pressed:s,disabled:a},c=I.useRef(null);return n.rovingFocus?m.jsx(pl,{asChild:!0,...o,focusable:!a,active:s,ref:c,children:m.jsx(on,{...i,ref:t})}):m.jsx(on,{...i,ref:t})});$o.displayName=ht;var on=I.forwardRef((e,t)=>{const{__scopeToggleGroup:r,value:n,...o}=e,s=Lo(ht,r),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=s.type==="single"?a:void 0;return m.jsx(pr,{...i,...o,ref:t,onPressedChange:c=>{c?s.onItemActivate(n):s.onItemDeactivate(n)}})}),bl=gr,xl=$o;const zo=l.createContext({size:"default",variant:"default"});function yl({className:e,variant:t,size:r,children:n,...o}){return m.jsx(bl,{"data-slot":"toggle-group","data-variant":t,"data-size":r,className:G("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs dark:data-[variant=outline]:shadow-xs",e),...o,children:m.jsx(zo.Provider,{value:{variant:t,size:r},children:n})})}function wl({className:e,children:t,variant:r,size:n,...o}){const s=l.useContext(zo);return m.jsx(xl,{"data-slot":"toggle-group-item","data-variant":s.variant||r,"data-size":s.size||n,className:G(Ao({variant:s.variant||r,size:s.size||n}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",e),...o,children:t})}const Cl=["top","right","bottom","left"],ke=Math.min,re=Math.max,bt=Math.round,dt=Math.floor,de=e=>({x:e,y:e}),kl={left:"right",right:"left",bottom:"top",top:"bottom"},El={start:"end",end:"start"};function Qt(e,t,r){return re(e,ke(t,r))}function be(e,t){return typeof e=="function"?e(t):e}function xe(e){return e.split("-")[0]}function Be(e){return e.split("-")[1]}function vr(e){return e==="x"?"y":"x"}function hr(e){return e==="y"?"height":"width"}const Rl=new Set(["top","bottom"]);function ue(e){return Rl.has(xe(e))?"y":"x"}function br(e){return vr(ue(e))}function Al(e,t,r){r===void 0&&(r=!1);const n=Be(e),o=br(e),s=hr(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=xt(a)),[a,xt(a)]}function Pl(e){const t=xt(e);return[er(e),t,er(t)]}function er(e){return e.replace(/start|end/g,t=>El[t])}const sn=["left","right"],an=["right","left"],Sl=["top","bottom"],Tl=["bottom","top"];function Ol(e,t,r){switch(e){case"top":case"bottom":return r?t?an:sn:t?sn:an;case"left":case"right":return t?Sl:Tl;default:return[]}}function Nl(e,t,r,n){const o=Be(e);let s=Ol(xe(e),r==="start",n);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(er)))),s}function xt(e){return e.replace(/left|right|bottom|top/g,t=>kl[t])}function _l(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wo(e){return typeof e!="number"?_l(e):{top:e,right:e,bottom:e,left:e}}function yt(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function cn(e,t,r){let{reference:n,floating:o}=e;const s=ue(t),a=br(t),i=hr(a),c=xe(t),u=s==="y",d=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,v=n[i]/2-o[i]/2;let g;switch(c){case"top":g={x:d,y:n.y-o.height};break;case"bottom":g={x:d,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-o.width,y:f};break;default:g={x:n.x,y:n.y}}switch(Be(t)){case"start":g[a]-=v*(r&&u?-1:1);break;case"end":g[a]+=v*(r&&u?-1:1);break}return g}const Il=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:a}=r,i=s.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=cn(u,n,c),v=n,g={},b=0;for(let p=0;p<i.length;p++){const{name:h,fn:x}=i[p],{x:y,y:w,data:k,reset:A}=await x({x:d,y:f,initialPlacement:n,placement:v,strategy:o,middlewareData:g,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,f=w??f,g={...g,[h]:{...g[h],...k}},A&&b<=50&&(b++,typeof A=="object"&&(A.placement&&(v=A.placement),A.rects&&(u=A.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):A.rects),{x:d,y:f}=cn(u,v,c)),p=-1)}return{x:d,y:f,placement:v,strategy:o,middlewareData:g}};async function qe(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:a,elements:i,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:v=!1,padding:g=0}=be(t,e),b=Wo(g),h=i[v?f==="floating"?"reference":"floating":f],x=yt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(h)))==null||r?h:h.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(i.floating)),boundary:u,rootBoundary:d,strategy:c})),y=f==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(i.floating)),k=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},A=yt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:y,offsetParent:w,strategy:c}):y);return{top:(x.top-A.top+b.top)/k.y,bottom:(A.bottom-x.bottom+b.bottom)/k.y,left:(x.left-A.left+b.left)/k.x,right:(A.right-x.right+b.right)/k.x}}const Dl=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:a,elements:i,middlewareData:c}=t,{element:u,padding:d=0}=be(e,t)||{};if(u==null)return{};const f=Wo(d),v={x:r,y:n},g=br(o),b=hr(g),p=await a.getDimensions(u),h=g==="y",x=h?"top":"left",y=h?"bottom":"right",w=h?"clientHeight":"clientWidth",k=s.reference[b]+s.reference[g]-v[g]-s.floating[b],A=v[g]-s.reference[g],O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let P=O?O[w]:0;(!P||!await(a.isElement==null?void 0:a.isElement(O)))&&(P=i.floating[w]||s.floating[b]);const E=k/2-A/2,M=P/2-p[b]/2-1,L=ke(f[x],M),B=ke(f[y],M),U=L,H=P-p[b]-B,F=P/2-p[b]/2+E,Y=Qt(U,F,H),_=!c.arrow&&Be(o)!=null&&F!==Y&&s.reference[b]/2-(F<U?L:B)-p[b]/2<0,$=_?F<U?F-U:F-H:0;return{[g]:v[g]+$,data:{[g]:Y,centerOffset:F-Y-$,..._&&{alignmentOffset:$}},reset:_}}}),Ml=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:a,initialPlacement:i,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...h}=be(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const x=xe(o),y=ue(i),w=xe(i)===i,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),A=v||(w||!p?[xt(i)]:Pl(i)),O=b!=="none";!v&&O&&A.push(...Nl(i,p,b,k));const P=[i,...A],E=await qe(t,h),M=[];let L=((n=s.flip)==null?void 0:n.overflows)||[];if(d&&M.push(E[x]),f){const F=Al(o,a,k);M.push(E[F[0]],E[F[1]])}if(L=[...L,{placement:o,overflows:M}],!M.every(F=>F<=0)){var B,U;const F=(((B=s.flip)==null?void 0:B.index)||0)+1,Y=P[F];if(Y&&(!(f==="alignment"?y!==ue(Y):!1)||L.every(R=>ue(R.placement)===y?R.overflows[0]>0:!0)))return{data:{index:F,overflows:L},reset:{placement:Y}};let _=(U=L.filter($=>$.overflows[0]<=0).sort(($,R)=>$.overflows[1]-R.overflows[1])[0])==null?void 0:U.placement;if(!_)switch(g){case"bestFit":{var H;const $=(H=L.filter(R=>{if(O){const q=ue(R.placement);return q===y||q==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(q=>q>0).reduce((q,C)=>q+C,0)]).sort((R,q)=>R[1]-q[1])[0])==null?void 0:H[0];$&&(_=$);break}case"initialPlacement":_=i;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function ln(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function un(e){return Cl.some(t=>e[t]>=0)}const jl=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=be(e,t);switch(n){case"referenceHidden":{const s=await qe(t,{...o,elementContext:"reference"}),a=ln(s,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:un(a)}}}case"escaped":{const s=await qe(t,{...o,altBoundary:!0}),a=ln(s,r.floating);return{data:{escapedOffsets:a,escaped:un(a)}}}default:return{}}}}},Go=new Set(["left","top"]);async function Ll(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=xe(r),i=Be(r),c=ue(r)==="y",u=Go.has(a)?-1:1,d=s&&c?-1:1,f=be(t,e);let{mainAxis:v,crossAxis:g,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof b=="number"&&(g=i==="end"?b*-1:b),c?{x:g*d,y:v*u}:{x:v*u,y:g*d}}const Fl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:a,middlewareData:i}=t,c=await Ll(t,e);return a===((r=i.offset)==null?void 0:r.placement)&&(n=i.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:a}}}}},$l=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:i={fn:h=>{let{x,y}=h;return{x,y}}},...c}=be(e,t),u={x:r,y:n},d=await qe(t,c),f=ue(xe(o)),v=vr(f);let g=u[v],b=u[f];if(s){const h=v==="y"?"top":"left",x=v==="y"?"bottom":"right",y=g+d[h],w=g-d[x];g=Qt(y,g,w)}if(a){const h=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=b+d[h],w=b-d[x];b=Qt(y,b,w)}const p=i.fn({...t,[v]:g,[f]:b});return{...p,data:{x:p.x-r,y:p.y-n,enabled:{[v]:s,[f]:a}}}}}},zl=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:a}=t,{offset:i=0,mainAxis:c=!0,crossAxis:u=!0}=be(e,t),d={x:r,y:n},f=ue(o),v=vr(f);let g=d[v],b=d[f];const p=be(i,t),h=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const w=v==="y"?"height":"width",k=s.reference[v]-s.floating[w]+h.mainAxis,A=s.reference[v]+s.reference[w]-h.mainAxis;g<k?g=k:g>A&&(g=A)}if(u){var x,y;const w=v==="y"?"width":"height",k=Go.has(xe(o)),A=s.reference[f]-s.floating[w]+(k&&((x=a.offset)==null?void 0:x[f])||0)+(k?0:h.crossAxis),O=s.reference[f]+s.reference[w]+(k?0:((y=a.offset)==null?void 0:y[f])||0)-(k?h.crossAxis:0);b<A?b=A:b>O&&(b=O)}return{[v]:g,[f]:b}}}},Wl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:a,elements:i}=t,{apply:c=()=>{},...u}=be(e,t),d=await qe(t,u),f=xe(o),v=Be(o),g=ue(o)==="y",{width:b,height:p}=s.floating;let h,x;f==="top"||f==="bottom"?(h=f,x=v===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,h=v==="end"?"top":"bottom");const y=p-d.top-d.bottom,w=b-d.left-d.right,k=ke(p-d[h],y),A=ke(b-d[x],w),O=!t.middlewareData.shift;let P=k,E=A;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=y),O&&!v){const L=re(d.left,0),B=re(d.right,0),U=re(d.top,0),H=re(d.bottom,0);g?E=b-2*(L!==0||B!==0?L+B:re(d.left,d.right)):P=p-2*(U!==0||H!==0?U+H:re(d.top,d.bottom))}await c({...t,availableWidth:E,availableHeight:P});const M=await a.getDimensions(i.floating);return b!==M.width||p!==M.height?{reset:{rects:!0}}:{}}}};function Pt(){return typeof window<"u"}function He(e){return Vo(e)?(e.nodeName||"").toLowerCase():"#document"}function ne(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ge(e){var t;return(t=(Vo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vo(e){return Pt()?e instanceof Node||e instanceof ne(e).Node:!1}function oe(e){return Pt()?e instanceof Element||e instanceof ne(e).Element:!1}function fe(e){return Pt()?e instanceof HTMLElement||e instanceof ne(e).HTMLElement:!1}function dn(e){return!Pt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ne(e).ShadowRoot}const Gl=new Set(["inline","contents"]);function et(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Gl.has(o)}const Vl=new Set(["table","td","th"]);function Bl(e){return Vl.has(He(e))}const Hl=[":popover-open",":modal"];function St(e){return Hl.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ul=["transform","translate","scale","rotate","perspective"],Yl=["transform","translate","scale","rotate","perspective","filter"],Kl=["paint","layout","strict","content"];function xr(e){const t=yr(),r=oe(e)?se(e):e;return Ul.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Yl.some(n=>(r.willChange||"").includes(n))||Kl.some(n=>(r.contain||"").includes(n))}function Xl(e){let t=Ee(e);for(;fe(t)&&!ze(t);){if(xr(t))return t;if(St(t))return null;t=Ee(t)}return null}function yr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ql=new Set(["html","body","#document"]);function ze(e){return ql.has(He(e))}function se(e){return ne(e).getComputedStyle(e)}function Tt(e){return oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ee(e){if(He(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dn(e)&&e.host||ge(e);return dn(t)?t.host:t}function Bo(e){const t=Ee(e);return ze(t)?e.ownerDocument?e.ownerDocument.body:e.body:fe(t)&&et(t)?t:Bo(t)}function Ze(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Bo(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=ne(o);if(s){const i=tr(a);return t.concat(a,a.visualViewport||[],et(o)?o:[],i&&r?Ze(i):[])}return t.concat(o,Ze(o,[],r))}function tr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ho(e){const t=se(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=fe(e),s=o?e.offsetWidth:r,a=o?e.offsetHeight:n,i=bt(r)!==s||bt(n)!==a;return i&&(r=s,n=a),{width:r,height:n,$:i}}function wr(e){return oe(e)?e:e.contextElement}function $e(e){const t=wr(e);if(!fe(t))return de(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=Ho(t);let a=(s?bt(r.width):r.width)/n,i=(s?bt(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const Zl=de(0);function Uo(e){const t=ne(e);return!yr()||!t.visualViewport?Zl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jl(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ne(e)?!1:t}function Ne(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=wr(e);let a=de(1);t&&(n?oe(n)&&(a=$e(n)):a=$e(e));const i=Jl(s,r,n)?Uo(s):de(0);let c=(o.left+i.x)/a.x,u=(o.top+i.y)/a.y,d=o.width/a.x,f=o.height/a.y;if(s){const v=ne(s),g=n&&oe(n)?ne(n):n;let b=v,p=tr(b);for(;p&&n&&g!==b;){const h=$e(p),x=p.getBoundingClientRect(),y=se(p),w=x.left+(p.clientLeft+parseFloat(y.paddingLeft))*h.x,k=x.top+(p.clientTop+parseFloat(y.paddingTop))*h.y;c*=h.x,u*=h.y,d*=h.x,f*=h.y,c+=w,u+=k,b=ne(p),p=tr(b)}}return yt({width:d,height:f,x:c,y:u})}function Cr(e,t){const r=Tt(e).scrollLeft;return t?t.left+r:Ne(ge(e)).left+r}function Yo(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:Cr(e,n)),s=n.top+t.scrollTop;return{x:o,y:s}}function Ql(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",a=ge(n),i=t?St(t.floating):!1;if(n===a||i&&s)return r;let c={scrollLeft:0,scrollTop:0},u=de(1);const d=de(0),f=fe(n);if((f||!f&&!s)&&((He(n)!=="body"||et(a))&&(c=Tt(n)),fe(n))){const g=Ne(n);u=$e(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}const v=a&&!f&&!s?Yo(a,c,!0):de(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x+v.x,y:r.y*u.y-c.scrollTop*u.y+d.y+v.y}}function eu(e){return Array.from(e.getClientRects())}function tu(e){const t=ge(e),r=Tt(e),n=e.ownerDocument.body,o=re(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=re(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+Cr(e);const i=-r.scrollTop;return se(n).direction==="rtl"&&(a+=re(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:a,y:i}}function ru(e,t){const r=ne(e),n=ge(e),o=r.visualViewport;let s=n.clientWidth,a=n.clientHeight,i=0,c=0;if(o){s=o.width,a=o.height;const u=yr();(!u||u&&t==="fixed")&&(i=o.offsetLeft,c=o.offsetTop)}return{width:s,height:a,x:i,y:c}}const nu=new Set(["absolute","fixed"]);function ou(e,t){const r=Ne(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=fe(e)?$e(e):de(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,c=o*s.x,u=n*s.y;return{width:a,height:i,x:c,y:u}}function fn(e,t,r){let n;if(t==="viewport")n=ru(e,r);else if(t==="document")n=tu(ge(e));else if(oe(t))n=ou(t,r);else{const o=Uo(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return yt(n)}function Ko(e,t){const r=Ee(e);return r===t||!oe(r)||ze(r)?!1:se(r).position==="fixed"||Ko(r,t)}function su(e,t){const r=t.get(e);if(r)return r;let n=Ze(e,[],!1).filter(i=>oe(i)&&He(i)!=="body"),o=null;const s=se(e).position==="fixed";let a=s?Ee(e):e;for(;oe(a)&&!ze(a);){const i=se(a),c=xr(a);!c&&i.position==="fixed"&&(o=null),(s?!c&&!o:!c&&i.position==="static"&&!!o&&nu.has(o.position)||et(a)&&!c&&Ko(e,a))?n=n.filter(d=>d!==a):o=i,a=Ee(a)}return t.set(e,n),n}function au(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?St(t)?[]:su(t,this._c):[].concat(r),n],i=a[0],c=a.reduce((u,d)=>{const f=fn(t,d,o);return u.top=re(f.top,u.top),u.right=ke(f.right,u.right),u.bottom=ke(f.bottom,u.bottom),u.left=re(f.left,u.left),u},fn(t,i,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function iu(e){const{width:t,height:r}=Ho(e);return{width:t,height:r}}function cu(e,t,r){const n=fe(t),o=ge(t),s=r==="fixed",a=Ne(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const c=de(0);function u(){c.x=Cr(o)}if(n||!n&&!s)if((He(t)!=="body"||et(o))&&(i=Tt(t)),n){const g=Ne(t,!0,s,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&u();s&&!n&&o&&u();const d=o&&!n&&!s?Yo(o,i):de(0),f=a.left+i.scrollLeft-c.x-d.x,v=a.top+i.scrollTop-c.y-d.y;return{x:f,y:v,width:a.width,height:a.height}}function Ht(e){return se(e).position==="static"}function pn(e,t){if(!fe(e)||se(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ge(e)===r&&(r=r.ownerDocument.body),r}function Xo(e,t){const r=ne(e);if(St(e))return r;if(!fe(e)){let o=Ee(e);for(;o&&!ze(o);){if(oe(o)&&!Ht(o))return o;o=Ee(o)}return r}let n=pn(e,t);for(;n&&Bl(n)&&Ht(n);)n=pn(n,t);return n&&ze(n)&&Ht(n)&&!xr(n)?r:n||Xl(e)||r}const lu=async function(e){const t=this.getOffsetParent||Xo,r=this.getDimensions,n=await r(e.floating);return{reference:cu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function uu(e){return se(e).direction==="rtl"}const du={convertOffsetParentRelativeRectToViewportRelativeRect:Ql,getDocumentElement:ge,getClippingRect:au,getOffsetParent:Xo,getElementRects:lu,getClientRects:eu,getDimensions:iu,getScale:$e,isElement:oe,isRTL:uu};function qo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fu(e,t){let r=null,n;const o=ge(e);function s(){var i;clearTimeout(n),(i=r)==null||i.disconnect(),r=null}function a(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:v,height:g}=u;if(i||t(),!v||!g)return;const b=dt(f),p=dt(o.clientWidth-(d+v)),h=dt(o.clientHeight-(f+g)),x=dt(d),w={rootMargin:-b+"px "+-p+"px "+-h+"px "+-x+"px",threshold:re(0,ke(1,c))||1};let k=!0;function A(O){const P=O[0].intersectionRatio;if(P!==c){if(!k)return a();P?a(!1,P):n=setTimeout(()=>{a(!1,1e-7)},1e3)}P===1&&!qo(u,e.getBoundingClientRect())&&a(),k=!1}try{r=new IntersectionObserver(A,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(A,w)}r.observe(e)}return a(!0),s}function pu(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,u=wr(e),d=o||s?[...u?Ze(u):[],...Ze(t)]:[];d.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),s&&x.addEventListener("resize",r)});const f=u&&i?fu(u,r):null;let v=-1,g=null;a&&(g=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),u&&!c&&g.observe(u),g.observe(t));let b,p=c?Ne(e):null;c&&h();function h(){const x=Ne(e);p&&!qo(p,x)&&r(),p=x,b=requestAnimationFrame(h)}return r(),()=>{var x;d.forEach(y=>{o&&y.removeEventListener("scroll",r),s&&y.removeEventListener("resize",r)}),f?.(),(x=g)==null||x.disconnect(),g=null,c&&cancelAnimationFrame(b)}}const mu=Fl,gu=$l,vu=Ml,hu=Wl,bu=jl,mn=Dl,xu=zl,yu=(e,t,r)=>{const n=new Map,o={platform:du,...r},s={...o.platform,_c:n};return Il(e,t,{...o,platform:s})};var wu=typeof document<"u",Cu=function(){},mt=wu?I.useLayoutEffect:Cu;function wt(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 r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!wt(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!wt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Zo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function gn(e,t){const r=Zo(e);return Math.round(t*r)/r}function Ut(e){const t=l.useRef(e);return mt(()=>{t.current=e}),t}function ku(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:a}={},transform:i=!0,whileElementsMounted:c,open:u}=e,[d,f]=l.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[v,g]=l.useState(n);wt(v,n)||g(n);const[b,p]=l.useState(null),[h,x]=l.useState(null),y=l.useCallback(R=>{R!==O.current&&(O.current=R,p(R))},[]),w=l.useCallback(R=>{R!==P.current&&(P.current=R,x(R))},[]),k=s||b,A=a||h,O=l.useRef(null),P=l.useRef(null),E=l.useRef(d),M=c!=null,L=Ut(c),B=Ut(o),U=Ut(u),H=l.useCallback(()=>{if(!O.current||!P.current)return;const R={placement:t,strategy:r,middleware:v};B.current&&(R.platform=B.current),yu(O.current,P.current,R).then(q=>{const C={...q,isPositioned:U.current!==!1};F.current&&!wt(E.current,C)&&(E.current=C,bn.flushSync(()=>{f(C)}))})},[v,t,r,B,U]);mt(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(R=>({...R,isPositioned:!1})))},[u]);const F=l.useRef(!1);mt(()=>(F.current=!0,()=>{F.current=!1}),[]),mt(()=>{if(k&&(O.current=k),A&&(P.current=A),k&&A){if(L.current)return L.current(k,A,H);H()}},[k,A,H,L,M]);const Y=l.useMemo(()=>({reference:O,floating:P,setReference:y,setFloating:w}),[y,w]),_=l.useMemo(()=>({reference:k,floating:A}),[k,A]),$=l.useMemo(()=>{const R={position:r,left:0,top:0};if(!_.floating)return R;const q=gn(_.floating,d.x),C=gn(_.floating,d.y);return i?{...R,transform:"translate("+q+"px, "+C+"px)",...Zo(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:q,top:C}},[r,i,_.floating,d.x,d.y]);return l.useMemo(()=>({...d,update:H,refs:Y,elements:_,floatingStyles:$}),[d,H,Y,_,$])}const Eu=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?mn({element:n.current,padding:o}).fn(r):{}:n?mn({element:n,padding:o}).fn(r):{}}}},Ru=(e,t)=>({...mu(e),options:[e,t]}),Au=(e,t)=>({...gu(e),options:[e,t]}),Pu=(e,t)=>({...xu(e),options:[e,t]}),Su=(e,t)=>({...vu(e),options:[e,t]}),Tu=(e,t)=>({...hu(e),options:[e,t]}),Ou=(e,t)=>({...bu(e),options:[e,t]}),Nu=(e,t)=>({...Eu(e),options:[e,t]});var _u="Arrow",Jo=l.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return m.jsx(V.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});Jo.displayName=_u;var Iu=Jo,kr="Popper",[Qo,es]=pe(kr),[Du,ts]=Qo(kr),rs=e=>{const{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return m.jsx(Du,{scope:t,anchor:n,onAnchorChange:o,children:r})};rs.displayName=kr;var ns="PopperAnchor",os=l.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=ts(ns,r),a=l.useRef(null),i=Q(t,a);return l.useEffect(()=>{s.onAnchorChange(n?.current||a.current)}),n?null:m.jsx(V.div,{...o,ref:i})});os.displayName=ns;var Er="PopperContent",[Mu,ju]=Qo(Er),ss=l.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:i=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:g="optimized",onPlaced:b,...p}=e,h=ts(Er,r),[x,y]=l.useState(null),w=Q(t,W=>y(W)),[k,A]=l.useState(null),O=xo(k),P=O?.width??0,E=O?.height??0,M=n+(s!=="center"?"-"+s:""),L=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},B=Array.isArray(u)?u:[u],U=B.length>0,H={padding:L,boundary:B.filter(Fu),altBoundary:U},{refs:F,floatingStyles:Y,placement:_,isPositioned:$,middlewareData:R}=ku({strategy:"fixed",placement:M,whileElementsMounted:(...W)=>pu(...W,{animationFrame:g==="always"}),elements:{reference:h.anchor},middleware:[Ru({mainAxis:o+E,alignmentAxis:a}),c&&Au({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Pu():void 0,...H}),c&&Su({...H}),Tu({...H,apply:({elements:W,rects:Z,availableWidth:te,availableHeight:ce})=>{const{width:Ae,height:Ie}=Z.reference,rt=W.floating.style;rt.setProperty("--radix-popper-available-width",`${te}px`),rt.setProperty("--radix-popper-available-height",`${ce}px`),rt.setProperty("--radix-popper-anchor-width",`${Ae}px`),rt.setProperty("--radix-popper-anchor-height",`${Ie}px`)}}),k&&Nu({element:k,padding:i}),$u({arrowWidth:P,arrowHeight:E}),v&&Ou({strategy:"referenceHidden",...H})]}),[q,C]=cs(_),N=Te(b);he(()=>{$&&N?.()},[$,N]);const z=R.arrow?.x,j=R.arrow?.y,K=R.arrow?.centerOffset!==0,[ee,ye]=l.useState();return he(()=>{x&&ye(window.getComputedStyle(x).zIndex)},[x]),m.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:$?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(Mu,{scope:r,placedSide:q,onArrowChange:A,arrowX:z,arrowY:j,shouldHideArrow:K,children:m.jsx(V.div,{"data-side":q,"data-align":C,...p,ref:w,style:{...p.style,animation:$?void 0:"none"}})})})});ss.displayName=Er;var as="PopperArrow",Lu={top:"bottom",right:"left",bottom:"top",left:"right"},is=l.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=ju(as,n),a=Lu[s.placedSide];return m.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:m.jsx(Iu,{...o,ref:r,style:{...o.style,display:"block"}})})});is.displayName=as;function Fu(e){return e!==null}var $u=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,i=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=cs(r),f={start:"0%",center:"50%",end:"100%"}[d],v=(o.arrow?.x??0)+i/2,g=(o.arrow?.y??0)+c/2;let b="",p="";return u==="bottom"?(b=a?f:`${v}px`,p=`${-c}px`):u==="top"?(b=a?f:`${v}px`,p=`${n.floating.height+c}px`):u==="right"?(b=`${-c}px`,p=a?f:`${g}px`):u==="left"&&(b=`${n.floating.width+c}px`,p=a?f:`${g}px`),{data:{x:b,y:p}}}});function cs(e){const[t,r="center"]=e.split("-");return[t,r]}var zu=rs,Wu=os,Gu=ss,Vu=is,Bu=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Hu="VisuallyHidden",ls=l.forwardRef((e,t)=>m.jsx(V.span,{...e,ref:t,style:{...Bu,...e.style}}));ls.displayName=Hu;var Uu=ls,[Ot,Ud]=pe("Tooltip",[es]),Nt=es(),us="TooltipProvider",Yu=700,rr="tooltip.open",[Ku,Rr]=Ot(us),ds=e=>{const{__scopeTooltip:t,delayDuration:r=Yu,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,a=l.useRef(!0),i=l.useRef(!1),c=l.useRef(0);return l.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),m.jsx(Ku,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:l.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:l.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,n)},[n]),isPointerInTransitRef:i,onPointerInTransitChange:l.useCallback(u=>{i.current=u},[]),disableHoverableContent:o,children:s})};ds.displayName=us;var Je="Tooltip",[Xu,tt]=Ot(Je),fs=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:a,delayDuration:i}=e,c=Rr(Je,e.__scopeTooltip),u=Nt(t),[d,f]=l.useState(null),v=Se(),g=l.useRef(0),b=a??c.disableHoverableContent,p=i??c.delayDuration,h=l.useRef(!1),[x,y]=me({prop:n,defaultProp:o??!1,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(rr))):c.onClose(),s?.(P)},caller:Je}),w=l.useMemo(()=>x?h.current?"delayed-open":"instant-open":"closed",[x]),k=l.useCallback(()=>{window.clearTimeout(g.current),g.current=0,h.current=!1,y(!0)},[y]),A=l.useCallback(()=>{window.clearTimeout(g.current),g.current=0,y(!1)},[y]),O=l.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{h.current=!0,y(!0),g.current=0},p)},[p,y]);return l.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),m.jsx(zu,{...u,children:m.jsx(Xu,{scope:t,contentId:v,open:x,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:l.useCallback(()=>{c.isOpenDelayedRef.current?O():k()},[c.isOpenDelayedRef,O,k]),onTriggerLeave:l.useCallback(()=>{b?A():(window.clearTimeout(g.current),g.current=0)},[A,b]),onOpen:k,onClose:A,disableHoverableContent:b,children:r})})};fs.displayName=Je;var nr="TooltipTrigger",ps=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=tt(nr,r),s=Rr(nr,r),a=Nt(r),i=l.useRef(null),c=Q(t,i,o.onTriggerChange),u=l.useRef(!1),d=l.useRef(!1),f=l.useCallback(()=>u.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),m.jsx(Wu,{asChild:!0,...a,children:m.jsx(V.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:c,onPointerMove:X(e.onPointerMove,v=>{v.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:X(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:X(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:X(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:X(e.onBlur,o.onClose),onClick:X(e.onClick,o.onClose)})})});ps.displayName=nr;var Ar="TooltipPortal",[qu,Zu]=Ot(Ar,{forceMount:void 0}),ms=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=tt(Ar,t);return m.jsx(qu,{scope:t,forceMount:r,children:m.jsx(_e,{present:r||s.open,children:m.jsx(ir,{asChild:!0,container:o,children:n})})})};ms.displayName=Ar;var We="TooltipContent",gs=l.forwardRef((e,t)=>{const r=Zu(We,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,a=tt(We,e.__scopeTooltip);return m.jsx(_e,{present:n||a.open,children:a.disableHoverableContent?m.jsx(vs,{side:o,...s,ref:t}):m.jsx(Ju,{side:o,...s,ref:t})})}),Ju=l.forwardRef((e,t)=>{const r=tt(We,e.__scopeTooltip),n=Rr(We,e.__scopeTooltip),o=l.useRef(null),s=Q(t,o),[a,i]=l.useState(null),{trigger:c,onClose:u}=r,d=o.current,{onPointerInTransitChange:f}=n,v=l.useCallback(()=>{i(null),f(!1)},[f]),g=l.useCallback((b,p)=>{const h=b.currentTarget,x={x:b.clientX,y:b.clientY},y=rd(x,h.getBoundingClientRect()),w=nd(x,y),k=od(p.getBoundingClientRect()),A=ad([...w,...k]);i(A),f(!0)},[f]);return l.useEffect(()=>()=>v(),[v]),l.useEffect(()=>{if(c&&d){const b=h=>g(h,d),p=h=>g(h,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",p),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",p)}}},[c,d,g,v]),l.useEffect(()=>{if(a){const b=p=>{const h=p.target,x={x:p.clientX,y:p.clientY},y=c?.contains(h)||d?.contains(h),w=!sd(x,a);y?v():w&&(v(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,a,u,v]),m.jsx(vs,{...e,ref:s})}),[Qu,ed]=Ot(Je,{isInside:!1}),td=Sa("TooltipContent"),vs=l.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...i}=e,c=tt(We,r),u=Nt(r),{onClose:d}=c;return l.useEffect(()=>(document.addEventListener(rr,d),()=>document.removeEventListener(rr,d)),[d]),l.useEffect(()=>{if(c.trigger){const f=v=>{v.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),m.jsx(ar,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:m.jsxs(Gu,{"data-state":c.stateAttribute,...u,...i,ref:t,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[m.jsx(td,{children:n}),m.jsx(Qu,{scope:r,isInside:!0,children:m.jsx(Uu,{id:c.contentId,role:"tooltip",children:o||n})})]})})});gs.displayName=We;var hs="TooltipArrow",bs=l.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Nt(r);return ed(hs,r).isInside?null:m.jsx(Vu,{...o,...n,ref:t})});bs.displayName=hs;function rd(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function nd(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function od(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function sd(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const i=t[s],c=t[a],u=i.x,d=i.y,f=c.x,v=c.y;d>n!=v>n&&r<(f-u)*(n-d)/(v-d)+u&&(o=!o)}return o}function ad(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),id(t)}function id(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],a=r[r.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var cd=ds,ld=fs,ud=ps,dd=ms,fd=gs,pd=bs;function xs({delayDuration:e=0,...t}){return m.jsx(cd,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function md({...e}){return m.jsx(xs,{children:m.jsx(ld,{"data-slot":"tooltip",...e})})}function gd({...e}){return m.jsx(ud,{"data-slot":"tooltip-trigger",...e})}function vd({className:e,sideOffset:t=0,children:r,...n}){return m.jsx(dd,{children:m.jsxs(fd,{"data-slot":"tooltip-content",sideOffset:t,className:G("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance dark:bg-primary dark:text-primary-foreground",e),...n,children:[r,m.jsx(pd,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] dark:bg-primary dark:fill-primary"})]})})}var _t="Collapsible",[hd,ys]=pe(_t),[bd,Pr]=hd(_t),ws=l.forwardRef((e,t)=>{const{__scopeCollapsible:r,open:n,defaultOpen:o,disabled:s,onOpenChange:a,...i}=e,[c,u]=me({prop:n,defaultProp:o??!1,onChange:a,caller:_t});return m.jsx(bd,{scope:r,disabled:s,contentId:Se(),open:c,onOpenToggle:l.useCallback(()=>u(d=>!d),[u]),children:m.jsx(V.div,{"data-state":Tr(c),"data-disabled":s?"":void 0,...i,ref:t})})});ws.displayName=_t;var Cs="CollapsibleTrigger",ks=l.forwardRef((e,t)=>{const{__scopeCollapsible:r,...n}=e,o=Pr(Cs,r);return m.jsx(V.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Tr(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:t,onClick:X(e.onClick,o.onOpenToggle)})});ks.displayName=Cs;var Sr="CollapsibleContent",Es=l.forwardRef((e,t)=>{const{forceMount:r,...n}=e,o=Pr(Sr,e.__scopeCollapsible);return m.jsx(_e,{present:r||o.open,children:({present:s})=>m.jsx(xd,{...n,ref:t,present:s})})});Es.displayName=Sr;var xd=l.forwardRef((e,t)=>{const{__scopeCollapsible:r,present:n,children:o,...s}=e,a=Pr(Sr,r),[i,c]=l.useState(n),u=l.useRef(null),d=Q(t,u),f=l.useRef(0),v=f.current,g=l.useRef(0),b=g.current,p=a.open||i,h=l.useRef(p),x=l.useRef(void 0);return l.useEffect(()=>{const y=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(y)},[]),he(()=>{const y=u.current;if(y){x.current=x.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const w=y.getBoundingClientRect();f.current=w.height,g.current=w.width,h.current||(y.style.transitionDuration=x.current.transitionDuration,y.style.animationName=x.current.animationName),c(n)}},[a.open,n]),m.jsx(V.div,{"data-state":Tr(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!p,...s,ref:d,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:p&&o})});function Tr(e){return e?"open":"closed"}var yd=ws,wd=ks,Cd=Es,ie="Accordion",kd=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Or,Ed,Rd]=Po(ie),[It,Yd]=pe(ie,[Rd,ys]),Nr=ys(),Rs=I.forwardRef((e,t)=>{const{type:r,...n}=e,o=n,s=n;return m.jsx(Or.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?m.jsx(Td,{...s,ref:t}):m.jsx(Sd,{...o,ref:t})})});Rs.displayName=ie;var[As,Ad]=It(ie),[Ps,Pd]=It(ie,{collapsible:!1}),Sd=I.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},collapsible:s=!1,...a}=e,[i,c]=me({prop:r,defaultProp:n??"",onChange:o,caller:ie});return m.jsx(As,{scope:e.__scopeAccordion,value:I.useMemo(()=>i?[i]:[],[i]),onItemOpen:c,onItemClose:I.useCallback(()=>s&&c(""),[s,c]),children:m.jsx(Ps,{scope:e.__scopeAccordion,collapsible:s,children:m.jsx(Ss,{...a,ref:t})})})}),Td=I.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:o=()=>{},...s}=e,[a,i]=me({prop:r,defaultProp:n??[],onChange:o,caller:ie}),c=I.useCallback(d=>i((f=[])=>[...f,d]),[i]),u=I.useCallback(d=>i((f=[])=>f.filter(v=>v!==d)),[i]);return m.jsx(As,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:u,children:m.jsx(Ps,{scope:e.__scopeAccordion,collapsible:!0,children:m.jsx(Ss,{...s,ref:t})})})}),[Od,Dt]=It(ie),Ss=I.forwardRef((e,t)=>{const{__scopeAccordion:r,disabled:n,dir:o,orientation:s="vertical",...a}=e,i=I.useRef(null),c=Q(i,t),u=Ed(r),f=mr(o)==="ltr",v=X(e.onKeyDown,g=>{if(!kd.includes(g.key))return;const b=g.target,p=u().filter(E=>!E.ref.current?.disabled),h=p.findIndex(E=>E.ref.current===b),x=p.length;if(h===-1)return;g.preventDefault();let y=h;const w=0,k=x-1,A=()=>{y=h+1,y>k&&(y=w)},O=()=>{y=h-1,y<w&&(y=k)};switch(g.key){case"Home":y=w;break;case"End":y=k;break;case"ArrowRight":s==="horizontal"&&(f?A():O());break;case"ArrowDown":s==="vertical"&&A();break;case"ArrowLeft":s==="horizontal"&&(f?O():A());break;case"ArrowUp":s==="vertical"&&O();break}const P=y%x;p[P].ref.current?.focus()});return m.jsx(Od,{scope:r,disabled:n,direction:o,orientation:s,children:m.jsx(Or.Slot,{scope:r,children:m.jsx(V.div,{...a,"data-orientation":s,ref:c,onKeyDown:n?void 0:v})})})}),Ct="AccordionItem",[Nd,_r]=It(Ct),Ts=I.forwardRef((e,t)=>{const{__scopeAccordion:r,value:n,...o}=e,s=Dt(Ct,r),a=Ad(Ct,r),i=Nr(r),c=Se(),u=n&&a.value.includes(n)||!1,d=s.disabled||e.disabled;return m.jsx(Nd,{scope:r,open:u,disabled:d,triggerId:c,children:m.jsx(yd,{"data-orientation":s.orientation,"data-state":Ms(u),...i,...o,ref:t,disabled:d,open:u,onOpenChange:f=>{f?a.onItemOpen(n):a.onItemClose(n)}})})});Ts.displayName=Ct;var Os="AccordionHeader",Ns=I.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=Dt(ie,r),s=_r(Os,r);return m.jsx(V.h3,{"data-orientation":o.orientation,"data-state":Ms(s.open),"data-disabled":s.disabled?"":void 0,...n,ref:t})});Ns.displayName=Os;var or="AccordionTrigger",_s=I.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=Dt(ie,r),s=_r(or,r),a=Pd(or,r),i=Nr(r);return m.jsx(Or.ItemSlot,{scope:r,children:m.jsx(wd,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...i,...n,ref:t})})});_s.displayName=or;var Is="AccordionContent",Ds=I.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,o=Dt(ie,r),s=_r(Is,r),a=Nr(r);return m.jsx(Cd,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...a,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Ds.displayName=Is;function Ms(e){return e?"open":"closed"}var _d=Rs,Id=Ts,Dd=Ns,Md=_s,jd=Ds;function Ld({...e}){return m.jsx(_d,{"data-slot":"accordion",...e})}function Fd({className:e,...t}){return m.jsx(Id,{"data-slot":"accordion-item",className:G("border-b last:border-b-0 dark:border-border",e),...t})}function $d({className:e,children:t,...r}){return m.jsx(Dd,{className:"flex",children:m.jsxs(Md,{"data-slot":"accordion-trigger",className:G("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium text-foreground transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180 dark:text-foreground dark:focus-visible:border-ring dark:focus-visible:ring-ring/50",e),...r,children:[t,m.jsx(Ec,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200 dark:text-muted-foreground"})]})})}function zd({className:e,children:t,...r}){return m.jsx(jd,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-foreground dark:text-foreground",...r,children:m.jsx("div",{className:G("pt-0 pb-4",e),children:t})})}exports.Accordion=Ld;exports.AccordionContent=zd;exports.AccordionItem=Fd;exports.AccordionTrigger=$d;exports.Badge=Ia;exports.Button=Nn;exports.Card=Da;exports.CardAction=Fa;exports.CardContent=$a;exports.CardDescription=La;exports.CardFooter=za;exports.CardHeader=Ma;exports.CardTitle=ja;exports.Dialog=Pc;exports.DialogClose=Tc;exports.DialogContent=Oc;exports.DialogDescription=Dc;exports.DialogFooter=_c;exports.DialogHeader=Nc;exports.DialogOverlay=mo;exports.DialogPortal=po;exports.DialogTitle=Ic;exports.DialogTrigger=Sc;exports.Input=Ra;exports.Progress=Vc;exports.Skeleton=Bc;exports.Switch=Jc;exports.Toggle=el;exports.ToggleGroup=yl;exports.ToggleGroupItem=wl;exports.Tooltip=md;exports.TooltipContent=vd;exports.TooltipProvider=xs;exports.TooltipTrigger=gd;exports.borderRadius=Fs;exports.cn=G;exports.colors=js;exports.spacing=Ls;exports.typography=$s;
23
102
  //# sourceMappingURL=index.cjs.js.map