import{r as u,j as P,t as ze,U as D}from"./app-Bup04Qnx.js";import{c as Ye}from"./clsx-B-dksMZM.js";import{r as He}from"./index-CtjruoRR.js";function Ae(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Te(...e){return t=>{let o=!1;const r=e.map(n=>{const s=Ae(n,t);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let n=0;n<r.length;n++){const s=r[n];typeof s=="function"?s():Ae(e[n],null)}}}}function oe(...e){return u.useCallback(Te(...e),e)}function re(e){const t=et(e),o=u.forwardRef((r,n)=>{const{children:s,...a}=r,i=u.Children.toArray(s),l=i.find(tt);if(l){const m=l.props.children,f=i.map(h=>h===l?u.Children.count(m)>1?u.Children.only(null):u.isValidElement(m)?m.props.children:null:h);return P.jsx(t,{...a,ref:n,children:u.isValidElement(m)?u.cloneElement(m,void 0,f):null})}return P.jsx(t,{...a,ref:n,children:s})});return o.displayName=`${e}.Slot`,o}var mo=re("Slot");function et(e){const t=u.forwardRef((o,r)=>{const{children:n,...s}=o;if(u.isValidElement(n)){const a=rt(n),i=ot(s,n.props);return n.type!==u.Fragment&&(i.ref=r?Te(r,a):a),u.cloneElement(n,i)}return u.Children.count(n)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Oe=Symbol("radix.slottable");function po(e){const t=({children:o})=>P.jsx(P.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=Oe,t}function tt(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Oe}function ot(e,t){const o={...t};for(const r in t){const n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?o[r]=(...i)=>{const l=s(...i);return n(...i),l}:n&&(o[r]=n):r==="style"?o[r]={...n,...s}:r==="className"&&(o[r]=[n,s].filter(Boolean).join(" "))}return{...e,...o}}function rt(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),st=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,r)=>r?r.toUpperCase():o.toLowerCase()),Me=e=>{const t=st(e);return t.charAt(0).toUpperCase()+t.slice(1)},_e=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),at=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var it={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"};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lt=u.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:s,iconNode:a,...i},l)=>u.createElement("svg",{ref:l,...it,width:t,height:t,stroke:e,strokeWidth:r?Number(o)*24/Number(t):o,className:_e("lucide",n),...!s&&!at(i)&&{"aria-hidden":"true"},...i},[...a.map(([m,f])=>u.createElement(m,f)),...Array.isArray(s)?s:[s]]));/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ct=(e,t)=>{const o=u.forwardRef(({className:r,...n},s)=>u.createElement(lt,{ref:s,iconNode:t,className:_e(`lucide-${nt(Me(e))}`,`lucide-${e}`,r),...n}));return o.displayName=Me(e),o};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dt=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fo=ct("chevron-down",dt),pe="-",ut=e=>{const t=pt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const i=a.split(pe);return i[0]===""&&i.length!==1&&i.shift(),je(i,t)||mt(a)},getConflictingClassGroupIds:(a,i)=>{const l=o[a]||[];return i&&r[a]?[...l,...r[a]]:l}}},je=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const o=e[0],r=t.nextPart.get(o),n=r?je(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;const s=e.join(pe);return(a=t.validators.find(({validator:i})=>i(s)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,mt=e=>{if(Pe.test(e)){const t=Pe.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},pt=e=>{const{theme:t,classGroups:o}=e,r={nextPart:new Map,validators:[]};for(const n in o)de(o[n],r,n,t);return r},de=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){const s=n===""?t:Ne(t,n);s.classGroupId=o;return}if(typeof n=="function"){if(ft(n)){de(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,a])=>{de(a,Ne(t,s),o,r)})})},Ne=(e,t)=>{let o=e;return t.split(pe).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},ft=e=>e.isThemeGetter,gt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map;const n=(s,a)=>{o.set(s,a),t++,t>e&&(t=0,r=o,o=new Map)};return{get(s){let a=o.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return n(s,a),a},set(s,a){o.has(s)?o.set(s,a):n(s,a)}}},ue="!",me=":",bt=me.length,ht=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=n=>{const s=[];let a=0,i=0,l=0,m;for(let y=0;y<n.length;y++){let x=n[y];if(a===0&&i===0){if(x===me){s.push(n.slice(l,y)),l=y+bt;continue}if(x==="/"){m=y;continue}}x==="["?a++:x==="]"?a--:x==="("?i++:x===")"&&i--}const f=s.length===0?n:n.substring(l),h=xt(f),w=h!==f,v=m&&m>l?m-l:void 0;return{modifiers:s,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:v}};if(t){const n=t+me,s=r;r=a=>a.startsWith(n)?s(a.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(o){const n=r;r=s=>o({className:s,parseClassName:n})}return r},xt=e=>e.endsWith(ue)?e.substring(0,e.length-1):e.startsWith(ue)?e.substring(1):e,wt=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const n=[];let s=[];return r.forEach(a=>{a[0]==="["||t[a]?(n.push(...s.sort(),a),s=[]):s.push(a)}),n.push(...s.sort()),n}},yt=e=>({cache:gt(e.cacheSize),parseClassName:ht(e),sortModifiers:wt(e),...ut(e)}),vt=/\s+/,kt=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=t,a=[],i=e.trim().split(vt);let l="";for(let m=i.length-1;m>=0;m-=1){const f=i[m],{isExternal:h,modifiers:w,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:x}=o(f);if(h){l=f+(l.length>0?" "+l:l);continue}let k=!!x,S=r(k?y.substring(0,x):y);if(!S){if(!k){l=f+(l.length>0?" "+l:l);continue}if(S=r(y),!S){l=f+(l.length>0?" "+l:l);continue}k=!1}const C=s(w).join(":"),M=v?C+ue:C,I=M+S;if(a.includes(I))continue;a.push(I);const T=n(S,k);for(let z=0;z<T.length;++z){const G=T[z];a.push(M+G)}l=f+(l.length>0?" "+l:l)}return l};function Ct(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Le(t))&&(r&&(r+=" "),r+=o);return r}const Le=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Le(e[r]))&&(o&&(o+=" "),o+=t);return o};function St(e,...t){let o,r,n,s=a;function a(l){const m=t.reduce((f,h)=>h(f),e());return o=yt(m),r=o.cache.get,n=o.cache.set,s=i,i(l)}function i(l){const m=r(l);if(m)return m;const f=kt(l,o);return n(l,f),f}return function(){return s(Ct.apply(null,arguments))}}const R=e=>{const t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ge=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,$e=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Rt=/^\d+\/\d+$/,At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mt=/\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$/,Pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Nt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,It=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>Rt.test(e),b=e=>!!e&&!Number.isNaN(Number(e)),L=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&b(e.slice(0,-1)),j=e=>At.test(e),Et=()=>!0,zt=e=>Mt.test(e)&&!Pt.test(e),De=()=>!1,Tt=e=>Nt.test(e),Ot=e=>It.test(e),_t=e=>!c(e)&&!d(e),jt=e=>W(e,Ue,De),c=e=>Ge.test(e),F=e=>W(e,We,zt),ce=e=>W(e,Ft,b),Ie=e=>W(e,Fe,De),Lt=e=>W(e,Ve,Ot),H=e=>W(e,Be,Tt),d=e=>$e.test(e),q=e=>B(e,We),Gt=e=>B(e,Vt),Ee=e=>B(e,Fe),$t=e=>B(e,Ue),Dt=e=>B(e,Ve),ee=e=>B(e,Be,!0),W=(e,t,o)=>{const r=Ge.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},B=(e,t,o=!1)=>{const r=$e.exec(e);return r?r[1]?t(r[1]):o:!1},Fe=e=>e==="position"||e==="percentage",Ve=e=>e==="image"||e==="url",Ue=e=>e==="length"||e==="size"||e==="bg-size",We=e=>e==="length",Ft=e=>e==="number",Vt=e=>e==="family-name",Be=e=>e==="shadow",Ut=()=>{const e=R("color"),t=R("font"),o=R("text"),r=R("font-weight"),n=R("tracking"),s=R("leading"),a=R("breakpoint"),i=R("container"),l=R("spacing"),m=R("radius"),f=R("shadow"),h=R("inset-shadow"),w=R("text-shadow"),v=R("drop-shadow"),y=R("blur"),x=R("perspective"),k=R("aspect"),S=R("ease"),C=R("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...I(),d,c],z=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],g=()=>[d,c,l],O=()=>[U,"full","auto",...g()],xe=()=>[L,"none","subgrid",d,c],we=()=>["auto",{span:["full",L,d,c]},L,d,c],J=()=>[L,"auto",d,c],ye=()=>["auto","min","max","fr",d,c],se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...g()],$=()=>[U,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],p=()=>[e,d,c],ve=()=>[...I(),Ee,Ie,{position:[d,c]}],ke=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ce=()=>["auto","cover","contain",$t,jt,{size:[d,c]}],ae=()=>[le,q,F],N=()=>["","none","full",m,d,c],E=()=>["",b,q,F],K=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[b,le,Ee,Ie],Re=()=>["","none",y,d,c],X=()=>["none",b,d,c],Q=()=>["none",b,d,c],ie=()=>[b,d,c],Y=()=>[U,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[Et],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[_t],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j],shadow:[j],spacing:["px",b],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",U,c,d,k]}],container:["container"],columns:[{columns:[b,c,d,i]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:T()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{start:O()}],end:[{end:O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[L,"auto",d,c]}],basis:[{basis:[U,"full","auto",i,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[b,U,"auto","initial","none",c]}],grow:[{grow:["",b,d,c]}],shrink:[{shrink:["",b,d,c]}],order:[{order:[L,"first","last","none",d,c]}],"grid-cols":[{"grid-cols":xe()}],"col-start-end":[{col:we()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":xe()}],"row-start-end":[{row:we()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ye()}],"auto-rows":[{"auto-rows":ye()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...se(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...se()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":se()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"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",o,q,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,d,ce]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,c]}],"font-family":[{font:[Gt,c,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,d,c]}],"line-clamp":[{"line-clamp":[b,"none",d,ce]}],leading:[{leading:[s,...g()]}],"list-image":[{"list-image":["none",d,c]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",d,c]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:p()}],"text-color":[{text:p()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[b,"from-font","auto",d,F]}],"text-decoration-color":[{decoration:p()}],"underline-offset":[{"underline-offset":[b,"auto",d,c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d,c]}],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",d,c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:ke()}],"bg-size":[{bg:Ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},L,d,c],radial:["",d,c],conic:[L,d,c]},Dt,Lt]}],"bg-color":[{bg:p()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:p()}],"gradient-via":[{via:p()}],"gradient-to":[{to:p()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:E()}],"border-w-x":[{"border-x":E()}],"border-w-y":[{"border-y":E()}],"border-w-s":[{"border-s":E()}],"border-w-e":[{"border-e":E()}],"border-w-t":[{"border-t":E()}],"border-w-r":[{"border-r":E()}],"border-w-b":[{"border-b":E()}],"border-w-l":[{"border-l":E()}],"divide-x":[{"divide-x":E()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":E()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:p()}],"border-color-x":[{"border-x":p()}],"border-color-y":[{"border-y":p()}],"border-color-s":[{"border-s":p()}],"border-color-e":[{"border-e":p()}],"border-color-t":[{"border-t":p()}],"border-color-r":[{"border-r":p()}],"border-color-b":[{"border-b":p()}],"border-color-l":[{"border-l":p()}],"divide-color":[{divide:p()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[b,d,c]}],"outline-w":[{outline:["",b,q,F]}],"outline-color":[{outline:p()}],shadow:[{shadow:["","none",f,ee,H]}],"shadow-color":[{shadow:p()}],"inset-shadow":[{"inset-shadow":["none",h,ee,H]}],"inset-shadow-color":[{"inset-shadow":p()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:p()}],"ring-offset-w":[{"ring-offset":[b,F]}],"ring-offset-color":[{"ring-offset":p()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":p()}],"text-shadow":[{"text-shadow":["none",w,ee,H]}],"text-shadow-color":[{"text-shadow":p()}],opacity:[{opacity:[b,d,c]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"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":[b]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":p()}],"mask-image-linear-to-color":[{"mask-linear-to":p()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":p()}],"mask-image-t-to-color":[{"mask-t-to":p()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":p()}],"mask-image-r-to-color":[{"mask-r-to":p()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":p()}],"mask-image-b-to-color":[{"mask-b-to":p()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":p()}],"mask-image-l-to-color":[{"mask-l-to":p()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":p()}],"mask-image-x-to-color":[{"mask-x-to":p()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":p()}],"mask-image-y-to-color":[{"mask-y-to":p()}],"mask-image-radial":[{"mask-radial":[d,c]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":p()}],"mask-image-radial-to-color":[{"mask-radial-to":p()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[b]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":p()}],"mask-image-conic-to-color":[{"mask-conic-to":p()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:ke()}],"mask-size":[{mask:Ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",d,c]}],filter:[{filter:["","none",d,c]}],blur:[{blur:Re()}],brightness:[{brightness:[b,d,c]}],contrast:[{contrast:[b,d,c]}],"drop-shadow":[{"drop-shadow":["","none",v,ee,H]}],"drop-shadow-color":[{"drop-shadow":p()}],grayscale:[{grayscale:["",b,d,c]}],"hue-rotate":[{"hue-rotate":[b,d,c]}],invert:[{invert:["",b,d,c]}],saturate:[{saturate:[b,d,c]}],sepia:[{sepia:["",b,d,c]}],"backdrop-filter":[{"backdrop-filter":["","none",d,c]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[b,d,c]}],"backdrop-contrast":[{"backdrop-contrast":[b,d,c]}],"backdrop-grayscale":[{"backdrop-grayscale":["",b,d,c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b,d,c]}],"backdrop-invert":[{"backdrop-invert":["",b,d,c]}],"backdrop-opacity":[{"backdrop-opacity":[b,d,c]}],"backdrop-saturate":[{"backdrop-saturate":[b,d,c]}],"backdrop-sepia":[{"backdrop-sepia":["",b,d,c]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",d,c]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[b,"initial",d,c]}],ease:[{ease:["linear","initial",S,d,c]}],delay:[{delay:[b,d,c]}],animate:[{animate:["none",C,d,c]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,d,c]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[d,c,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:p()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:p()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d,c]}],"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":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",d,c]}],fill:[{fill:["none",...p()]}],"stroke-w":[{stroke:[b,q,F,ce]}],stroke:[{stroke:["none",...p()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Wt=St(Ut);function go(...e){return Wt(Ye(e))}var Bt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],fe=Bt.reduce((e,t)=>{const o=re(`Primitive.${t}`),r=u.forwardRef((n,s)=>{const{asChild:a,...i}=n,l=a?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),P.jsx(l,{...i,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bo(e,t){e&&He.flushSync(()=>e.dispatchEvent(t))}function qt(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e==null||e(n),o===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function ho(e,t){const o=u.createContext(t),r=s=>{const{children:a,...i}=s,l=u.useMemo(()=>i,Object.values(i));return P.jsx(o.Provider,{value:l,children:a})};r.displayName=e+"Provider";function n(s){const a=u.useContext(o);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,n]}function qe(e,t=[]){let o=[];function r(s,a){const i=u.createContext(a),l=o.length;o=[...o,a];const m=h=>{var S;const{scope:w,children:v,...y}=h,x=((S=w==null?void 0:w[e])==null?void 0:S[l])||i,k=u.useMemo(()=>y,Object.values(y));return P.jsx(x.Provider,{value:k,children:v})};m.displayName=s+"Provider";function f(h,w){var x;const v=((x=w==null?void 0:w[e])==null?void 0:x[l])||i,y=u.useContext(v);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[m,f]}const n=()=>{const s=o.map(a=>u.createContext(a));return function(i){const l=(i==null?void 0:i[e])||s;return u.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return n.scopeName=e,[r,Zt(n,...t)]}function Zt(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const a=r.reduce((i,{useScope:l,scopeName:m})=>{const h=l(s)[`__scope${m}`];return{...i,...h}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return o.scopeName=t.scopeName,o}var Z=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{},Jt=ze[" useId ".trim().toString()]||(()=>{}),Kt=0;function Xt(e){const[t,o]=u.useState(Jt());return Z(()=>{o(r=>r??String(Kt++))},[e]),e||(t?`radix-${t}`:"")}var Qt=ze[" useInsertionEffect ".trim().toString()]||Z;function Yt({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){const[n,s,a]=Ht({defaultProp:t,onChange:o}),i=e!==void 0,l=i?e:n;{const f=u.useRef(e!==void 0);u.useEffect(()=>{const h=f.current;h!==i&&console.warn(`${r} is changing from ${h?"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.`),f.current=i},[i,r])}const m=u.useCallback(f=>{var h;if(i){const w=eo(f)?f(e):f;w!==e&&((h=a.current)==null||h.call(a,w))}else s(f)},[i,e,s,a]);return[l,m]}function Ht({defaultProp:e,onChange:t}){const[o,r]=u.useState(e),n=u.useRef(o),s=u.useRef(t);return Qt(()=>{s.current=t},[t]),u.useEffect(()=>{var a;n.current!==o&&((a=s.current)==null||a.call(s,o),n.current=o)},[o,n]),[o,r,s]}function eo(e){return typeof e=="function"}function to(e,t){return u.useReducer((o,r)=>t[o][r]??o,e)}var Ze=e=>{const{present:t,children:o}=e,r=oo(t),n=typeof o=="function"?o({present:r.isPresent}):u.Children.only(o),s=oe(r.ref,ro(n));return typeof o=="function"||r.isPresent?u.cloneElement(n,{ref:s}):null};Ze.displayName="Presence";function oo(e){const[t,o]=u.useState(),r=u.useRef(null),n=u.useRef(e),s=u.useRef("none"),a=e?"mounted":"unmounted",[i,l]=to(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const m=te(r.current);s.current=i==="mounted"?m:"none"},[i]),Z(()=>{const m=r.current,f=n.current;if(f!==e){const w=s.current,v=te(m);e?l("MOUNT"):v==="none"||(m==null?void 0:m.display)==="none"?l("UNMOUNT"):l(f&&w!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,l]),Z(()=>{if(t){let m;const f=t.ownerDocument.defaultView??window,h=v=>{const x=te(r.current).includes(CSS.escape(v.animationName));if(v.target===t&&x&&(l("ANIMATION_END"),!n.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",m=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},w=v=>{v.target===t&&(s.current=te(r.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(m),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:u.useCallback(m=>{r.current=m?getComputedStyle(m):null,o(m)},[])}}function te(e){return(e==null?void 0:e.animationName)||"none"}function ro(e){var r,n;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function xo(e){const t=e+"CollectionProvider",[o,r]=qe(t),[n,s]=o(t,{collectionRef:{current:null},itemMap:new Map}),a=x=>{const{scope:k,children:S}=x,C=D.useRef(null),M=D.useRef(new Map).current;return P.jsx(n,{scope:k,itemMap:M,collectionRef:C,children:S})};a.displayName=t;const i=e+"CollectionSlot",l=re(i),m=D.forwardRef((x,k)=>{const{scope:S,children:C}=x,M=s(i,S),I=oe(k,M.collectionRef);return P.jsx(l,{ref:I,children:C})});m.displayName=i;const f=e+"CollectionItemSlot",h="data-radix-collection-item",w=re(f),v=D.forwardRef((x,k)=>{const{scope:S,children:C,...M}=x,I=D.useRef(null),T=oe(k,I),z=s(f,S);return D.useEffect(()=>(z.itemMap.set(I,{ref:I,...M}),()=>void z.itemMap.delete(I))),P.jsx(w,{[h]:"",ref:T,children:C})});v.displayName=f;function y(x){const k=s(e+"CollectionConsumer",x);return D.useCallback(()=>{const C=k.collectionRef.current;if(!C)return[];const M=Array.from(C.querySelectorAll(`[${h}]`));return Array.from(k.itemMap.values()).sort((z,G)=>M.indexOf(z.ref.current)-M.indexOf(G.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:a,Slot:m,ItemSlot:v},y,r]}var no=u.createContext(void 0);function wo(e){const t=u.useContext(no);return e||t||"ltr"}var ne="Collapsible",[so,yo]=qe(ne),[ao,ge]=so(ne),Je=u.forwardRef((e,t)=>{const{__scopeCollapsible:o,open:r,defaultOpen:n,disabled:s,onOpenChange:a,...i}=e,[l,m]=Yt({prop:r,defaultProp:n??!1,onChange:a,caller:ne});return P.jsx(ao,{scope:o,disabled:s,contentId:Xt(),open:l,onOpenToggle:u.useCallback(()=>m(f=>!f),[m]),children:P.jsx(fe.div,{"data-state":he(l),"data-disabled":s?"":void 0,...i,ref:t})})});Je.displayName=ne;var Ke="CollapsibleTrigger",Xe=u.forwardRef((e,t)=>{const{__scopeCollapsible:o,...r}=e,n=ge(Ke,o);return P.jsx(fe.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":he(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...r,ref:t,onClick:qt(e.onClick,n.onOpenToggle)})});Xe.displayName=Ke;var be="CollapsibleContent",Qe=u.forwardRef((e,t)=>{const{forceMount:o,...r}=e,n=ge(be,e.__scopeCollapsible);return P.jsx(Ze,{present:o||n.open,children:({present:s})=>P.jsx(io,{...r,ref:t,present:s})})});Qe.displayName=be;var io=u.forwardRef((e,t)=>{const{__scopeCollapsible:o,present:r,children:n,...s}=e,a=ge(be,o),[i,l]=u.useState(r),m=u.useRef(null),f=oe(t,m),h=u.useRef(0),w=h.current,v=u.useRef(0),y=v.current,x=a.open||i,k=u.useRef(x),S=u.useRef(void 0);return u.useEffect(()=>{const C=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(C)},[]),Z(()=>{const C=m.current;if(C){S.current=S.current||{transitionDuration:C.style.transitionDuration,animationName:C.style.animationName},C.style.transitionDuration="0s",C.style.animationName="none";const M=C.getBoundingClientRect();h.current=M.height,v.current=M.width,k.current||(C.style.transitionDuration=S.current.transitionDuration,C.style.animationName=S.current.animationName),l(r)}},[a.open,r]),P.jsx(fe.div,{"data-state":he(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!x,...s,ref:f,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:x&&n})});function he(e){return e?"open":"closed"}var vo=Je,ko=Xe,Co=Qe;export{Xe as C,fe as P,vo as R,mo as S,ko as T,go as a,qt as b,ct as c,bo as d,Z as e,Yt as f,qe as g,Xt as h,Ze as i,re as j,ho as k,po as l,xo as m,wo as n,Te as o,Qe as p,fo as q,yo as r,Co as s,oe as u};
