@medway-ui/core 1.6.2 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import*as T from'react';import {forwardRef,createElement}from'react';import {cva}from'class-variance-authority';import {CloseMd,User,Check,ChevronRight,ChevronLeftDuo,ChevronRightDuo,MoreHorizontal,CheckboxFill,IndexPriority,ArrowRightMd,HamburgerMd,ChevronRightMd,EditPencil,ChevronLeftMd}from'@medway-ui/icons';import {clsx}from'clsx';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {Slot,AlertDialog,Avatar,Collapsible,Separator,Dialog,DropdownMenu,ScrollArea,Tabs,Tooltip}from'radix-ui';var Zt=Object.defineProperty,Qt=Object.defineProperties;var Jt=Object.getOwnPropertyDescriptors;var qe=Object.getOwnPropertySymbols;var Wa=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable;var _a=(e,a,o)=>a in e?Zt(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,d=(e,a)=>{for(var o in a||(a={}))Wa.call(a,o)&&_a(e,o,a[o]);if(qe)for(var o of qe(a))Xa.call(a,o)&&_a(e,o,a[o]);return e},c=(e,a)=>Qt(e,Jt(a));var s=(e,a)=>{var o={};for(var t in e)Wa.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&qe)for(var t of qe(e))a.indexOf(t)<0&&Xa.call(e,t)&&(o[t]=e[t]);return o};var jt=(e,a)=>{let o=new Array(e.length+a.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<a.length;t++)o[e.length+t]=a[t];return o},$t=(e,a)=>({classGroupId:e,validator:a}),Ya=(e=new Map,a=null,o)=>({nextPart:e,validators:a,classGroupId:o});var Ka=[],Yt="arbitrary..",eo=e=>{let a=to(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return ao(n);let f=n.split("-"),i=f[0]===""&&f.length>1?1:0;return et(f,i,a)},getConflictingClassGroupIds:(n,f)=>{if(f){let i=t[n],g=o[n];return i?g?jt(g,i):i:g||Ka}return o[n]||Ka}}},et=(e,a,o)=>{if(e.length-a===0)return o.classGroupId;let r=e[a],l=o.nextPart.get(r);if(l){let g=et(e,a+1,l);if(g)return g}let n=o.validators;if(n===null)return;let f=a===0?e.join("-"):e.slice(a).join("-"),i=n.length;for(let g=0;g<i;g++){let x=n[g];if(x.validator(f))return x.classGroupId}},ao=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let a=e.slice(1,-1),o=a.indexOf(":"),t=a.slice(0,o);return t?Yt+t:void 0})(),to=e=>{let{theme:a,classGroups:o}=e;return oo(o,a)},oo=(e,a)=>{let o=Ya();for(let t in e){let r=e[t];ca(r,o,t,a);}return o},ca=(e,a,o,t)=>{let r=e.length;for(let l=0;l<r;l++){let n=e[l];ro(n,a,o,t);}},ro=(e,a,o,t)=>{if(typeof e=="string"){lo(e,a,o);return}if(typeof e=="function"){so(e,a,o,t);return}uo(e,a,o,t);},lo=(e,a,o)=>{let t=e===""?a:at(a,e);t.classGroupId=o;},so=(e,a,o,t)=>{if(no(e)){ca(e(t),a,o,t);return}a.validators===null&&(a.validators=[]),a.validators.push($t(o,e));},uo=(e,a,o,t)=>{let r=Object.entries(e),l=r.length;for(let n=0;n<l;n++){let[f,i]=r[n];ca(i,at(a,f),o,t);}},at=(e,a)=>{let o=e,t=a.split("-"),r=t.length;for(let l=0;l<r;l++){let n=t[l],f=o.nextPart.get(n);f||(f=Ya(),o.nextPart.set(n,f)),o=f;}return o},no=e=>"isThemeGetter"in e&&e.isThemeGetter===true,io=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=Object.create(null),t=Object.create(null),r=(l,n)=>{o[l]=n,a++,a>e&&(a=0,t=o,o=Object.create(null));};return {get(l){let n=o[l];if(n!==void 0)return n;if((n=t[l])!==void 0)return r(l,n),n},set(l,n){l in o?o[l]=n:r(l,n);}}};var fo=[],Za=(e,a,o,t,r)=>({modifiers:e,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:t,isExternal:r}),co=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],n=0,f=0,i=0,g,x=r.length;for(let k=0;k<x;k++){let M=r[k];if(n===0&&f===0){if(M===":"){l.push(r.slice(i,k)),i=k+1;continue}if(M==="/"){g=k;continue}}M==="["?n++:M==="]"?n--:M==="("?f++:M===")"&&f--;}let b=l.length===0?r:r.slice(i),v=b,A=false;b.endsWith("!")?(v=b.slice(0,-1),A=true):b.startsWith("!")&&(v=b.slice(1),A=true);let w=g&&g>i?g-i:void 0;return Za(l,A,v,w)};if(a){let r=a+":",l=t;t=n=>n.startsWith(r)?l(n.slice(r.length)):Za(fo,false,n,void 0,true);}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},po=e=>{let a=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{a.set(o,1e6+t);}),o=>{let t=[],r=[];for(let l=0;l<o.length;l++){let n=o[l],f=n[0]==="[",i=a.has(n);f||i?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(n)):r.push(n);}return r.length>0&&(r.sort(),t.push(...r)),t}},mo=e=>d({cache:io(e.cacheSize),parseClassName:co(e),sortModifiers:po(e)},eo(e)),go=/\s+/,xo=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,n=[],f=e.trim().split(go),i="";for(let g=f.length-1;g>=0;g-=1){let x=f[g],{isExternal:b,modifiers:v,hasImportantModifier:A,baseClassName:w,maybePostfixModifierPosition:k}=o(x);if(b){i=x+(i.length>0?" "+i:i);continue}let M=!!k,H=t(M?w.substring(0,k):w);if(!H){if(!M){i=x+(i.length>0?" "+i:i);continue}if(H=t(w),!H){i=x+(i.length>0?" "+i:i);continue}M=false;}let D=v.length===0?"":v.length===1?v[0]:l(v).join(":"),P=A?D+"!":D,re=P+H;if(n.indexOf(re)>-1)continue;n.push(re);let le=r(H,M);for(let j=0;j<le.length;++j){let Le=le[j];n.push(P+Le);}i=x+(i.length>0?" "+i:i);}return i},Lo=(...e)=>{let a=0,o,t,r="";for(;a<e.length;)(o=e[a++])&&(t=tt(o))&&(r&&(r+=" "),r+=t);return r},tt=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=tt(e[t]))&&(o&&(o+=" "),o+=a);return o},Qa=(e,...a)=>{let o,t,r,l,n=i=>{let g=a.reduce((x,b)=>b(x),e());return o=mo(g),t=o.cache.get,r=o.cache.set,l=f,f(i)},f=i=>{let g=t(i);if(g)return g;let x=xo(i,o);return r(i,x),x};return l=n,(...i)=>l(Lo(...i))},ho=[],B=e=>{let a=o=>o[e]||ho;return a.isThemeGetter=true,a},ot=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Io=/^\d+\/\d+$/,Co=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bo=/\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$/,vo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,So=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,se=e=>Io.test(e),C=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>!!e&&Number.isInteger(Number(e)),ia=e=>e.endsWith("%")&&C(e.slice(0,-1)),W=e=>Co.test(e),wo=()=>true,yo=e=>bo.test(e)&&!vo.test(e),lt=()=>false,Po=e=>So.test(e),Ro=e=>ko.test(e),Ao=e=>!p(e)&&!m(e),Mo=e=>ue(e,ut,lt),p=e=>ot.test(e),Y=e=>ue(e,nt,yo),fa=e=>ue(e,qo,C),Ja=e=>ue(e,dt,lt),Do=e=>ue(e,st,Ro),Oe=e=>ue(e,it,Po),m=e=>rt.test(e),he=e=>ne(e,nt),To=e=>ne(e,Oo),ja=e=>ne(e,dt),Bo=e=>ne(e,ut),Fo=e=>ne(e,st),Ue=e=>ne(e,it,true),ue=(e,a,o)=>{let t=ot.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},ne=(e,a,o=false)=>{let t=rt.exec(e);return t?t[1]?a(t[1]):o:false},dt=e=>e==="position"||e==="percentage",st=e=>e==="image"||e==="url",ut=e=>e==="length"||e==="size"||e==="bg-size",nt=e=>e==="length",qo=e=>e==="number",Oo=e=>e==="family-name",it=e=>e==="shadow";var $a=()=>{let e=B("color"),a=B("font"),o=B("text"),t=B("font-weight"),r=B("tracking"),l=B("leading"),n=B("breakpoint"),f=B("container"),i=B("spacing"),g=B("radius"),x=B("shadow"),b=B("inset-shadow"),v=B("text-shadow"),A=B("drop-shadow"),w=B("blur"),k=B("perspective"),M=B("aspect"),H=B("ease"),D=B("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],re=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],le=()=>[...re(),m,p],j=()=>["auto","hidden","clip","visible","scroll"],Le=()=>["auto","contain","none"],h=()=>[m,p,i],E=()=>[se,"full","auto",...h()],Oa=()=>[Q,"none","subgrid",m,p],Ua=()=>["auto",{span:["full",Q,m,p]},Q,m,p],Me=()=>[Q,"auto",m,p],Ha=()=>["auto","min","max","fr",m,p],sa=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],de=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...h()],$=()=>[se,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],L=()=>[e,m,p],Na=()=>[...re(),ja,Ja,{position:[m,p]}],za=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ga=()=>["auto","cover","contain",Bo,Mo,{size:[m,p]}],ua=()=>[ia,he,Y],U=()=>["","none","full",g,m,p],N=()=>["",C,he,Y],De=()=>["solid","dashed","dotted","double"],Va=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>[C,ia,ja,Ja],Ea=()=>["","none",w,m,p],Te=()=>["none",C,m,p],Be=()=>["none",C,m,p],na=()=>[C,m,p],Fe=()=>[se,"full",...h()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[W],breakpoint:[W],color:[wo],container:[W],"drop-shadow":[W],ease:["in","out","in-out"],font:[Ao],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[W],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[W],shadow:[W],spacing:["px",C],text:[W],"text-shadow":[W],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",se,p,m,M]}],container:["container"],columns:[{columns:[C,p,m,f]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:le()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:Le()}],"overscroll-x":[{"overscroll-x":Le()}],"overscroll-y":[{"overscroll-y":Le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[Q,"auto",m,p]}],basis:[{basis:[se,"full","auto",f,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,se,"auto","initial","none",p]}],grow:[{grow:["",C,m,p]}],shrink:[{shrink:["",C,m,p]}],order:[{order:[Q,"first","last","none",m,p]}],"grid-cols":[{"grid-cols":Oa()}],"col-start-end":[{col:Ua()}],"col-start":[{"col-start":Me()}],"col-end":[{"col-end":Me()}],"grid-rows":[{"grid-rows":Oa()}],"row-start-end":[{row:Ua()}],"row-start":[{"row-start":Me()}],"row-end":[{"row-end":Me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ha()}],"auto-rows":[{"auto-rows":Ha()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...sa(),"normal"]}],"justify-items":[{"justify-items":[...de(),"normal"]}],"justify-self":[{"justify-self":["auto",...de()]}],"align-content":[{content:["normal",...sa()]}],"align-items":[{items:[...de(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...de(),{baseline:["","last"]}]}],"place-content":[{"place-content":sa()}],"place-items":[{"place-items":[...de(),"baseline"]}],"place-self":[{"place-self":["auto",...de()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[f,"screen",...$()]}],"min-w":[{"min-w":[f,"screen","none",...$()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[n]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",o,he,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,m,fa]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ia,p]}],"font-family":[{font:[To,p,a]}],"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:[r,m,p]}],"line-clamp":[{"line-clamp":[C,"none",m,fa]}],leading:[{leading:[l,...h()]}],"list-image":[{"list-image":["none",m,p]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",m,p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",m,Y]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[C,"auto",m,p]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m,p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",m,p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Na()}],"bg-repeat":[{bg:za()}],"bg-size":[{bg:Ga()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Q,m,p],radial:["",m,p],conic:[Q,m,p]},Fo,Do]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:ua()}],"gradient-via-pos":[{via:ua()}],"gradient-to-pos":[{to:ua()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...De(),"hidden","none"]}],"divide-style":[{divide:[...De(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...De(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,m,p]}],"outline-w":[{outline:["",C,he,Y]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",x,Ue,Oe]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",b,Ue,Oe]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[C,Y]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",v,Ue,Oe]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[C,m,p]}],"mix-blend":[{"mix-blend":[...Va(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Va()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[m,p]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":re()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Na()}],"mask-repeat":[{mask:za()}],"mask-size":[{mask:Ga()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",m,p]}],filter:[{filter:["","none",m,p]}],blur:[{blur:Ea()}],brightness:[{brightness:[C,m,p]}],contrast:[{contrast:[C,m,p]}],"drop-shadow":[{"drop-shadow":["","none",A,Ue,Oe]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",C,m,p]}],"hue-rotate":[{"hue-rotate":[C,m,p]}],invert:[{invert:["",C,m,p]}],saturate:[{saturate:[C,m,p]}],sepia:[{sepia:["",C,m,p]}],"backdrop-filter":[{"backdrop-filter":["","none",m,p]}],"backdrop-blur":[{"backdrop-blur":Ea()}],"backdrop-brightness":[{"backdrop-brightness":[C,m,p]}],"backdrop-contrast":[{"backdrop-contrast":[C,m,p]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,m,p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,m,p]}],"backdrop-invert":[{"backdrop-invert":["",C,m,p]}],"backdrop-opacity":[{"backdrop-opacity":[C,m,p]}],"backdrop-saturate":[{"backdrop-saturate":[C,m,p]}],"backdrop-sepia":[{"backdrop-sepia":["",C,m,p]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":h()}],"border-spacing-x":[{"border-spacing-x":h()}],"border-spacing-y":[{"border-spacing-y":h()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",m,p]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",m,p]}],ease:[{ease:["linear","initial",H,m,p]}],delay:[{delay:[C,m,p]}],animate:[{animate:["none",D,m,p]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,m,p]}],"perspective-origin":[{"perspective-origin":le()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:Be()}],"scale-x":[{"scale-x":Be()}],"scale-y":[{"scale-y":Be()}],"scale-z":[{"scale-z":Be()}],"scale-3d":["scale-3d"],skew:[{skew:na()}],"skew-x":[{"skew-x":na()}],"skew-y":[{"skew-y":na()}],transform:[{transform:[m,p,"","none","gpu","cpu"]}],"transform-origin":[{origin:le()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Fe()}],"translate-x":[{"translate-x":Fe()}],"translate-y":[{"translate-y":Fe()}],"translate-z":[{"translate-z":Fe()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m,p]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"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",m,p]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[C,he,Y,fa]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Uo=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(Ie(e,"cacheSize",a),Ie(e,"prefix",o),Ie(e,"experimentalParseClassName",t),He(e.theme,l.theme),He(e.classGroups,l.classGroups),He(e.conflictingClassGroups,l.conflictingClassGroups),He(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),Ie(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Ne(e.theme,r.theme),Ne(e.classGroups,r.classGroups),Ne(e.conflictingClassGroups,r.conflictingClassGroups),Ne(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ft(e,r,"orderSensitiveModifiers"),e),Ie=(e,a,o)=>{o!==void 0&&(e[a]=o);},He=(e,a)=>{if(a)for(let o in a)Ie(e,o,a[o]);},Ne=(e,a)=>{if(a)for(let o in a)ft(e,a,o);},ft=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},ct=(e,...a)=>typeof e=="function"?Qa($a,e,...a):Qa(()=>Uo($a(),e),...a);var No=ct({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-sm","text-md","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"]}}});function u(...e){return No(clsx(e))}var pa=T.createContext(null),Go=cva("relative flex flex-col items-center justify-between gap-5 w-full rounded-md px-4 py-3 text-sm has-[>svg]:gap-x-9 gap-y-1 items-center [&>svg]:translate-y-0 [&>svg]:text-current lg:flex-row",{variants:{variant:{regular:"[background:linear-gradient(0deg,_var(--color-primary-background-soft)_0%,_var(--color-primary-background-soft)_100%),_var(--color-surface-card)] text-primary-foreground [&>svg]:text-primary-foreground",emphasis:"[background:linear-gradient(0deg,_var(--color-secondary-background-soft)_0%,_var(--color-secondary-background-soft)_100%),_var(--color-surface-card)] text-secondary-foreground [&>svg]:text-secondary-foreground",success:"[background:linear-gradient(0deg,_var(--color-green-background-soft)_0%,_var(--color-green-background-soft)_100%),_var(--color-surface-card)] text-green-foreground [&>svg]:text-green-foreground",warning:"[background:linear-gradient(0deg,_var(--color-yellow-background-soft)_0%,_var(--color-yellow-background-soft)_100%),_var(--color-surface-card)] text-yellow-foreground [&>svg]:text-yellow-foreground",error:"[background:linear-gradient(0deg,_var(--color-red-background-soft)_0%,_var(--color-red-background-soft)_100%),_var(--color-surface-card)] text-red-foreground [&>svg]:text-red-foreground"}},defaultVariants:{variant:"regular"}});function Vo(l){var n=l,{className:e,variant:a="regular",onClose:o,children:t}=n,r=s(n,["className","variant","onClose","children"]);let f=T.Children.toArray(t).some(g=>T.isValidElement(g)&&g.type===gt),i=T.Children.toArray(t).some(g=>T.isValidElement(g)&&g.type===mt);return jsx(pa.Provider,{value:{variant:a,hasDescription:f,hasTitle:i,onClose:o},children:jsxs("div",c(d({"data-slot":"alert",role:"alert",className:u(Go({variant:a}),e)},r),{children:[t,o&&jsx(CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function Eo(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-container",className:u("flex gap-3",e)},a))}function _o(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function Wo(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsx("div",c(d({"data-slot":"alert-icon",className:u("size-6",e)},o),{children:a}))}function mt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-md font-medium",e)},a))}function gt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-description",className:u("!line-clamp-3 grid justify-items-start gap-1 text-sm leading-5",e)},a))}function Xo(o){var t=o,{className:e}=t,a=s(t,["className"]);let r=T.useContext(pa),l=(r==null?void 0:r.hasDescription)||false,n=(r==null?void 0:r.hasTitle)||false,f=r==null?void 0:r.onClose;return jsx("div",d({"data-slot":"alert-actions",className:u("relative mt-2 flex flex-wrap items-center gap-x-2 lg:mt-0 lg:flex-nowrap",(!l||!n)&&f&&"lg:right-5",e)},a))}var Ko=cva("inline-flex items-center justify-center rounded-pill px-3 py-2 min-h-10 text-sm font-semibold transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:brightness-90",{variants:{variant:{regular:"text-current",basic:"text-current"},alertVariant:{regular:"",emphasis:"",success:"",warning:"",error:""}},compoundVariants:[{variant:"regular",alertVariant:"regular",class:"bg-primary-background-soft"},{variant:"regular",alertVariant:"emphasis",class:"bg-secondary-background-soft"},{variant:"regular",alertVariant:"success",class:"bg-green-background-soft"},{variant:"regular",alertVariant:"warning",class:"bg-yellow-background-soft"},{variant:"regular",alertVariant:"error",class:"bg-red-background-soft"}],defaultVariants:{variant:"regular",alertVariant:"regular"}});function Zo(t){var r=t,{className:e,variant:a}=r,o=s(r,["className","variant"]);let l=T.useContext(pa),n=(l==null?void 0:l.variant)||"regular";return jsx("button",d({className:u(Ko({variant:a,alertVariant:n}),e)},o))}function ma({size:e=24,className:a}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:u("animate-spin",a),children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var $o={sm:"size-4 p-0",md:"size-5 p-0",lg:"size-6 p-0",xl:"size-7 p-0"},Yo={sm:"px-1",md:"px-1",lg:"px-1",xl:"px-1.5"},ht=cva("inline-flex items-center justify-center rounded-pill border font-semibold w-fit whitespace-nowrap shrink-0 gap-1 [&>svg]:pointer-events-none overflow-hidden border-transparent px-2 ring-1 ring-background",{variants:{variant:{regular:"bg-secondary-background-fill text-secondary-foreground-onfill",freemium:"[background:radial-gradient(135.09%_111.8%_at_0%_50%,rgba(24,98,188,0.02)_0%,rgba(0,32,91,0)_100%),linear-gradient(46deg,rgba(62,218,199,0.56)_6.54%,rgba(24,98,188,0.17)_85.21%),var(--color-primary)] text-white"},size:{sm:"min-w-4 text-xxs [&>svg]:size-2.5",md:"min-w-5 text-xs [&>svg]:size-3",lg:"min-w-6 text-xs [&>svg]:size-3.5",xl:"min-w-7 text-sm [&>svg]:size-4"}},defaultVariants:{variant:"regular",size:"md"}});function ee(n){var f=n,{className:e,variant:a,size:o,icon:t,asChild:r=false}=f,l=s(f,["className","variant","size","icon","asChild"]);let i=r?Slot.Slot:"span",g=T.Children.count(l.children)>0,x=!!t&&!g,b=typeof l.children=="string"||typeof l.children=="number"?String(l.children).trim():"",v=/^[A-Za-z0-9]$/.test(b),A=/^[A-Za-z0-9]{2,3}$/.test(b),w=/^\d{1,2}\S$/.test(b),k=A||w;return jsxs(i,c(d({"data-slot":"badge",className:u(ht({variant:a,size:o}),(x||v)&&$o[o||"md"],!x&&k&&Yo[o||"md"],e)},l),{children:[t,l.children]}))}var or={sm:"!h-8 !min-h-8 !w-8 !px-3 !py-2",md:"!h-10 !min-h-10 !w-10 !px-[14px] !py-[10px]",lg:"!h-12 !min-h-12 !w-12 !p-3",xl:"!h-14 !min-h-14 !w-14 !p-3"},It={sm:"size-2",md:"size-2.5",lg:"size-2.5",xl:"size-3"},rr={sm:"sm",md:"md",lg:"md",xl:"lg"},Ce=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill text-sm font-semibold whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","regular-basic":"bg-transparent text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill hover:bg-secondary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","emphasis-basic":"bg-transparent text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",error:"bg-red-background-fill text-red-foreground-onfill hover:bg-red-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","error-basic":"bg-transparent text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",warning:"bg-yellow-background-fill text-yellow-foreground-onfill hover:bg-yellow-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","warning-basic":"bg-transparent text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",success:"bg-green-background-fill text-green-foreground-onfill hover:bg-green-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","success-basic":"bg-transparent text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",outlined:"border border-border bg-transparent text-foreground hover:border-transparent hover:bg-gray-50 disabled:border-transparent dark:bg-transparent hover:dark:border-gray-400 disabled:border-gray-stroke-muted disabled:text-gray-foreground-muted",gradient:"text-white [background:linear-gradient(284deg,var(--color-primary)_2.11%,var(--color-secondary)_128.06%)] hover:[background:linear-gradient(284deg,var(--color-primary)2.11%,var(--color-secondary)102.63%)] disabled:[background:var(--color-gray-50)] disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill",medbrain:"border-2 border-transparent bg-clip-text [background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-secondary),var(--color-cm-lighten-3))_border-box] [box-shadow:-8px_0_8px_0_var(--color-prev-16)_inset,8px_0_8px_0_var(--color-secondary-24)_inset,0_0_8px_0_var(--color-cm-16)_inset] hover:[background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-cm-lighten-3),var(--color-secondary))_border-box] [&_span]:bg-clip-text [&_span]:text-transparent [&_span]:bg-gradient-to-r [&_span]:from-cm [&_span]:to-primary [&_span]:hover:to-secondary disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill [&_svg]:text-cm-darken-1"},size:{sm:"min-h-8 min-w-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-[13px] text-xs",md:"min-h-10 min-w-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-4 text-sm",lg:"min-h-12 min-w-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-md",xl:"min-h-14 min-w-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function te(b){var v=b,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:n,badge:f,loading:i=false,alert:g}=v,x=s(v,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let A=r?Slot.Slot:"button",w=P=>P!=null&&P!==0&&P!==""&&P!=="0",k=P=>P,M=!x.children&&(n||l||g),H=()=>g?jsxs("span",{className:u("relative mr-1 flex size-2.5",It[t||"md"]),children:[jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:g}}),jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",It[t||"md"]),style:{backgroundColor:g}})]}):null,D=()=>i?jsxs(Fragment,{children:[jsx(ma,{className:"[grid-area:stack]"}),jsx("span",{className:u("[grid-area:stack]",i&&"invisible"),children:x.children})]}):jsxs(Fragment,{children:[g?H():n&&k(n),x.children&&jsx("span",{children:x.children}),l&&k(l)]});return jsxs("div",{className:u("relative",a),children:[w(f)&&jsx(ee,{size:rr[t||"md"],variant:"regular",className:u("absolute -right-2 -top-1 z-10"),role:"status","aria-label":`${f}-notifications`,children:String(f)}),jsx(A,c(d({disabled:i,"aria-busy":i,"aria-live":i?"polite":void 0,"data-slot":"button",className:u(M&&or[t||"md"],i&&"!inline-grid",Ce({variant:o,size:t,className:e}))},x),{children:D()}))]})}function lr(a){var e=s(a,[]);return jsx(AlertDialog.Root,d({"data-slot":"alert-dialog"},e))}function dr(a){var e=s(a,[]);return jsx(AlertDialog.Trigger,d({"data-slot":"alert-dialog-trigger"},e))}function bt(a){var e=s(a,[]);return jsx(AlertDialog.Portal,d({"data-slot":"alert-dialog-portal"},e))}function vt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(AlertDialog.Overlay,d({"data-slot":"alert-dialog-overlay",className:u("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function sr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsxs(bt,{children:[jsx(vt,{}),jsx(AlertDialog.Content,d({"data-slot":"alert-dialog-content",className:u("fixed left-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-surface-elevated p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-w-lg",e)},a))]})}function ur(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function nr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"alert-dialog-footer",className:u("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},a))}function ir(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(AlertDialog.Title,d({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function fr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(AlertDialog.Description,d({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function cr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(AlertDialog.Action,d({className:u(Ce(),e)},a))}function pr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(AlertDialog.Cancel,d({className:u(Ce({variant:"outlined"}),e)},a))}var Lr={sm:"sm",md:"md",lg:"md",xl:"lg"},hr=cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",md:"size-10",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}});function xa(l){var n=l,{className:e,size:a,badge:o,children:t}=n,r=s(n,["className","size","badge","children"]);return jsxs("div",{className:"relative",children:[o&&jsx(ee,{size:Lr[a||"md"],className:u("absolute -right-2 -top-1 z-10"),children:String(o)}),jsx(Avatar.Root,c(d({"data-slot":"avatar",className:u(hr({size:a,className:e}))},r),{children:t}))]})}function La(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Avatar.Image,d({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function ha(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Avatar.Fallback,c(d({"data-slot":"avatar-fallback",className:u("flex size-full items-center justify-center rounded-full bg-gray-background-soft text-sm font-semibold text-primary-foreground",e)},a),{children:a.children?a.children:jsx(User,{className:"size-1/2"})}))}var St=T.createContext({animation:void 0});function Cr(o){var t=o,{animation:e}=t,a=s(t,["animation"]);return jsx(St.Provider,{value:{animation:e},children:jsx(Collapsible.Root,d({"data-slot":"collapsible"},a))})}function br(a){var e=s(a,[]);return jsx(Collapsible.Trigger,d({"data-slot":"collapsible-trigger"},e))}function vr(o){var t=o,{className:e}=t,a=s(t,["className"]);let{animation:r}=T.useContext(St),l={accordion:"overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",fade:"data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in"};return jsx(Collapsible.Content,d({"data-slot":"collapsible-content",className:u(r&&l[r],e)},a))}function ie(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=s(l,["className","orientation","decorative"]);return jsx(Separator.Root,d({"data-slot":"separator-root",decorative:o,orientation:a,className:u("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},t))}function yr(a){var e=s(a,[]);return jsx(Dialog.Root,d({"data-slot":"dialog"},e))}function Pr(a){var e=s(a,[]);return jsx(Dialog.Trigger,d({"data-slot":"dialog-trigger"},e))}function kt(a){var e=s(a,[]);return jsx(Dialog.Portal,d({"data-slot":"dialog-portal"},e))}function Rr(a){var e=s(a,[]);return jsx(Dialog.Close,d({"data-slot":"dialog-close"},e))}function wt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Dialog.Overlay,d({"data-slot":"dialog-overlay",className:u("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function Ar(l){var n=l,{className:e,overlayClassName:a,children:o,showCloseButton:t=true}=n,r=s(n,["className","overlayClassName","children","showCloseButton"]);return jsxs(kt,{"data-slot":"dialog-portal",children:[jsx(wt,{className:a}),jsxs(Dialog.Content,c(d({"data-slot":"dialog-container",className:u("fixed left-1/2 top-1/2 z-50 flex max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col gap-0 overflow-y-auto rounded-xl border bg-background p-0 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-h-[85vh] sm:max-w-lg",e)},r),{children:[o,t&&jsxs(Dialog.Close,{"data-slot":"dialog-close",className:"rounded-xs focus:outline-hidden absolute right-4 top-4 disabled:pointer-events-none data-[state=open]:text-gray-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[jsx(CloseMd,{}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function Mr({className:e,children:a}){return jsx("div",{className:"overflow-y-auto",children:jsx("div",{"data-slot":"dialog-content",className:u("px-8 py-6 text-md leading-md text-primary-foreground",e),children:a})})}function Dr(t){var r=t,{className:e,separator:a=false}=r,o=s(r,["className","separator"]);return jsxs(Fragment,{children:[jsx("div",d({"data-slot":"dialog-header",className:u("flex flex-col gap-2 px-8 py-6 text-center sm:text-left",e)},o)),a&&jsx(ie,{})]})}function Tr(t){var r=t,{className:e,separator:a=false}=r,o=s(r,["className","separator"]);return jsxs(Fragment,{children:[a&&jsx(ie,{}),jsx("div",d({"data-slot":"dialog-footer",className:u("flex flex-col-reverse gap-2 px-8 py-6 sm:flex-row sm:justify-end",e)},o))]})}function Br(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Dialog.Title,d({"data-slot":"dialog-title",className:u("text-title-md font-semibold leading-title-md !text-content-title",e)},a))}function Fr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Dialog.Description,d({"data-slot":"dialog-description",className:u("text-md leading-md text-content-paragraph",e)},a))}var Ca=768;function Se(){let[e,a]=T.useState(void 0);return T.useEffect(()=>{let o=window.matchMedia(`(max-width: ${Ca-1}px)`),t=()=>{a(window.innerWidth<Ca);};return o.addEventListener("change",t),a(window.innerWidth<Ca),()=>o.removeEventListener("change",t)},[]),!!e}function ba(a){var e=s(a,[]);return jsx(DropdownMenu.Root,d({"data-slot":"dropdown-menu"},e))}function Or(a){var e=s(a,[]);return jsx(DropdownMenu.Portal,d({"data-slot":"dropdown-menu-portal"},e))}function va(a){var e=s(a,[]);return jsx(DropdownMenu.Trigger,d({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function Sa(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=s(l,["className","sideOffset","side"]);let n=Se();return jsx(DropdownMenu.Portal,{children:jsx(DropdownMenu.Content,d({"data-slot":"dropdown-menu-content",sideOffset:a,side:n?"bottom":o,className:u("max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 max-h-screen min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-surface-elevated p-3 pb-2 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t))})}function Ur(a){var e=s(a,[]);return jsx(DropdownMenu.Group,d({"data-slot":"dropdown-menu-group"},e))}function _e(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=s(l,["className","inset","variant"]);return jsx(DropdownMenu.Item,d({"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:u("data-[variant=destructive]:*:[svg]:!text-destructive outline-hidden relative flex cursor-pointer select-none items-center gap-2.5 rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-red-foreground data-[disabled]:opacity-50 data-[variant=destructive]:hover:bg-red-background-soft-emphasis dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e)},t))}function Hr(r){var l=r,{className:e,children:a,checked:o}=l,t=s(l,["className","children","checked"]);return jsxs(DropdownMenu.CheckboxItem,c(d({"data-slot":"dropdown-menu-checkbox-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-secondary-foreground",e),checked:o},t),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function We(a){var e=s(a,[]);return jsx(DropdownMenu.RadioGroup,d({"data-slot":"dropdown-menu-radio-group"},e))}function ka(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxs(DropdownMenu.RadioItem,c(d({"data-slot":"dropdown-menu-radio-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-3 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 aria-checked:text-secondary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:text-secondary-foreground",e)},o),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function wa(t){var r=t,{className:e,inset:a}=r,o=s(r,["className","inset"]);return jsx(DropdownMenu.Label,d({"data-slot":"dropdown-menu-label","data-inset":a,className:u("px-2 py-3 text-xs font-semibold uppercase text-gray-foreground-muted data-[inset]:pl-8 [&:not(:first-child)]:mt-2.5",e)},o))}function ya(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(DropdownMenu.Separator,d({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function Nr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("span",d({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function zr(a){var e=s(a,[]);return jsx(DropdownMenu.Sub,d({"data-slot":"dropdown-menu-sub"},e))}function Gr(r){var l=r,{className:e,inset:a,children:o}=l,t=s(l,["className","inset","children"]);return jsxs(DropdownMenu.SubTrigger,c(d({"data-slot":"dropdown-menu-sub-trigger","data-inset":a,className:u("flex cursor-pointer select-none items-center rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground outline-0 focus:outline-0 data-[inset]:pl-8",e)},t),{children:[o,jsx(ChevronRight,{className:"ml-auto size-3"})]}))}function Vr(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(DropdownMenu.SubContent,d({"data-slot":"dropdown-menu-sub-content",className:u("origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border bg-surface-elevated p-1 text-gray-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},a))}function Ra(t){var r=t,{className:e,type:a}=r,o=s(r,["className","type"]);return jsx("input",d({type:a,"data-slot":"input",className:u("placeholder:text-muted-foreground shadow-xs flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-md outline-none transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-300 md:text-sm","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-red-8 aria-invalid:border-red",e)},o))}function _r({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxs("svg",{className:u("dark:brightness-0 dark:invert",o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 171 36",width:e,height:a,children:[jsx("path",{fill:"#01CFB5",d:"M170.246 8.366 158.874 34.77c-.317.744-1.131 1.23-2.038 1.23h-3.47c-1.552 0-2.606-1.377-2.011-2.628l2.875-6.066-8.476-18.918c-.563-1.246.492-2.59 2.027-2.59h3.541c.929 0 1.755.513 2.061 1.278l4.688 11.864h.093l4.464-11.836c.295-.782 1.126-1.306 2.066-1.306h3.514c1.524 0 2.573 1.322 2.038 2.568Zm-24.869 8.623v10.42a.823.823 0 0 1-.82.826h-3.956a.818.818 0 0 1-.82-.825v-.667a11.207 11.207 0 0 1-5.699 1.541c-6.235 0-11.295-5.054-11.295-11.295 0-6.24 5.06-11.295 11.295-11.295 2.076 0 4.027.557 5.694 1.541v-.006a11.295 11.295 0 0 1 5.601 9.76Zm-5.984.005c0-2.94-2.377-5.327-5.306-5.327-2.929 0-5.306 2.388-5.306 5.327 0 2.94 2.377 5.323 5.306 5.323 2.929 0 5.306-2.383 5.306-5.323Zm5.793.4c.005-.099.005-.192.005-.29 0-.098-.005-.191-.005-.284v.573Zm-26.17-11.722h-4.355a.977.977 0 0 0-.978.978v11.902a3.416 3.416 0 0 1-6.831 0V6.65a.977.977 0 0 0-.978-.978h-4.355a.977.977 0 0 0-.978.978v11.902a3.417 3.417 0 0 1-5.83 2.415c-.618-.617-1-1.47-1-2.415V6.65a.977.977 0 0 0-.979-.978h-4.355a.977.977 0 0 0-.978.978v13.088h-.006c0 .781.115 1.535.334 2.256 1.098 3.623 4.765 6.29 9.13 6.29 2.739 0 5.209-1.054 6.935-2.732 1.689 1.83 4.197 2.994 7 2.994 4.53 0 8.295-3.043 9.06-7.043.093-.487.143-.99.143-1.497V6.65a.978.978 0 0 0-.979-.978Z"}),jsx("path",{fill:"#00205B",className:t,d:"M65.557 7.694c-.639.399-1.235.863-1.781 1.388.54-.536 1.137-1 1.781-1.388ZM82.727.831v26.617a.82.82 0 0 1-.82.825h-3.956a.77.77 0 0 1-.415-.12.81.81 0 0 1-.405-.71v-.755a11.018 11.018 0 0 1-5.689 1.574c-5.47 0-10.01-3.967-10.923-9.191-.016-.098-.038-.197-.054-.3-.011-.088-.028-.18-.039-.268 0-.028-.005-.055-.01-.088-.006-.06-.012-.12-.023-.18-.005-.076-.01-.159-.021-.24v-.028c-.006-.093-.017-.18-.017-.273a9.516 9.516 0 0 1 0-1.11l.017-.273v-.027l.032-.311c0-.033.006-.066.006-.099a.665.665 0 0 0 .01-.104c.012-.087.023-.18.039-.267.016-.11.033-.213.055-.323a11.09 11.09 0 0 1 3.17-6.005 11.548 11.548 0 0 1 1.88-1.48 9.127 9.127 0 0 1 1.31-.646c1.039-.42 2.186-.65 3.405-.683-.071 0-.142.011-.213.011a9.587 9.587 0 0 0-3.203.672c-.453.18-.896.4-1.311.65.393-.245.809-.459 1.23-.655-.006 0-.011.005-.017.005l.033-.016c-.011.005-.022.005-.038.01a8.79 8.79 0 0 1 .519-.229c-.039.017-.071.033-.104.05.038-.017.07-.033.11-.05.087-.033.174-.065.267-.098.087-.038.175-.066.268-.099.033-.016.065-.021.098-.032.055-.017.104-.039.158-.055.11-.033.214-.066.323-.098a9.584 9.584 0 0 1 .607-.153c.092-.022.196-.044.295-.066.098-.016.196-.033.295-.055l.295-.049h.005a2.82 2.82 0 0 0 .197-.027c.07-.005.131-.022.202-.022.087-.01.18-.016.268-.022.082-.01.164-.01.246-.016.07 0 .142-.011.213-.011.136-.006.273-.006.415-.006.093 0 .191.006.284.006h.12c.083 0 .159.005.236.01.098.006.196.012.295.023.087.005.174.01.256.022.05.005.099.01.142.016.088.01.175.022.257.038l.312.05c1.06.185 2.07.519 3.005.983v.115c-.038-.022-.076-.038-.12-.06.038.022.077.038.12.065v-.12c.268.131.525.273.77.426V.825a.827.827 0 0 1 .82-.825h3.957a.838.838 0 0 1 .836.83Zm-5.694 16.213a5.32 5.32 0 0 0-5.312-5.323c-2.929 0-5.306 2.388-5.306 5.323 0 2.94 2.377 5.322 5.306 5.322a5.316 5.316 0 0 0 5.312-5.322Zm-19.59.431c0 .41-.017.765-.066 1.132a.597.597 0 0 1-.596.524H42.284a.598.598 0 0 0-.574.77c.623 1.94 2.46 3.192 4.749 3.192 1.607 0 2.678-.574 3.656-1.749a.614.614 0 0 1 .47-.213h5.191c.448 0 .738.47.53.869-2.093 4.033-5.705 6.372-9.847 6.372-6.06 0-11.137-5.055-11.137-11.088 0-6.033 4.847-11.235 11.022-11.235h.006c6.284 0 11.093 4.94 11.093 11.426Zm-6.563-3.393c-.738-1.683-2.437-2.754-4.541-2.754-1.973 0-3.721 1.027-4.47 2.754a.594.594 0 0 0 .552.825h7.907a.593.593 0 0 0 .552-.825ZM23.13 5.803c-2.738 0-5.207 1.055-6.934 2.733-1.689-1.831-4.197-2.995-7-2.995-4.53 0-8.295 3.044-9.06 7.044-.088.486-.137.989-.137 1.497v13.35c0 .54.437.978.978.978h4.355a.977.977 0 0 0 .978-.978V15.618c0-1.65 1.328-3.263 2.962-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V15.618c0-1.65 1.327-3.263 2.961-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V14.344a7.75 7.75 0 0 0-.334-2.257c-1.098-3.623-4.77-6.284-9.13-6.284Z"})]})}function Wr({width:e=60,height:a=67,className:o,svgClassName:t}){return jsx("svg",{className:u("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 60 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M42.33 10.8959C37.32 10.8959 32.8 12.8259 29.64 15.8959C26.55 12.5459 21.96 10.4159 16.83 10.4159C8.54 10.4159 1.65 15.9859 0.25 23.3059C0.09 24.1959 0 25.1159 0 26.0459V50.4759C0 51.4659 0.8 52.2659 1.79 52.2659H9.76C10.75 52.2659 11.55 51.4659 11.55 50.4759V28.8559C11.55 25.8359 13.98 22.8859 16.97 22.4959C19.03 22.2259 20.91 22.9659 22.22 24.2759C23.35 25.4059 24.05 26.9659 24.05 28.6959V50.4759C24.05 51.4659 24.85 52.2659 25.84 52.2659H33.81C34.8 52.2659 35.6 51.4659 35.6 50.4759V28.8559C35.6 25.8359 38.03 22.8859 41.02 22.4959C43.08 22.2259 44.96 22.9659 46.27 24.2759C47.4 25.4059 48.1 26.9659 48.1 28.6959V50.4759C48.1 51.4659 48.9 52.2659 49.89 52.2659H57.86C58.85 52.2659 59.65 51.4659 59.65 50.4759V26.5259C59.65 25.0959 59.44 23.7159 59.04 22.3959C57.03 15.7659 50.31 10.8959 42.33 10.8959Z"})})}var Aa={tablet:"600px"};function At(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("nav",d({role:"navigation","aria-label":"pagination",className:u("flex w-full items-center justify-between",e)},a))}function Mt(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({className:u("flex flex-row items-center gap-2",e)},a))}function Ma(r){var l=r,{count:e,label:a="itens",className:o}=l,t=s(l,["count","label","className"]);return jsx("p",c(d({className:u("text-xs font-medium text-gray-foreground-muted",o)},t),{children:a==="itens"?jsxs(Fragment,{children:["Mostrando"," ",jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]}):jsxs(Fragment,{children:[jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]})}))}function Ke(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("li",d({className:u("",e)},a))}function Dt(g){var x=g,{className:e,isActive:a,iconLeft:o,iconRight:t,size:r="md",variant:l="regular",activeVariant:n,inactiveVariant:f}=x,i=s(x,["className","isActive","iconLeft","iconRight","size","variant","activeVariant","inactiveVariant"]);return jsx(te,c(d({"aria-current":a?"page":void 0,variant:a&&n?n:!a&&f?f:a?l:`${l}-soft`,className:u("",e),size:r,iconLeft:o,iconRight:t},i),{children:i.children}))}function Tt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsx(te,c(d({"aria-label":"Go to previous page",className:u("",e),iconLeft:jsx(ChevronLeftDuo,{}),variant:o,size:a},t),{children:t.children||"Anterior"}))}function Bt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=s(l,["className","size","variant"]);return jsx(te,c(d({"aria-label":"Go to next page",className:u("",e),variant:o,iconRight:jsx(ChevronRightDuo,{}),size:a},t),{children:t.children||"Pr\xF3ximo"}))}function Ft(t){var r=t,{className:e,size:a="md"}=r,o=s(r,["className","size"]);return jsx("span",c(d({"aria-hidden":true,className:u("flex items-center justify-center",{sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"}[a],e)},o),{children:jsx(MoreHorizontal,{className:"h-4 w-4"})}))}function Jr(e,a,o=2){let t=[];if(a<=o+2)for(let r=1;r<=a;r++)t.push(r);else {let r=Math.floor(o/2);if(e<=r+1){for(let l=1;l<=o+1;l++)t.push(l);o+1<a&&t.push(-1,a);}else if(e>=a-r){t.push(1),a-o>1&&t.push(-1);for(let l=a-o;l<=a;l++)t.push(l);}else {t.push(1,-1);for(let l=e-r;l<=e+r;l++)t.push(l);t.push(-1,a);}}return t}function jr({currentPage:e,totalPages:a,maxVisibleItems:o,onPageChange:t,itemsPerPage:r,totalItems:l,className:n,responsive:f=true,size:i="md"}){let[g,x]=T.useState(()=>typeof window=="undefined"?false:window.innerWidth<=parseInt(Aa.tablet));T.useEffect(()=>{if(typeof window=="undefined"||!f)return;let w=parseInt(Aa.tablet),k=()=>{x(window.innerWidth<=w);};return window.addEventListener("resize",k),k(),()=>window.removeEventListener("resize",k)},[f]);let b=typeof o=="number"?o:f&&g?0:2,v=f&&g,A=()=>Jr(e,a,b);return jsxs(At,{className:u("",n),children:[r!==void 0&&!v?jsx(Ma,{count:r,label:"itens"}):jsx("div",{}),jsxs(Mt,{children:[jsx(Ke,{children:jsx(Tt,{onClick:()=>t(Math.max(1,e-1)),disabled:e===1,size:i})}),A().map((w,k)=>jsx(Ke,{children:w===-1?jsx(Ft,{size:i}):jsx(Dt,{onClick:()=>t(w),isActive:w===e,size:i,children:w})},k)),jsx(Ke,{children:jsx(Bt,{onClick:()=>t(Math.min(a,e+1)),disabled:e===a,size:i})})]}),l!==void 0&&!v?jsx(Ma,{count:l,label:"total"}):jsx("div",{})]})}var qt=cva("inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-semibold w-fit whitespace-nowrap shrink-0 gap-1.5 transition-colors overflow-hidden max-h-6",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill fill-primary-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground fill-primary-foreground","regular-basic":"bg-transparent text-primary-foreground fill-primary-foreground",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill fill-secondary-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground fill-secondary-foreground","emphasis-basic":"bg-transparent text-secondary-foreground fill-secondary-foreground",gray:"bg-gray-background-fill text-gray-foreground-onfill fill-gray-foreground-onfill","gray-soft":"bg-gray-background-soft text-gray-foreground fill-gray-foreground","gray-basic":"bg-transparent text-gray-foreground fill-gray-foreground",success:"bg-green-background-fill text-green-foreground-onfill fill-green-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground fill-green-foreground","success-basic":"bg-transparent text-green-foreground fill-green-foreground",error:"bg-red-background-fill text-red-foreground-onfill fill-red-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground fill-red-foreground","error-basic":"bg-transparent text-red-foreground fill-red-foreground",warning:"bg-yellow-background-fill text-yellow-foreground-onfill fill-yellow-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground fill-yellow-foreground","warning-basic":"bg-transparent text-yellow-foreground fill-yellow-foreground",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill","cm-soft":"bg-cm-background-soft text-cm-foreground fill-cm-foreground","cm-basic":"bg-transparent text-cm-foreground fill-cm-foreground",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill","go-soft":"bg-go-background-soft text-go-foreground fill-go-foreground","go-basic":"bg-transparent text-go-foreground fill-go-foreground",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill","cir-soft":"bg-cir-background-soft text-cir-foreground fill-cir-foreground","cir-basic":"bg-transparent text-cir-foreground fill-cir-foreground",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill","ped-soft":"bg-ped-background-soft text-ped-foreground fill-ped-foreground","ped-basic":"bg-transparent text-ped-foreground fill-ped-foreground",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill","prev-soft":"bg-prev-background-soft text-prev-foreground fill-prev-foreground","prev-basic":"bg-transparent text-prev-foreground fill-prev-foreground"}},defaultVariants:{variant:"regular"}});function el(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsx("div",c(d({"data-slot":"tag-icon",className:u("[&>svg]:size-3.5",e)},o),{children:a}))}function Je(n){var f=n,{className:e,variant:a,asChild:o=false,icon:t,children:r}=f,l=s(f,["className","variant","asChild","icon","children"]);let i=o?Slot.Slot:"span";return jsxs(i,c(d({"data-slot":"tag",className:u(qt({variant:a}),e)},l),{children:[t&&jsx(el,{icon:t}),r]}))}function ll(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("table",c(d({className:u("block w-full border-collapse overflow-x-auto text-left",a)},o),{children:jsx("tbody",{className:"table w-full",children:e})}))}function dl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("tr",c(d({className:u("w-full border-t border-solid border-gray-stroke-muted first:border-t-0",a)},o),{children:e}))}function sl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("td",{className:"px-5 py-4 align-middle",children:jsxs("div",c(d({className:u("flex shrink-0 items-center overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-5 text-gray-foreground",a)},o),{children:["#",e]}))})}function ul(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("td",c(d({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:u("flex items-center gap-5",a),children:jsx("div",{className:"flex shrink-0 items-center gap-5 pr-8",children:e})})}))}function nl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("div",c(d({className:u("flex shrink-0 flex-col items-start whitespace-nowrap text-gray-foreground",a)},o),{children:e}))}function il(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("span",c(d({className:u("shrink-0 overflow-hidden text-ellipsis font-sans text-xxs font-medium leading-xxs",a)},o),{children:e}))}function fl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("span",c(d({className:u("shrink-0 overflow-hidden text-ellipsis font-sans text-sm font-semibold leading-5",a)},o),{children:e}))}function cl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx(Je,c(d({className:u("bg-gradient-to-r from-secondary to-cm",a)},o),{icon:jsx(CheckboxFill,{className:"text-primary-foreground-onfill"}),children:e}))}function pl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("td",c(d({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:u("flex flex-col items-start gap-2",a),children:e})}))}function ml(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("p",c(d({className:u("relative shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-[10px] font-medium leading-[12px] text-gray-foreground",a)},o),{children:e}))}function gl(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("div",c(d({className:u("avatar-group flex shrink-0 items-center gap-2",a)},o),{children:e}))}function xl(l){var n=l,{src:e,alt:a,fallback:o="?",className:t}=n,r=s(n,["src","alt","fallback","className"]);return jsxs(xa,c(d({size:"sm",className:u("ring-2 ring-background",t)},r),{children:[jsx(La,{src:e,alt:a}),jsx(ha,{children:o})]}))}function Ll(t){var r=t,{children:e,className:a}=r,o=s(r,["children","className"]);return jsx("td",c(d({className:"px-5 py-4 align-middle"},o),{children:jsx(Je,{variant:"regular-soft",className:a,icon:jsx(IndexPriority,{className:"text-primary-foreground"}),children:e})}))}function hl(t){var r=t,{value:e,className:a}=r,o=s(r,["value","className"]);return jsx("td",c(d({className:"px-5 py-4 align-middle"},o),{children:jsxs("div",{className:u("flex min-w-[140px] flex-col items-start justify-center gap-2",a),children:[jsxs("div",{className:"flex shrink-0 items-center gap-0.5 text-xs leading-4",children:[jsxs("p",{className:"relative shrink-0 font-semibold text-gray-foreground",children:[e,"%"]}),jsx("p",{className:"relative shrink-0 font-medium text-gray-foreground-muted",children:"dom\xEDnio do foco"})]}),jsx(Cl,{percentage:e})]})}))}function Il(r){var l=r,{children:e,className:a,onClick:o}=l,t=s(l,["children","className","onClick"]);return jsx("td",c(d({className:"px-5 py-4 align-middle"},t),{children:jsx("div",{className:"flex items-center justify-center gap-2",children:jsx(te,{size:"sm",iconRight:jsx(ArrowRightMd,{className:"size-4"}),onClick:o,className:a,children:e})})}))}function Cl({className:e,percentage:a}){let o=t=>t>=0&&t<=49?"bg-red":t>=50&&t<=80?"bg-yellow-lighten-1":t>=81&&t<=100?"bg-green-darken-2":"bg-gray-100";return jsx("div",{className:u("relative h-0.5 w-full overflow-hidden rounded-pill bg-gray-100",e),children:jsx("div",{className:u("absolute inset-y-0 left-0 rounded-pill transition-all duration-300",o(a)),style:{width:`${a}%`}})})}function Da(t){var r=t,{className:e,children:a}=r,o=s(r,["className","children"]);return jsxs(ScrollArea.Root,c(d({"data-slot":"scroll-area",className:u("relative",e)},o),{children:[jsx(ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit]",children:a}),jsx(ye,{}),jsx(ye,{orientation:"horizontal"}),jsx(ScrollArea.Corner,{})]}))}function ye(t){var r=t,{className:e,orientation:a="vertical"}=r,o=s(r,["className","orientation"]);return jsx(ScrollArea.ScrollAreaScrollbar,c(d({"data-slot":"scroll-area-scrollbar",orientation:a,className:u("flex touch-none select-none",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e)},o),{children:jsx(ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})}))}var Ut=T.createContext(null);function Sl(r){var l=r,{className:e,size:a="md",children:o}=l,t=s(l,["className","size","children"]);return jsx(Ut.Provider,{value:{size:a},children:jsx(Tabs.Root,c(d({"data-slot":"tabs",className:u("flex flex-col gap-2",e)},t),{children:o}))})}function kl(t){var r=t,{className:e,containerClassName:a}=r,o=s(r,["className","containerClassName"]);return jsxs(Da,{className:u("[&_[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]:h-1",a),children:[jsx(Tabs.List,d({"data-slot":"tabs-list",className:u("inline-flex w-fit items-center justify-center rounded-md bg-gray-background-soft p-0.5",e)},o)),jsx(ye,{orientation:"horizontal"})]})}var wl=cva("data-[state=active]:shadow-xs group inline-flex items-center justify-center gap-2.5 whitespace-nowrap rounded-[6px] font-medium text-gray-foreground outline-none transition-all data-[state=active]:bg-surface-card data-[state=active]:text-primary-foreground [&_svg]:shrink-0 [&_svg]:text-inherit disabled:text-gray-foreground-muted disabled:pointer-events-none",{variants:{size:{sm:"max-h-7 px-3 py-1.5 text-xs [&_svg]:size-4",md:"max-h-9 px-4 py-2 text-sm [&_svg]:size-5",lg:"max-h-11 px-4 py-2.5 text-md [&_svg]:size-6"}},defaultVariants:{size:"md"}});function yl(l){var n=l,{className:e,icon:a,badge:o,children:t}=n,r=s(n,["className","icon","badge","children"]);var x;let f=b=>b!=null&&b!==0&&b!==""&&b!=="0"&&!r.disabled,i=T.useContext(Ut),g=(x=i==null?void 0:i.size)!=null?x:"md";return jsxs(Tabs.Trigger,c(d({"data-slot":"tabs-trigger",className:u(wl({size:g,className:e}))},r),{children:[a,t&&jsxs("span",{className:"inline-grid [grid-template-areas:'stack']",children:[jsx("span",{"aria-hidden":"true",className:"invisible font-semibold [grid-area:stack]",children:t}),jsx("span",{className:"font-medium [grid-area:stack] group-data-[state=active]:font-semibold",children:t})]}),f(o)&&jsx(ee,{size:g,variant:"regular",children:String(o)})]}))}function Pl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Tabs.Content,d({"data-slot":"tabs-content",className:u("flex-1 outline-none",e)},a))}var Ht=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Rl=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),Ba=e=>{let a=Rl(e);return a.charAt(0).toUpperCase()+a.slice(1)},Ye=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),Nt=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var zt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Vt=forwardRef((g,i)=>{var x=g,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:n}=x,f=s(x,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return createElement("svg",d(d(c(d({ref:i},zt),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:Ye("lucide",r)}),!l&&!Nt(f)&&{"aria-hidden":"true"}),f),[...n.map(([b,v])=>createElement(b,v)),...Array.isArray(l)?l:[l]])});var Et=(e,a)=>{let o=forwardRef((n,l)=>{var f=n,{className:t}=f,r=s(f,["className"]);return createElement(Vt,d({ref:l,iconNode:a,className:Ye(`lucide-${Ht(Ba(e))}`,`lucide-${e}`,t)},r))});return o.displayName=Ba(e),o};var Tl=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Pe=Et("x",Tl);function qa(a){var e=s(a,[]);return jsx(Dialog.Root,d({"data-slot":"sheet"},e))}function Bl(a){var e=s(a,[]);return jsx(Dialog.Portal,d({"data-slot":"sheet-portal"},e))}function Fl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Dialog.Overlay,d({"data-slot":"sheet-overlay",className:u("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e)},a))}function _t(r){var l=r,{className:e,children:a,side:o="right"}=l,t=s(l,["className","children","side"]);return jsxs(Bl,{children:[jsx(Fl,{}),jsxs(Dialog.Content,c(d({"data-slot":"sheet-content",className:u("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e)},t),{children:[a,jsxs(Dialog.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[jsx(Pe,{className:"size-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function ea(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function aa(o){var t=o,{delayDuration:e=0}=t,a=s(t,["delayDuration"]);return jsx(Tooltip.Provider,d({"data-slot":"tooltip-provider",delayDuration:e},a))}function ta(a){var e=s(a,[]);return jsx(aa,{children:jsx(Tooltip.Root,d({"data-slot":"tooltip"},e))})}function oa(a){var e=s(a,[]);return jsx(Tooltip.Trigger,d({"data-slot":"tooltip-trigger"},e))}function ra(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=s(l,["className","sideOffset","children"]);return jsx(Tooltip.Portal,{children:jsxs(Tooltip.Content,c(d({"data-slot":"tooltip-content",sideOffset:a,className:u("origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md bg-surface-elevated px-3 py-2 text-sm font-medium text-gray-foreground-emphasis animate-in fade-in-0 zoom-in-95 [filter:drop-shadow(0_0_1px_var(--color-drop-shadow-layer-a))_drop-shadow(0_2px_2px_var(--color-drop-shadow-layer-b))] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t),{children:[o,jsx(Tooltip.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}var zl="sidebar_state",Gl=3600*24*7,Vl="b",Xt=T.createContext(null);function ge(){let e=T.useContext(Xt);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function El(n){var f=n,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=f,l=s(f,["defaultOpen","open","onOpenChange","className","children"]);let i=Se(),[g,x]=T.useState(false),[b,v]=T.useState(e),A=a!=null?a:b,w=T.useCallback(D=>{let P=typeof D=="function"?D(A):D;o?o(P):v(P),document.cookie=`${zl}=${P}; path=/; max-age=${Gl}`;},[o,A]),k=T.useCallback(()=>i?x(D=>!D):w(D=>!D),[i,w,x]);T.useEffect(()=>{let D=P=>{P.key===Vl&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),k());};return window.addEventListener("keydown",D),()=>window.removeEventListener("keydown",D)},[k]);let M=A?"expanded":"collapsed",H=T.useMemo(()=>({state:M,open:A,setOpen:w,isMobile:i,openMobile:g,setOpenMobile:x,toggleSidebar:k}),[M,A,w,i,g,x,k]);return jsx(Xt.Provider,{value:H,children:jsx(aa,{delayDuration:0,children:jsx("div",c(d({"data-slot":"sidebar-wrapper",className:u("group/sidebar-wrapper has-data-[variant=inset]:bg-surface-navigation flex min-h-svh w-full",t)},l),{children:r}))})})}function _l(f){var i=f,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:l}=i,n=s(i,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:g,state:x,openMobile:b,setOpenMobile:v}=ge();return o==="none"?jsx("div",c(d({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},n),{children:l})):g?jsx(qa,c(d({open:b,onOpenChange:v},n),{children:jsx(_t,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:u("w-[var(--sidebar-width-mobile)] bg-surface-navigation p-0 text-gray-foreground [&>button]:hidden",t),side:e,children:jsx("div",{className:"flex h-full w-full flex-col",children:l})})})):jsxs("div",{className:u("group peer hidden text-gray-foreground md:block",t),"data-state":x,"data-collapsible":x==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsx("div",{"data-slot":"sidebar-gap",className:u("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),jsx("div",c(d({"data-slot":"sidebar-container",className:u("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] border-border transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},n),{children:jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex h-full w-full flex-col bg-surface-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:shadow-sm",children:l})}))]})}function Wl(i){var g=i,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsx(HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:n=false}=g,f=s(g,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:x,open:b,isMobile:v}=ge(),[A,w]=T.useState(false),M=l||{open:"Esconder",closed:"Mostrar"},H=()=>n&&A?b?jsx(ChevronLeftMd,{className:o}):jsx(ChevronRightMd,{className:o}):t,D=jsxs("button",c(d({"data-sidebar":"trigger","data-slot":"sidebar-trigger",className:u("flex min-h-8 min-w-8 items-center justify-center rounded-full bg-surface-elevated text-gray-foreground transition-all duration-200 hover:shadow-[0px_0px_2px_0px_rgba(24,26,30,0.16),0px_2px_4px_0px_rgba(24,26,30,0.08)] [&>svg]:text-gray-foreground",e),onClick:P=>{a==null||a(P),x();},onMouseEnter:!v&&n?()=>w(true):void 0,onMouseLeave:!v&&n?()=>w(false):void 0},f),{children:[H(),jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||v?D:jsxs(ta,{children:[jsx(oa,{asChild:true,children:D}),jsx(ra,{side:"right",align:"center",children:b?M.open:M.closed})]})}function Xl(o){var t=o,{className:e}=t,a=s(t,["className"]);let{toggleSidebar:r}=ge();return jsx("button",d({"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:u("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface-navigation","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e)},a))}function Kl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("main",d({"data-slot":"sidebar-inset",className:u("relative flex w-full flex-1 flex-col bg-surface-navigation","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",e)},a))}function Zl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(Ra,d({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function Ql(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-header","data-sidebar":"header",className:u("flex flex-col gap-0.5 px-4 pt-3",e)},a))}function Jl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-footer","data-sidebar":"footer",className:u("flex flex-col gap-0.5 px-4 pb-3 [[data-state=collapsed]_&]:px-2",e)},a))}function jl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx(ie,d({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function $l(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-content","data-sidebar":"content",className:u("flex min-h-0 flex-1 flex-col gap-0.5 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e)},a))}function Yl(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group","data-sidebar":"group",className:u("relative flex w-full min-w-0 flex-col p-2 px-4",e)},a))}function ed(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?Slot.Slot:"div";return jsx(l,d({"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:u("outline-hidden flex h-12 shrink-0 items-center whitespace-nowrap rounded-md px-2 text-xs font-semibold uppercase text-gray-foreground-muted ring-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:mt-0 group-data-[collapsible=icon]:hidden",e)},o))}function ad(t){var r=t,{className:e,asChild:a=false}=r,o=s(r,["className","asChild"]);let l=a?Slot.Slot:"button";return jsx(l,d({"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:u("outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e)},o))}function td(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function od(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu","data-sidebar":"menu",className:u("flex w-full min-w-0 flex-col gap-1",e)},a))}function rd(r){var l=r,{className:e,isActive:a,children:o}=l,t=s(l,["className","isActive","children"]);return jsxs("li",c(d({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var ld=cva("peer/menu-button font-medium flex w-full items-center gap-2.5 overflow-hidden rounded-md p-[.55rem] text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:text-secondary-foreground active:font-semibold disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:text-secondary-foreground data-[active=true]:font-semibold data-[active=true]:hover:bg-secondary-background-soft-emphasis data-[active=true]:hover:text-secondary-foreground group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-2.5! [&>span:last-child]:truncate [&>svg]:data-[active=true]:stroke-[2.2] [&>svg]:size-5 [&>svg]:shrink-0 mx-auto",{variants:{variant:{default:"hover:bg-secondary-background-soft-emphasis",section:"[[data-state=collapsed]_&]:p-[5px]",outline:"bg-surface-navigation shadow-[0_0_0_1px_hsl(var(--color-border))] hover:bg-secondary-background-soft-emphasis hover:shadow-[0_0_0_1px_hsl(var(--secondary))]"},size:{sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-md group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"md"}});function dd(f){var i=f,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=i,n=s(i,["asChild","isActive","variant","size","tooltip","className"]);let g=e?Slot.Slot:"button",{isMobile:x,state:b}=ge(),v=jsx(g,d({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(ld({variant:o,size:t}),l)},n));return r?(typeof r=="string"&&(r={children:r}),jsxs(ta,{children:[jsx(oa,{asChild:true,children:v}),jsx(ra,d({side:"right",align:"center",hidden:b!=="collapsed"||x},r))]})):v}function sd(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=s(l,["className","asChild","showOnHover"]);let n=a?Slot.Slot:"button";return jsx(n,d({"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:u("outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 peer-hover/menu-button:text-secondary-stroke-emphasis [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-secondary md:opacity-0",e)},t))}function ud(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:u("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-gray-foreground","peer-hover/menu-button:text-secondary peer-data-[active=true]/menu-button:text-secondary","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e)},a))}function nd(t){var r=t,{className:e,showIcon:a=false}=r,o=s(r,["className","showIcon"]);let l=T.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxs("div",c(d({"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:u("flex h-8 items-center gap-0.5 rounded-md px-2",e)},o),{children:[a&&jsx(ea,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsx(ea,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function id(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("ul",d({"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e)},a))}function fd(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("li",d({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function cd({icon:e,title:a}){let{state:o,isMobile:t}=ge();return jsxs(Fragment,{children:[T.isValidElement(e)?T.cloneElement(e,{strokeWidth:1.8}):e,jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function pd(){return jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsx(ChevronRightMd,{size:20,strokeWidth:1.5})})}function md(l){var n=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=n,r=s(n,["asChild","size","isActive","className"]);let f=e?Slot.Slot:"a";return jsx(f,d({"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":o,className:u("outline-hidden flex h-9 min-w-0 -translate-x-px items-center gap-0.5 overflow-hidden rounded-md px-2 font-medium text-gray-foreground ring-ring hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:font-semibold active:text-secondary-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-foreground","data-[active=true]:font-semibold data-[active=true]:text-secondary-foreground",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",t)},r))}var Kt=T.createContext({});function xd({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[n,f]=T.useState(a||""),i={value:a||n,onValueChange:o||f};return jsx(Kt.Provider,{value:i,children:jsx(ba,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function Ld({children:e,asChild:a=true,className:o}){return jsx(va,{className:o,asChild:a,children:e})}function hd({children:e,align:a="center",side:o="right",className:t}){return jsx(Sa,{className:t,align:a,side:o,children:e})}function Id({children:e,label:a}){let{value:o,onValueChange:t}=T.useContext(Kt);return a?jsxs(Fragment,{children:[jsx(wa,{children:a}),jsx(We,{value:o,onValueChange:t,children:e})]}):jsx(We,{value:o,onValueChange:t,children:e})}function Cd({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxs(ka,{value:a,onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxs(_e,{onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function bd({children:e,onClick:a,icon:o}){return jsxs(_e,{onClick:a,children:[o,e]})}function vd(){return jsx(ya,{})}var Pd=cva("group/tile relative flex flex-col justify-center rounded-lg gap-0.5 px-5 py-4 cursor-default data-[disabled=true]:pointer-events-none",{variants:{variant:{regular:"bg-surface-settings-on text-primary-foreground fill-primary-foreground data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-on)_100%)] data-[disabled=true]:bg-surface-disable data-[inactive=true]:bg-surface-settings-off data-[inactive=true]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-off)_100%)]",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cm-background-fill-emphasis)_0%,_var(--color-cm-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-go-background-fill-emphasis)_0%,_var(--color-go-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cir-background-fill-emphasis)_0%,_var(--color-cir-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-ped-background-fill-emphasis)_0%,_var(--color-ped-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-prev-background-fill-emphasis)_0%,_var(--color-prev-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]"}},defaultVariants:{variant:"regular"}});function Rd(n){var f=n,{className:e,variant:a="regular",asChild:o=false,disabled:t=false,inactive:r=false}=f,l=s(f,["className","variant","asChild","disabled","inactive"]);let i=o?Slot.Slot:"div";return jsxs(i,c(d({"data-slot":"tile","data-variant":a,"data-inactive":r,"data-disabled":t,"aria-disabled":t||r,className:u(Pd({variant:a,className:e}),l.onClick&&!t&&"cursor-pointer")},l),{children:[l.children,l.onClick&&!t&&jsx(EditPencil,{className:"absolute right-5 top-4 size-5 opacity-0 transition-opacity group-hover/tile:opacity-100"})]}))}function Ad(t){var r=t,{className:e,icon:a}=r,o=s(r,["className","icon"]);return jsx("div",c(d({"data-slot":"tile-icon",className:u("mb-2.5 last:mb-0 [&>svg]:size-5",e)},o),{children:a}))}function Md(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("div",d({"data-slot":"tile-title",className:u("line-clamp-1 flex w-fit text-xs font-medium",e)},a))}function Dd(o){var t=o,{className:e}=t,a=s(t,["className"]);return jsx("span",d({"data-slot":"tile-description",className:u("line-clamp-1 flex w-fit text-sm font-semibold",e)},a))}/*! Bundled license information:
1
+ import*as T from'react';import {forwardRef,createElement}from'react';import {cva}from'class-variance-authority';import {CloseMd,User,ChevronRightMd,MoreHorizontal,IndexPriority,Check,TimeRemaining,ChevronRight,ChevronLeftDuo,ChevronRightDuo,CheckboxFill,ArrowRightMd,HamburgerMd,EditPencil,ChevronLeftMd}from'@medway-ui/icons';import {clsx}from'clsx';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {Slot,AlertDialog,Avatar,Collapsible,Separator,Dialog,DropdownMenu,ScrollArea,Tabs,Tooltip}from'radix-ui';var bo=Object.defineProperty,Io=Object.defineProperties;var Co=Object.getOwnPropertyDescriptors;var We=Object.getOwnPropertySymbols;var ut=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var dt=(e,a,o)=>a in e?bo(e,a,{enumerable:true,configurable:true,writable:true,value:o}):e[a]=o,s=(e,a)=>{for(var o in a||(a={}))ut.call(a,o)&&dt(e,o,a[o]);if(We)for(var o of We(a))nt.call(a,o)&&dt(e,o,a[o]);return e},c=(e,a)=>Io(e,Co(a));var d=(e,a)=>{var o={};for(var t in e)ut.call(e,t)&&a.indexOf(t)<0&&(o[t]=e[t]);if(e!=null&&We)for(var t of We(e))a.indexOf(t)<0&&nt.call(e,t)&&(o[t]=e[t]);return o};var vo=(e,a)=>{let o=new Array(e.length+a.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<a.length;t++)o[e.length+t]=a[t];return o},So=(e,a)=>({classGroupId:e,validator:a}),xt=(e=new Map,a=null,o)=>({nextPart:e,validators:a,classGroupId:o});var it=[],ko="arbitrary..",wo=e=>{let a=Po(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return {getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return yo(n);let f=n.split("-"),i=f[0]===""&&f.length>1?1:0;return Lt(f,i,a)},getConflictingClassGroupIds:(n,f)=>{if(f){let i=t[n],p=o[n];return i?p?vo(p,i):i:p||it}return o[n]||it}}},Lt=(e,a,o)=>{if(e.length-a===0)return o.classGroupId;let r=e[a],l=o.nextPart.get(r);if(l){let p=Lt(e,a+1,l);if(p)return p}let n=o.validators;if(n===null)return;let f=a===0?e.join("-"):e.slice(a).join("-"),i=n.length;for(let p=0;p<i;p++){let x=n[p];if(x.validator(f))return x.classGroupId}},yo=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let a=e.slice(1,-1),o=a.indexOf(":"),t=a.slice(0,o);return t?ko+t:void 0})(),Po=e=>{let{theme:a,classGroups:o}=e;return Ro(o,a)},Ro=(e,a)=>{let o=xt();for(let t in e){let r=e[t];wa(r,o,t,a);}return o},wa=(e,a,o,t)=>{let r=e.length;for(let l=0;l<r;l++){let n=e[l];Ao(n,a,o,t);}},Ao=(e,a,o,t)=>{if(typeof e=="string"){Mo(e,a,o);return}if(typeof e=="function"){To(e,a,o,t);return}Do(e,a,o,t);},Mo=(e,a,o)=>{let t=e===""?a:ht(a,e);t.classGroupId=o;},To=(e,a,o,t)=>{if(Bo(e)){wa(e(t),a,o,t);return}a.validators===null&&(a.validators=[]),a.validators.push(So(o,e));},Do=(e,a,o,t)=>{let r=Object.entries(e),l=r.length;for(let n=0;n<l;n++){let[f,i]=r[n];wa(i,ht(a,f),o,t);}},ht=(e,a)=>{let o=e,t=a.split("-"),r=t.length;for(let l=0;l<r;l++){let n=t[l],f=o.nextPart.get(n);f||(f=xt(),o.nextPart.set(n,f)),o=f;}return o},Bo=e=>"isThemeGetter"in e&&e.isThemeGetter===true,Fo=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,o=Object.create(null),t=Object.create(null),r=(l,n)=>{o[l]=n,a++,a>e&&(a=0,t=o,o=Object.create(null));};return {get(l){let n=o[l];if(n!==void 0)return n;if((n=t[l])!==void 0)return r(l,n),n},set(l,n){l in o?o[l]=n:r(l,n);}}};var qo=[],ft=(e,a,o,t,r)=>({modifiers:e,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:t,isExternal:r}),No=e=>{let{prefix:a,experimentalParseClassName:o}=e,t=r=>{let l=[],n=0,f=0,i=0,p,x=r.length;for(let w=0;w<x;w++){let R=r[w];if(n===0&&f===0){if(R===":"){l.push(r.slice(i,w)),i=w+1;continue}if(R==="/"){p=w;continue}}R==="["?n++:R==="]"?n--:R==="("?f++:R===")"&&f--;}let L=l.length===0?r:r.slice(i),v=L,P=false;L.endsWith("!")?(v=L.slice(0,-1),P=true):L.startsWith("!")&&(v=L.slice(1),P=true);let y=p&&p>i?p-i:void 0;return ft(l,P,v,y)};if(a){let r=a+":",l=t;t=n=>n.startsWith(r)?l(n.slice(r.length)):ft(qo,false,n,void 0,true);}if(o){let r=t;t=l=>o({className:l,parseClassName:r});}return t},Oo=e=>{let a=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{a.set(o,1e6+t);}),o=>{let t=[],r=[];for(let l=0;l<o.length;l++){let n=o[l],f=n[0]==="[",i=a.has(n);f||i?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(n)):r.push(n);}return r.length>0&&(r.sort(),t.push(...r)),t}},Uo=e=>s({cache:Fo(e.cacheSize),parseClassName:No(e),sortModifiers:Oo(e)},wo(e)),Ho=/\s+/,zo=(e,a)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:r,sortModifiers:l}=a,n=[],f=e.trim().split(Ho),i="";for(let p=f.length-1;p>=0;p-=1){let x=f[p],{isExternal:L,modifiers:v,hasImportantModifier:P,baseClassName:y,maybePostfixModifierPosition:w}=o(x);if(L){i=x+(i.length>0?" "+i:i);continue}let R=!!w,H=t(R?y.substring(0,w):y);if(!H){if(!R){i=x+(i.length>0?" "+i:i);continue}if(H=t(y),!H){i=x+(i.length>0?" "+i:i);continue}R=false;}let C=v.length===0?"":v.length===1?v[0]:l(v).join(":"),k=P?C+"!":C,z=k+H;if(n.indexOf(z)>-1)continue;n.push(z);let F=r(H,R);for(let G=0;G<F.length;++G){let we=F[G];n.push(k+we);}i=x+(i.length>0?" "+i:i);}return i},Vo=(...e)=>{let a=0,o,t,r="";for(;a<e.length;)(o=e[a++])&&(t=bt(o))&&(r&&(r+=" "),r+=t);return r},bt=e=>{if(typeof e=="string")return e;let a,o="";for(let t=0;t<e.length;t++)e[t]&&(a=bt(e[t]))&&(o&&(o+=" "),o+=a);return o},ct=(e,...a)=>{let o,t,r,l,n=i=>{let p=a.reduce((x,L)=>L(x),e());return o=Uo(p),t=o.cache.get,r=o.cache.set,l=f,f(i)},f=i=>{let p=t(i);if(p)return p;let x=zo(i,o);return r(i,x),x};return l=n,(...i)=>l(Vo(...i))},Go=[],N=e=>{let a=o=>o[e]||Go;return a.isThemeGetter=true,a},It=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ct=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Eo=/^\d+\/\d+$/,_o=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wo=/\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$/,Xo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ko=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=e=>Eo.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),re=e=>!!e&&Number.isInteger(Number(e)),Sa=e=>e.endsWith("%")&&S(e.slice(0,-1)),$=e=>_o.test(e),Qo=()=>true,Jo=e=>Wo.test(e)&&!Xo.test(e),vt=()=>false,jo=e=>Ko.test(e),$o=e=>Zo.test(e),Yo=e=>!m(e)&&!g(e),er=e=>me(e,wt,vt),m=e=>It.test(e),de=e=>me(e,yt,Jo),ka=e=>me(e,lr,S),pt=e=>me(e,St,vt),ar=e=>me(e,kt,$o),Xe=e=>me(e,Pt,jo),g=e=>Ct.test(e),ye=e=>ge(e,yt),tr=e=>ge(e,sr),mt=e=>ge(e,St),or=e=>ge(e,wt),rr=e=>ge(e,kt),Ke=e=>ge(e,Pt,true),me=(e,a,o)=>{let t=It.exec(e);return t?t[1]?a(t[1]):o(t[2]):false},ge=(e,a,o=false)=>{let t=Ct.exec(e);return t?t[1]?a(t[1]):o:false},St=e=>e==="position"||e==="percentage",kt=e=>e==="image"||e==="url",wt=e=>e==="length"||e==="size"||e==="bg-size",yt=e=>e==="length",lr=e=>e==="number",sr=e=>e==="family-name",Pt=e=>e==="shadow";var gt=()=>{let e=N("color"),a=N("font"),o=N("text"),t=N("font-weight"),r=N("tracking"),l=N("leading"),n=N("breakpoint"),f=N("container"),i=N("spacing"),p=N("radius"),x=N("shadow"),L=N("inset-shadow"),v=N("text-shadow"),P=N("drop-shadow"),y=N("blur"),w=N("perspective"),R=N("aspect"),H=N("ease"),C=N("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...z(),g,m],G=()=>["auto","hidden","clip","visible","scroll"],we=()=>["auto","contain","none"],b=()=>[g,m,i],J=()=>[pe,"full","auto",...b()],Ya=()=>[re,"none","subgrid",g,m],et=()=>["auto",{span:["full",re,g,m]},re,g,m],ze=()=>[re,"auto",g,m],at=()=>["auto","min","max","fr",g,m],Ia=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ce=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...b()],se=()=>[pe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],h=()=>[e,g,m],tt=()=>[...z(),mt,pt,{position:[g,m]}],ot=()=>["no-repeat",{repeat:["","x","y","space","round"]}],rt=()=>["auto","cover","contain",or,er,{size:[g,m]}],Ca=()=>[Sa,ye,de],E=()=>["","none","full",p,g,m],_=()=>["",S,ye,de],Ve=()=>["solid","dashed","dotted","double"],lt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>[S,Sa,mt,pt],st=()=>["","none",y,g,m],Ge=()=>["none",S,g,m],Ee=()=>["none",S,g,m],va=()=>[S,g,m],_e=()=>[pe,"full",...b()];return {cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[Qo],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[Yo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",S],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pe,m,g,R]}],container:["container"],columns:[{columns:[S,m,g,f]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:we()}],"overscroll-x":[{"overscroll-x":we()}],"overscroll-y":[{"overscroll-y":we()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{start:J()}],end:[{end:J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[re,"auto",g,m]}],basis:[{basis:[pe,"full","auto",f,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,pe,"auto","initial","none",m]}],grow:[{grow:["",S,g,m]}],shrink:[{shrink:["",S,g,m]}],order:[{order:[re,"first","last","none",g,m]}],"grid-cols":[{"grid-cols":Ya()}],"col-start-end":[{col:et()}],"col-start":[{"col-start":ze()}],"col-end":[{"col-end":ze()}],"grid-rows":[{"grid-rows":Ya()}],"row-start-end":[{row:et()}],"row-start":[{"row-start":ze()}],"row-end":[{"row-end":ze()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":at()}],"auto-rows":[{"auto-rows":at()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:[...Ia(),"normal"]}],"justify-items":[{"justify-items":[...ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...ce()]}],"align-content":[{content:["normal",...Ia()]}],"align-items":[{items:[...ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ia()}],"place-items":[{"place-items":[...ce(),"baseline"]}],"place-self":[{"place-self":["auto",...ce()]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:se()}],w:[{w:[f,"screen",...se()]}],"min-w":[{"min-w":[f,"screen","none",...se()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[n]},...se()]}],h:[{h:["screen","lh",...se()]}],"min-h":[{"min-h":["screen","lh","none",...se()]}],"max-h":[{"max-h":["screen","lh",...se()]}],"font-size":[{text:["base",o,ye,de]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,g,ka]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Sa,m]}],"font-family":[{font:[tr,m,a]}],"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:[r,g,m]}],"line-clamp":[{"line-clamp":[S,"none",g,ka]}],leading:[{leading:[l,...b()]}],"list-image":[{"list-image":["none",g,m]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",g,m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",g,de]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[S,"auto",g,m]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g,m]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g,m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tt()}],"bg-repeat":[{bg:ot()}],"bg-size":[{bg:rt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},re,g,m],radial:["",g,m],conic:[re,g,m]},rr,ar]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:Ca()}],"gradient-via-pos":[{via:Ca()}],"gradient-to-pos":[{to:Ca()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:_()}],"border-w-x":[{"border-x":_()}],"border-w-y":[{"border-y":_()}],"border-w-s":[{"border-s":_()}],"border-w-e":[{"border-e":_()}],"border-w-t":[{"border-t":_()}],"border-w-r":[{"border-r":_()}],"border-w-b":[{"border-b":_()}],"border-w-l":[{"border-l":_()}],"divide-x":[{"divide-x":_()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ve(),"hidden","none"]}],"divide-style":[{divide:[...Ve(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...Ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,g,m]}],"outline-w":[{outline:["",S,ye,de]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",x,Ke,Xe]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",L,Ke,Xe]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[S,de]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",v,Ke,Xe]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[S,g,m]}],"mix-blend":[{"mix-blend":[...lt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":lt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[g,m]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tt()}],"mask-repeat":[{mask:ot()}],"mask-size":[{mask:rt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",g,m]}],filter:[{filter:["","none",g,m]}],blur:[{blur:st()}],brightness:[{brightness:[S,g,m]}],contrast:[{contrast:[S,g,m]}],"drop-shadow":[{"drop-shadow":["","none",P,Ke,Xe]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",S,g,m]}],"hue-rotate":[{"hue-rotate":[S,g,m]}],invert:[{invert:["",S,g,m]}],saturate:[{saturate:[S,g,m]}],sepia:[{sepia:["",S,g,m]}],"backdrop-filter":[{"backdrop-filter":["","none",g,m]}],"backdrop-blur":[{"backdrop-blur":st()}],"backdrop-brightness":[{"backdrop-brightness":[S,g,m]}],"backdrop-contrast":[{"backdrop-contrast":[S,g,m]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,g,m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,g,m]}],"backdrop-invert":[{"backdrop-invert":["",S,g,m]}],"backdrop-opacity":[{"backdrop-opacity":[S,g,m]}],"backdrop-saturate":[{"backdrop-saturate":[S,g,m]}],"backdrop-sepia":[{"backdrop-sepia":["",S,g,m]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",g,m]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",g,m]}],ease:[{ease:["linear","initial",H,g,m]}],delay:[{delay:[S,g,m]}],animate:[{animate:["none",C,g,m]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,g,m]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:Ge()}],"rotate-x":[{"rotate-x":Ge()}],"rotate-y":[{"rotate-y":Ge()}],"rotate-z":[{"rotate-z":Ge()}],scale:[{scale:Ee()}],"scale-x":[{"scale-x":Ee()}],"scale-y":[{"scale-y":Ee()}],"scale-z":[{"scale-z":Ee()}],"scale-3d":["scale-3d"],skew:[{skew:va()}],"skew-x":[{"skew-x":va()}],"skew-y":[{"skew-y":va()}],transform:[{transform:[g,m,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:_e()}],"translate-x":[{"translate-x":_e()}],"translate-y":[{"translate-y":_e()}],"translate-z":[{"translate-z":_e()}],"translate-none":["translate-none"],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g,m]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",g,m]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[S,ye,de,ka]}],stroke:[{stroke:["none",...h()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},dr=(e,{cacheSize:a,prefix:o,experimentalParseClassName:t,extend:r={},override:l={}})=>(Pe(e,"cacheSize",a),Pe(e,"prefix",o),Pe(e,"experimentalParseClassName",t),Ze(e.theme,l.theme),Ze(e.classGroups,l.classGroups),Ze(e.conflictingClassGroups,l.conflictingClassGroups),Ze(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),Pe(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Qe(e.theme,r.theme),Qe(e.classGroups,r.classGroups),Qe(e.conflictingClassGroups,r.conflictingClassGroups),Qe(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Rt(e,r,"orderSensitiveModifiers"),e),Pe=(e,a,o)=>{o!==void 0&&(e[a]=o);},Ze=(e,a)=>{if(a)for(let o in a)Pe(e,o,a[o]);},Qe=(e,a)=>{if(a)for(let o in a)Rt(e,a,o);},Rt=(e,a,o)=>{let t=a[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t);},At=(e,...a)=>typeof e=="function"?ct(gt,e,...a):ct(()=>dr(gt(),e),...a);var nr=At({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-sm","text-md","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"]}}});function u(...e){return nr(clsx(e))}var ya=T.createContext(null),fr=cva("relative flex flex-col items-center justify-between gap-5 w-full rounded-md px-4 py-3 text-sm has-[>svg]:gap-x-9 gap-y-1 items-center [&>svg]:translate-y-0 [&>svg]:text-current lg:flex-row",{variants:{variant:{regular:"[background:linear-gradient(0deg,_var(--color-primary-background-soft)_0%,_var(--color-primary-background-soft)_100%),_var(--color-surface-card)] text-primary-foreground [&>svg]:text-primary-foreground",emphasis:"[background:linear-gradient(0deg,_var(--color-secondary-background-soft)_0%,_var(--color-secondary-background-soft)_100%),_var(--color-surface-card)] text-secondary-foreground [&>svg]:text-secondary-foreground",success:"[background:linear-gradient(0deg,_var(--color-green-background-soft)_0%,_var(--color-green-background-soft)_100%),_var(--color-surface-card)] text-green-foreground [&>svg]:text-green-foreground",warning:"[background:linear-gradient(0deg,_var(--color-yellow-background-soft)_0%,_var(--color-yellow-background-soft)_100%),_var(--color-surface-card)] text-yellow-foreground [&>svg]:text-yellow-foreground",error:"[background:linear-gradient(0deg,_var(--color-red-background-soft)_0%,_var(--color-red-background-soft)_100%),_var(--color-surface-card)] text-red-foreground [&>svg]:text-red-foreground"}},defaultVariants:{variant:"regular"}});function cr(l){var n=l,{className:e,variant:a="regular",onClose:o,children:t}=n,r=d(n,["className","variant","onClose","children"]);let f=T.Children.toArray(t).some(p=>T.isValidElement(p)&&p.type===Dt),i=T.Children.toArray(t).some(p=>T.isValidElement(p)&&p.type===Tt);return jsx(ya.Provider,{value:{variant:a,hasDescription:f,hasTitle:i,onClose:o},children:jsxs("div",c(s({"data-slot":"alert",role:"alert",className:u(fr({variant:a}),e)},r),{children:[t,o&&jsx(CloseMd,{"aria-label":"alert-close",onClick:o,className:"absolute right-4 top-2 !size-4 cursor-pointer !text-gray-foreground"})]}))})}function pr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-container",className:u("flex gap-3",e)},a))}function mr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-content",className:u("flex flex-col gap-1",e)},a))}function gr(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",c(s({"data-slot":"alert-icon",className:u("size-6",e)},o),{children:a}))}function Tt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-title",className:u("line-clamp-1 min-h-4 text-md font-medium",e)},a))}function Dt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-description",className:u("!line-clamp-3 grid justify-items-start gap-1 text-sm leading-5",e)},a))}function xr(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=T.useContext(ya),l=(r==null?void 0:r.hasDescription)||false,n=(r==null?void 0:r.hasTitle)||false,f=r==null?void 0:r.onClose;return jsx("div",s({"data-slot":"alert-actions",className:u("relative mt-2 flex flex-wrap items-center gap-x-2 lg:mt-0 lg:flex-nowrap",(!l||!n)&&f&&"lg:right-5",e)},a))}var Lr=cva("inline-flex items-center justify-center rounded-pill px-3 py-2 min-h-10 text-sm font-semibold transition-colors whitespace-nowrap focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:brightness-90",{variants:{variant:{regular:"text-current",basic:"text-current"},alertVariant:{regular:"",emphasis:"",success:"",warning:"",error:""}},compoundVariants:[{variant:"regular",alertVariant:"regular",class:"bg-primary-background-soft"},{variant:"regular",alertVariant:"emphasis",class:"bg-secondary-background-soft"},{variant:"regular",alertVariant:"success",class:"bg-green-background-soft"},{variant:"regular",alertVariant:"warning",class:"bg-yellow-background-soft"},{variant:"regular",alertVariant:"error",class:"bg-red-background-soft"}],defaultVariants:{variant:"regular",alertVariant:"regular"}});function hr(t){var r=t,{className:e,variant:a}=r,o=d(r,["className","variant"]);let l=T.useContext(ya),n=(l==null?void 0:l.variant)||"regular";return jsx("button",s({className:u(Lr({variant:a,alertVariant:n}),e)},o))}function Pa({size:e=24,className:a}){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:u("animate-spin",a),children:jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}var vr={sm:"size-4 p-0",md:"size-5 p-0",lg:"size-6 p-0",xl:"size-7 p-0"},Sr={sm:"px-1",md:"px-1",lg:"px-1",xl:"px-1.5"},qt=cva("inline-flex items-center justify-center rounded-pill border font-semibold w-fit whitespace-nowrap shrink-0 gap-1 [&>svg]:pointer-events-none overflow-hidden border-transparent px-2 ring-1 ring-background",{variants:{variant:{regular:"bg-secondary-background-fill text-secondary-foreground-onfill",freemium:"[background:radial-gradient(135.09%_111.8%_at_0%_50%,rgba(24,98,188,0.02)_0%,rgba(0,32,91,0)_100%),linear-gradient(46deg,rgba(62,218,199,0.56)_6.54%,rgba(24,98,188,0.17)_85.21%),var(--color-primary)] text-white"},size:{sm:"min-w-4 text-xxs [&>svg]:size-2.5",md:"min-w-5 text-xs [&>svg]:size-3",lg:"min-w-6 text-xs [&>svg]:size-3.5",xl:"min-w-7 text-sm [&>svg]:size-4"}},defaultVariants:{variant:"regular",size:"md"}});function ue(n){var f=n,{className:e,variant:a,size:o,icon:t,asChild:r=false}=f,l=d(f,["className","variant","size","icon","asChild"]);let i=r?Slot.Slot:"span",p=T.Children.count(l.children)>0,x=!!t&&!p,L=typeof l.children=="string"||typeof l.children=="number"?String(l.children).trim():"",v=/^[A-Za-z0-9]$/.test(L),P=/^[A-Za-z0-9]{2,3}$/.test(L),y=/^\d{1,2}\S$/.test(L),w=P||y;return jsxs(i,c(s({"data-slot":"badge",className:u(qt({variant:a,size:o}),(x||v)&&vr[o||"md"],!x&&w&&Sr[o||"md"],e)},l),{children:[t,l.children]}))}var Pr={sm:"!h-8 !min-h-8 !w-8 !px-3 !py-2",md:"!h-10 !min-h-10 !w-10 !px-[14px] !py-[10px]",lg:"!h-12 !min-h-12 !w-12 !p-3",xl:"!h-14 !min-h-14 !w-14 !p-3"},Nt={sm:"size-2",md:"size-2.5",lg:"size-2.5",xl:"size-3"},Rr={sm:"sm",md:"md",lg:"md",xl:"lg"},Re=cva("inline-flex items-center justify-center place-items-center gap-2 rounded-pill text-sm font-semibold whitespace-nowrap transition-all disabled:pointer-events-none shrink-0 [&_svg]:shrink-0 hover:cursor-pointer focus:outline-0 [grid-template-areas:'stack']",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill hover:bg-primary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","regular-basic":"bg-transparent text-primary-foreground hover:bg-primary-background-soft-emphasis hover:text-primary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill hover:bg-secondary-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","emphasis-basic":"bg-transparent text-secondary-foreground hover:bg-secondary-background-soft-emphasis hover:text-secondary-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",error:"bg-red-background-fill text-red-foreground-onfill hover:bg-red-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","error-basic":"bg-transparent text-red-foreground hover:bg-red-background-soft-emphasis hover:text-red-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",warning:"bg-yellow-background-fill text-yellow-foreground-onfill hover:bg-yellow-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","warning-basic":"bg-transparent text-yellow-foreground hover:bg-yellow-background-soft-emphasis hover:text-yellow-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",success:"bg-green-background-fill text-green-foreground-onfill hover:bg-green-background-fill-emphasis disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-gray-background-soft-muted disabled:text-gray-foreground-muted","success-basic":"bg-transparent text-green-foreground hover:bg-green-background-soft-emphasis hover:text-green-foreground-emphasis disabled:bg-transparent disabled:text-gray-foreground-muted",outlined:"border border-border bg-transparent text-foreground hover:border-transparent hover:bg-gray-50 disabled:border-transparent dark:bg-transparent hover:dark:border-gray-400 disabled:border-gray-stroke-muted disabled:text-gray-foreground-muted",gradient:"text-white [background:linear-gradient(284deg,var(--color-primary)_2.11%,var(--color-secondary)_128.06%)] hover:[background:linear-gradient(284deg,var(--color-primary)2.11%,var(--color-secondary)102.63%)] disabled:[background:var(--color-gray-50)] disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill",medbrain:"border-2 border-transparent bg-clip-text [background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-secondary),var(--color-cm-lighten-3))_border-box] [box-shadow:-8px_0_8px_0_var(--color-prev-16)_inset,8px_0_8px_0_var(--color-secondary-24)_inset,0_0_8px_0_var(--color-cm-16)_inset] hover:[background:linear-gradient(var(--color-white),var(--color-white))_padding-box,linear-gradient(75deg,var(--color-cm-lighten-3),var(--color-secondary))_border-box] [&_span]:bg-clip-text [&_span]:text-transparent [&_span]:bg-gradient-to-r [&_span]:from-cm [&_span]:to-primary [&_span]:hover:to-secondary disabled:bg-gray-background-fill-muted disabled:text-gray-foreground-onfill [&_svg]:text-cm-darken-1"},size:{sm:"min-h-8 min-w-8 px-3 py-1 has-[>svg]:px-3 [&_svg:not([class*='size-'])]:size-[13px] text-xs",md:"min-h-10 min-w-10 px-3.5 py-2 has-[>svg]:px-3.5 [&_svg:not([class*='size-'])]:size-4 text-sm",lg:"min-h-12 min-w-12 px-4 py-3 has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-6 text-md",xl:"min-h-14 min-w-14 px-[18px] py-3.5 has-[>svg]:px-[18px] [&_svg:not([class*='size-'])]:size-7 text-lg"}},defaultVariants:{variant:"regular",size:"md"}});function ie(L){var v=L,{className:e,containerClassName:a,variant:o,size:t,asChild:r=false,iconRight:l,iconLeft:n,badge:f,loading:i=false,alert:p}=v,x=d(v,["className","containerClassName","variant","size","asChild","iconRight","iconLeft","badge","loading","alert"]);let P=r?Slot.Slot:"button",y=k=>k!=null&&k!==0&&k!==""&&k!=="0",w=k=>k,R=!x.children&&(n||l||p),H=()=>p?jsxs("span",{className:u("relative mr-1 flex size-2.5",Nt[t||"md"]),children:[jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",style:{backgroundColor:p}}),jsx("span",{className:u("relative inline-flex size-2.5 rounded-full",Nt[t||"md"]),style:{backgroundColor:p}})]}):null,C=()=>i?jsxs(Fragment,{children:[jsx(Pa,{className:"[grid-area:stack]"}),jsx("span",{className:u("[grid-area:stack]",i&&"invisible"),children:x.children})]}):jsxs(Fragment,{children:[p?H():n&&w(n),x.children&&jsx("span",{children:x.children}),l&&w(l)]});return jsxs("div",{className:u("relative",a),children:[y(f)&&jsx(ue,{size:Rr[t||"md"],variant:"regular",className:u("absolute -right-2 -top-1 z-10"),role:"status","aria-label":`${f}-notifications`,children:String(f)}),jsx(P,c(s({disabled:i,"aria-busy":i,"aria-live":i?"polite":void 0,"data-slot":"button",className:u(R&&Pr[t||"md"],i&&"!inline-grid",Re({variant:o,size:t,className:e}))},x),{children:C()}))]})}function Ar(a){var e=d(a,[]);return jsx(AlertDialog.Root,s({"data-slot":"alert-dialog"},e))}function Mr(a){var e=d(a,[]);return jsx(AlertDialog.Trigger,s({"data-slot":"alert-dialog-trigger"},e))}function Ut(a){var e=d(a,[]);return jsx(AlertDialog.Portal,s({"data-slot":"alert-dialog-portal"},e))}function Ht(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Overlay,s({"data-slot":"alert-dialog-overlay",className:u("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function Tr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsxs(Ut,{children:[jsx(Ht,{}),jsx(AlertDialog.Content,s({"data-slot":"alert-dialog-content",className:u("fixed left-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-surface-elevated p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-w-lg",e)},a))]})}function Dr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-dialog-header",className:u("flex flex-col gap-2 text-center sm:text-left",e)},a))}function Br(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"alert-dialog-footer",className:u("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e)},a))}function Fr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Title,s({"data-slot":"alert-dialog-title",className:u("text-lg font-semibold",e)},a))}function qr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Description,s({"data-slot":"alert-dialog-description",className:u("text-sm text-foreground",e)},a))}function Nr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Action,s({className:u(Re(),e)},a))}function Or(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(AlertDialog.Cancel,s({className:u(Re({variant:"outlined"}),e)},a))}var Vr={sm:"sm",md:"md",lg:"md",xl:"lg"},Gr=cva("relative flex shrink-0 overflow-hidden rounded-full",{variants:{size:{sm:"size-8",md:"size-10",lg:"size-12",xl:"size-14"}},defaultVariants:{size:"md"}});function Aa(l){var n=l,{className:e,size:a,badge:o,children:t}=n,r=d(n,["className","size","badge","children"]);return jsxs("div",{className:"relative",children:[o&&jsx(ue,{size:Vr[a||"md"],className:u("absolute -right-2 -top-1 z-10"),children:String(o)}),jsx(Avatar.Root,c(s({"data-slot":"avatar",className:u(Gr({size:a,className:e}))},r),{children:t}))]})}function Ma(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Avatar.Image,s({"data-slot":"avatar-image",className:u("size-full object-cover",e)},a))}function Ta(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Avatar.Fallback,c(s({"data-slot":"avatar-fallback",className:u("flex size-full items-center justify-center rounded-full bg-gray-background-soft text-sm font-semibold text-primary-foreground",e)},a),{children:a.children?a.children:jsx(User,{className:"size-1/2"})}))}function Da(a){var e=d(a,[]);return jsx("nav",s({"aria-label":"breadcrumb","data-slot":"breadcrumb"},e))}function Ba(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ol",s({className:u("line-clamp-1 flex flex-wrap items-center gap-1.5 text-sm font-medium text-gray-foreground [&_svg]:shrink-0",e),"data-slot":"breadcrumb-list"},a))}function Kr(r){var l=r,{className:e,icon:a,children:o}=l,t=d(l,["className","icon","children"]);return jsx("li",c(s({className:u("inline-flex items-center gap-1.5 [&_svg]:text-primary-foreground",e),"data-slot":"breadcrumb-item"},t),{children:jsxs("span",{className:"inline-flex items-center gap-2",children:[a&&a,o]})}))}function Zr(t){var r=t,{asChild:e,className:a}=r,o=d(r,["asChild","className"]);let l=e?Slot.Root:"a";return jsx(l,s({className:u("transition-colors hover:underline",a),"data-slot":"breadcrumb-link"},o))}function Qr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",s({"aria-current":"page","aria-disabled":"true",className:u("font-semibold text-primary-foreground",e),"data-slot":"breadcrumb-page",role:"link"},a))}function Jr(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("li",c(s({"aria-hidden":"true",className:a,"data-slot":"breadcrumb-separator",role:"presentation"},o),{children:e!=null?e:jsx(ChevronRightMd,{className:"text-gray-foreground",strokeWidth:1.33,size:20})}))}function jr(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsxs("span",c(s({"aria-hidden":"true",className:u("flex size-5 items-center justify-center",e),"data-slot":"breadcrumb-ellipsis",role:"presentation"},a),{children:[jsx(MoreHorizontal,{className:"text-gray-foreground",size:18}),jsx("span",{className:"sr-only",children:"More"})]}))}var Vt=cva("inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-semibold w-fit whitespace-nowrap shrink-0 gap-1.5 transition-colors overflow-hidden max-h-6",{variants:{variant:{regular:"bg-primary-background-fill text-primary-foreground-onfill fill-primary-foreground-onfill","regular-soft":"bg-primary-background-soft text-primary-foreground fill-primary-foreground","regular-basic":"bg-transparent text-primary-foreground fill-primary-foreground",emphasis:"bg-secondary-background-fill text-secondary-foreground-onfill fill-secondary-foreground-onfill","emphasis-soft":"bg-secondary-background-soft text-secondary-foreground fill-secondary-foreground","emphasis-basic":"bg-transparent text-secondary-foreground fill-secondary-foreground",gray:"bg-gray-background-fill text-gray-foreground-onfill fill-gray-foreground-onfill","gray-soft":"bg-gray-background-soft text-gray-foreground fill-gray-foreground","gray-basic":"bg-transparent text-gray-foreground fill-gray-foreground",success:"bg-green-background-fill text-green-foreground-onfill fill-green-foreground-onfill","success-soft":"bg-green-background-soft text-green-foreground fill-green-foreground","success-basic":"bg-transparent text-green-foreground fill-green-foreground",error:"bg-red-background-fill text-red-foreground-onfill fill-red-foreground-onfill","error-soft":"bg-red-background-soft text-red-foreground fill-red-foreground","error-basic":"bg-transparent text-red-foreground fill-red-foreground",warning:"bg-yellow-background-fill text-yellow-foreground-onfill fill-yellow-foreground-onfill","warning-soft":"bg-yellow-background-soft text-yellow-foreground fill-yellow-foreground","warning-basic":"bg-transparent text-yellow-foreground fill-yellow-foreground",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill","cm-soft":"bg-cm-background-soft text-cm-foreground fill-cm-foreground","cm-basic":"bg-transparent text-cm-foreground fill-cm-foreground",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill","go-soft":"bg-go-background-soft text-go-foreground fill-go-foreground","go-basic":"bg-transparent text-go-foreground fill-go-foreground",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill","cir-soft":"bg-cir-background-soft text-cir-foreground fill-cir-foreground","cir-basic":"bg-transparent text-cir-foreground fill-cir-foreground",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill","ped-soft":"bg-ped-background-soft text-ped-foreground fill-ped-foreground","ped-basic":"bg-transparent text-ped-foreground fill-ped-foreground",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill","prev-soft":"bg-prev-background-soft text-prev-foreground fill-prev-foreground","prev-basic":"bg-transparent text-prev-foreground fill-prev-foreground"}},defaultVariants:{variant:"regular"}});function el(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",c(s({"data-slot":"tag-icon",className:u("[&>svg]:size-3.5",e)},o),{children:a}))}function xe(n){var f=n,{className:e,variant:a,asChild:o=false,icon:t,children:r}=f,l=d(f,["className","variant","asChild","icon","children"]);let i=o?Slot.Slot:"span";return jsxs(i,c(s({"data-slot":"tag",className:u(Vt({variant:a}),e)},l),{children:[t&&jsx(el,{icon:t}),r]}))}function Fa(x){var L=x,{className:e,indicatorClassName:a,trackClassName:o,valueClassName:t,label:r,labelClassName:l,value:n=0,size:f=96,strokeWidth:i=2}=L,p=d(L,["className","indicatorClassName","trackClassName","valueClassName","label","labelClassName","value","size","strokeWidth"]);let v=(f-i)/2,P=v*2*Math.PI,y=P-n/100*P,w=Math.max(18,Math.min(f/5)),R=Math.max(10,Math.min(f/9,16));return jsxs("div",c(s({"data-slot":"progress-circle",className:u("relative inline-flex items-center justify-center",e),style:{width:f,height:f}},p),{children:[jsxs("svg",{className:"absolute inset-0 -rotate-90",width:f,height:f,viewBox:`0 0 ${f} ${f}`,children:[jsx("circle",{"data-slot":"progress-circle-track",cx:f/2,cy:f/2,r:v,stroke:"currentColor",strokeWidth:i,fill:"none",className:u("text-gray-stroke-muted",o)}),jsx("circle",{"data-slot":"progress-circle-indicator",cx:f/2,cy:f/2,r:v,stroke:"currentColor",strokeWidth:i,fill:"none",strokeDasharray:P,strokeDashoffset:y,strokeLinecap:"round",className:u("text-primary-stroke transition-all duration-300 ease-in-out",a)})]}),jsxs("div",{"data-slot":"progress-circle-content",className:"relative z-10 flex flex-col items-center justify-center px-2 text-sm font-medium text-gray-foreground-muted",children:[jsxs("div",{children:[jsx("span",{className:u("mr-px font-semibold",t),style:{fontSize:`${w}px`},children:n}),"%"]}),r&&jsx("div",{"data-slot":"progress-circle-label",className:u("text-center font-medium leading-tight text-gray-foreground-muted",l),style:{fontSize:`${R}px`},children:r})]})]}))}var Me=T.createContext(null);function rl(l){var n=l,{className:e,done:a,postponed:o,skipped:t}=n,r=d(n,["className","done","postponed","skipped"]);let f=T.useMemo(()=>({done:a,postponed:o,skipped:t}),[a,o,t]);return jsx(Me.Provider,{value:f,children:jsx("div",s({"data-slot":"card-week",className:u("flex flex-col overflow-hidden rounded-xl border border-gray-stroke-muted text-gray-foreground-muted",e)},r))})}function ll(r){var l=r,{className:e,children:a,tag:o}=l,t=d(l,["className","children","tag"]);return jsxs("div",c(s({"data-slot":"card-week-breadcrumb",className:u("flex items-center gap-4 bg-primary-background-soft-muted px-6 py-3",e)},t),{children:[jsx(Da,{className:"flex-1 overflow-hidden",children:jsx(Ba,{className:"flex-nowrap gap-1.5 text-xs [&>[data-slot=breadcrumb-item]:last-of-type>span]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type>span]:overflow-hidden [&>[data-slot=breadcrumb-item]:last-of-type]:min-w-0 [&>[data-slot=breadcrumb-item]:last-of-type]:flex-1 [&>[data-slot=breadcrumb-item]:last-of-type_[data-slot=breadcrumb-page]]:truncate [&_[data-slot=breadcrumb-page]]:block",children:a})}),o&&jsx(xe,{variant:"regular-soft",icon:jsx(IndexPriority,{size:16}),children:o})]}))}function sl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"card-week-container",className:u("flex flex-1 flex-col gap-5 px-6 py-5",e)},a))}function dl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"card-week-header",className:u("flex justify-between [&.border-b]:pb-6",e)},a))}function ul(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=T.useContext(Me),l=r==null?void 0:r.done,n=r==null?void 0:r.postponed,f=r==null?void 0:r.skipped;return jsx("div",s({"data-slot":"card-week-title",className:u("text-lg font-semibold leading-lg text-primary-foreground",(l||n||f)&&"text-primary-foreground-muted line-through",e)},a))}function nl(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=T.useContext(Me),l=r==null?void 0:r.done,n=r==null?void 0:r.postponed,f=r==null?void 0:r.skipped;return jsx("div",s({"data-slot":"card-week-description",className:u("text-xs font-semibold leading-xs text-gray-foreground",(l||n||f)&&"text-gray-foreground-muted",e)},a))}function il(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"card-week-tags",className:u("flex flex-wrap items-center gap-2 [[data-slot=card-week-header]:not(:has([data-slot=card-week-progress]))+&]:mt-6",e)},a))}function fl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"card-week-content",className:u("text-sm text-primary-foreground",e)},a))}function cl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",c(s({"data-slot":"card-week-progress",className:u("flex flex-1 justify-end",e)},a),{children:jsx(Fa,s({size:104},a))}))}function pl(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"card-week-footer",className:u("mt-auto flex flex-col gap-2",e)},a))}function ml(n){var f=n,{className:e,correctQuestions:a,totalQuestions:o,answeredQuestions:t,timeLeft:r}=f,l=d(f,["className","correctQuestions","totalQuestions","answeredQuestions","timeLeft"]);let i=T.useContext(Me),p=i==null?void 0:i.done,x=i==null?void 0:i.postponed,L=i==null?void 0:i.skipped;return jsxs("div",c(s({"data-slot":"card-week-status",className:u("flex flex-wrap items-center justify-between gap-2 text-xs font-medium text-gray-foreground-muted",e)},l),{children:[jsxs("div",{className:"flex items-center gap-2",children:[jsxs("div",{children:[jsx("span",{className:"font-semibold text-gray-foreground",children:a})," ","acertos"]}),jsxs("div",{children:[jsx("span",{className:"font-semibold text-gray-foreground",children:t})," ","de ",jsx("span",{children:o})," respondidos"]})]}),jsxs("div",{className:"flex items-center gap-1.5 text-secondary-foreground",children:[(x||L)&&jsxs(Fragment,{children:[jsx("div",{className:"flex size-4 items-center justify-center rounded-full bg-yellow-24 text-yellow-darken-4",children:jsx(Check,{size:12,strokeWidth:1.67})}),jsx("div",{className:"font-semibold text-yellow-darken-4",children:x?"Adiado":"Pulado"})]}),p&&jsxs(Fragment,{children:[jsx("div",{className:"flex size-4 items-center justify-center rounded-full bg-secondary-background-soft text-secondary-foreground",children:jsx(Check,{size:12,strokeWidth:1.67})}),jsx("div",{className:"font-semibold",children:"Feito"})]}),!p&&!x&&!L&&jsxs(Fragment,{children:[jsx(TimeRemaining,{size:16}),jsxs("div",{children:[jsxs("span",{className:"font-semibold",children:[r,"h"]})," ",r<=1?"restante":"restantes"]})]})]})]}))}function gl(o){var t=o,{className:e}=t,a=d(t,["className"]);let r=T.useContext(Me),l=r==null?void 0:r.done;return jsx("div",s({"data-slot":"card-week-actions",className:u("flex flex-wrap items-center gap-2 border-t border-gray-stroke-muted pt-4",l&&"border-t-2 border-primary-stroke",e)},a))}var _t=T.createContext({animation:void 0});function xl(o){var t=o,{animation:e}=t,a=d(t,["animation"]);return jsx(_t.Provider,{value:{animation:e},children:jsx(Collapsible.Root,s({"data-slot":"collapsible"},a))})}function Ll(a){var e=d(a,[]);return jsx(Collapsible.Trigger,s({"data-slot":"collapsible-trigger"},e))}function hl(o){var t=o,{className:e}=t,a=d(t,["className"]);let{animation:r}=T.useContext(_t),l={accordion:"overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",fade:"data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in"};return jsx(Collapsible.Content,s({"data-slot":"collapsible-content",className:u(r&&l[r],e)},a))}function Le(r){var l=r,{className:e,orientation:a="horizontal",decorative:o=true}=l,t=d(l,["className","orientation","decorative"]);return jsx(Separator.Root,s({"data-slot":"separator-root",decorative:o,orientation:a,className:u("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e)},t))}function vl(a){var e=d(a,[]);return jsx(Dialog.Root,s({"data-slot":"dialog"},e))}function Sl(a){var e=d(a,[]);return jsx(Dialog.Trigger,s({"data-slot":"dialog-trigger"},e))}function Wt(a){var e=d(a,[]);return jsx(Dialog.Portal,s({"data-slot":"dialog-portal"},e))}function kl(a){var e=d(a,[]);return jsx(Dialog.Close,s({"data-slot":"dialog-close"},e))}function Xt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Overlay,s({"data-slot":"dialog-overlay",className:u("fixed inset-0 z-50 bg-black-48 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e)},a))}function wl(l){var n=l,{className:e,overlayClassName:a,children:o,showCloseButton:t=true}=n,r=d(n,["className","overlayClassName","children","showCloseButton"]);return jsxs(Wt,{"data-slot":"dialog-portal",children:[jsx(Xt,{className:a}),jsxs(Dialog.Content,c(s({"data-slot":"dialog-container",className:u("fixed left-1/2 top-1/2 z-50 flex max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col gap-0 overflow-y-auto rounded-xl border bg-background p-0 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 sm:max-h-[85vh] sm:max-w-lg",e)},r),{children:[o,t&&jsxs(Dialog.Close,{"data-slot":"dialog-close",className:"rounded-xs focus:outline-hidden absolute right-4 top-4 disabled:pointer-events-none data-[state=open]:text-gray-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[jsx(CloseMd,{}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function yl({className:e,children:a}){return jsx("div",{className:"overflow-y-auto",children:jsx("div",{"data-slot":"dialog-content",className:u("px-8 py-6 text-md leading-md text-primary-foreground",e),children:a})})}function Pl(t){var r=t,{className:e,separator:a=false}=r,o=d(r,["className","separator"]);return jsxs(Fragment,{children:[jsx("div",s({"data-slot":"dialog-header",className:u("flex flex-col gap-2 px-8 py-6 text-center sm:text-left",e)},o)),a&&jsx(Le,{})]})}function Rl(t){var r=t,{className:e,separator:a=false}=r,o=d(r,["className","separator"]);return jsxs(Fragment,{children:[a&&jsx(Le,{}),jsx("div",s({"data-slot":"dialog-footer",className:u("flex flex-col-reverse gap-2 px-8 py-6 sm:flex-row sm:justify-end",e)},o))]})}function Al(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Title,s({"data-slot":"dialog-title",className:u("text-title-md font-semibold leading-title-md !text-content-title",e)},a))}function Ml(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Description,s({"data-slot":"dialog-description",className:u("text-md leading-md text-content-paragraph",e)},a))}var Oa=768;function De(){let[e,a]=T.useState(void 0);return T.useEffect(()=>{let o=window.matchMedia(`(max-width: ${Oa-1}px)`),t=()=>{a(window.innerWidth<Oa);};return o.addEventListener("change",t),a(window.innerWidth<Oa),()=>o.removeEventListener("change",t)},[]),!!e}function Ua(a){var e=d(a,[]);return jsx(DropdownMenu.Root,s({"data-slot":"dropdown-menu"},e))}function Dl(a){var e=d(a,[]);return jsx(DropdownMenu.Portal,s({"data-slot":"dropdown-menu-portal"},e))}function Ha(a){var e=d(a,[]);return jsx(DropdownMenu.Trigger,s({className:u("cursor-pointer",e.className),"data-slot":"dropdown-menu-trigger"},e))}function za(r){var l=r,{className:e,sideOffset:a=4,side:o}=l,t=d(l,["className","sideOffset","side"]);let n=De();return jsx(DropdownMenu.Portal,{children:jsx(DropdownMenu.Content,s({"data-slot":"dropdown-menu-content",sideOffset:a,side:n?"bottom":o,className:u("max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 max-h-screen min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-surface-elevated p-3 pb-2 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t))})}function Bl(a){var e=d(a,[]);return jsx(DropdownMenu.Group,s({"data-slot":"dropdown-menu-group"},e))}function ta(r){var l=r,{className:e,inset:a,variant:o="default"}=l,t=d(l,["className","inset","variant"]);return jsx(DropdownMenu.Item,s({"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:u("data-[variant=destructive]:*:[svg]:!text-destructive outline-hidden relative flex cursor-pointer select-none items-center gap-2.5 rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-red-foreground data-[disabled]:opacity-50 data-[variant=destructive]:hover:bg-red-background-soft-emphasis dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e)},t))}function Fl(r){var l=r,{className:e,children:a,checked:o}=l,t=d(l,["className","children","checked"]);return jsxs(DropdownMenu.CheckboxItem,c(s({"data-slot":"dropdown-menu-checkbox-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:text-secondary-foreground",e),checked:o},t),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function oa(a){var e=d(a,[]);return jsx(DropdownMenu.RadioGroup,s({"data-slot":"dropdown-menu-radio-group"},e))}function Va(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsxs(DropdownMenu.RadioItem,c(s({"data-slot":"dropdown-menu-radio-item",className:u("outline-hidden relative flex cursor-pointer select-none items-center gap-2 rounded-md py-3 pl-2 pr-7 text-sm font-medium text-gray-foreground hover:bg-secondary-background-soft-emphasis focus:outline-0 aria-checked:text-secondary-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:[&_img]:brightness-0 dark:[&_img]:invert [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:text-secondary-foreground",e)},o),{children:[jsx("span",{className:"flex min-w-0 flex-1 gap-2 break-words",children:a}),jsx("span",{className:"pointer-events-none absolute right-2 flex size-3.5 items-center justify-center",children:jsx(DropdownMenu.ItemIndicator,{children:jsx(Check,{className:"size-4"})})})]}))}function Ga(t){var r=t,{className:e,inset:a}=r,o=d(r,["className","inset"]);return jsx(DropdownMenu.Label,s({"data-slot":"dropdown-menu-label","data-inset":a,className:u("px-2 py-3 text-xs font-semibold uppercase text-gray-foreground-muted data-[inset]:pl-8 [&:not(:first-child)]:mt-2.5",e)},o))}function Ea(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(DropdownMenu.Separator,s({"data-slot":"dropdown-menu-separator",className:u("-mx-3 my-2 h-px bg-border",e)},a))}function ql(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",s({"data-slot":"dropdown-menu-shortcut",className:u("ml-auto text-xs tracking-widest text-gray-foreground",e)},a))}function Nl(a){var e=d(a,[]);return jsx(DropdownMenu.Sub,s({"data-slot":"dropdown-menu-sub"},e))}function Ol(r){var l=r,{className:e,inset:a,children:o}=l,t=d(l,["className","inset","children"]);return jsxs(DropdownMenu.SubTrigger,c(s({"data-slot":"dropdown-menu-sub-trigger","data-inset":a,className:u("flex cursor-pointer select-none items-center rounded-sm px-2 py-2 text-sm font-medium text-gray-foreground outline-0 focus:outline-0 data-[inset]:pl-8",e)},t),{children:[o,jsx(ChevronRight,{className:"ml-auto size-3"})]}))}function Ul(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(DropdownMenu.SubContent,s({"data-slot":"dropdown-menu-sub-content",className:u("origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border bg-surface-elevated p-1 text-gray-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},a))}function Wa(t){var r=t,{className:e,type:a}=r,o=d(r,["className","type"]);return jsx("input",s({type:a,"data-slot":"input",className:u("placeholder:text-muted-foreground shadow-xs flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-md outline-none transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-300 md:text-sm","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-red-8 aria-invalid:border-red",e)},o))}function zl({width:e=171,height:a=36,className:o,svgClassName:t}){return jsxs("svg",{className:u("dark:brightness-0 dark:invert",o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 171 36",width:e,height:a,children:[jsx("path",{fill:"#01CFB5",d:"M170.246 8.366 158.874 34.77c-.317.744-1.131 1.23-2.038 1.23h-3.47c-1.552 0-2.606-1.377-2.011-2.628l2.875-6.066-8.476-18.918c-.563-1.246.492-2.59 2.027-2.59h3.541c.929 0 1.755.513 2.061 1.278l4.688 11.864h.093l4.464-11.836c.295-.782 1.126-1.306 2.066-1.306h3.514c1.524 0 2.573 1.322 2.038 2.568Zm-24.869 8.623v10.42a.823.823 0 0 1-.82.826h-3.956a.818.818 0 0 1-.82-.825v-.667a11.207 11.207 0 0 1-5.699 1.541c-6.235 0-11.295-5.054-11.295-11.295 0-6.24 5.06-11.295 11.295-11.295 2.076 0 4.027.557 5.694 1.541v-.006a11.295 11.295 0 0 1 5.601 9.76Zm-5.984.005c0-2.94-2.377-5.327-5.306-5.327-2.929 0-5.306 2.388-5.306 5.327 0 2.94 2.377 5.323 5.306 5.323 2.929 0 5.306-2.383 5.306-5.323Zm5.793.4c.005-.099.005-.192.005-.29 0-.098-.005-.191-.005-.284v.573Zm-26.17-11.722h-4.355a.977.977 0 0 0-.978.978v11.902a3.416 3.416 0 0 1-6.831 0V6.65a.977.977 0 0 0-.978-.978h-4.355a.977.977 0 0 0-.978.978v11.902a3.417 3.417 0 0 1-5.83 2.415c-.618-.617-1-1.47-1-2.415V6.65a.977.977 0 0 0-.979-.978h-4.355a.977.977 0 0 0-.978.978v13.088h-.006c0 .781.115 1.535.334 2.256 1.098 3.623 4.765 6.29 9.13 6.29 2.739 0 5.209-1.054 6.935-2.732 1.689 1.83 4.197 2.994 7 2.994 4.53 0 8.295-3.043 9.06-7.043.093-.487.143-.99.143-1.497V6.65a.978.978 0 0 0-.979-.978Z"}),jsx("path",{fill:"#00205B",className:t,d:"M65.557 7.694c-.639.399-1.235.863-1.781 1.388.54-.536 1.137-1 1.781-1.388ZM82.727.831v26.617a.82.82 0 0 1-.82.825h-3.956a.77.77 0 0 1-.415-.12.81.81 0 0 1-.405-.71v-.755a11.018 11.018 0 0 1-5.689 1.574c-5.47 0-10.01-3.967-10.923-9.191-.016-.098-.038-.197-.054-.3-.011-.088-.028-.18-.039-.268 0-.028-.005-.055-.01-.088-.006-.06-.012-.12-.023-.18-.005-.076-.01-.159-.021-.24v-.028c-.006-.093-.017-.18-.017-.273a9.516 9.516 0 0 1 0-1.11l.017-.273v-.027l.032-.311c0-.033.006-.066.006-.099a.665.665 0 0 0 .01-.104c.012-.087.023-.18.039-.267.016-.11.033-.213.055-.323a11.09 11.09 0 0 1 3.17-6.005 11.548 11.548 0 0 1 1.88-1.48 9.127 9.127 0 0 1 1.31-.646c1.039-.42 2.186-.65 3.405-.683-.071 0-.142.011-.213.011a9.587 9.587 0 0 0-3.203.672c-.453.18-.896.4-1.311.65.393-.245.809-.459 1.23-.655-.006 0-.011.005-.017.005l.033-.016c-.011.005-.022.005-.038.01a8.79 8.79 0 0 1 .519-.229c-.039.017-.071.033-.104.05.038-.017.07-.033.11-.05.087-.033.174-.065.267-.098.087-.038.175-.066.268-.099.033-.016.065-.021.098-.032.055-.017.104-.039.158-.055.11-.033.214-.066.323-.098a9.584 9.584 0 0 1 .607-.153c.092-.022.196-.044.295-.066.098-.016.196-.033.295-.055l.295-.049h.005a2.82 2.82 0 0 0 .197-.027c.07-.005.131-.022.202-.022.087-.01.18-.016.268-.022.082-.01.164-.01.246-.016.07 0 .142-.011.213-.011.136-.006.273-.006.415-.006.093 0 .191.006.284.006h.12c.083 0 .159.005.236.01.098.006.196.012.295.023.087.005.174.01.256.022.05.005.099.01.142.016.088.01.175.022.257.038l.312.05c1.06.185 2.07.519 3.005.983v.115c-.038-.022-.076-.038-.12-.06.038.022.077.038.12.065v-.12c.268.131.525.273.77.426V.825a.827.827 0 0 1 .82-.825h3.957a.838.838 0 0 1 .836.83Zm-5.694 16.213a5.32 5.32 0 0 0-5.312-5.323c-2.929 0-5.306 2.388-5.306 5.323 0 2.94 2.377 5.322 5.306 5.322a5.316 5.316 0 0 0 5.312-5.322Zm-19.59.431c0 .41-.017.765-.066 1.132a.597.597 0 0 1-.596.524H42.284a.598.598 0 0 0-.574.77c.623 1.94 2.46 3.192 4.749 3.192 1.607 0 2.678-.574 3.656-1.749a.614.614 0 0 1 .47-.213h5.191c.448 0 .738.47.53.869-2.093 4.033-5.705 6.372-9.847 6.372-6.06 0-11.137-5.055-11.137-11.088 0-6.033 4.847-11.235 11.022-11.235h.006c6.284 0 11.093 4.94 11.093 11.426Zm-6.563-3.393c-.738-1.683-2.437-2.754-4.541-2.754-1.973 0-3.721 1.027-4.47 2.754a.594.594 0 0 0 .552.825h7.907a.593.593 0 0 0 .552-.825ZM23.13 5.803c-2.738 0-5.207 1.055-6.934 2.733-1.689-1.831-4.197-2.995-7-2.995-4.53 0-8.295 3.044-9.06 7.044-.088.486-.137.989-.137 1.497v13.35c0 .54.437.978.978.978h4.355a.977.977 0 0 0 .978-.978V15.618c0-1.65 1.328-3.263 2.962-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V15.618c0-1.65 1.327-3.263 2.961-3.476a3.398 3.398 0 0 1 2.87.973c.617.617 1 1.47 1 2.415v11.902c0 .54.436.978.977.978h4.355a.977.977 0 0 0 .979-.978V14.344a7.75 7.75 0 0 0-.334-2.257c-1.098-3.623-4.77-6.284-9.13-6.284Z"})]})}function Vl({width:e=60,height:a=67,className:o,svgClassName:t}){return jsx("svg",{className:u("dark:brightness-0 dark:invert",o),width:e,height:a,viewBox:"0 0 60 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{fill:"#00205B",className:t,d:"M42.33 10.8959C37.32 10.8959 32.8 12.8259 29.64 15.8959C26.55 12.5459 21.96 10.4159 16.83 10.4159C8.54 10.4159 1.65 15.9859 0.25 23.3059C0.09 24.1959 0 25.1159 0 26.0459V50.4759C0 51.4659 0.8 52.2659 1.79 52.2659H9.76C10.75 52.2659 11.55 51.4659 11.55 50.4759V28.8559C11.55 25.8359 13.98 22.8859 16.97 22.4959C19.03 22.2259 20.91 22.9659 22.22 24.2759C23.35 25.4059 24.05 26.9659 24.05 28.6959V50.4759C24.05 51.4659 24.85 52.2659 25.84 52.2659H33.81C34.8 52.2659 35.6 51.4659 35.6 50.4759V28.8559C35.6 25.8359 38.03 22.8859 41.02 22.4959C43.08 22.2259 44.96 22.9659 46.27 24.2759C47.4 25.4059 48.1 26.9659 48.1 28.6959V50.4759C48.1 51.4659 48.9 52.2659 49.89 52.2659H57.86C58.85 52.2659 59.65 51.4659 59.65 50.4759V26.5259C59.65 25.0959 59.44 23.7159 59.04 22.3959C57.03 15.7659 50.31 10.8959 42.33 10.8959Z"})})}var he={tablet:"600px",mobile:"320px"};function Jt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("nav",s({role:"navigation","aria-label":"pagination",className:u("flex w-full items-center justify-between",e)},a))}function jt(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",s({className:u("flex flex-row items-center gap-2",e)},a))}function Xa(r){var l=r,{count:e,label:a="itens",className:o}=l,t=d(l,["count","label","className"]);return jsx("p",c(s({className:u("text-xs font-medium text-gray-foreground-muted",o)},t),{children:a==="itens"?jsxs(Fragment,{children:["Mostrando"," ",jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]}):jsxs(Fragment,{children:[jsx("span",{className:"font-semibold text-gray-foreground",children:e})," ",a]})}))}function la(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("li",s({className:u("",e)},a))}function $t(p){var x=p,{className:e,isActive:a,iconLeft:o,iconRight:t,size:r="md",variant:l="regular",activeVariant:n,inactiveVariant:f}=x,i=d(x,["className","isActive","iconLeft","iconRight","size","variant","activeVariant","inactiveVariant"]);return jsx(ie,c(s({"aria-current":a?"page":void 0,variant:a&&n?n:!a&&f?f:a?l:`${l}-soft`,className:u("",e),size:r,iconLeft:o,iconRight:t},i),{children:i.children}))}function Yt(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=d(l,["className","size","variant"]);return jsx(ie,c(s({"aria-label":"Go to previous page",className:u("",e),iconLeft:jsx(ChevronLeftDuo,{}),variant:o,size:a},t),{children:t.children||"Anterior"}))}function eo(r){var l=r,{className:e,size:a="md",variant:o="regular-basic"}=l,t=d(l,["className","size","variant"]);return jsx(ie,c(s({"aria-label":"Go to next page",className:u("",e),variant:o,iconRight:jsx(ChevronRightDuo,{}),size:a},t),{children:t.children||"Pr\xF3ximo"}))}function ao(t){var r=t,{className:e,size:a="md"}=r,o=d(r,["className","size"]);return jsx("span",c(s({"aria-hidden":true,className:u("flex items-center justify-center",{sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"}[a],e)},o),{children:jsx(MoreHorizontal,{className:"h-4 w-4"})}))}function Xl(e,a,o=2){let t=[];if(a<=o+2)for(let r=1;r<=a;r++)t.push(r);else {let r=Math.floor(o/2);if(e<=r+1){for(let l=1;l<=o+1;l++)t.push(l);o+1<a&&t.push(-1,a);}else if(e>=a-r){t.push(1),a-o>1&&t.push(-1);for(let l=a-o;l<=a;l++)t.push(l);}else {t.push(1,-1);for(let l=e-r;l<=e+r;l++)t.push(l);t.push(-1,a);}}return t}function Kl({currentPage:e,totalPages:a,maxVisibleItems:o,onPageChange:t,itemsPerPage:r,totalItems:l,className:n,responsive:f=true,size:i="md"}){let[p,x]=T.useState(()=>typeof window=="undefined"?false:window.innerWidth<=parseInt(he.tablet));T.useEffect(()=>{if(typeof window=="undefined"||!f)return;let y=parseInt(he.tablet),w=()=>{x(window.innerWidth<=y);};return window.addEventListener("resize",w),w(),()=>window.removeEventListener("resize",w)},[f]);let L=typeof o=="number"?o:f&&p?0:2,v=f&&p,P=()=>Xl(e,a,L);return jsxs(Jt,{className:u("",n),children:[r!==void 0&&!v?jsx(Xa,{count:r,label:"itens"}):jsx("div",{}),jsxs(jt,{children:[jsx(la,{children:jsx(Yt,{onClick:()=>t(Math.max(1,e-1)),disabled:e===1,size:i})}),P().map((y,w)=>jsx(la,{children:y===-1?jsx(ao,{size:i}):jsx($t,{onClick:()=>t(y),isActive:y===e,size:i,children:y})},w)),jsx(la,{children:jsx(eo,{onClick:()=>t(Math.min(a,e+1)),disabled:e===a,size:i})})]}),l!==void 0&&!v?jsx(Xa,{count:l,label:"total"}):jsx("div",{})]})}function jl(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("table",c(s({className:u("block w-full border-collapse overflow-x-auto text-left",a)},o),{children:jsx("tbody",{className:"table w-full",children:e})}))}function $l(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("tr",c(s({className:u("w-full border-t border-solid border-gray-stroke-muted first:border-t-0",a)},o),{children:e}))}function Yl(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",{className:"px-5 py-4 align-middle",children:jsxs("div",c(s({className:u("flex shrink-0 items-center overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-5 text-gray-foreground",a)},o),{children:["#",e]}))})}function es(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",c(s({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:u("flex items-center gap-5",a),children:jsx("div",{className:"flex shrink-0 items-center gap-5 pr-8",children:e})})}))}function as(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("div",c(s({className:u("flex shrink-0 flex-col items-start whitespace-nowrap text-gray-foreground",a)},o),{children:e}))}function ts(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("span",c(s({className:u("shrink-0 overflow-hidden text-ellipsis font-sans text-xxs font-medium leading-xxs",a)},o),{children:e}))}function os(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("span",c(s({className:u("shrink-0 overflow-hidden text-ellipsis font-sans text-sm font-semibold leading-5",a)},o),{children:e}))}function rs(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx(xe,c(s({className:u("bg-gradient-to-r from-secondary to-cm",a)},o),{icon:jsx(CheckboxFill,{className:"text-primary-foreground-onfill"}),children:e}))}function ls(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",c(s({className:"px-5 py-4 align-middle"},o),{children:jsx("div",{className:u("flex flex-col items-start gap-2",a),children:e})}))}function ss(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("p",c(s({className:u("relative shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-[10px] font-medium leading-[12px] text-gray-foreground",a)},o),{children:e}))}function ds(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("div",c(s({className:u("avatar-group flex shrink-0 items-center gap-2",a)},o),{children:e}))}function us(l){var n=l,{src:e,alt:a,fallback:o="?",className:t}=n,r=d(n,["src","alt","fallback","className"]);return jsxs(Aa,c(s({size:"sm",className:u("ring-2 ring-background",t)},r),{children:[jsx(Ma,{src:e,alt:a}),jsx(Ta,{children:o})]}))}function ns(t){var r=t,{children:e,className:a}=r,o=d(r,["children","className"]);return jsx("td",c(s({className:"px-5 py-4 align-middle"},o),{children:jsx(xe,{variant:"regular-soft",className:a,icon:jsx(IndexPriority,{className:"text-primary-foreground"}),children:e})}))}function is(t){var r=t,{value:e,className:a}=r,o=d(r,["value","className"]);return jsx("td",c(s({className:"px-5 py-4 align-middle"},o),{children:jsxs("div",{className:u("flex min-w-[140px] flex-col items-start justify-center gap-2",a),children:[jsxs("div",{className:"flex shrink-0 items-center gap-0.5 text-xs leading-4",children:[jsxs("p",{className:"relative shrink-0 font-semibold text-gray-foreground",children:[e,"%"]}),jsx("p",{className:"relative shrink-0 font-medium text-gray-foreground-muted",children:"dom\xEDnio do foco"})]}),jsx(cs,{percentage:e})]})}))}function fs(r){var l=r,{children:e,className:a,onClick:o}=l,t=d(l,["children","className","onClick"]);return jsx("td",c(s({className:"px-5 py-4 align-middle"},t),{children:jsx("div",{className:"flex items-center justify-center gap-2",children:jsx(ie,{size:"sm",iconRight:jsx(ArrowRightMd,{className:"size-4"}),onClick:o,className:a,children:e})})}))}function cs({className:e,percentage:a}){let o=t=>t>=0&&t<=49?"bg-red":t>=50&&t<=80?"bg-yellow-lighten-1":t>=81&&t<=100?"bg-green-darken-2":"bg-gray-100";return jsx("div",{className:u("relative h-0.5 w-full overflow-hidden rounded-pill bg-gray-100",e),children:jsx("div",{className:u("absolute inset-y-0 left-0 rounded-pill transition-all duration-300",o(a)),style:{width:`${a}%`}})})}function Ka(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);return jsxs(ScrollArea.Root,c(s({"data-slot":"scroll-area",className:u("relative",e)},o),{children:[jsx(ScrollArea.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit]",children:a}),jsx(qe,{}),jsx(qe,{orientation:"horizontal"}),jsx(ScrollArea.Corner,{})]}))}function qe(t){var r=t,{className:e,orientation:a="vertical"}=r,o=d(r,["className","orientation"]);return jsx(ScrollArea.ScrollAreaScrollbar,c(s({"data-slot":"scroll-area-scrollbar",orientation:a,className:u("flex touch-none select-none",a==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",a==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",e)},o),{children:jsx(ScrollArea.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})}))}var to=T.createContext(null);function gs(r){var l=r,{className:e,size:a="md",children:o}=l,t=d(l,["className","size","children"]);return jsx(to.Provider,{value:{size:a},children:jsx(Tabs.Root,c(s({"data-slot":"tabs",className:u("flex flex-col gap-2",e)},t),{children:o}))})}function xs(t){var r=t,{className:e,containerClassName:a}=r,o=d(r,["className","containerClassName"]);return jsxs(Ka,{className:u("[&_[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]:h-1",a),children:[jsx(Tabs.List,s({"data-slot":"tabs-list",className:u("inline-flex w-fit items-center justify-center rounded-md bg-gray-background-soft p-0.5",e)},o)),jsx(qe,{orientation:"horizontal"})]})}var Ls=cva("shadow-transparent data-[state=active]:shadow-xs group inline-flex items-center justify-center gap-2.5 whitespace-nowrap rounded-[6px] font-medium text-gray-foreground outline-none transition-colors data-[state=active]:bg-surface-card data-[state=active]:text-primary-foreground [&_svg]:shrink-0 [&_svg]:text-inherit disabled:text-gray-foreground-muted disabled:pointer-events-none",{variants:{size:{sm:"max-h-7 px-3 py-1.5 text-xs [&_svg]:size-4",md:"max-h-9 px-4 py-2 text-sm [&_svg]:size-5",lg:"max-h-11 px-4 py-2.5 text-md [&_svg]:size-6"}},defaultVariants:{size:"md"}});function hs(l){var n=l,{className:e,icon:a,badge:o,children:t}=n,r=d(n,["className","icon","badge","children"]);var x;let f=L=>L!=null&&L!==0&&L!==""&&L!=="0"&&!r.disabled,i=T.useContext(to),p=(x=i==null?void 0:i.size)!=null?x:"md";return jsxs(Tabs.Trigger,c(s({"data-slot":"tabs-trigger",className:u(Ls({size:p,className:e}))},r),{children:[a,t&&jsxs("span",{className:"inline-grid [grid-template-areas:'stack']",children:[jsx("span",{"aria-hidden":"true",className:"invisible font-semibold [grid-area:stack]",children:t}),jsx("span",{className:"font-medium [grid-area:stack] group-data-[state=active]:font-semibold",children:t})]}),f(o)&&jsx(ue,{size:p,variant:"regular",children:String(o)})]}))}function bs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Tabs.Content,s({"data-slot":"tabs-content",className:u("flex-1 outline-none",e)},a))}var oo=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Is=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,t)=>t?t.toUpperCase():o.toLowerCase()),Qa=e=>{let a=Is(e);return a.charAt(0).toUpperCase()+a.slice(1)},ia=(...e)=>e.filter((a,o,t)=>!!a&&a.trim()!==""&&t.indexOf(a)===o).join(" ").trim(),ro=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return true};var lo={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var uo=forwardRef((p,i)=>{var x=p,{color:e="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:t,className:r="",children:l,iconNode:n}=x,f=d(x,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return createElement("svg",s(s(c(s({ref:i},lo),{width:a,height:a,stroke:e,strokeWidth:t?Number(o)*24/Number(a):o,className:ia("lucide",r)}),!l&&!ro(f)&&{"aria-hidden":"true"}),f),[...n.map(([L,v])=>createElement(L,v)),...Array.isArray(l)?l:[l]])});var no=(e,a)=>{let o=forwardRef((n,l)=>{var f=n,{className:t}=f,r=d(f,["className"]);return createElement(uo,s({ref:l,iconNode:a,className:ia(`lucide-${oo(Qa(e))}`,`lucide-${e}`,t)},r))});return o.displayName=Qa(e),o};var ks=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ne=no("x",ks);function ja(a){var e=d(a,[]);return jsx(Dialog.Root,s({"data-slot":"sheet"},e))}function ws(a){var e=d(a,[]);return jsx(Dialog.Portal,s({"data-slot":"sheet-portal"},e))}function ys(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Dialog.Overlay,s({"data-slot":"sheet-overlay",className:u("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e)},a))}function io(r){var l=r,{className:e,children:a,side:o="right"}=l,t=d(l,["className","children","side"]);return jsxs(ws,{children:[jsx(ys,{}),jsxs(Dialog.Content,c(s({"data-slot":"sheet-content",className:u("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",o==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",o==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",o==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",o==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e)},t),{children:[a,jsxs(Dialog.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[jsx(Ne,{className:"size-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}))]})}function fa(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"skeleton",className:u("animate-pulse rounded-md bg-gray-150",e)},a))}function ca(o){var t=o,{delayDuration:e=0}=t,a=d(t,["delayDuration"]);return jsx(Tooltip.Provider,s({"data-slot":"tooltip-provider",delayDuration:e},a))}function pa(a){var e=d(a,[]);return jsx(ca,{children:jsx(Tooltip.Root,s({"data-slot":"tooltip"},e))})}function ma(a){var e=d(a,[]);return jsx(Tooltip.Trigger,s({"data-slot":"tooltip-trigger"},e))}function ga(r){var l=r,{className:e,sideOffset:a=0,children:o}=l,t=d(l,["className","sideOffset","children"]);return jsx(Tooltip.Portal,{children:jsxs(Tooltip.Content,c(s({"data-slot":"tooltip-content",sideOffset:a,className:u("origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md bg-surface-elevated px-3 py-2 text-sm font-medium text-gray-foreground-emphasis animate-in fade-in-0 zoom-in-95 [filter:drop-shadow(0_0_1px_var(--color-drop-shadow-layer-a))_drop-shadow(0_2px_2px_var(--color-drop-shadow-layer-b))] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e)},t),{children:[o,jsx(Tooltip.Arrow,{className:"z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-surface-elevated fill-surface-elevated"})]}))})}var Ds="sidebar_state",Bs=3600*24*7,Fs="b",co=T.createContext(null);function Se(){let e=T.useContext(co);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function qs(n){var f=n,{defaultOpen:e=true,open:a,onOpenChange:o,className:t,children:r}=f,l=d(f,["defaultOpen","open","onOpenChange","className","children"]);let i=De(),[p,x]=T.useState(false),[L,v]=T.useState(e),P=a!=null?a:L,y=T.useCallback(C=>{let k=typeof C=="function"?C(P):C;o?o(k):v(k),document.cookie=`${Ds}=${k}; path=/; max-age=${Bs}`;},[o,P]),w=T.useCallback(()=>i?x(C=>!C):y(C=>!C),[i,y,x]);T.useEffect(()=>{let C=k=>{k.key===Fs&&(k.metaKey||k.ctrlKey)&&(k.preventDefault(),w());};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[w]);let R=P?"expanded":"collapsed",H=T.useMemo(()=>({state:R,open:P,setOpen:y,isMobile:i,openMobile:p,setOpenMobile:x,toggleSidebar:w}),[R,P,y,i,p,x,w]);return jsx(co.Provider,{value:H,children:jsx(ca,{delayDuration:0,children:jsx("div",c(s({"data-slot":"sidebar-wrapper",className:u("group/sidebar-wrapper has-data-[variant=inset]:bg-surface-navigation flex min-h-svh w-full",t)},l),{children:r}))})})}function Ns(f){var i=f,{side:e="left",variant:a="sidebar",collapsible:o="offcanvas",className:t,containerClassName:r,children:l}=i,n=d(i,["side","variant","collapsible","className","containerClassName","children"]);let{isMobile:p,state:x,openMobile:L,setOpenMobile:v}=Se();return o==="none"?jsx("div",c(s({"data-slot":"sidebar",className:u("flex h-full w-[var(--sidebar-width)] flex-col bg-surface-navigation text-gray-foreground",t)},n),{children:l})):p?jsx(ja,c(s({open:L,onOpenChange:v},n),{children:jsx(io,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:u("w-[var(--sidebar-width-mobile)] bg-surface-navigation p-0 text-gray-foreground [&>button]:hidden",t),side:e,children:jsx("div",{className:"flex h-full w-full flex-col",children:l})})})):jsxs("div",{className:u("group peer hidden text-gray-foreground md:block",t),"data-state":x,"data-collapsible":x==="collapsed"?o:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[jsx("div",{"data-slot":"sidebar-gap",className:u("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),jsx("div",c(s({"data-slot":"sidebar-container",className:u("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] border-border transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",r)},n),{children:jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex h-full w-full flex-col bg-surface-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border group-data-[variant=floating]:shadow-sm",children:l})}))]})}function Os(i){var p=i,{className:e,onClick:a,sizeIcon:o="size-5",icon:t=jsx(HamburgerMd,{className:o}),showTooltip:r=false,tooltipContent:l,enableHover:n=false}=p,f=d(p,["className","onClick","sizeIcon","icon","showTooltip","tooltipContent","enableHover"]);let{toggleSidebar:x,open:L,isMobile:v}=Se(),[P,y]=T.useState(false),R=l||{open:"Esconder",closed:"Mostrar"},H=()=>n&&P?L?jsx(ChevronLeftMd,{className:o}):jsx(ChevronRightMd,{className:o}):t,C=jsxs("button",c(s({"data-sidebar":"trigger","data-slot":"sidebar-trigger",className:u("flex min-h-8 min-w-8 items-center justify-center rounded-full bg-surface-elevated text-gray-foreground transition-all duration-200 hover:shadow-[0px_0px_2px_0px_rgba(24,26,30,0.16),0px_2px_4px_0px_rgba(24,26,30,0.08)] [&>svg]:text-gray-foreground",e),onClick:k=>{a==null||a(k),x();},onMouseEnter:!v&&n?()=>y(true):void 0,onMouseLeave:!v&&n?()=>y(false):void 0},f),{children:[H(),jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}));return !r||v?C:jsxs(pa,{children:[jsx(ma,{asChild:true,children:C}),jsx(ga,{side:"right",align:"center",children:L?R.open:R.closed})]})}function Us(o){var t=o,{className:e}=t,a=d(t,["className"]);let{toggleSidebar:r}=Se();return jsx("button",s({"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:u("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface-navigation","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e)},a))}function Hs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("main",s({"data-slot":"sidebar-inset",className:u("relative flex w-full flex-1 flex-col bg-surface-navigation","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",e)},a))}function zs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Wa,s({"data-slot":"sidebar-input","data-sidebar":"input",className:u("bg-bg-surface-navigation h-8 w-full shadow-none",e)},a))}function Vs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-header","data-sidebar":"header",className:u("flex flex-col gap-0.5 px-4 pt-3",e)},a))}function Gs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-footer","data-sidebar":"footer",className:u("flex flex-col gap-0.5 px-4 pb-3 [[data-state=collapsed]_&]:px-2",e)},a))}function Es(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx(Le,s({"data-slot":"sidebar-separator","data-sidebar":"separator",className:u("mx-2 w-auto bg-border",e)},a))}function _s(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-content","data-sidebar":"content",className:u("flex min-h-0 flex-1 flex-col gap-0.5 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e)},a))}function Ws(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-group","data-sidebar":"group",className:u("relative flex w-full min-w-0 flex-col p-2 px-4",e)},a))}function Xs(t){var r=t,{className:e,asChild:a=false}=r,o=d(r,["className","asChild"]);let l=a?Slot.Slot:"div";return jsx(l,s({"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:u("outline-hidden flex h-12 shrink-0 items-center whitespace-nowrap rounded-md px-2 text-xs font-semibold uppercase text-gray-foreground-muted ring-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:mt-0 group-data-[collapsible=icon]:hidden",e)},o))}function Ks(t){var r=t,{className:e,asChild:a=false}=r,o=d(r,["className","asChild"]);let l=a?Slot.Slot:"button";return jsx(l,s({"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:u("outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e)},o))}function Zs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:u("w-full text-sm",e)},a))}function Qs(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",s({"data-slot":"sidebar-menu","data-sidebar":"menu",className:u("flex w-full min-w-0 flex-col gap-1",e)},a))}function Js(r){var l=r,{className:e,isActive:a,children:o}=l,t=d(l,["className","isActive","children"]);return jsxs("li",c(s({"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:u("group/menu-item relative hover:cursor-pointer",e)},t),{children:[a&&jsx("span",{className:"absolute -left-4 top-0 h-full w-0.5 bg-secondary-stroke-emphasis","aria-hidden":"true"}),o]}))}var js=cva("peer/menu-button font-medium flex w-full items-center gap-2.5 overflow-hidden rounded-md p-[.55rem] text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:text-secondary-foreground active:font-semibold disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:text-secondary-foreground data-[active=true]:font-semibold data-[active=true]:hover:bg-secondary-background-soft-emphasis data-[active=true]:hover:text-secondary-foreground group-data-[collapsible=icon]:size-10! group-data-[collapsible=icon]:p-2.5! [&>span:last-child]:truncate [&>svg]:data-[active=true]:stroke-[2.2] [&>svg]:size-5 [&>svg]:shrink-0 mx-auto",{variants:{variant:{default:"hover:bg-secondary-background-soft-emphasis",section:"[[data-state=collapsed]_&]:p-[5px]",outline:"bg-surface-navigation shadow-[0_0_0_1px_hsl(var(--color-border))] hover:bg-secondary-background-soft-emphasis hover:shadow-[0_0_0_1px_hsl(var(--secondary))]"},size:{sm:"h-8 text-xs",md:"h-10 text-sm",lg:"h-12 text-md group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"md"}});function $s(f){var i=f,{asChild:e=false,isActive:a=false,variant:o="default",size:t="md",tooltip:r,className:l}=i,n=d(i,["asChild","isActive","variant","size","tooltip","className"]);let p=e?Slot.Slot:"button",{isMobile:x,state:L}=Se(),v=jsx(p,s({"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:u(js({variant:o,size:t}),l)},n));return r?(typeof r=="string"&&(r={children:r}),jsxs(pa,{children:[jsx(ma,{asChild:true,children:v}),jsx(ga,s({side:"right",align:"center",hidden:L!=="collapsed"||x},r))]})):v}function Ys(r){var l=r,{className:e,asChild:a=false,showOnHover:o=false}=l,t=d(l,["className","asChild","showOnHover"]);let n=a?Slot.Slot:"button";return jsx(n,s({"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:u("outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-foreground ring-ring transition-transform hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 peer-hover/menu-button:text-secondary-stroke-emphasis [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",o&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-secondary md:opacity-0",e)},t))}function ed(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:u("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-gray-foreground","peer-hover/menu-button:text-secondary peer-data-[active=true]/menu-button:text-secondary","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e)},a))}function ad(t){var r=t,{className:e,showIcon:a=false}=r,o=d(r,["className","showIcon"]);let l=T.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return jsxs("div",c(s({"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:u("flex h-8 items-center gap-0.5 rounded-md px-2",e)},o),{children:[a&&jsx(fa,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),jsx(fa,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":l}})]}))}function td(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("ul",s({"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e)},a))}function od(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("li",s({"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:u("group/menu-sub-item relative",e)},a))}function rd({icon:e,title:a}){let{state:o,isMobile:t}=Se();return jsxs(Fragment,{children:[T.isValidElement(e)?T.cloneElement(e,{strokeWidth:1.8}):e,jsx("span",{className:u("whitespace-nowrap",o==="collapsed"&&"opacity-0",t&&"opacity-100"),children:a})]})}function ld(){return jsx("div",{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90",children:jsx(ChevronRightMd,{size:20,strokeWidth:1.5})})}function sd(l){var n=l,{asChild:e=false,size:a="md",isActive:o=false,className:t}=n,r=d(n,["asChild","size","isActive","className"]);let f=e?Slot.Slot:"a";return jsx(f,s({"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":o,className:u("outline-hidden flex h-9 min-w-0 -translate-x-px items-center gap-0.5 overflow-hidden rounded-md px-2 font-medium text-gray-foreground ring-ring hover:bg-secondary-background-soft-emphasis focus-visible:ring-2 active:font-semibold active:text-secondary-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-foreground","data-[active=true]:font-semibold data-[active=true]:text-secondary-foreground",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",t)},r))}var po=T.createContext({});function ud({children:e,value:a,onValueChange:o,open:t,defaultOpen:r,onOpenChange:l}){let[n,f]=T.useState(a||""),i={value:a||n,onValueChange:o||f};return jsx(po.Provider,{value:i,children:jsx(Ua,{open:t,defaultOpen:r,onOpenChange:l,children:e})})}function nd({children:e,asChild:a=true,className:o}){return jsx(Ha,{className:o,asChild:a,children:e})}function id({children:e,align:a="center",side:o="right",className:t}){return jsx(za,{className:t,align:a,side:o,children:e})}function fd({children:e,label:a}){let{value:o,onValueChange:t}=T.useContext(po);return a?jsxs(Fragment,{children:[jsx(Ga,{children:a}),jsx(oa,{value:o,onValueChange:t,children:e})]}):jsx(oa,{value:o,onValueChange:t,children:e})}function cd({children:e,value:a,onClick:o,icon:t}){let r=()=>{o&&o();};return a?jsxs(Va,{value:a,onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]}):jsxs(ta,{onClick:r,children:[typeof t=="string"?jsx("img",{src:t,alt:"",width:20,height:14}):t,e]})}function pd({children:e,onClick:a,icon:o}){return jsxs(ta,{onClick:a,children:[o,e]})}function md(){return jsx(Ea,{})}var xo=T.createContext(null),xd=150,mo=16,Ld="w-8";function ha(){let e=T.useContext(xo);if(!e)throw new Error("useTabsContext must be used within a Tabs component.");return e}function hd(e,a){let o=T.useRef(null);return T.useEffect(()=>()=>{o.current&&clearTimeout(o.current);},[]),T.useCallback(((...t)=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>e(...t),a);}),[e,a])}var Lo=cva("relative inline-flex w-max items-center justify-start gap-0",{variants:{variant:{standalone:"rounded-lg border border-gray-stroke-muted px-6 bg-transparent",header:"border-b border-gray-stroke-muted px-3.5 sm:px-6 lg:px-8 bg-transparent"}},defaultVariants:{variant:"standalone"}}),ho=cva(["inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:text-gray-foreground-muted disabled:opacity-50","[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0","relative text-gray-foreground hover:text-gray-foreground data-[state=active]:text-primary-foreground"],{variants:{variant:{standalone:"",header:""},size:{md:"px-3.5 py-2.5 text-sm",lg:"px-4 py-3 text-base"}},defaultVariants:{variant:"standalone",size:"md"}}),bd=cva("relative min-w-0 max-w-full",{variants:{variant:{standalone:"",header:"px-3.5 sm:px-6 lg:px-8"}},defaultVariants:{variant:"standalone"}}),go=cva(["pointer-events-none absolute top-0 z-10 h-full transition-opacity duration-200",Ld],{variants:{side:{left:"left-0 bg-gradient-to-r from-white to-transparent",right:"right-0 bg-gradient-to-l from-white to-transparent"},variant:{standalone:"",header:""}},compoundVariants:[{side:"left",variant:"header",class:"left-3.5 sm:left-6 lg:left-8"},{side:"right",variant:"header",class:"right-3.5 sm:right-6 lg:right-8"}],defaultVariants:{side:"left",variant:"standalone"}}),Id=cva("ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",{variants:{variant:{standalone:"",header:""},size:{md:"",lg:""}},compoundVariants:[{variant:"standalone",size:"md",class:"m-4"},{variant:"standalone",size:"lg",class:"m-6"},{variant:"header",size:"md",class:"my-4"},{variant:"header",size:"lg",class:"my-6"}],defaultVariants:{variant:"standalone",size:"md"}});function Cd(n){var f=n,{className:e,variant:a="standalone",size:o="md",responsive:t=true,children:r}=f,l=d(f,["className","variant","size","responsive","children"]);let[i,p]=T.useState(o),x=T.useCallback(()=>{if(typeof window=="undefined")return;let v=parseInt(he.tablet),P=parseInt(he.mobile),y=window.innerWidth;y<=P||y<=v?p("md"):p(o);},[o]),L=hd(x,xd);return T.useEffect(()=>{if(typeof window=="undefined"||!t){p(o);return}return x(),window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[t,o,x,L]),jsx(xo.Provider,{value:{variant:a,size:o,responsiveSize:i},children:jsx(Tabs.Root,c(s({"data-slot":"tabs","data-variant":a,"data-size":i,className:u("flex w-full max-w-full flex-col overflow-hidden",e)},l),{children:r}))})}function vd(t){var r=t,{className:e,children:a}=r,o=d(r,["className","children"]);let{variant:l,responsiveSize:n}=ha(),f=T.useRef(null),i=T.useRef(null),[p,x]=T.useState(false),[L,v]=T.useState(false),[P,y]=T.useState(null),w=T.useCallback(()=>{let C=f.current;if(!C)return;let{scrollLeft:k,scrollWidth:z,clientWidth:F}=C,G=z>F;x(G&&k>0),v(G&&k<z-F-1);},[]),R=T.useCallback(()=>{let C=i.current;if(!C)return;let k=C.querySelector('[data-state="active"]');if(k){let z=C.getBoundingClientRect(),F=k.getBoundingClientRect();y({left:F.left-z.left,width:F.width});}},[]),H=T.useCallback(()=>{let C=f.current,k=i.current;if(!C||!k)return;let z=k.querySelector('[data-state="active"]');if(z){let F=C.getBoundingClientRect(),G=z.getBoundingClientRect();G.left<F.left?C.scrollBy({left:G.left-F.left-mo,behavior:"smooth"}):G.right>F.right&&C.scrollBy({left:G.right-F.right+mo,behavior:"smooth"});}},[]);return T.useEffect(()=>{let C=f.current;if(!C)return;w();let k=new ResizeObserver(()=>{w(),R();});return k.observe(C),C.addEventListener("scroll",w,{passive:true}),()=>{k.disconnect(),C.removeEventListener("scroll",w);}},[w,R]),T.useEffect(()=>{R();},[R,a]),T.useEffect(()=>{let C=i.current;if(!C)return;let k=new MutationObserver(z=>{for(let F of z)if(F.type==="attributes"&&F.attributeName==="data-state"){R(),H();break}});return k.observe(C,{attributes:true,subtree:true,attributeFilter:["data-state"]}),()=>k.disconnect()},[R,H]),jsxs("div",{"data-slot":"tabs-list-wrapper",className:bd({variant:l}),children:[jsx("div",{className:u(go({side:"left",variant:l}),p?"opacity-100":"opacity-0"),"aria-hidden":"true"}),jsx("div",{className:u(go({side:"right",variant:l}),L?"opacity-100":"opacity-0"),"aria-hidden":"true"}),jsx("div",{ref:f,className:"overflow-x-auto overflow-y-hidden [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:jsxs("div",{ref:i,className:"relative",children:[jsx(Tabs.List,c(s({"data-slot":"tabs-list","data-variant":l,"data-size":n,className:u(Lo({variant:l}),e)},o),{children:a})),P&&jsx("div",{className:"pointer-events-none absolute bottom-0 h-0.5 bg-secondary-stroke-emphasis transition-all duration-300 ease-out",style:{left:P.left,width:P.width},"aria-hidden":"true"})]})})]})}function Sd(l){var n=l,{className:e,children:a,icon:o,badge:t}=n,r=d(n,["className","children","icon","badge"]);let{variant:f,responsiveSize:i}=ha();return jsxs(Tabs.Trigger,c(s({"data-slot":"tabs-trigger","data-variant":f,"data-size":i,className:u(ho({variant:f,size:i}),e)},r),{children:[o&&jsx("span",{"data-slot":"tabs-icon",className:"flex shrink-0 items-center","aria-hidden":"true",children:o}),jsx("span",{children:a}),t&&jsx("span",{"data-slot":"tabs-badge",className:"flex shrink-0 items-center",role:"status",children:t})]}))}function kd(o){var t=o,{className:e}=t,a=d(t,["className"]);let{variant:r,responsiveSize:l}=ha();return jsx(Tabs.Content,s({"data-slot":"tabs-content","data-variant":r,"data-size":l,className:u(Id({variant:r,size:l}),e)},a))}var Rd=cva("group/tile relative flex flex-col justify-center rounded-lg gap-0.5 px-5 py-4 cursor-default data-[disabled=true]:pointer-events-none",{variants:{variant:{regular:"bg-surface-settings-on text-primary-foreground fill-primary-foreground data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-on)_100%)] data-[disabled=true]:bg-surface-disable data-[inactive=true]:bg-surface-settings-off data-[inactive=true]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-surface-card)_0%,_var(--color-surface-settings-off)_100%)]",cm:"bg-cm-background-fill text-cm-foreground-onfill fill-cm-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cm-background-fill-emphasis)_0%,_var(--color-cm-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",go:"bg-go-background-fill text-go-foreground-onfill fill-go-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-go-background-fill-emphasis)_0%,_var(--color-go-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",cir:"bg-cir-background-fill text-cir-foreground-onfill fill-cir-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-cir-background-fill-emphasis)_0%,_var(--color-cir-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",ped:"bg-ped-background-fill text-ped-foreground-onfill fill-ped-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(51.96%_112.02%_at_50%_112.02%,_var(--color-ped-background-fill-emphasis)_0%,_var(--color-ped-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]",prev:"bg-prev-background-fill text-prev-foreground-onfill fill-prev-foreground-onfill data-[disabled=false]:hover:[background:radial-gradient(63.78%_137.5%_at_50%_137.5%,_var(--color-prev-background-fill-emphasis)_0%,_var(--color-prev-background-fill)_100%)] data-[disabled=true]:opacity-70 data-[inactive=true]:[filter:brightness(.8)]"}},defaultVariants:{variant:"regular"}});function Ad(n){var f=n,{className:e,variant:a="regular",asChild:o=false,disabled:t=false,inactive:r=false}=f,l=d(f,["className","variant","asChild","disabled","inactive"]);let i=o?Slot.Slot:"div";return jsxs(i,c(s({"data-slot":"tile","data-variant":a,"data-inactive":r,"data-disabled":t,"aria-disabled":t||r,className:u(Rd({variant:a,className:e}),l.onClick&&!t&&"cursor-pointer")},l),{children:[l.children,l.onClick&&!t&&jsx(EditPencil,{className:"absolute right-5 top-4 size-5 opacity-0 transition-opacity group-hover/tile:opacity-100"})]}))}function Md(t){var r=t,{className:e,icon:a}=r,o=d(r,["className","icon"]);return jsx("div",c(s({"data-slot":"tile-icon",className:u("mb-2.5 last:mb-0 [&>svg]:size-5",e)},o),{children:a}))}function Td(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("div",s({"data-slot":"tile-title",className:u("line-clamp-1 flex w-fit text-xs font-medium",e)},a))}function Dd(o){var t=o,{className:e}=t,a=d(t,["className"]);return jsx("span",s({"data-slot":"tile-description",className:u("line-clamp-1 flex w-fit text-sm font-semibold",e)},a))}/*! Bundled license information:
2
2
 
3
3
  lucide-react/dist/esm/shared/src/utils.js:
4
4
  lucide-react/dist/esm/defaultAttributes.js:
@@ -12,5 +12,5 @@ lucide-react/dist/esm/lucide-react.js:
12
12
  * This source code is licensed under the ISC license.
13
13
  * See the LICENSE file in the root directory of this source tree.
14
14
  *)
15
- */export{Vo as Alert,Xo as AlertActions,Zo as AlertButton,Eo as AlertContainer,_o as AlertContent,gt as AlertDescription,lr as AlertDialog,cr as AlertDialogAction,pr as AlertDialogCancel,sr as AlertDialogContent,fr as AlertDialogDescription,nr as AlertDialogFooter,ur as AlertDialogHeader,vt as AlertDialogOverlay,bt as AlertDialogPortal,ir as AlertDialogTitle,dr as AlertDialogTrigger,Wo as AlertIcon,mt as AlertTitle,xa as Avatar,ha as AvatarFallback,La as AvatarImage,ee as Badge,te as Button,Cr as Collapsible,vr as CollapsibleContent,br as CollapsibleTrigger,yr as Dialog,Rr as DialogClose,Ar as DialogContainer,Mr as DialogContent,Fr as DialogDescription,Tr as DialogFooter,Dr as DialogHeader,wt as DialogOverlay,kt as DialogPortal,Br as DialogTitle,Pr as DialogTrigger,ba as DropdownMenu,Hr as DropdownMenuCheckboxItem,Sa as DropdownMenuContent,Ur as DropdownMenuGroup,_e as DropdownMenuItem,wa as DropdownMenuLabel,Or as DropdownMenuPortal,We as DropdownMenuRadioGroup,ka as DropdownMenuRadioItem,ya as DropdownMenuSeparator,Nr as DropdownMenuShortcut,zr as DropdownMenuSub,Vr as DropdownMenuSubContent,Gr as DropdownMenuSubTrigger,va as DropdownMenuTrigger,Ra as Input,ma as Loading,_r as Logo,Wr as LogoShort,jr as Pagination,Mt as PaginationContent,Ft as PaginationEllipsis,Ma as PaginationInfo,Ke as PaginationItem,Dt as PaginationLink,Bt as PaginationNext,Tt as PaginationPrevious,At as PaginationRoot,ll as Ranking,gl as RankingAssigneeGroup,xl as RankingAssigneeItem,ml as RankingAssigneeLabel,pl as RankingAssigneesColumn,Il as RankingButton,dl as RankingItem,sl as RankingNumber,hl as RankingPercentage,Ll as RankingPriority,il as RankingSpecialty,cl as RankingSuperFocus,fl as RankingTopic,ul as RankingTopicColumn,nl as RankingTopicContent,Da as ScrollArea,ye as ScrollBar,Sl as SegmentControl,Pl as SegmentControlContent,kl as SegmentControlList,yl as SegmentControlTrigger,ie as Separator,qa as Sheet,_l as Sidebar,$l as SidebarContent,Jl as SidebarFooter,Yl as SidebarGroup,ad as SidebarGroupAction,td as SidebarGroupContent,ed as SidebarGroupLabel,Ql as SidebarHeader,Zl as SidebarInput,Kl as SidebarInset,od as SidebarMenu,sd as SidebarMenuAction,ud as SidebarMenuBadge,dd as SidebarMenuButton,rd as SidebarMenuItem,pd as SidebarMenuItemCollapse,cd as SidebarMenuItemTitle,nd as SidebarMenuSkeleton,id as SidebarMenuSub,md as SidebarMenuSubButton,fd as SidebarMenuSubItem,El as SidebarProvider,Xl as SidebarRail,jl as SidebarSeparator,Wl as SidebarTrigger,ea as Skeleton,xd as Switcher,hd as SwitcherContent,bd as SwitcherFooter,Id as SwitcherGroup,Cd as SwitcherItem,vd as SwitcherSeparator,Ld as SwitcherTrigger,Je as Tag,Rd as Tile,Dd as TileDescription,Ad as TileIcon,Md as TileTitle,ta as Tooltip,ra as TooltipContent,aa as TooltipProvider,oa as TooltipTrigger,ht as badgeVariants,Ce as buttonVariants,qt as tagVariants,Se as useIsMobile,ge as useSidebar};//# sourceMappingURL=index.mjs.map
15
+ */export{cr as Alert,xr as AlertActions,hr as AlertButton,pr as AlertContainer,mr as AlertContent,Dt as AlertDescription,Ar as AlertDialog,Nr as AlertDialogAction,Or as AlertDialogCancel,Tr as AlertDialogContent,qr as AlertDialogDescription,Br as AlertDialogFooter,Dr as AlertDialogHeader,Ht as AlertDialogOverlay,Ut as AlertDialogPortal,Fr as AlertDialogTitle,Mr as AlertDialogTrigger,gr as AlertIcon,Tt as AlertTitle,Aa as Avatar,Ta as AvatarFallback,Ma as AvatarImage,ue as Badge,Da as Breadcrumb,jr as BreadcrumbEllipsis,Kr as BreadcrumbItem,Zr as BreadcrumbLink,Ba as BreadcrumbList,Qr as BreadcrumbPage,Jr as BreadcrumbSeparator,ie as Button,rl as CardWeek,gl as CardWeekActions,ll as CardWeekBreadcrumb,sl as CardWeekContainer,fl as CardWeekContent,nl as CardWeekDescription,pl as CardWeekFooter,dl as CardWeekHeader,cl as CardWeekProgress,ml as CardWeekStatus,il as CardWeekTags,ul as CardWeekTitle,xl as Collapsible,hl as CollapsibleContent,Ll as CollapsibleTrigger,vl as Dialog,kl as DialogClose,wl as DialogContainer,yl as DialogContent,Ml as DialogDescription,Rl as DialogFooter,Pl as DialogHeader,Xt as DialogOverlay,Wt as DialogPortal,Al as DialogTitle,Sl as DialogTrigger,Ua as DropdownMenu,Fl as DropdownMenuCheckboxItem,za as DropdownMenuContent,Bl as DropdownMenuGroup,ta as DropdownMenuItem,Ga as DropdownMenuLabel,Dl as DropdownMenuPortal,oa as DropdownMenuRadioGroup,Va as DropdownMenuRadioItem,Ea as DropdownMenuSeparator,ql as DropdownMenuShortcut,Nl as DropdownMenuSub,Ul as DropdownMenuSubContent,Ol as DropdownMenuSubTrigger,Ha as DropdownMenuTrigger,Wa as Input,Pa as Loading,zl as Logo,Vl as LogoShort,Kl as Pagination,jt as PaginationContent,ao as PaginationEllipsis,Xa as PaginationInfo,la as PaginationItem,$t as PaginationLink,eo as PaginationNext,Yt as PaginationPrevious,Jt as PaginationRoot,Fa as ProgressCircle,jl as Ranking,ds as RankingAssigneeGroup,us as RankingAssigneeItem,ss as RankingAssigneeLabel,ls as RankingAssigneesColumn,fs as RankingButton,$l as RankingItem,Yl as RankingNumber,is as RankingPercentage,ns as RankingPriority,ts as RankingSpecialty,rs as RankingSuperFocus,os as RankingTopic,es as RankingTopicColumn,as as RankingTopicContent,Ka as ScrollArea,qe as ScrollBar,gs as SegmentControl,bs as SegmentControlContent,xs as SegmentControlList,hs as SegmentControlTrigger,Le as Separator,ja as Sheet,Ns as Sidebar,_s as SidebarContent,Gs as SidebarFooter,Ws as SidebarGroup,Ks as SidebarGroupAction,Zs as SidebarGroupContent,Xs as SidebarGroupLabel,Vs as SidebarHeader,zs as SidebarInput,Hs as SidebarInset,Qs as SidebarMenu,Ys as SidebarMenuAction,ed as SidebarMenuBadge,$s as SidebarMenuButton,Js as SidebarMenuItem,ld as SidebarMenuItemCollapse,rd as SidebarMenuItemTitle,ad as SidebarMenuSkeleton,td as SidebarMenuSub,sd as SidebarMenuSubButton,od as SidebarMenuSubItem,qs as SidebarProvider,Us as SidebarRail,Es as SidebarSeparator,Os as SidebarTrigger,fa as Skeleton,ud as Switcher,id as SwitcherContent,pd as SwitcherFooter,fd as SwitcherGroup,cd as SwitcherItem,md as SwitcherSeparator,nd as SwitcherTrigger,Cd as Tabs,kd as TabsContent,vd as TabsList,Sd as TabsTrigger,xe as Tag,Ad as Tile,Dd as TileDescription,Md as TileIcon,Td as TileTitle,pa as Tooltip,ga as TooltipContent,ca as TooltipProvider,ma as TooltipTrigger,qt as badgeVariants,Re as buttonVariants,Lo as tabsListVariants,ho as tabsTriggerVariants,Vt as tagVariants,De as useIsMobile,Se as useSidebar,ha as useTabsContext};//# sourceMappingURL=index.mjs.map
16
16
  //# sourceMappingURL=index.mjs.map