feazy-neo-chat-component 0.1.64 → 0.1.65

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.
@@ -182,7 +182,7 @@ React keys must be passed directly to JSX without using spread:
182
182
  *
183
183
  * This source code is licensed under the ISC license.
184
184
  * See the LICENSE file in the root directory of this source tree.
185
- */const kn=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ia(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Br(...e){return t=>{let n=!1;const r=e.map(i=>{const o=ia(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():ia(e[i],null)}}}}function He(...e){return v.useCallback(Br(...e),e)}var Rd=Symbol.for("react.lazy"),Mr=v[" use ".trim().toString()];function Od(e){return typeof e=="object"&&e!==null&&"then"in e}function Ks(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Rd&&"_payload"in e&&Od(e._payload)}function Qs(e){const t=Dd(e),n=v.forwardRef((r,i)=>{let{children:o,...a}=r;Ks(o)&&typeof Mr=="function"&&(o=Mr(o._payload));const s=v.Children.toArray(o),l=s.find(Wd);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var Ld=Qs("Slot");function Dd(e){const t=v.forwardRef((n,r)=>{let{children:i,...o}=n;if(Ks(i)&&typeof Mr=="function"&&(i=Mr(i._payload)),v.isValidElement(i)){const a=Vd(i),s=Bd(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Fd=Symbol("radix.slottable");function Wd(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Fd}function Bd(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Vd(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Ys(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ys(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _s(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ys(e))&&(r&&(r+=" "),r+=t);return r}const oa=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,aa=_s,mo=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return aa(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const m=oa(c)||oa(d);return i[u][m]}),s=n&&Object.entries(n).reduce((u,c)=>{let[d,m]=c;return m===void 0||(u[d]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:m,...f}=c;return Object.entries(f).every(h=>{let[g,b]=h;return Array.isArray(b)?b.includes({...o,...s}[g]):{...o,...s}[g]===b})?[...u,d,m]:u},[]);return aa(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},po="-",Jd=e=>{const t=Xd(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(po);return s[0]===""&&s.length!==1&&s.shift(),$s(s,t)||Hd(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},$s=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?$s(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(po);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},sa=/^\[(.+)\]$/,Hd=e=>{if(sa.test(e)){const t=sa.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Xd=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Ud(Object.entries(e.classGroups),n).forEach(([o,a])=>{Bi(a,r,o,t)}),r},Bi=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:la(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(qd(i)){Bi(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Bi(a,la(t,o),n,r)})})},la=(e,t)=>{let n=e;return t.split(po).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qd=e=>e.isThemeGetter,Ud=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[t+a,s])):o);return[n,i]}):e,Gd=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},el="!",Zd=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=s=>{const l=[];let u=0,c=0,d;for(let b=0;b<s.length;b++){let y=s[b];if(u===0){if(y===i&&(r||s.slice(b,b+o)===t)){l.push(s.slice(c,b)),c=b+o;continue}if(y==="/"){d=b;continue}}y==="["?u++:y==="]"&&u--}const m=l.length===0?s:s.substring(c),f=m.startsWith(el),h=f?m.substring(1):m,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:g}};return n?s=>n({className:s,parseClassName:a}):a},Kd=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Qd=e=>({cache:Gd(e.cacheSize),parseClassName:Zd(e),...Jd(e)}),Yd=/\s+/,_d=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(Yd);let s="";for(let l=a.length-1;l>=0;l-=1){const u=a[l],{modifiers:c,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:f}=n(u);let h=!!f,g=r(h?m.substring(0,f):m);if(!g){if(!h){s=u+(s.length>0?" "+s:s);continue}if(g=r(m),!g){s=u+(s.length>0?" "+s:s);continue}h=!1}const b=Kd(c).join(":"),y=d?b+el:b,k=y+g;if(o.includes(k))continue;o.push(k);const S=i(g,h);for(let z=0;z<S.length;++z){const E=S[z];o.push(y+E)}s=u+(s.length>0?" "+s:s)}return s};function $d(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=tl(t))&&(r&&(r+=" "),r+=n);return r}const tl=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=tl(e[r]))&&(n&&(n+=" "),n+=t);return n};function ef(e,...t){let n,r,i,o=a;function a(l){const u=t.reduce((c,d)=>d(c),e());return n=Qd(u),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=_d(l,n);return i(l,c),c}return function(){return o($d.apply(null,arguments))}}const ze=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},nl=/^\[(?:([a-z-]+):)?(.+)\]$/i,tf=/^\d+\/\d+$/,nf=new Set(["px","full","screen"]),rf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,of=/\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$/,af=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dt=e=>pn(e)||nf.has(e)||tf.test(e),Gt=e=>Sn(e,"length",gf),pn=e=>!!e&&!Number.isNaN(Number(e)),di=e=>Sn(e,"number",pn),On=e=>!!e&&Number.isInteger(Number(e)),uf=e=>e.endsWith("%")&&pn(e.slice(0,-1)),ie=e=>nl.test(e),Zt=e=>rf.test(e),cf=new Set(["length","size","percentage"]),df=e=>Sn(e,cf,rl),ff=e=>Sn(e,"position",rl),mf=new Set(["image","url"]),pf=e=>Sn(e,mf,yf),hf=e=>Sn(e,"",bf),Ln=()=>!0,Sn=(e,t,n)=>{const r=nl.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},gf=e=>of.test(e)&&!af.test(e),rl=()=>!1,bf=e=>sf.test(e),yf=e=>lf.test(e),vf=()=>{const e=ze("colors"),t=ze("spacing"),n=ze("blur"),r=ze("brightness"),i=ze("borderColor"),o=ze("borderRadius"),a=ze("borderSpacing"),s=ze("borderWidth"),l=ze("contrast"),u=ze("grayscale"),c=ze("hueRotate"),d=ze("invert"),m=ze("gap"),f=ze("gradientColorStops"),h=ze("gradientColorStopPositions"),g=ze("inset"),b=ze("margin"),y=ze("opacity"),k=ze("padding"),S=ze("saturate"),z=ze("scale"),E=ze("sepia"),A=ze("skew"),T=ze("space"),D=ze("translate"),F=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",ie,t],M=()=>[ie,t],H=()=>["",Dt,Gt],L=()=>["auto",pn,ie],O=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",ie],w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[pn,ie];return{cacheSize:500,separator:":",theme:{colors:[Ln],spacing:[Dt,Gt],blur:["none","",Zt,ie],brightness:ne(),borderColor:[e],borderRadius:["none","","full",Zt,ie],borderSpacing:M(),borderWidth:H(),contrast:ne(),grayscale:Z(),hueRotate:ne(),invert:Z(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[uf,Gt],inset:N(),margin:N(),opacity:ne(),padding:M(),saturate:ne(),scale:ne(),sepia:Z(),skew:ne(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Zt]}],"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"],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:[...O(),ie]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",On,ie]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",On,ie]}],"grid-cols":[{"grid-cols":[Ln]}],"col-start-end":[{col:["auto",{span:["full",On,ie]},ie]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Ln]}],"row-start-end":[{row:["auto",{span:[On,ie]},ie]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,t]}],"min-w":[{"min-w":[ie,t,"min","max","fit"]}],"max-w":[{"max-w":[ie,t,"none","full","min","max","fit","prose",{screen:[Zt]},Zt]}],h:[{h:[ie,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Zt,Gt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",di]}],"font-family":[{font:[Ln]}],"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:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",pn,di]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Dt,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Dt,Gt]}],"underline-offset":[{"underline-offset":["auto",Dt,ie]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...O(),ff]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",df]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pf]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:X()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[Dt,ie]}],"outline-w":[{outline:[Dt,Gt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Dt,Gt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Zt,hf]}],"shadow-color":[{shadow:[Ln]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Zt,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[S]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[On,ie]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Dt,Gt,di]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-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"],"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"]}}},xf=ef(vf);function nt(...e){return xf(_s(e))}const wf=mo("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background text-foreground hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"text-foreground hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},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"}}),tt=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const a=r?Ld:"button";return p.jsx(a,{className:nt(wf({variant:t,size:n,className:e})),ref:o,...i})});tt.displayName="Button";const il=R.createContext(void 0);function kf({children:e,defaultTheme:t="dark"}){const[n,r]=R.useState(()=>typeof window>"u"?t:localStorage.getItem("klausTheme")||t);R.useEffect(()=>{try{localStorage.setItem("klausTheme",n)}catch{}},[n]);const i=a=>r(a),o=R.useMemo(()=>({theme:n,setTheme:i}),[n]);return p.jsx(il.Provider,{value:o,children:e})}function ol(){const e=R.useContext(il);return e||{theme:"dark",setTheme:()=>{}}}const ho=v.forwardRef(({className:e,...t},n)=>p.jsx("textarea",{className:nt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));ho.displayName="Textarea";var Sf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cf=Sf.reduce((e,t)=>{const n=Qs(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Af="Label",al=v.forwardRef((e,t)=>p.jsx(Cf.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));al.displayName=Af;var sl=al;const Pf=mo("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),rn=v.forwardRef(({className:e,...t},n)=>p.jsx(sl,{ref:n,className:nt(Pf(),e),...t}));rn.displayName=sl.displayName;function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function _t(e,t=[]){let n=[];function r(o,a){const s=v.createContext(a),l=n.length;n=[...n,a];const u=d=>{var y;const{scope:m,children:f,...h}=d,g=((y=m==null?void 0:m[e])==null?void 0:y[l])||s,b=v.useMemo(()=>h,Object.values(h));return p.jsx(g.Provider,{value:b,children:f})};u.displayName=o+"Provider";function c(d,m){var g;const f=((g=m==null?void 0:m[e])==null?void 0:g[l])||s,h=v.useContext(f);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(a=>v.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,Ef(i,...t)]}function Ef(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...s,...d}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function zf(e){const t=Tf(e),n=v.forwardRef((r,i)=>{const{children:o,...a}=r,s=v.Children.toArray(o),l=s.find(jf);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Tf(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const a=Nf(i),s=If(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Mf=Symbol("radix.slottable");function jf(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Mf}function If(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Nf(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Rf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=Rf.reduce((e,t)=>{const n=zf(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ll(e,t){e&&fo.flushSync(()=>e.dispatchEvent(t))}function ua(e){const t=Of(e),n=v.forwardRef((r,i)=>{const{children:o,...a}=r,s=v.Children.toArray(o),l=s.find(Df);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Of(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const a=Wf(i),s=Ff(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Lf=Symbol("radix.slottable");function Df(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Lf}function Ff(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Wf(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ul(e){const t=e+"CollectionProvider",[n,r]=_t(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:b,children:y}=g,k=R.useRef(null),S=R.useRef(new Map).current;return p.jsx(i,{scope:b,itemMap:S,collectionRef:k,children:y})};a.displayName=t;const s=e+"CollectionSlot",l=ua(s),u=R.forwardRef((g,b)=>{const{scope:y,children:k}=g,S=o(s,y),z=He(b,S.collectionRef);return p.jsx(l,{ref:z,children:k})});u.displayName=s;const c=e+"CollectionItemSlot",d="data-radix-collection-item",m=ua(c),f=R.forwardRef((g,b)=>{const{scope:y,children:k,...S}=g,z=R.useRef(null),E=He(b,z),A=o(c,y);return R.useEffect(()=>(A.itemMap.set(z,{ref:z,...S}),()=>void A.itemMap.delete(z))),p.jsx(m,{[d]:"",ref:E,children:k})});f.displayName=c;function h(g){const b=o(e+"CollectionConsumer",g);return R.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const S=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,T)=>S.indexOf(A.ref.current)-S.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:u,ItemSlot:f},h,r]}var Wt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Bf=v[" useId ".trim().toString()]||(()=>{}),Vf=0;function cl(e){const[t,n]=v.useState(Bf());return Wt(()=>{n(r=>r??String(Vf++))},[e]),t?`radix-${t}`:""}function Bt(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var Jf=v[" useInsertionEffect ".trim().toString()]||Wt;function _n({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=Hf({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:i;{const c=v.useRef(e!==void 0);v.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"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.`),c.current=s},[s,r])}const u=v.useCallback(c=>{var d;if(s){const m=Xf(c)?c(e):c;m!==e&&((d=a.current)==null||d.call(a,m))}else o(c)},[s,e,o,a]);return[l,u]}function Hf({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return Jf(()=>{o.current=t},[t]),v.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function Xf(e){return typeof e=="function"}var qf=v.createContext(void 0);function dl(e){const t=v.useContext(qf);return e||t||"ltr"}var fi="rovingFocusGroup.onEntryFocus",Uf={bubbles:!1,cancelable:!0},$n="RovingFocusGroup",[Vi,fl,Gf]=ul($n),[Zf,ml]=_t($n,[Gf]),[Kf,Qf]=Zf($n),pl=v.forwardRef((e,t)=>p.jsx(Vi.Provider,{scope:e.__scopeRovingFocusGroup,children:p.jsx(Vi.Slot,{scope:e.__scopeRovingFocusGroup,children:p.jsx(Yf,{...e,ref:t})})}));pl.displayName=$n;var Yf=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,m=v.useRef(null),f=He(t,m),h=dl(o),[g,b]=_n({prop:a,defaultProp:s??null,onChange:l,caller:$n}),[y,k]=v.useState(!1),S=Bt(u),z=fl(n),E=v.useRef(!1),[A,T]=v.useState(0);return v.useEffect(()=>{const D=m.current;if(D)return D.addEventListener(fi,S),()=>D.removeEventListener(fi,S)},[S]),p.jsx(Kf,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:v.useCallback(D=>b(D),[b]),onItemShiftTab:v.useCallback(()=>k(!0),[]),onFocusableItemAdd:v.useCallback(()=>T(D=>D+1),[]),onFocusableItemRemove:v.useCallback(()=>T(D=>D-1),[]),children:p.jsx(Ne.div,{tabIndex:y||A===0?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{E.current=!0}),onFocus:ve(e.onFocus,D=>{const F=!E.current;if(D.target===D.currentTarget&&F&&!y){const P=new CustomEvent(fi,Uf);if(D.currentTarget.dispatchEvent(P),!P.defaultPrevented){const N=z().filter(X=>X.focusable),M=N.find(X=>X.active),H=N.find(X=>X.id===g),O=[M,H,...N].filter(Boolean).map(X=>X.ref.current);bl(O,c)}}E.current=!1}),onBlur:ve(e.onBlur,()=>k(!1))})})}),hl="RovingFocusGroupItem",gl=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...s}=e,l=cl(),u=o||l,c=Qf(hl,n),d=c.currentTabStopId===u,m=fl(n),{onFocusableItemAdd:f,onFocusableItemRemove:h,currentTabStopId:g}=c;return v.useEffect(()=>{if(r)return f(),()=>h()},[r,f,h]),p.jsx(Vi.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:p.jsx(Ne.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...s,ref:t,onMouseDown:ve(e.onMouseDown,b=>{r?c.onItemFocus(u):b.preventDefault()}),onFocus:ve(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:ve(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){c.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=em(b,c.orientation,c.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let S=m().filter(z=>z.focusable).map(z=>z.ref.current);if(y==="last")S.reverse();else if(y==="prev"||y==="next"){y==="prev"&&S.reverse();const z=S.indexOf(b.currentTarget);S=c.loop?tm(S,z+1):S.slice(z+1)}setTimeout(()=>bl(S))}}),children:typeof a=="function"?a({isCurrentTabStop:d,hasTabStop:g!=null}):a})})});gl.displayName=hl;var _f={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $f(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function em(e,t,n){const r=$f(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return _f[r]}function bl(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function tm(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var nm=pl,rm=gl;function go(e){const[t,n]=v.useState(void 0);return Wt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function yl(e){const t=v.useRef({value:e,previous:e});return v.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function im(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var Vr=e=>{const{present:t,children:n}=e,r=om(t),i=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=He(r.ref,am(i));return typeof n=="function"||r.isPresent?v.cloneElement(i,{ref:o}):null};Vr.displayName="Presence";function om(e){const[t,n]=v.useState(),r=v.useRef(null),i=v.useRef(e),o=v.useRef("none"),a=e?"mounted":"unmounted",[s,l]=im(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=dr(r.current);o.current=s==="mounted"?u:"none"},[s]),Wt(()=>{const u=r.current,c=i.current;if(c!==e){const m=o.current,f=dr(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Wt(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const g=dr(r.current).includes(CSS.escape(f.animationName));if(f.target===t&&g&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=f=>{f.target===t&&(o.current=dr(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function dr(e){return(e==null?void 0:e.animationName)||"none"}function am(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var bo="Radio",[sm,vl]=_t(bo),[lm,um]=sm(bo),xl=v.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:i=!1,required:o,disabled:a,value:s="on",onCheck:l,form:u,...c}=e,[d,m]=v.useState(null),f=He(t,b=>m(b)),h=v.useRef(!1),g=d?u||!!d.closest("form"):!0;return p.jsxs(lm,{scope:n,checked:i,disabled:a,children:[p.jsx(Ne.button,{type:"button",role:"radio","aria-checked":i,"data-state":Cl(i),"data-disabled":a?"":void 0,disabled:a,value:s,...c,ref:f,onClick:ve(e.onClick,b=>{i||l==null||l(),g&&(h.current=b.isPropagationStopped(),h.current||b.stopPropagation())})}),g&&p.jsx(Sl,{control:d,bubbles:!h.current,name:r,value:s,checked:i,required:o,disabled:a,form:u,style:{transform:"translateX(-100%)"}})]})});xl.displayName=bo;var wl="RadioIndicator",kl=v.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...i}=e,o=um(wl,n);return p.jsx(Vr,{present:r||o.checked,children:p.jsx(Ne.span,{"data-state":Cl(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});kl.displayName=wl;var cm="RadioBubbleInput",Sl=v.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:r=!0,...i},o)=>{const a=v.useRef(null),s=He(a,o),l=yl(n),u=go(t);return v.useEffect(()=>{const c=a.current;if(!c)return;const d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&f){const h=new Event("click",{bubbles:r});f.call(c,n),c.dispatchEvent(h)}},[l,n,r]),p.jsx(Ne.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Sl.displayName=cm;function Cl(e){return e?"checked":"unchecked"}var dm=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Jr="RadioGroup",[fm]=_t(Jr,[ml,vl]),Al=ml(),Pl=vl(),[mm,pm]=fm(Jr),El=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:i,value:o,required:a=!1,disabled:s=!1,orientation:l,dir:u,loop:c=!0,onValueChange:d,...m}=e,f=Al(n),h=dl(u),[g,b]=_n({prop:o,defaultProp:i??null,onChange:d,caller:Jr});return p.jsx(mm,{scope:n,name:r,required:a,disabled:s,value:g,onValueChange:b,children:p.jsx(nm,{asChild:!0,...f,orientation:l,dir:h,loop:c,children:p.jsx(Ne.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:h,...m,ref:t})})})});El.displayName=Jr;var zl="RadioGroupItem",Tl=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...i}=e,o=pm(zl,n),a=o.disabled||r,s=Al(n),l=Pl(n),u=v.useRef(null),c=He(t,u),d=o.value===i.value,m=v.useRef(!1);return v.useEffect(()=>{const f=g=>{dm.includes(g.key)&&(m.current=!0)},h=()=>m.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",h)}},[]),p.jsx(rm,{asChild:!0,...s,focusable:!a,active:d,children:p.jsx(xl,{disabled:a,required:o.required,checked:d,...l,...i,name:o.name,ref:c,onCheck:()=>o.onValueChange(i.value),onKeyDown:ve(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:ve(i.onFocus,()=>{var f;m.current&&((f=u.current)==null||f.click())})})})});Tl.displayName=zl;var hm="RadioGroupIndicator",Ml=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=Pl(n);return p.jsx(kl,{...i,...r,ref:t})});Ml.displayName=hm;var jl=El,Il=Tl,gm=Ml;const Nl=v.forwardRef(({className:e,...t},n)=>p.jsx(jl,{className:nt("grid gap-2",e),...t,ref:n}));Nl.displayName=jl.displayName;const Rl=v.forwardRef(({className:e,...t},n)=>p.jsx(Il,{ref:n,className:nt("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:p.jsx(gm,{className:"flex items-center justify-center",children:p.jsx(yd,{className:"h-2.5 w-2.5 fill-current text-current"})})}));Rl.displayName=Il.displayName;const jr={de:[{id:"wrong_answer",label:"Falsche Antwort"},{id:"wrong_source",label:"Falsche Quelle"},{id:"not_understandable",label:"Nicht verständlich"},{id:"incomplete",label:"Unvollständig"},{id:"content_filter_strict",label:"Inhaltsfilter zu streng"},{id:"other",label:"Sonstiges"}],en:[{id:"wrong_answer",label:"Wrong answer"},{id:"wrong_source",label:"Wrong source"},{id:"not_understandable",label:"Not understandable"},{id:"incomplete",label:"Incomplete"},{id:"content_filter_strict",label:"Content filter too strict"},{id:"other",label:"Other"}],fr:[{id:"wrong_answer",label:"Mauvaise réponse"},{id:"wrong_source",label:"Mauvaise source"},{id:"not_understandable",label:"Pas compréhensible"},{id:"incomplete",label:"Incomplet"},{id:"content_filter_strict",label:"Filtre de contenu trop strict"},{id:"other",label:"Autre"}],es:[{id:"wrong_answer",label:"Respuesta incorrecta"},{id:"wrong_source",label:"Fuente incorrecta"},{id:"not_understandable",label:"No comprensible"},{id:"incomplete",label:"Incompleto"},{id:"content_filter_strict",label:"El filtro de contenido es demasiado estricto"},{id:"other",label:"Otro"}],it:[{id:"wrong_answer",label:"Risposta sbagliata"},{id:"wrong_source",label:"Fonte sbagliata"},{id:"not_understandable",label:"Non comprensibile"},{id:"incomplete",label:"Incompleto"},{id:"content_filter_strict",label:"Filtro dei contenuti troppo rigido"},{id:"other",label:"Altro"}],tr:[{id:"wrong_answer",label:"Yanlış cevap"},{id:"wrong_source",label:"Yanlış kaynak"},{id:"not_understandable",label:"Anlaşılmaz"},{id:"incomplete",label:"Eksik"},{id:"content_filter_strict",label:"İçerik filtresi çok katı"},{id:"other",label:"Diğer"}],ar:[{id:"wrong_answer",label:"إجابة خاطئة"},{id:"wrong_source",label:"مصدر خاطئ"},{id:"not_understandable",label:"غير مفهوم"},{id:"incomplete",label:"غير كامل"},{id:"content_filter_strict",label:"مرشح المحتوى صارم جدًا"},{id:"other",label:"آخر"}],pl:[{id:"wrong_answer",label:"Zła odpowiedź"},{id:"wrong_source",label:"Złe źródło"},{id:"not_understandable",label:"Niezrozumiałe"},{id:"incomplete",label:"Niekompletne"},{id:"content_filter_strict",label:"Filtr treści jest zbyt rygorystyczny"},{id:"other",label:"Inne"}],uk:[{id:"wrong_answer",label:"Неправильна відповідь"},{id:"wrong_source",label:"Неправильне джерело"},{id:"not_understandable",label:"Незрозуміло"},{id:"incomplete",label:"Неповно"},{id:"content_filter_strict",label:"Фільтр контенту занадто суворий"},{id:"other",label:"Інше"}],simple:[{id:"wrong_answer",label:"Falsche Antwort"},{id:"wrong_source",label:"Falsche Quelle"},{id:"not_understandable",label:"Nicht verständlich"},{id:"incomplete",label:"Unvollständig"},{id:"content_filter_strict",label:"Inhaltsfilter zu streng"},{id:"other",label:"Sonstiges"}]},ca={de:{title:"Feedback zur Antwort",subtitle:"Helfen Sie uns, besser zu werden",reasonLabel:"Was war das Problem?",additionalLabel:"Zusätzliche Anmerkungen (optional)",placeholder:"Bitte beschreiben Sie genauer, was Ihnen nicht gefallen hat...",submit:"Feedback senden",cancel:"Abbrechen",success:"Vielen Dank für Ihr Feedback!",required:"Bitte wählen Sie einen Grund aus"},en:{title:"Feedback on answer",subtitle:"Help us improve",reasonLabel:"What was the problem?",additionalLabel:"Additional comments (optional)",placeholder:"Please describe in more detail what you didn't like...",submit:"Send feedback",cancel:"Cancel",success:"Thank you for your feedback!",required:"Please select a reason"},fr:{title:"Commentaires sur la réponse",subtitle:"Aidez-nous à nous améliorer",reasonLabel:"Quel était le problème?",additionalLabel:"Commentaires supplémentaires (facultatif)",placeholder:"Veuillez décrire plus en détail ce qui ne vous a pas plu...",submit:"Envoyer des commentaires",cancel:"Annuler",success:"Merci pour vos commentaires!",required:"Veuillez sélectionner une raison"},es:{title:"Comentarios sobre la respuesta",subtitle:"Ayúdanos a mejorar",reasonLabel:"¿Cuál fue el problema?",additionalLabel:"Comentarios adicionales (opcional)",placeholder:"Por favor, describa con más detalle lo que no le gustó...",submit:"Enviar comentarios",cancel:"Cancelar",success:"¡Gracias por tus comentarios!",required:"Por favor seleccione una razón"},it:{title:"Feedback sulla risposta",subtitle:"Aiutaci a migliorare",reasonLabel:"Qual era il problema?",additionalLabel:"Commenti aggiuntivi (opzionale)",placeholder:"Descrivi più in dettaglio cosa non ti è piaciuto...",submit:"Invia feedback",cancel:"Annulla",success:"Grazie per il tuo feedback!",required:"Seleziona un motivo"},tr:{title:"Cevap hakkında geri bildirim",subtitle:"Gelişmemize yardımcı olun",reasonLabel:"Sorun neydi?",additionalLabel:"Ek yorumlar (isteğe bağlı)",placeholder:"Lütfen neyi beğenmediğinizi daha ayrıntılı açıklayın...",submit:"Geri bildirim gönder",cancel:"İptal",success:"Geri bildiriminiz için teşekkürler!",required:"Lütfen bir neden seçin"},ar:{title:"تعليقات على الإجابة",subtitle:"ساعدنا على التحسين",reasonLabel:"ما هي المشكلة؟",additionalLabel:"تعليقات إضافية (اختياري)",placeholder:"يرجى وصف ما لم يعجبك بمزيد من التفصيل...",submit:"إرسال التعليقات",cancel:"إلغاء",success:"شكرا لك على ملاحظاتك!",required:"يرجى تحديد السبب"},pl:{title:"Opinia o odpowiedzi",subtitle:"Pomóż nam się poprawić",reasonLabel:"Jaki był problem?",additionalLabel:"Dodatkowe uwagi (opcjonalnie)",placeholder:"Proszę opisać bardziej szczegółowo, co ci się nie podobało...",submit:"Wyślij opinię",cancel:"Anuluj",success:"Dziękujemy za opinię!",required:"Proszę wybrać powód"},uk:{title:"Відгук про відповідь",subtitle:"Допоможіть нам покращитися",reasonLabel:"Яка була проблема?",additionalLabel:"Додаткові коментарі (необов'язково)",placeholder:"Будь ласка, опишіть докладніше, що вам не сподобалося...",submit:"Надіслати відгук",cancel:"Скасувати",success:"Дякуємо за ваш відгук!",required:"Будь ласка, виберіть причину"},simple:{title:"Feedback zur Antwort",subtitle:"Helfen Sie uns, besser zu werden",reasonLabel:"Was war das Problem?",additionalLabel:"Zusätzliche Anmerkungen (optional)",placeholder:"Bitte beschreiben Sie genauer, was Ihnen nicht gefallen hat...",submit:"Feedback senden",cancel:"Abbrechen",success:"Vielen Dank für Ihr Feedback!",required:"Bitte wählen Sie einen Grund aus"}},bm=({isOpen:e,onClose:t,onSubmit:n,language:r})=>{const[i,o]=R.useState(""),[a,s]=R.useState(""),[l,u]=R.useState(!1),[c,d]=R.useState(""),m=ca[r]||ca.de,f=jr[r]||jr.de,h=()=>{if(!i){d(m.required);return}n(i,a),u(!0),setTimeout(()=>{u(!1),o(""),s(""),d(""),t()},1500)},g=()=>{o(""),s(""),d(""),u(!1),t()};return e?p.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4 animate-fade-in",onClick:g,children:[p.jsx("div",{className:"absolute inset-0 bg-background/80 backdrop-blur-sm"}),p.jsxs("div",{className:"relative w-full max-w-md bg-card backdrop-blur-xl rounded-2xl shadow-[0_20px_60px_rgba(0,0,0,0.3)] border border-border animate-scale-in",onClick:b=>b.stopPropagation(),children:[p.jsx("div",{className:"absolute inset-0 rounded-2xl p-[1px] opacity-50 pointer-events-none",style:{background:"linear-gradient(135deg, hsl(var(--primary) / 0.3), hsl(var(--accent) / 0.3))",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude"}}),l?p.jsxs("div",{className:"p-8 flex flex-col items-center justify-center text-center space-y-4",children:[p.jsx("div",{className:"w-16 h-16 bg-green-500/20 rounded-full flex items-center justify-center animate-bounce",children:p.jsx(bd,{className:"w-10 h-10 text-green-500"})}),p.jsx("h3",{className:"text-xl font-bold text-foreground",children:m.success})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"p-4 border-b border-border",children:p.jsxs("div",{className:"flex items-start justify-between",children:[p.jsxs("div",{className:"space-y-0.5",children:[p.jsx("h2",{className:"text-lg font-bold text-foreground",children:m.title}),p.jsx("p",{className:"text-xs text-foreground/60",children:m.subtitle})]}),p.jsx("button",{onClick:g,className:"w-7 h-7 rounded-full bg-muted hover:bg-muted/80 flex items-center justify-center transition-all hover:rotate-90","aria-label":"Close",children:p.jsx(kn,{className:"w-3.5 h-3.5 text-foreground"})})]})}),p.jsxs("div",{className:"p-4 space-y-4",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsxs(rn,{className:"text-xs font-semibold text-foreground flex items-center gap-1.5",children:[p.jsx(bn,{className:"w-3.5 h-3.5"}),m.reasonLabel]}),p.jsx(Nl,{value:i,onValueChange:b=>{o(b),d("")},className:"space-y-1.5",children:f.map(b=>p.jsxs("div",{className:`flex items-center space-x-2 p-2 rounded-lg border transition-all cursor-pointer ${i===b.id?"bg-primary/10 border-primary shadow-[0_0_20px_hsl(var(--primary)/0.3)]":"bg-muted border-border hover:bg-muted/80 hover:border-border"}`,onClick:()=>{o(b.id),d("")},children:[p.jsx(Rl,{value:b.id,id:b.id}),p.jsx(rn,{htmlFor:b.id,className:"flex-1 cursor-pointer text-foreground text-sm",children:b.label})]},b.id))}),c&&p.jsxs("p",{className:"text-xs text-red-400 flex items-center gap-1 animate-shake",children:[p.jsx(bn,{className:"w-3 h-3"}),c]})]}),p.jsxs("div",{className:"space-y-1.5",children:[p.jsx(rn,{htmlFor:"additional",className:"text-xs font-semibold text-foreground",children:m.additionalLabel}),p.jsx(ho,{id:"additional",value:a,onChange:b=>s(b.target.value),placeholder:m.placeholder,className:"min-h-[60px] text-sm bg-muted border-border focus:border-primary resize-none",maxLength:500}),p.jsxs("p",{className:"text-xs text-foreground/40 text-right",children:[a.length,"/500"]})]})]}),p.jsxs("div",{className:"p-4 border-t border-border flex gap-2",children:[p.jsx(tt,{onClick:g,variant:"outline",className:"flex-1 h-9 text-sm",children:m.cancel}),p.jsx(tt,{onClick:h,className:"flex-1 h-9 text-sm bg-primary hover:bg-primary/90 text-primary-foreground shadow-[0_4px_20px_hsl(var(--primary)/0.4)]",children:m.submit})]})]})]})]}):null},ym=1,vm=1e6;let mi=0;function xm(){return mi=(mi+1)%Number.MAX_SAFE_INTEGER,mi.toString()}const pi=new Map,da=e=>{if(pi.has(e))return;const t=setTimeout(()=>{pi.delete(e),Vn({type:"REMOVE_TOAST",toastId:e})},vm);pi.set(e,t)},wm=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ym)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?da(n):e.toasts.forEach(r=>da(r.id)),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Sr=[];let Cr={toasts:[]};function Vn(e){Cr=wm(Cr,e),Sr.forEach(t=>t(Cr))}function pt({...e}){const t=xm(),n=i=>Vn({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Vn({type:"DISMISS_TOAST",toastId:t});return Vn({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function km(){const[e,t]=v.useState(Cr);return v.useEffect(()=>(Sr.push(t),()=>{const n=Sr.indexOf(t);n>-1&&Sr.splice(n,1)}),[e]),{...e,toast:pt,dismiss:n=>Vn({type:"DISMISS_TOAST",toastId:n})}}const Sm="https://dev.feazy.ai";let Je={baseUrl:Sm,apiKey:""};function Cm(e){e.baseUrl&&(Je.baseUrl=e.baseUrl),e.apiKey!==void 0&&(Je.apiKey=e.apiKey),e.tenant!==void 0&&(Je.tenant=e.tenant)}const Am="FTNCalFNG5bRnkkaP5Ug",fa="eleven_flash_v2_5",Pm="eleven_multilingual_v2",yn=e=>e?e.map(t=>typeof t=="string"?{text:t}:t):[],fr=e=>{const t=[],n=[];let r=e.replace(/<source>\s*(.*?)\s*(?:\[(.*?)\])?\s*<\/source>/gs,(i,o,a)=>(t.push({name:o.trim(),url:(a==null?void 0:a.trim())||void 0}),""));return r=r.replace(/<file>\s*(.*?)\s*\[(.*?)\]\s*<\/file>/gs,(i,o,a)=>(a!=null&&a.trim()&&n.push({name:o.trim(),url:a.trim()}),"")),r=r.replace(/\n{3,}/g,`
185
+ */const kn=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ia(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Br(...e){return t=>{let n=!1;const r=e.map(i=>{const o=ia(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():ia(e[i],null)}}}}function He(...e){return v.useCallback(Br(...e),e)}var Rd=Symbol.for("react.lazy"),Mr=v[" use ".trim().toString()];function Od(e){return typeof e=="object"&&e!==null&&"then"in e}function Ks(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Rd&&"_payload"in e&&Od(e._payload)}function Qs(e){const t=Dd(e),n=v.forwardRef((r,i)=>{let{children:o,...a}=r;Ks(o)&&typeof Mr=="function"&&(o=Mr(o._payload));const s=v.Children.toArray(o),l=s.find(Wd);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var Ld=Qs("Slot");function Dd(e){const t=v.forwardRef((n,r)=>{let{children:i,...o}=n;if(Ks(i)&&typeof Mr=="function"&&(i=Mr(i._payload)),v.isValidElement(i)){const a=Vd(i),s=Bd(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Fd=Symbol("radix.slottable");function Wd(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Fd}function Bd(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Vd(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Ys(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ys(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _s(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ys(e))&&(r&&(r+=" "),r+=t);return r}const oa=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,aa=_s,mo=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return aa(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const m=oa(c)||oa(d);return i[u][m]}),s=n&&Object.entries(n).reduce((u,c)=>{let[d,m]=c;return m===void 0||(u[d]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:m,...f}=c;return Object.entries(f).every(h=>{let[g,b]=h;return Array.isArray(b)?b.includes({...o,...s}[g]):{...o,...s}[g]===b})?[...u,d,m]:u},[]);return aa(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},po="-",Jd=e=>{const t=Xd(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(po);return s[0]===""&&s.length!==1&&s.shift(),$s(s,t)||Hd(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},$s=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?$s(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(po);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},sa=/^\[(.+)\]$/,Hd=e=>{if(sa.test(e)){const t=sa.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Xd=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Ud(Object.entries(e.classGroups),n).forEach(([o,a])=>{Bi(a,r,o,t)}),r},Bi=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:la(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(qd(i)){Bi(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Bi(a,la(t,o),n,r)})})},la=(e,t)=>{let n=e;return t.split(po).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qd=e=>e.isThemeGetter,Ud=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[t+a,s])):o);return[n,i]}):e,Gd=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},el="!",Zd=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=s=>{const l=[];let u=0,c=0,d;for(let b=0;b<s.length;b++){let y=s[b];if(u===0){if(y===i&&(r||s.slice(b,b+o)===t)){l.push(s.slice(c,b)),c=b+o;continue}if(y==="/"){d=b;continue}}y==="["?u++:y==="]"&&u--}const m=l.length===0?s:s.substring(c),f=m.startsWith(el),h=f?m.substring(1):m,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:g}};return n?s=>n({className:s,parseClassName:a}):a},Kd=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Qd=e=>({cache:Gd(e.cacheSize),parseClassName:Zd(e),...Jd(e)}),Yd=/\s+/,_d=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(Yd);let s="";for(let l=a.length-1;l>=0;l-=1){const u=a[l],{modifiers:c,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:f}=n(u);let h=!!f,g=r(h?m.substring(0,f):m);if(!g){if(!h){s=u+(s.length>0?" "+s:s);continue}if(g=r(m),!g){s=u+(s.length>0?" "+s:s);continue}h=!1}const b=Kd(c).join(":"),y=d?b+el:b,k=y+g;if(o.includes(k))continue;o.push(k);const S=i(g,h);for(let z=0;z<S.length;++z){const E=S[z];o.push(y+E)}s=u+(s.length>0?" "+s:s)}return s};function $d(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=tl(t))&&(r&&(r+=" "),r+=n);return r}const tl=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=tl(e[r]))&&(n&&(n+=" "),n+=t);return n};function ef(e,...t){let n,r,i,o=a;function a(l){const u=t.reduce((c,d)=>d(c),e());return n=Qd(u),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=_d(l,n);return i(l,c),c}return function(){return o($d.apply(null,arguments))}}const ze=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},nl=/^\[(?:([a-z-]+):)?(.+)\]$/i,tf=/^\d+\/\d+$/,nf=new Set(["px","full","screen"]),rf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,of=/\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$/,af=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dt=e=>pn(e)||nf.has(e)||tf.test(e),Gt=e=>Sn(e,"length",gf),pn=e=>!!e&&!Number.isNaN(Number(e)),di=e=>Sn(e,"number",pn),On=e=>!!e&&Number.isInteger(Number(e)),uf=e=>e.endsWith("%")&&pn(e.slice(0,-1)),ie=e=>nl.test(e),Zt=e=>rf.test(e),cf=new Set(["length","size","percentage"]),df=e=>Sn(e,cf,rl),ff=e=>Sn(e,"position",rl),mf=new Set(["image","url"]),pf=e=>Sn(e,mf,yf),hf=e=>Sn(e,"",bf),Ln=()=>!0,Sn=(e,t,n)=>{const r=nl.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},gf=e=>of.test(e)&&!af.test(e),rl=()=>!1,bf=e=>sf.test(e),yf=e=>lf.test(e),vf=()=>{const e=ze("colors"),t=ze("spacing"),n=ze("blur"),r=ze("brightness"),i=ze("borderColor"),o=ze("borderRadius"),a=ze("borderSpacing"),s=ze("borderWidth"),l=ze("contrast"),u=ze("grayscale"),c=ze("hueRotate"),d=ze("invert"),m=ze("gap"),f=ze("gradientColorStops"),h=ze("gradientColorStopPositions"),g=ze("inset"),b=ze("margin"),y=ze("opacity"),k=ze("padding"),S=ze("saturate"),z=ze("scale"),E=ze("sepia"),A=ze("skew"),T=ze("space"),D=ze("translate"),F=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",ie,t],M=()=>[ie,t],H=()=>["",Dt,Gt],L=()=>["auto",pn,ie],O=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",ie],w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[pn,ie];return{cacheSize:500,separator:":",theme:{colors:[Ln],spacing:[Dt,Gt],blur:["none","",Zt,ie],brightness:ne(),borderColor:[e],borderRadius:["none","","full",Zt,ie],borderSpacing:M(),borderWidth:H(),contrast:ne(),grayscale:Z(),hueRotate:ne(),invert:Z(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[uf,Gt],inset:N(),margin:N(),opacity:ne(),padding:M(),saturate:ne(),scale:ne(),sepia:Z(),skew:ne(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Zt]}],"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"],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:[...O(),ie]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",On,ie]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",On,ie]}],"grid-cols":[{"grid-cols":[Ln]}],"col-start-end":[{col:["auto",{span:["full",On,ie]},ie]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Ln]}],"row-start-end":[{row:["auto",{span:[On,ie]},ie]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,t]}],"min-w":[{"min-w":[ie,t,"min","max","fit"]}],"max-w":[{"max-w":[ie,t,"none","full","min","max","fit","prose",{screen:[Zt]},Zt]}],h:[{h:[ie,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Zt,Gt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",di]}],"font-family":[{font:[Ln]}],"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:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",pn,di]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Dt,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Dt,Gt]}],"underline-offset":[{"underline-offset":["auto",Dt,ie]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...O(),ff]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",df]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pf]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:X()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[Dt,ie]}],"outline-w":[{outline:[Dt,Gt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Dt,Gt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Zt,hf]}],"shadow-color":[{shadow:[Ln]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Zt,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[S]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[On,ie]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Dt,Gt,di]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-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"],"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"]}}},xf=ef(vf);function nt(...e){return xf(_s(e))}const wf=mo("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background text-foreground hover:bg-primary hover:border-primary/40",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary",ghost:"text-foreground hover:bg-primary/10 ",link:"text-primary underline-offset-4 hover:underline"},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"}}),tt=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const a=r?Ld:"button";return p.jsx(a,{className:nt(wf({variant:t,size:n,className:e})),ref:o,...i})});tt.displayName="Button";const il=R.createContext(void 0);function kf({children:e,defaultTheme:t="dark"}){const[n,r]=R.useState(()=>typeof window>"u"?t:localStorage.getItem("klausTheme")||t);R.useEffect(()=>{try{localStorage.setItem("klausTheme",n)}catch{}},[n]);const i=a=>r(a),o=R.useMemo(()=>({theme:n,setTheme:i}),[n]);return p.jsx(il.Provider,{value:o,children:e})}function ol(){const e=R.useContext(il);return e||{theme:"dark",setTheme:()=>{}}}const ho=v.forwardRef(({className:e,...t},n)=>p.jsx("textarea",{className:nt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));ho.displayName="Textarea";var Sf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cf=Sf.reduce((e,t)=>{const n=Qs(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Af="Label",al=v.forwardRef((e,t)=>p.jsx(Cf.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));al.displayName=Af;var sl=al;const Pf=mo("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),rn=v.forwardRef(({className:e,...t},n)=>p.jsx(sl,{ref:n,className:nt(Pf(),e),...t}));rn.displayName=sl.displayName;function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function _t(e,t=[]){let n=[];function r(o,a){const s=v.createContext(a),l=n.length;n=[...n,a];const u=d=>{var y;const{scope:m,children:f,...h}=d,g=((y=m==null?void 0:m[e])==null?void 0:y[l])||s,b=v.useMemo(()=>h,Object.values(h));return p.jsx(g.Provider,{value:b,children:f})};u.displayName=o+"Provider";function c(d,m){var g;const f=((g=m==null?void 0:m[e])==null?void 0:g[l])||s,h=v.useContext(f);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(a=>v.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,Ef(i,...t)]}function Ef(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...s,...d}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function zf(e){const t=Tf(e),n=v.forwardRef((r,i)=>{const{children:o,...a}=r,s=v.Children.toArray(o),l=s.find(jf);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Tf(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const a=Nf(i),s=If(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Mf=Symbol("radix.slottable");function jf(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Mf}function If(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Nf(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Rf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=Rf.reduce((e,t)=>{const n=zf(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ll(e,t){e&&fo.flushSync(()=>e.dispatchEvent(t))}function ua(e){const t=Of(e),n=v.forwardRef((r,i)=>{const{children:o,...a}=r,s=v.Children.toArray(o),l=s.find(Df);if(l){const u=l.props.children,c=s.map(d=>d===l?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...a,ref:i,children:v.isValidElement(u)?v.cloneElement(u,void 0,c):null})}return p.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function Of(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const a=Wf(i),s=Ff(o,i.props);return i.type!==v.Fragment&&(s.ref=r?Br(r,a):a),v.cloneElement(i,s)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Lf=Symbol("radix.slottable");function Df(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Lf}function Ff(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Wf(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ul(e){const t=e+"CollectionProvider",[n,r]=_t(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:b,children:y}=g,k=R.useRef(null),S=R.useRef(new Map).current;return p.jsx(i,{scope:b,itemMap:S,collectionRef:k,children:y})};a.displayName=t;const s=e+"CollectionSlot",l=ua(s),u=R.forwardRef((g,b)=>{const{scope:y,children:k}=g,S=o(s,y),z=He(b,S.collectionRef);return p.jsx(l,{ref:z,children:k})});u.displayName=s;const c=e+"CollectionItemSlot",d="data-radix-collection-item",m=ua(c),f=R.forwardRef((g,b)=>{const{scope:y,children:k,...S}=g,z=R.useRef(null),E=He(b,z),A=o(c,y);return R.useEffect(()=>(A.itemMap.set(z,{ref:z,...S}),()=>void A.itemMap.delete(z))),p.jsx(m,{[d]:"",ref:E,children:k})});f.displayName=c;function h(g){const b=o(e+"CollectionConsumer",g);return R.useCallback(()=>{const k=b.collectionRef.current;if(!k)return[];const S=Array.from(k.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((A,T)=>S.indexOf(A.ref.current)-S.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:u,ItemSlot:f},h,r]}var Wt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Bf=v[" useId ".trim().toString()]||(()=>{}),Vf=0;function cl(e){const[t,n]=v.useState(Bf());return Wt(()=>{n(r=>r??String(Vf++))},[e]),t?`radix-${t}`:""}function Bt(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var Jf=v[" useInsertionEffect ".trim().toString()]||Wt;function _n({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=Hf({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:i;{const c=v.useRef(e!==void 0);v.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"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.`),c.current=s},[s,r])}const u=v.useCallback(c=>{var d;if(s){const m=Xf(c)?c(e):c;m!==e&&((d=a.current)==null||d.call(a,m))}else o(c)},[s,e,o,a]);return[l,u]}function Hf({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return Jf(()=>{o.current=t},[t]),v.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function Xf(e){return typeof e=="function"}var qf=v.createContext(void 0);function dl(e){const t=v.useContext(qf);return e||t||"ltr"}var fi="rovingFocusGroup.onEntryFocus",Uf={bubbles:!1,cancelable:!0},$n="RovingFocusGroup",[Vi,fl,Gf]=ul($n),[Zf,ml]=_t($n,[Gf]),[Kf,Qf]=Zf($n),pl=v.forwardRef((e,t)=>p.jsx(Vi.Provider,{scope:e.__scopeRovingFocusGroup,children:p.jsx(Vi.Slot,{scope:e.__scopeRovingFocusGroup,children:p.jsx(Yf,{...e,ref:t})})}));pl.displayName=$n;var Yf=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,m=v.useRef(null),f=He(t,m),h=dl(o),[g,b]=_n({prop:a,defaultProp:s??null,onChange:l,caller:$n}),[y,k]=v.useState(!1),S=Bt(u),z=fl(n),E=v.useRef(!1),[A,T]=v.useState(0);return v.useEffect(()=>{const D=m.current;if(D)return D.addEventListener(fi,S),()=>D.removeEventListener(fi,S)},[S]),p.jsx(Kf,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:v.useCallback(D=>b(D),[b]),onItemShiftTab:v.useCallback(()=>k(!0),[]),onFocusableItemAdd:v.useCallback(()=>T(D=>D+1),[]),onFocusableItemRemove:v.useCallback(()=>T(D=>D-1),[]),children:p.jsx(Ne.div,{tabIndex:y||A===0?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{E.current=!0}),onFocus:ve(e.onFocus,D=>{const F=!E.current;if(D.target===D.currentTarget&&F&&!y){const P=new CustomEvent(fi,Uf);if(D.currentTarget.dispatchEvent(P),!P.defaultPrevented){const N=z().filter(X=>X.focusable),M=N.find(X=>X.active),H=N.find(X=>X.id===g),O=[M,H,...N].filter(Boolean).map(X=>X.ref.current);bl(O,c)}}E.current=!1}),onBlur:ve(e.onBlur,()=>k(!1))})})}),hl="RovingFocusGroupItem",gl=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...s}=e,l=cl(),u=o||l,c=Qf(hl,n),d=c.currentTabStopId===u,m=fl(n),{onFocusableItemAdd:f,onFocusableItemRemove:h,currentTabStopId:g}=c;return v.useEffect(()=>{if(r)return f(),()=>h()},[r,f,h]),p.jsx(Vi.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:p.jsx(Ne.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...s,ref:t,onMouseDown:ve(e.onMouseDown,b=>{r?c.onItemFocus(u):b.preventDefault()}),onFocus:ve(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:ve(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){c.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=em(b,c.orientation,c.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let S=m().filter(z=>z.focusable).map(z=>z.ref.current);if(y==="last")S.reverse();else if(y==="prev"||y==="next"){y==="prev"&&S.reverse();const z=S.indexOf(b.currentTarget);S=c.loop?tm(S,z+1):S.slice(z+1)}setTimeout(()=>bl(S))}}),children:typeof a=="function"?a({isCurrentTabStop:d,hasTabStop:g!=null}):a})})});gl.displayName=hl;var _f={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $f(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function em(e,t,n){const r=$f(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return _f[r]}function bl(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function tm(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var nm=pl,rm=gl;function go(e){const[t,n]=v.useState(void 0);return Wt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,s;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function yl(e){const t=v.useRef({value:e,previous:e});return v.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function im(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var Vr=e=>{const{present:t,children:n}=e,r=om(t),i=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=He(r.ref,am(i));return typeof n=="function"||r.isPresent?v.cloneElement(i,{ref:o}):null};Vr.displayName="Presence";function om(e){const[t,n]=v.useState(),r=v.useRef(null),i=v.useRef(e),o=v.useRef("none"),a=e?"mounted":"unmounted",[s,l]=im(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=dr(r.current);o.current=s==="mounted"?u:"none"},[s]),Wt(()=>{const u=r.current,c=i.current;if(c!==e){const m=o.current,f=dr(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Wt(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const g=dr(r.current).includes(CSS.escape(f.animationName));if(f.target===t&&g&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=f=>{f.target===t&&(o.current=dr(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function dr(e){return(e==null?void 0:e.animationName)||"none"}function am(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var bo="Radio",[sm,vl]=_t(bo),[lm,um]=sm(bo),xl=v.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:i=!1,required:o,disabled:a,value:s="on",onCheck:l,form:u,...c}=e,[d,m]=v.useState(null),f=He(t,b=>m(b)),h=v.useRef(!1),g=d?u||!!d.closest("form"):!0;return p.jsxs(lm,{scope:n,checked:i,disabled:a,children:[p.jsx(Ne.button,{type:"button",role:"radio","aria-checked":i,"data-state":Cl(i),"data-disabled":a?"":void 0,disabled:a,value:s,...c,ref:f,onClick:ve(e.onClick,b=>{i||l==null||l(),g&&(h.current=b.isPropagationStopped(),h.current||b.stopPropagation())})}),g&&p.jsx(Sl,{control:d,bubbles:!h.current,name:r,value:s,checked:i,required:o,disabled:a,form:u,style:{transform:"translateX(-100%)"}})]})});xl.displayName=bo;var wl="RadioIndicator",kl=v.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...i}=e,o=um(wl,n);return p.jsx(Vr,{present:r||o.checked,children:p.jsx(Ne.span,{"data-state":Cl(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});kl.displayName=wl;var cm="RadioBubbleInput",Sl=v.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:r=!0,...i},o)=>{const a=v.useRef(null),s=He(a,o),l=yl(n),u=go(t);return v.useEffect(()=>{const c=a.current;if(!c)return;const d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&f){const h=new Event("click",{bubbles:r});f.call(c,n),c.dispatchEvent(h)}},[l,n,r]),p.jsx(Ne.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Sl.displayName=cm;function Cl(e){return e?"checked":"unchecked"}var dm=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Jr="RadioGroup",[fm]=_t(Jr,[ml,vl]),Al=ml(),Pl=vl(),[mm,pm]=fm(Jr),El=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:i,value:o,required:a=!1,disabled:s=!1,orientation:l,dir:u,loop:c=!0,onValueChange:d,...m}=e,f=Al(n),h=dl(u),[g,b]=_n({prop:o,defaultProp:i??null,onChange:d,caller:Jr});return p.jsx(mm,{scope:n,name:r,required:a,disabled:s,value:g,onValueChange:b,children:p.jsx(nm,{asChild:!0,...f,orientation:l,dir:h,loop:c,children:p.jsx(Ne.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:h,...m,ref:t})})})});El.displayName=Jr;var zl="RadioGroupItem",Tl=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...i}=e,o=pm(zl,n),a=o.disabled||r,s=Al(n),l=Pl(n),u=v.useRef(null),c=He(t,u),d=o.value===i.value,m=v.useRef(!1);return v.useEffect(()=>{const f=g=>{dm.includes(g.key)&&(m.current=!0)},h=()=>m.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",h)}},[]),p.jsx(rm,{asChild:!0,...s,focusable:!a,active:d,children:p.jsx(xl,{disabled:a,required:o.required,checked:d,...l,...i,name:o.name,ref:c,onCheck:()=>o.onValueChange(i.value),onKeyDown:ve(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:ve(i.onFocus,()=>{var f;m.current&&((f=u.current)==null||f.click())})})})});Tl.displayName=zl;var hm="RadioGroupIndicator",Ml=v.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=Pl(n);return p.jsx(kl,{...i,...r,ref:t})});Ml.displayName=hm;var jl=El,Il=Tl,gm=Ml;const Nl=v.forwardRef(({className:e,...t},n)=>p.jsx(jl,{className:nt("grid gap-2",e),...t,ref:n}));Nl.displayName=jl.displayName;const Rl=v.forwardRef(({className:e,...t},n)=>p.jsx(Il,{ref:n,className:nt("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:p.jsx(gm,{className:"flex items-center justify-center",children:p.jsx(yd,{className:"h-2.5 w-2.5 fill-current text-current"})})}));Rl.displayName=Il.displayName;const jr={de:[{id:"wrong_answer",label:"Falsche Antwort"},{id:"wrong_source",label:"Falsche Quelle"},{id:"not_understandable",label:"Nicht verständlich"},{id:"incomplete",label:"Unvollständig"},{id:"content_filter_strict",label:"Inhaltsfilter zu streng"},{id:"other",label:"Sonstiges"}],en:[{id:"wrong_answer",label:"Wrong answer"},{id:"wrong_source",label:"Wrong source"},{id:"not_understandable",label:"Not understandable"},{id:"incomplete",label:"Incomplete"},{id:"content_filter_strict",label:"Content filter too strict"},{id:"other",label:"Other"}],fr:[{id:"wrong_answer",label:"Mauvaise réponse"},{id:"wrong_source",label:"Mauvaise source"},{id:"not_understandable",label:"Pas compréhensible"},{id:"incomplete",label:"Incomplet"},{id:"content_filter_strict",label:"Filtre de contenu trop strict"},{id:"other",label:"Autre"}],es:[{id:"wrong_answer",label:"Respuesta incorrecta"},{id:"wrong_source",label:"Fuente incorrecta"},{id:"not_understandable",label:"No comprensible"},{id:"incomplete",label:"Incompleto"},{id:"content_filter_strict",label:"El filtro de contenido es demasiado estricto"},{id:"other",label:"Otro"}],it:[{id:"wrong_answer",label:"Risposta sbagliata"},{id:"wrong_source",label:"Fonte sbagliata"},{id:"not_understandable",label:"Non comprensibile"},{id:"incomplete",label:"Incompleto"},{id:"content_filter_strict",label:"Filtro dei contenuti troppo rigido"},{id:"other",label:"Altro"}],tr:[{id:"wrong_answer",label:"Yanlış cevap"},{id:"wrong_source",label:"Yanlış kaynak"},{id:"not_understandable",label:"Anlaşılmaz"},{id:"incomplete",label:"Eksik"},{id:"content_filter_strict",label:"İçerik filtresi çok katı"},{id:"other",label:"Diğer"}],ar:[{id:"wrong_answer",label:"إجابة خاطئة"},{id:"wrong_source",label:"مصدر خاطئ"},{id:"not_understandable",label:"غير مفهوم"},{id:"incomplete",label:"غير كامل"},{id:"content_filter_strict",label:"مرشح المحتوى صارم جدًا"},{id:"other",label:"آخر"}],pl:[{id:"wrong_answer",label:"Zła odpowiedź"},{id:"wrong_source",label:"Złe źródło"},{id:"not_understandable",label:"Niezrozumiałe"},{id:"incomplete",label:"Niekompletne"},{id:"content_filter_strict",label:"Filtr treści jest zbyt rygorystyczny"},{id:"other",label:"Inne"}],uk:[{id:"wrong_answer",label:"Неправильна відповідь"},{id:"wrong_source",label:"Неправильне джерело"},{id:"not_understandable",label:"Незрозуміло"},{id:"incomplete",label:"Неповно"},{id:"content_filter_strict",label:"Фільтр контенту занадто суворий"},{id:"other",label:"Інше"}],simple:[{id:"wrong_answer",label:"Falsche Antwort"},{id:"wrong_source",label:"Falsche Quelle"},{id:"not_understandable",label:"Nicht verständlich"},{id:"incomplete",label:"Unvollständig"},{id:"content_filter_strict",label:"Inhaltsfilter zu streng"},{id:"other",label:"Sonstiges"}]},ca={de:{title:"Feedback zur Antwort",subtitle:"Helfen Sie uns, besser zu werden",reasonLabel:"Was war das Problem?",additionalLabel:"Zusätzliche Anmerkungen (optional)",placeholder:"Bitte beschreiben Sie genauer, was Ihnen nicht gefallen hat...",submit:"Feedback senden",cancel:"Abbrechen",success:"Vielen Dank für Ihr Feedback!",required:"Bitte wählen Sie einen Grund aus"},en:{title:"Feedback on answer",subtitle:"Help us improve",reasonLabel:"What was the problem?",additionalLabel:"Additional comments (optional)",placeholder:"Please describe in more detail what you didn't like...",submit:"Send feedback",cancel:"Cancel",success:"Thank you for your feedback!",required:"Please select a reason"},fr:{title:"Commentaires sur la réponse",subtitle:"Aidez-nous à nous améliorer",reasonLabel:"Quel était le problème?",additionalLabel:"Commentaires supplémentaires (facultatif)",placeholder:"Veuillez décrire plus en détail ce qui ne vous a pas plu...",submit:"Envoyer des commentaires",cancel:"Annuler",success:"Merci pour vos commentaires!",required:"Veuillez sélectionner une raison"},es:{title:"Comentarios sobre la respuesta",subtitle:"Ayúdanos a mejorar",reasonLabel:"¿Cuál fue el problema?",additionalLabel:"Comentarios adicionales (opcional)",placeholder:"Por favor, describa con más detalle lo que no le gustó...",submit:"Enviar comentarios",cancel:"Cancelar",success:"¡Gracias por tus comentarios!",required:"Por favor seleccione una razón"},it:{title:"Feedback sulla risposta",subtitle:"Aiutaci a migliorare",reasonLabel:"Qual era il problema?",additionalLabel:"Commenti aggiuntivi (opzionale)",placeholder:"Descrivi più in dettaglio cosa non ti è piaciuto...",submit:"Invia feedback",cancel:"Annulla",success:"Grazie per il tuo feedback!",required:"Seleziona un motivo"},tr:{title:"Cevap hakkında geri bildirim",subtitle:"Gelişmemize yardımcı olun",reasonLabel:"Sorun neydi?",additionalLabel:"Ek yorumlar (isteğe bağlı)",placeholder:"Lütfen neyi beğenmediğinizi daha ayrıntılı açıklayın...",submit:"Geri bildirim gönder",cancel:"İptal",success:"Geri bildiriminiz için teşekkürler!",required:"Lütfen bir neden seçin"},ar:{title:"تعليقات على الإجابة",subtitle:"ساعدنا على التحسين",reasonLabel:"ما هي المشكلة؟",additionalLabel:"تعليقات إضافية (اختياري)",placeholder:"يرجى وصف ما لم يعجبك بمزيد من التفصيل...",submit:"إرسال التعليقات",cancel:"إلغاء",success:"شكرا لك على ملاحظاتك!",required:"يرجى تحديد السبب"},pl:{title:"Opinia o odpowiedzi",subtitle:"Pomóż nam się poprawić",reasonLabel:"Jaki był problem?",additionalLabel:"Dodatkowe uwagi (opcjonalnie)",placeholder:"Proszę opisać bardziej szczegółowo, co ci się nie podobało...",submit:"Wyślij opinię",cancel:"Anuluj",success:"Dziękujemy za opinię!",required:"Proszę wybrać powód"},uk:{title:"Відгук про відповідь",subtitle:"Допоможіть нам покращитися",reasonLabel:"Яка була проблема?",additionalLabel:"Додаткові коментарі (необов'язково)",placeholder:"Будь ласка, опишіть докладніше, що вам не сподобалося...",submit:"Надіслати відгук",cancel:"Скасувати",success:"Дякуємо за ваш відгук!",required:"Будь ласка, виберіть причину"},simple:{title:"Feedback zur Antwort",subtitle:"Helfen Sie uns, besser zu werden",reasonLabel:"Was war das Problem?",additionalLabel:"Zusätzliche Anmerkungen (optional)",placeholder:"Bitte beschreiben Sie genauer, was Ihnen nicht gefallen hat...",submit:"Feedback senden",cancel:"Abbrechen",success:"Vielen Dank für Ihr Feedback!",required:"Bitte wählen Sie einen Grund aus"}},bm=({isOpen:e,onClose:t,onSubmit:n,language:r})=>{const[i,o]=R.useState(""),[a,s]=R.useState(""),[l,u]=R.useState(!1),[c,d]=R.useState(""),m=ca[r]||ca.de,f=jr[r]||jr.de,h=()=>{if(!i){d(m.required);return}n(i,a),u(!0),setTimeout(()=>{u(!1),o(""),s(""),d(""),t()},1500)},g=()=>{o(""),s(""),d(""),u(!1),t()};return e?p.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4 animate-fade-in",onClick:g,children:[p.jsx("div",{className:"absolute inset-0 bg-background/80 backdrop-blur-sm"}),p.jsxs("div",{className:"relative w-full max-w-md bg-card backdrop-blur-xl rounded-2xl shadow-[0_20px_60px_rgba(0,0,0,0.3)] border border-border animate-scale-in",onClick:b=>b.stopPropagation(),children:[p.jsx("div",{className:"absolute inset-0 rounded-2xl p-[1px] opacity-50 pointer-events-none",style:{background:"linear-gradient(135deg, hsl(var(--primary) / 0.3), hsl(var(--accent) / 0.3))",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude"}}),l?p.jsxs("div",{className:"p-8 flex flex-col items-center justify-center text-center space-y-4",children:[p.jsx("div",{className:"w-16 h-16 bg-green-500/20 rounded-full flex items-center justify-center animate-bounce",children:p.jsx(bd,{className:"w-10 h-10 text-green-500"})}),p.jsx("h3",{className:"text-xl font-bold text-foreground",children:m.success})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"p-4 border-b border-border",children:p.jsxs("div",{className:"flex items-start justify-between",children:[p.jsxs("div",{className:"space-y-0.5",children:[p.jsx("h2",{className:"text-lg font-bold text-foreground",children:m.title}),p.jsx("p",{className:"text-xs text-foreground/60",children:m.subtitle})]}),p.jsx("button",{onClick:g,className:"w-7 h-7 rounded-full bg-muted hover:bg-muted/80 flex items-center justify-center transition-all hover:rotate-90","aria-label":"Close",children:p.jsx(kn,{className:"w-3.5 h-3.5 text-foreground"})})]})}),p.jsxs("div",{className:"p-4 space-y-4",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsxs(rn,{className:"text-xs font-semibold text-foreground flex items-center gap-1.5",children:[p.jsx(bn,{className:"w-3.5 h-3.5"}),m.reasonLabel]}),p.jsx(Nl,{value:i,onValueChange:b=>{o(b),d("")},className:"space-y-1.5",children:f.map(b=>p.jsxs("div",{className:`flex items-center space-x-2 p-2 rounded-lg border transition-all cursor-pointer ${i===b.id?"bg-primary/10 border-primary shadow-[0_0_20px_hsl(var(--primary)/0.3)]":"bg-muted border-border hover:bg-muted/80 hover:border-border"}`,onClick:()=>{o(b.id),d("")},children:[p.jsx(Rl,{value:b.id,id:b.id}),p.jsx(rn,{htmlFor:b.id,className:"flex-1 cursor-pointer text-foreground text-sm",children:b.label})]},b.id))}),c&&p.jsxs("p",{className:"text-xs text-red-400 flex items-center gap-1 animate-shake",children:[p.jsx(bn,{className:"w-3 h-3"}),c]})]}),p.jsxs("div",{className:"space-y-1.5",children:[p.jsx(rn,{htmlFor:"additional",className:"text-xs font-semibold text-foreground",children:m.additionalLabel}),p.jsx(ho,{id:"additional",value:a,onChange:b=>s(b.target.value),placeholder:m.placeholder,className:"min-h-[60px] text-sm bg-muted border-border focus:border-primary resize-none",maxLength:500}),p.jsxs("p",{className:"text-xs text-foreground/40 text-right",children:[a.length,"/500"]})]})]}),p.jsxs("div",{className:"p-4 border-t border-border flex gap-2",children:[p.jsx(tt,{onClick:g,variant:"outline",className:"flex-1 h-9 text-sm",children:m.cancel}),p.jsx(tt,{onClick:h,className:"flex-1 h-9 text-sm bg-primary hover:bg-primary/90 text-primary-foreground shadow-[0_4px_20px_hsl(var(--primary)/0.4)]",children:m.submit})]})]})]})]}):null},ym=1,vm=1e6;let mi=0;function xm(){return mi=(mi+1)%Number.MAX_SAFE_INTEGER,mi.toString()}const pi=new Map,da=e=>{if(pi.has(e))return;const t=setTimeout(()=>{pi.delete(e),Vn({type:"REMOVE_TOAST",toastId:e})},vm);pi.set(e,t)},wm=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ym)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?da(n):e.toasts.forEach(r=>da(r.id)),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Sr=[];let Cr={toasts:[]};function Vn(e){Cr=wm(Cr,e),Sr.forEach(t=>t(Cr))}function pt({...e}){const t=xm(),n=i=>Vn({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Vn({type:"DISMISS_TOAST",toastId:t});return Vn({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function km(){const[e,t]=v.useState(Cr);return v.useEffect(()=>(Sr.push(t),()=>{const n=Sr.indexOf(t);n>-1&&Sr.splice(n,1)}),[e]),{...e,toast:pt,dismiss:n=>Vn({type:"DISMISS_TOAST",toastId:n})}}const Sm="https://dev.feazy.ai";let Je={baseUrl:Sm,apiKey:""};function Cm(e){e.baseUrl&&(Je.baseUrl=e.baseUrl),e.apiKey!==void 0&&(Je.apiKey=e.apiKey),e.tenant!==void 0&&(Je.tenant=e.tenant)}const Am="FTNCalFNG5bRnkkaP5Ug",fa="eleven_flash_v2_5",Pm="eleven_multilingual_v2",yn=e=>e?e.map(t=>typeof t=="string"?{text:t}:t):[],fr=e=>{const t=[],n=[];let r=e.replace(/<source>\s*(.*?)\s*(?:\[(.*?)\])?\s*<\/source>/gs,(i,o,a)=>(t.push({name:o.trim(),url:(a==null?void 0:a.trim())||void 0}),""));return r=r.replace(/<file>\s*(.*?)\s*\[(.*?)\]\s*<\/file>/gs,(i,o,a)=>(a!=null&&a.trim()&&n.push({name:o.trim(),url:a.trim()}),"")),r=r.replace(/\n{3,}/g,`
186
186
 
187
187
  `).trim(),{cleanText:r,sources:t,files:n}};async function Ol(e,t,n,r,i,o,a,s){var m;const l=(m=e.body)==null?void 0:m.getReader();if(!l)throw new Error("No response body");const u=new TextDecoder;let c="",d="";try{for(;;){const{done:f,value:h}=await l.read();if(f)break;c+=u.decode(h,{stream:!0});let g;for(;(g=c.indexOf(`
188
188
  `))!==-1;){let b=c.slice(0,g);if(c=c.slice(g+1),b.endsWith("\r")&&(b=b.slice(0,-1)),b.startsWith(":")||b.trim()===""||!b.startsWith("data: "))continue;const y=b.slice(6).trim();if(y!=="[DONE]")try{const k=JSON.parse(y);if(k.error){a(k.error,k.code);return}if(s&&s(k),k.type==="tool_start"){n();continue}if(k.type==="tool_execution"&&k.tool_name){r(k.tool_name);continue}if(k.type==="tool_name"&&k.content){r(k.content);continue}if(k.type==="tool_result"){i();continue}if(k.content&&(d+=k.content,t(k.content)),k.done){o(yn(k.quick_replies));return}}catch{c=b+`
@@ -3420,9 +3420,9 @@ const If = vo(
3420
3420
  variant: {
3421
3421
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
3422
3422
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
3423
- outline: "border border-input bg-background text-foreground hover:bg-accent hover:text-accent-foreground",
3424
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
3425
- ghost: "text-foreground hover:bg-accent hover:text-accent-foreground",
3423
+ outline: "border border-input bg-background text-foreground hover:bg-primary hover:border-primary/40",
3424
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary",
3425
+ ghost: "text-foreground hover:bg-primary/10 ",
3426
3426
  link: "text-primary underline-offset-4 hover:underline"
3427
3427
  },
3428
3428
  size: {