@a4ui/core 0.8.0 → 0.8.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/README.md +75 -29
- package/dist/elements.css +29 -0
- package/dist/elements.iife.js +1 -1
- package/dist/elements.js +14 -5
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2216 -1908
- package/dist/ui/Calendar.d.ts +4 -4
- package/dist/ui/DateTimeField.d.ts +28 -0
- package/dist/ui/TimeField.d.ts +27 -0
- package/dist/ui/internal/CalendarCore.d.ts +22 -0
- package/package.json +17 -6
package/dist/elements.iife.js
CHANGED
|
@@ -3,4 +3,4 @@ var A4uiElements=(function(kt){"use strict";var Jn;const N={context:void 0,regis
|
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/var ss={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},$e=ss,is=pe({size:24,color:"currentColor",strokeWidth:2,absoluteStrokeWidth:!1,class:""}),as=M("<svg>"),ls=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},cs=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),us=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Pr=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ds=e=>{const t=us(e);return t.charAt(0).toUpperCase()+t.slice(1)},fs=e=>{const[t,r]=q(e,["color","size","strokeWidth","children","class","name","iconNode","absoluteStrokeWidth"]),n=ye(is);return(()=>{var o=as();return Ae(o,_($e,{get width(){return t.size??n.size??$e.width},get height(){return t.size??n.size??$e.height},get stroke(){return t.color??n.color??$e.stroke},get"stroke-width"(){return Ot(()=>(t.absoluteStrokeWidth??n.absoluteStrokeWidth)===!0)()?Number(t.strokeWidth??n.strokeWidth??$e["stroke-width"])*24/Number(t.size??n.size):Number(t.strokeWidth??n.strokeWidth??$e["stroke-width"])},get class(){return cs("lucide","lucide-icon",n.class,...t.name!=null?[`lucide-${Pr(ds(t.name))}`,`lucide-${Pr(t.name)}`]:[],t.class)},get"aria-hidden"(){return!t.children&&!ls(r)?"true":void 0}},r),!0,!0),T(o,m(st,{get each(){return t.iconNode},children:([s,i])=>m(it,_({component:s},i))})),o})()},je=fs,gs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ms=e=>m(je,_(e,{iconNode:gs,name:"circle-check"})),hs=ms,bs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ps=e=>m(je,_(e,{iconNode:bs,name:"circle-x"})),ys=ps,vs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ws=e=>m(je,_(e,{iconNode:vs,name:"info"})),xs=ws,ks=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ss=e=>m(je,_(e,{iconNode:ks,name:"star"})),Ir=Ss,Cs=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],As=e=>m(je,_(e,{iconNode:Cs,name:"triangle-alert"})),Es=As;function Tr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Tr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $s(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tr(e))&&(n&&(n+=" "),n+=t);return n}const Ps=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Is=(e,t)=>({classGroupId:e,validator:t}),Or=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),lt="-",_r=[],Ts="arbitrary..",Os=e=>{const t=Ls(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return _s(i);const a=i.split(lt),l=a[0]===""&&a.length>1?1:0;return Lr(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],c=r[i];return l?c?Ps(c,l):l:c||_r}return r[i]||_r}}},Lr=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const c=Lr(e,t+1,s);if(c)return c}const i=r.validators;if(i===null)return;const a=t===0?e.join(lt):e.slice(t).join(lt),l=i.length;for(let c=0;c<l;c++){const u=i[c];if(u.validator(a))return u.classGroupId}},_s=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Ts+n:void 0})(),Ls=e=>{const{theme:t,classGroups:r}=e;return Ms(r,t)},Ms=(e,t)=>{const r=Or();for(const n in e){const o=e[n];Lt(o,r,n,t)}return r},Lt=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Rs(i,t,r,n)}},Rs=(e,t,r,n)=>{if(typeof e=="string"){zs(e,t,r);return}if(typeof e=="function"){Ns(e,t,r,n);return}Ds(e,t,r,n)},zs=(e,t,r)=>{const n=e===""?t:Mr(t,e);n.classGroupId=r},Ns=(e,t,r,n)=>{if(js(e)){Lt(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Is(r,e))},Ds=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Lt(l,Mr(t,a),r,n)}},Mr=(e,t)=>{let r=e;const n=t.split(lt),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Or(),r.nextPart.set(i,a)),r=a}return r},js=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Vs=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},Mt="!",Rr=":",Fs=[],zr=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Gs=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,c;const u=o.length;for(let g=0;g<u;g++){const w=o[g];if(i===0&&a===0){if(w===Rr){s.push(o.slice(l,g)),l=g+1;continue}if(w==="/"){c=g;continue}}w==="["?i++:w==="]"?i--:w==="("?a++:w===")"&&a--}const d=s.length===0?o:o.slice(l);let f=d,y=!1;d.endsWith(Mt)?(f=d.slice(0,-1),y=!0):d.startsWith(Mt)&&(f=d.slice(1),y=!0);const v=c&&c>l?c-l:void 0;return zr(s,y,f,v)};if(t){const o=t+Rr,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):zr(Fs,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Us=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Bs=e=>({cache:Vs(e.cacheSize),parseClassName:Gs(e),sortModifiers:Us(e),postfixLookupClassGroupIds:Ws(e),...Os(e)}),Ws=e=>{const t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},Ks=/\s+/,qs=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(Ks);let c="";for(let u=l.length-1;u>=0;u-=1){const d=l[u],{isExternal:f,modifiers:y,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=r(d);if(f){c=d+(c.length>0?" "+c:c);continue}let A=!!w,C;if(A){const k=g.substring(0,w);C=n(k);const h=C&&i[C]?n(g):void 0;h&&h!==C&&(C=h,A=!1)}else C=n(g);if(!C){if(!A){c=d+(c.length>0?" "+c:c);continue}if(C=n(g),!C){c=d+(c.length>0?" "+c:c);continue}A=!1}const O=y.length===0?"":y.length===1?y[0]:s(y).join(":"),I=v?O+Mt:O,P=I+C;if(a.indexOf(P)>-1)continue;a.push(P);const z=o(C,A);for(let k=0;k<z.length;++k){const h=z[k];a.push(I+h)}c=d+(c.length>0?" "+c:c)}return c},Ys=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Nr(r))&&(o&&(o+=" "),o+=n);return o},Nr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Nr(e[n]))&&(r&&(r+=" "),r+=t);return r},Hs=(e,...t)=>{let r,n,o,s;const i=l=>{const c=t.reduce((u,d)=>d(u),e());return r=Bs(c),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const c=n(l);if(c)return c;const u=qs(l,r);return o(l,u),u};return s=i,(...l)=>s(Ys(...l))},Xs=[],F=e=>{const t=r=>r[e]||Xs;return t.isThemeGetter=!0,t},Dr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zs=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Js=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qs=/\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$/,ei=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ti=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ri=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ge=e=>Zs.test(e),$=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),Rt=e=>e.endsWith("%")&&$(e.slice(0,-1)),ue=e=>Js.test(e),Vr=()=>!0,ni=e=>Qs.test(e)&&!ei.test(e),zt=()=>!1,oi=e=>ti.test(e),si=e=>ri.test(e),ii=e=>!b(e)&&!p(e),ai=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),li=e=>me(e,Kr,zt),b=e=>Dr.test(e),we=e=>me(e,qr,ni),Fr=e=>me(e,bi,$),ci=e=>me(e,Hr,Vr),ui=e=>me(e,Yr,zt),Gr=e=>me(e,Br,zt),di=e=>me(e,Wr,si),ct=e=>me(e,Xr,oi),p=e=>jr.test(e),Ve=e=>xe(e,qr),fi=e=>xe(e,Yr),Ur=e=>xe(e,Br),gi=e=>xe(e,Kr),mi=e=>xe(e,Wr),ut=e=>xe(e,Xr,!0),hi=e=>xe(e,Hr,!0),me=(e,t,r)=>{const n=Dr.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},xe=(e,t,r=!1)=>{const n=jr.exec(e);return n?n[1]?t(n[1]):r:!1},Br=e=>e==="position"||e==="percentage",Wr=e=>e==="image"||e==="url",Kr=e=>e==="length"||e==="size"||e==="bg-size",qr=e=>e==="length",bi=e=>e==="number",Yr=e=>e==="family-name",Hr=e=>e==="number"||e==="weight",Xr=e=>e==="shadow",pi=Hs(()=>{const e=F("color"),t=F("font"),r=F("text"),n=F("font-weight"),o=F("tracking"),s=F("leading"),i=F("breakpoint"),a=F("container"),l=F("spacing"),c=F("radius"),u=F("shadow"),d=F("inset-shadow"),f=F("text-shadow"),y=F("drop-shadow"),v=F("blur"),g=F("perspective"),w=F("aspect"),A=F("ease"),C=F("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...I(),p,b],z=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],h=()=>[p,b,l],S=()=>[ge,"full","auto",...h()],ne=()=>[ae,"none","subgrid",p,b],L=()=>["auto",{span:["full",ae,p,b]},ae,p,b],Y=()=>[ae,"auto",p,b],Q=()=>["auto","min","max","fr",p,b],Xe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Le=()=>["start","end","center","stretch","center-safe","end-safe"],oe=()=>["auto",...h()],ke=()=>[ge,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],nr=()=>[ge,"screen","full","dvw","lvw","svw","min","max","fit",...h()],or=()=>[ge,"screen","full","lh","dvh","lvh","svh","min","max","fit",...h()],x=()=>[e,p,b],Qn=()=>[...I(),Ur,Gr,{position:[p,b]}],eo=()=>["no-repeat",{repeat:["","x","y","space","round"]}],to=()=>["auto","cover","contain",gi,li,{size:[p,b]}],sr=()=>[Rt,Ve,we],H=()=>["","none","full",c,p,b],X=()=>["",$,Ve,we],yt=()=>["solid","dashed","dotted","double"],ro=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[$,Rt,Ur,Gr],no=()=>["","none",v,p,b],vt=()=>["none",$,p,b],wt=()=>["none",$,p,b],ir=()=>[$,p,b],xt=()=>[ge,"full",...h()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ue],breakpoint:[ue],color:[Vr],container:[ue],"drop-shadow":[ue],ease:["in","out","in-out"],font:[ii],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ue],shadow:[ue],spacing:["px",$],text:[ue],"text-shadow":[ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ge,b,p,w]}],container:["container"],"container-type":[{"@container":["","normal","size",p,b]}],"container-named":[ai],columns:[{columns:[$,b,p,a]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:P()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[ae,"auto",p,b]}],basis:[{basis:[ge,"full","auto",a,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$,ge,"auto","initial","none",b]}],grow:[{grow:["",$,p,b]}],shrink:[{shrink:["",$,p,b]}],order:[{order:[ae,"first","last","none",p,b]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...Xe(),"normal"]}],"justify-items":[{"justify-items":[...Le(),"normal"]}],"justify-self":[{"justify-self":["auto",...Le()]}],"align-content":[{content:["normal",...Xe()]}],"align-items":[{items:[...Le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Le(),{baseline:["","last"]}]}],"place-content":[{"place-content":Xe()}],"place-items":[{"place-items":[...Le(),"baseline"]}],"place-self":[{"place-self":["auto",...Le()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pbs:[{pbs:h()}],pbe:[{pbe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:oe()}],mx:[{mx:oe()}],my:[{my:oe()}],ms:[{ms:oe()}],me:[{me:oe()}],mbs:[{mbs:oe()}],mbe:[{mbe:oe()}],mt:[{mt:oe()}],mr:[{mr:oe()}],mb:[{mb:oe()}],ml:[{ml:oe()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:ke()}],"inline-size":[{inline:["auto",...nr()]}],"min-inline-size":[{"min-inline":["auto",...nr()]}],"max-inline-size":[{"max-inline":["none",...nr()]}],"block-size":[{block:["auto",...or()]}],"min-block-size":[{"min-block":["auto",...or()]}],"max-block-size":[{"max-block":["none",...or()]}],w:[{w:[a,"screen",...ke()]}],"min-w":[{"min-w":[a,"screen","none",...ke()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...ke()]}],h:[{h:["screen","lh",...ke()]}],"min-h":[{"min-h":["screen","lh","none",...ke()]}],"max-h":[{"max-h":["screen","lh",...ke()]}],"font-size":[{text:["base",r,Ve,we]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,hi,ci]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Rt,b]}],"font-family":[{font:[fi,ui,t]}],"font-features":[{"font-features":[b]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,p,b]}],"line-clamp":[{"line-clamp":[$,"none",p,Fr]}],leading:[{leading:[s,...h()]}],"list-image":[{"list-image":["none",p,b]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...yt(),"wavy"]}],"text-decoration-thickness":[{decoration:[$,"from-font","auto",p,we]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[$,"auto",p,b]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"tab-size":[{tab:[ae,p,b]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,b]}],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",p,b]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Qn()}],"bg-repeat":[{bg:eo()}],"bg-size":[{bg:to()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ae,p,b],radial:["",p,b],conic:[ae,p,b]},mi,di]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:sr()}],"gradient-via-pos":[{via:sr()}],"gradient-to-pos":[{to:sr()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...yt(),"hidden","none"]}],"divide-style":[{divide:[...yt(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-bs":[{"border-bs":x()}],"border-color-be":[{"border-be":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...yt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$,p,b]}],"outline-w":[{outline:["",$,Ve,we]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",u,ut,ct]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",d,ut,ct]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[$,we]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",f,ut,ct]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[$,p,b]}],"mix-blend":[{"mix-blend":[...ro(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ro()}],"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":[$]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[p,b]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[$]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Qn()}],"mask-repeat":[{mask:eo()}],"mask-size":[{mask:to()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,b]}],filter:[{filter:["","none",p,b]}],blur:[{blur:no()}],brightness:[{brightness:[$,p,b]}],contrast:[{contrast:[$,p,b]}],"drop-shadow":[{"drop-shadow":["","none",y,ut,ct]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",$,p,b]}],"hue-rotate":[{"hue-rotate":[$,p,b]}],invert:[{invert:["",$,p,b]}],saturate:[{saturate:[$,p,b]}],sepia:[{sepia:["",$,p,b]}],"backdrop-filter":[{"backdrop-filter":["","none",p,b]}],"backdrop-blur":[{"backdrop-blur":no()}],"backdrop-brightness":[{"backdrop-brightness":[$,p,b]}],"backdrop-contrast":[{"backdrop-contrast":[$,p,b]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$,p,b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$,p,b]}],"backdrop-invert":[{"backdrop-invert":["",$,p,b]}],"backdrop-opacity":[{"backdrop-opacity":[$,p,b]}],"backdrop-saturate":[{"backdrop-saturate":[$,p,b]}],"backdrop-sepia":[{"backdrop-sepia":["",$,p,b]}],"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",p,b]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$,"initial",p,b]}],ease:[{ease:["linear","initial",A,p,b]}],delay:[{delay:[$,p,b]}],animate:[{animate:["none",C,p,b]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,p,b]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:vt()}],"rotate-x":[{"rotate-x":vt()}],"rotate-y":[{"rotate-y":vt()}],"rotate-z":[{"rotate-z":vt()}],scale:[{scale:wt()}],"scale-x":[{"scale-x":wt()}],"scale-y":[{"scale-y":wt()}],"scale-z":[{"scale-z":wt()}],"scale-3d":["scale-3d"],skew:[{skew:ir()}],"skew-x":[{"skew-x":ir()}],"skew-y":[{"skew-y":ir()}],transform:[{transform:[p,b,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],zoom:[{zoom:[ae,p,b]}],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"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",p,b]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":x()}],"scrollbar-track-color":[{"scrollbar-track":x()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":h()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":h()}],"scroll-pbe":[{"scroll-pbe":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",p,b]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[$,Ve,we,Fr]}],stroke:[{stroke:["none",...x()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function j(...e){return pi($s(e))}var yi=M("<p class=font-semibold>"),vi=M("<div class=flex-1><div class=text-muted-foreground>");const wi={info:{wrap:"border-sky-500/30 bg-sky-500/10",icon:"text-sky-500",Icon:xs},success:{wrap:"border-emerald-500/30 bg-emerald-500/10",icon:"text-emerald-500",Icon:hs},warning:{wrap:"border-amber-500/30 bg-amber-500/10",icon:"text-amber-500",Icon:Es},danger:{wrap:"border-rose-500/30 bg-rose-500/10",icon:"text-rose-500",Icon:ys}};function xi(e){const t=()=>wi[e.tone??"info"];return m($r,{get class(){return j("flex gap-3 rounded-lg border p-3 text-sm text-foreground",t().wrap,e.class)},get children(){return[m(it,{get component(){return t().Icon},get class(){return j("mt-0.5 h-4 w-4 shrink-0",t().icon)}}),(()=>{var r=vi(),n=r.firstChild;return T(r,m(te,{get when(){return e.title},get children(){var o=yi();return T(o,()=>e.title),o}}),n),T(n,()=>e.children),r})()]}})}var ki={};at(ki,{Fallback:()=>Jr,Image:()=>dt,Img:()=>Qr,Root:()=>en,useImageContext:()=>Nt});var Zr=pe();function Nt(){const e=ye(Zr);if(e===void 0)throw new Error("[kobalte]: `useImageContext` must be used within an `Image.Root` component");return e}function Jr(e){const t=Nt(),[r,n]=B(t.fallbackDelay()===void 0);return se(()=>{const o=t.fallbackDelay();if(o!==void 0){const s=window.setTimeout(()=>n(!0),o);ee(()=>window.clearTimeout(s))}}),m(te,{get when(){return Ot(()=>!!r())()&&t.imageLoadingStatus()!=="loaded"},get children(){return m(ie,_({as:"span"},e))}})}function Qr(e){const t=Nt(),[r,n]=B("idle");return se(lo(()=>e.src,o=>{if(!o){n("error");return}let s=!0;const i=new window.Image,a=l=>()=>{s&&n(l)};n("loading"),e.crossOrigin!==void 0&&(i.crossOrigin=e.crossOrigin),e.referrerPolicy!==void 0&&(i.referrerPolicy=e.referrerPolicy),i.onload=a("loaded"),i.onerror=a("error"),i.src=o,ee(()=>{s=!1})})),se(()=>{const o=r();o!=="idle"&&t.onImageLoadingStatusChange(o)}),m(te,{get when(){return r()==="loaded"},get children(){return m(ie,_({as:"img"},e))}})}function en(e){const[t,r]=q(e,["fallbackDelay","onLoadingStatusChange"]),[n,o]=B("idle"),s={fallbackDelay:()=>t.fallbackDelay,imageLoadingStatus:n,onImageLoadingStatusChange:i=>{var a;o(i),(a=t.onLoadingStatusChange)==null||a.call(t,i)}};return m(Zr.Provider,{value:s,get children(){return m(ie,_({as:"span"},r))}})}var dt=Object.assign(en,{Fallback:Jr,Img:Qr});function Si(e){return m(dt,{get class(){return j("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted",e.class)},get children(){return[m(dt.Img,{get src(){return e.src},get alt(){return e.alt},class:"h-full w-full object-cover"}),m(dt.Fallback,{class:"grid h-full w-full place-items-center text-xs font-medium text-muted-foreground",get children(){return e.fallback}})]}})}var Ci=M("<span>");const Ai={neutral:"bg-muted text-muted-foreground ring-border",success:"bg-emerald-500/15 text-emerald-600 ring-emerald-500/30",warning:"bg-amber-500/15 text-amber-600 ring-amber-500/30",danger:"bg-rose-500/15 text-rose-600 ring-rose-500/30",info:"bg-sky-500/15 text-sky-600 ring-sky-500/30"},Ei="badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";function $i(e){const[t,r]=q(e,["tone","class","children"]);return(()=>{var n=Ci();return Ae(n,_({get class(){return j(Ei,Ai[t.tone??"neutral"],t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var Pi=M("<button>");const Ii={primary:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-muted text-foreground hover:bg-muted/70",outline:"border border-border bg-transparent text-foreground hover:bg-muted",ghost:"bg-transparent text-foreground hover:bg-muted"},Ti="inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";function Oi(e){const[t,r]=q(e,["variant","class","type","children"]);return(()=>{var n=Pi();return Ae(n,_({get type(){return t.type??"button"},get class(){return j(Ti,Ii[t.variant??"primary"],t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var _i=M('<span class="text-base font-normal text-muted-foreground">'),Li=M('<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>'),Mi=M("<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>",!1,!0,!1),Ri=M('<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>'),zi=M("<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>",!1,!0,!1);const Fe=e=>String(e).padStart(2,"0");function Ni(e,t){if(!t)return{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};const r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(e),n=o=>{var s;return Number(((s=r.find(i=>i.type===o))==null?void 0:s.value)??0)};return{hours:n("hour")%24,minutes:n("minute"),seconds:n("second")}}function Di(e){const t=()=>{const{hours:r,minutes:n,seconds:o}=e.parts;let s=r,i="";return e.hour12&&(i=s>=12?"PM":"AM",s=s%12,s===0&&(s=12)),{time:e.seconds?`${Fe(s)}:${Fe(n)}:${Fe(o)}`:`${Fe(s)}:${Fe(n)}`,suffix:i}};return(()=>{var r=Li(),n=r.firstChild,o=n.firstChild;return T(o,()=>t().time),T(n,m(te,{get when(){return e.hour12},get children(){var s=_i();return T(s,()=>t().suffix),s}}),null),V(()=>fe(r,j("flex flex-col items-center justify-center",e.class))),r})()}function ji(e){const t=()=>e.size,r=()=>t()/2,n=()=>t()/2,o=()=>t()/2,s=()=>e.parts.hours%12*30+e.parts.minutes*.5,i=()=>e.parts.minutes*6+e.parts.seconds*.1,a=()=>e.parts.seconds*6,l=Array.from({length:12},(u,d)=>d),c=u=>{const d=o()*u;return`${r()},${n()} ${r()},${n()-d}`};return(()=>{var u=Ri(),d=u.firstChild,f=d.nextSibling,y=f.nextSibling,v=y.nextSibling;return T(u,m(st,{each:l,children:g=>{const w=g*30,A=o()-4,C=o()-(g%3===0?14:9),O=r()+A*Math.sin(w*Math.PI/180),I=n()-A*Math.cos(w*Math.PI/180),P=r()+C*Math.sin(w*Math.PI/180),z=n()-C*Math.cos(w*Math.PI/180);return(()=>{var k=zi();return E(k,"x1",O),E(k,"y1",I),E(k,"x2",P),E(k,"y2",z),E(k,"stroke-width",g%3===0?2:1),k})()}}),f),T(u,m(te,{get when(){return e.seconds},get children(){var g=Mi();return V(w=>{var A=c(.75),C=`rotate(${a()}deg)`;return A!==w.e&&E(g,"points",w.e=A),C!==w.t&&Ce(g,"transform",w.t=C),w},{e:void 0,t:void 0}),g}}),v),V(g=>{var w=t(),A=t(),C=`0 0 ${t()} ${t()}`,O=j("inline-block",e.class),I=r(),P=n(),z=o()-2,k=c(.45),h=`rotate(${s()}deg)`,S=c(.65),ne=`rotate(${i()}deg)`,L=r(),Y=n();return w!==g.e&&E(u,"width",g.e=w),A!==g.t&&E(u,"height",g.t=A),C!==g.a&&E(u,"viewBox",g.a=C),O!==g.o&&E(u,"class",g.o=O),I!==g.i&&E(d,"cx",g.i=I),P!==g.n&&E(d,"cy",g.n=P),z!==g.s&&E(d,"r",g.s=z),k!==g.h&&E(f,"points",g.h=k),h!==g.r&&Ce(f,"transform",g.r=h),S!==g.d&&E(y,"points",g.d=S),ne!==g.l&&Ce(y,"transform",g.l=ne),L!==g.u&&E(v,"cx",g.u=L),Y!==g.c&&E(v,"cy",g.c=Y),g},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0}),u})()}function Vi(e){const[t,r]=B(new Date);Ct(()=>{const l=setInterval(()=>r(new Date),1e3);ee(()=>clearInterval(l))});const n=()=>e.variant??"digital",o=()=>e.seconds??!0,s=()=>e.hour12??!1,i=()=>e.size??160,a=()=>Ni(t(),e.timeZone);return m(te,{get when(){return n()==="analog"},get fallback(){return m(Di,{get parts(){return a()},get seconds(){return o()},get hour12(){return s()},get class(){return e.class}})},get children(){return m(ji,{get parts(){return a()},get seconds(){return o()},get size(){return i()},get class(){return e.class}})}})}var Fi=M('<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">'),Gi=M('<span class="block h-[1em] text-center leading-none">'),Ui=M('<span class="flex text-2xl font-bold tabular-nums text-foreground">'),Bi=M("<div>"),Wi=M('<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">');const Dt=1e3,jt=60*Dt,Vt=60*jt,tn=24*Vt,Ki=[0,1,2,3,4,5,6,7,8,9],Ft=e=>String(e).padStart(2,"0");function qi(e){const t=()=>e.char>="0"&&e.char<="9"?Number(e.char):0;return(()=>{var r=Fi(),n=r.firstChild;return T(n,m(Tt,{each:Ki,children:o=>(()=>{var s=Gi();return T(s,o),s})()})),V(o=>Ce(n,"transform",`translateY(${t()*-10}%)`)),r})()}function Yi(e){const t=()=>e.value.split("");return(()=>{var r=Ui();return T(r,m(Tt,{get each(){return t()},children:n=>m(qi,{get char(){return n()}})})),r})()}function Hi(e){const t=W(()=>e.to.getTime()),r=()=>Math.max(0,t()-Date.now()),[n,o]=B(r());let s=!1;const i=f=>{var y;f<=0&&!s&&(s=!0,(y=e.onComplete)==null||y.call(e))};i(n()),Ct(()=>{const f=setInterval(()=>{const y=r();o(y),i(y)},Dt);ee(()=>clearInterval(f))});const a=()=>Math.floor(n()/tn),l=()=>Math.floor(n()%tn/Vt),c=()=>Math.floor(n()%Vt/jt),u=()=>Math.floor(n()%jt/Dt),d=()=>[{label:"Days",value:String(a())},{label:"Hours",value:Ft(l())},{label:"Mins",value:Ft(c())},{label:"Secs",value:Ft(u())}];return(()=>{var f=Bi();return T(f,m(Tt,{get each(){return d()},children:y=>(()=>{var v=Wi(),g=v.firstChild;return T(v,m(Yi,{get value(){return y().value}}),g),T(g,()=>y().label),v})()})),V(()=>fe(f,j("flex gap-4",e.class))),f})()}var Xi=M("<kbd>");const Zi="inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm";function Ji(e){return(()=>{var t=Xi();return T(t,()=>e.children),V(()=>fe(t,j(Zi,e.class))),t})()}function Qi(e){return(...t)=>{for(const r of e)r&&r(...t)}}const ea=e=>typeof e=="function"&&!e.length?e():e,ta=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function rn(e){const t={};let r;for(;r=ta.exec(e);)t[r[1]]=r[2];return t}function Gt(e,t){if(typeof e=="string"){if(typeof t=="string")return`${e};${t}`;e=rn(e)}else typeof t=="string"&&(t=rn(t));return{...e,...t}}function ra(...e){return Qi(e)}function na(e){return Object.prototype.toString.call(e)==="[object String]"}function nn(e){return t=>`${e()}-${t}`}function on(e,t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(Math.max(e,t),r)}function Ge(e,t){return _(e,t)}var Ue=new Map,sn=new Set;function an(){if(typeof window>"u"||document.body===null)return;const e=r=>{if(!r.target)return;let n=Ue.get(r.target);n||(n=new Set,Ue.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{if(!r.target)return;const n=Ue.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Ue.delete(r.target)),Ue.size===0)){for(const o of sn)o();sn.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?an():document.addEventListener("DOMContentLoaded",an));let Ut=new Map,Bt=!1;try{Bt=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let ft=!1;try{ft=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const ln={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class oa{constructor(t,r={}){this.numberFormatter=sa(t,r),this.options=r}format(t){var n;let r="";if(!Bt&&this.options.signDisplay!=null?r=ia(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!ft){let{unit:o,unitDisplay:s="short",locale:i}=this.resolvedOptions();if(!o)return r;let a=(n=ln[o])==null?void 0:n[s];r+=a[i]||a.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Bt&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!ft&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}}function sa(e,t={}){var s;let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!ft){let{unit:i,unitDisplay:a="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!((s=ln[i])!=null&&s[a]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(Ut.has(n))return Ut.get(n);let o=new Intl.NumberFormat(e,t);return Ut.set(n,o),o}function ia(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),s=e.format(r),i=o.replace(s,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(s,"!!!").replace(i,"+").replace("!!!",s)}else return e.format(r)}}var aa=new Set(["Avst","Arab","Armi","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),la=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function ca(e){if(Intl.Locale){const r=new Intl.Locale(e).maximize().script??"";return aa.has(r)}const t=e.split("-")[0];return la.has(t)}function ua(e){return ca(e)?"rtl":"ltr"}function cn(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:ua(e)}}var Wt=cn(),Be=new Set;function un(){Wt=cn();for(const e of Be)e(Wt)}function da(){const[e,t]=B(Wt),r=W(()=>e());return Ct(()=>{Be.size===0&&window.addEventListener("languagechange",un),Be.add(t),ee(()=>{Be.delete(t),Be.size===0&&window.removeEventListener("languagechange",un)})}),{locale:()=>r().locale,direction:()=>r().direction}}var fa=pe();function ga(){const e=da();return ye(fa)||e}function dn(e){const{locale:t}=ga();return W(()=>new oa(t(),ea(e)))}function fn(e){return t=>(e(t),()=>e(void 0))}var gn=pe();function gt(){const e=ye(gn);if(e===void 0)throw new Error("[kobalte]: `useMeterContext` must be used within a `Meter.Root` component");return e}function ma(e){const t=gt(),[r,n]=q(e,["style"]);return m(ie,_({as:"div",get style(){return Gt({"--kb-meter-fill-width":t.meterFillWidth()},r.style)}},()=>t.dataset(),n))}function ha(e){const t=gt(),r=Ge({id:t.generateId("label")},e),[n,o]=q(r,["id"]);return se(()=>ee(t.registerLabelId(n.id))),m(ie,_({as:"span",get id(){return n.id}},()=>t.dataset(),o))}function ba(e){const t=`meter-${pr()}`,r=Ge({id:t,value:0,minValue:0,maxValue:100,role:"meter",indeterminate:!1},e),[n,o]=q(r,["value","minValue","maxValue","getValueLabel","role","aria-valuetext","aria-labelledby","aria-valuemax","aria-valuemin","aria-valuenow","indeterminate"]),[s,i]=B(),a=dn(()=>({style:"percent"})),l=()=>on(n.value,n.minValue,n.maxValue),c=()=>(l()-n.minValue)/(n.maxValue-n.minValue),u=()=>{if(!n.indeterminate)return n.getValueLabel?n.getValueLabel({value:l(),min:n.minValue,max:n.maxValue}):a().format(c())},d=()=>`${c()*100}%`,f=W(()=>({})),y={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:s,meterFillWidth:d,generateId:nn(()=>o.id),registerLabelId:fn(i)};return m(gn.Provider,{value:y,get children(){return m(ie,_({as:"div",get role(){return n.role||"meter"},get"aria-valuenow"(){return Ot(()=>!!n.indeterminate)()?void 0:l()},get"aria-valuemin"(){return n.minValue},get"aria-valuemax"(){return n.maxValue},get"aria-valuetext"(){return u()},get"aria-labelledby"(){return s()}},f,o))}})}function pa(e){const t=gt();return m(ie,_({as:"div"},()=>t.dataset(),e))}function ya(e){const t=gt();return m(ie,_({as:"div"},()=>t.dataset(),e,{get children(){return t.valueLabel()}}))}var le=Object.assign(ba,{Fill:ma,Label:ha,Track:pa,ValueLabel:ya}),va=M('<div class="flex items-center justify-between text-sm text-foreground">');function wa(e){const t=()=>{const r=e.max??100;return r<=0?0:Math.max(0,Math.min(100,e.value/r*100))};return m(le,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return j("flex flex-col gap-1.5",e.class)},get children(){return[m(te,{get when(){return e.label},get children(){var r=va();return T(r,m(le.Label,{get children(){return e.label}}),null),T(r,m(le.ValueLabel,{class:"text-muted-foreground"}),null),r}}),m(le.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return m(le.Fill,{class:"h-full rounded-full bg-primary transition-all duration-500",get style(){return{width:`${t()}%`}}})}})]}})}var xa={};at(xa,{Fill:()=>hn,Label:()=>bn,Progress:()=>Pe,Root:()=>pn,Track:()=>yn,ValueLabel:()=>vn,useProgressContext:()=>We});var mn=pe();function We(){const e=ye(mn);if(e===void 0)throw new Error("[kobalte]: `useProgressContext` must be used within a `Progress.Root` component");return e}function hn(e){const t=We(),[r,n]=q(e,["style"]);return m(le.Fill,_({get style(){return Gt({"--kb-progress-fill-width":t.progressFillWidth()},r.style)}},()=>t.dataset(),n))}function bn(e){const t=We(),r=Ge({id:t.generateId("label")},e),[n,o]=q(r,["id"]);return se(()=>ee(t.registerLabelId(n.id))),m(le.Label,_({get id(){return n.id}},()=>t.dataset(),o))}function pn(e){const t=`progress-${pr()}`,r=Ge({id:t,value:0,minValue:0,maxValue:100},e),[n,o]=q(r,["value","minValue","maxValue","indeterminate","getValueLabel"]),[s,i]=B(),a=dn(()=>({style:"percent"})),l=()=>on(n.value,n.minValue,n.maxValue),c=()=>(l()-n.minValue)/(n.maxValue-n.minValue),u=()=>{if(!n.indeterminate)return n.getValueLabel?n.getValueLabel({value:l(),min:n.minValue,max:n.maxValue}):a().format(c())},d=()=>n.indeterminate?void 0:`${c()*100}%`,f=W(()=>{let v;return n.indeterminate||(v=c()===1?"complete":"loading"),{"data-progress":v,"data-indeterminate":n.indeterminate?"":void 0}}),y={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:s,progressFillWidth:d,generateId:nn(()=>o.id),registerLabelId:fn(i)};return m(mn.Provider,{value:y,get children(){return m(le,_({role:"progressbar",get indeterminate(){return n.indeterminate||!1}},f,r))}})}function yn(e){const t=We();return m(le.Track,_(()=>t.dataset(),e))}function vn(e){const t=We();return m(le.ValueLabel,_(()=>t.dataset(),e))}var Pe=Object.assign(pn,{Fill:hn,Label:bn,Track:yn,ValueLabel:vn}),ka=M('<div class="flex items-center justify-between text-sm text-foreground">');function Sa(e){return m(Pe,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return j("flex flex-col gap-1.5",e.class)},get children(){return[m(te,{get when(){return e.label},get children(){var t=ka();return T(t,m(Pe.Label,{get children(){return e.label}}),null),T(t,m(Pe.ValueLabel,{class:"text-muted-foreground"}),null),t}}),m(Pe.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return m(Pe.Fill,{class:"h-full rounded-full bg-primary transition-all"})}})]}})}var Ca=M("<div role=radiogroup>"),Aa=M("<div role=img>"),Ea=M('<button type=button role=radio class="rounded outline-none focus-visible:ring-2 focus-visible:ring-ring/40">');function $a(e){const[t,r]=B(0),n=()=>e.max??5,o=()=>Array.from({length:n()},(l,c)=>c+1),s=()=>t()>0?t():e.value,i=l=>{var c;e.readonly||(c=e.onChange)==null||c.call(e,l)},a=l=>j("h-5 w-5 transition-colors",l<=s()?"fill-primary text-primary":"fill-transparent text-muted-foreground");return m(te,{get when(){return!e.readonly},get fallback(){return(()=>{var l=Aa();return T(l,m(st,{get each(){return o()},children:c=>m(Ir,{get class(){return a(c)},"aria-hidden":"true"})})),V(c=>{var u=j("inline-flex items-center gap-1",e.class),d=`Rating ${e.value} of ${n()}`;return u!==c.e&&fe(l,c.e=u),d!==c.t&&E(l,"aria-label",c.t=d),c},{e:void 0,t:void 0}),l})()},get children(){var l=Ca();return l.addEventListener("mouseleave",()=>r(0)),T(l,m(st,{get each(){return o()},children:c=>(()=>{var u=Ea();return u.$$keydown=d=>{d.key==="ArrowRight"||d.key==="ArrowUp"?(d.preventDefault(),i(Math.min(e.value+1,n()))):(d.key==="ArrowLeft"||d.key==="ArrowDown")&&(d.preventDefault(),i(Math.max(e.value-1,0)))},u.$$click=()=>i(c),u.addEventListener("blur",()=>r(0)),u.addEventListener("focus",()=>r(c)),u.addEventListener("mouseenter",()=>r(c)),T(u,m(Ir,{get class(){return a(c)},"aria-hidden":"true"})),V(d=>{var f=e.value===c,y=`Rate ${c} of ${n()}`;return f!==d.e&&E(u,"aria-checked",d.e=f),y!==d.t&&E(u,"aria-label",d.t=y),d},{e:void 0,t:void 0}),u})()})),V(()=>fe(l,j("inline-flex items-center gap-1",e.class))),l}})}vr(["click","keydown"]);var Pa=M('<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">');function Ia(e){const t=()=>e.size??96,r=()=>e.thickness??8,n=()=>Math.min(100,Math.max(0,e.value)),o=()=>(t()-r())/2,s=()=>2*Math.PI*o(),i=()=>s()*(1-n()/100);return(()=>{var a=Pa(),l=a.firstChild,c=l.firstChild,u=c.nextSibling,d=l.nextSibling;return T(d,m(te,{get when(){return e.label},get fallback(){return`${Math.round(n())}%`},get children(){return e.label}})),V(f=>{var y=n(),v=j("relative inline-flex items-center justify-center",e.class),g=`${t()}px`,w=`${t()}px`,A=t(),C=t(),O=`0 0 ${t()} ${t()}`,I=t()/2,P=t()/2,z=o(),k=r(),h=t()/2,S=t()/2,ne=o(),L=r(),Y=String(s()),Q=String(i());return y!==f.e&&E(a,"aria-valuenow",f.e=y),v!==f.t&&fe(a,f.t=v),g!==f.a&&Ce(a,"width",f.a=g),w!==f.o&&Ce(a,"height",f.o=w),A!==f.i&&E(l,"width",f.i=A),C!==f.n&&E(l,"height",f.n=C),O!==f.s&&E(l,"viewBox",f.s=O),I!==f.h&&E(c,"cx",f.h=I),P!==f.r&&E(c,"cy",f.r=P),z!==f.d&&E(c,"r",f.d=z),k!==f.l&&E(c,"stroke-width",f.l=k),h!==f.u&&E(u,"cx",f.u=h),S!==f.c&&E(u,"cy",f.c=S),ne!==f.w&&E(u,"r",f.w=ne),L!==f.m&&E(u,"stroke-width",f.m=L),Y!==f.f&&E(u,"stroke-dasharray",f.f=Y),Q!==f.y&&E(u,"stroke-dashoffset",f.y=Q),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0}),a})()}function Ta(e,t){const[r,n]=B(wn(t==null?void 0:t()));return se(()=>{var o;n(((o=e())==null?void 0:o.tagName.toLowerCase())||wn(t==null?void 0:t()))}),r}function wn(e){return na(e)?e:void 0}var Oa={};at(Oa,{Root:()=>xn,Separator:()=>kn});function xn(e){let t;const r=Ge({orientation:"horizontal"},e),[n,o]=q(r,["ref","orientation"]),s=Ta(()=>t,()=>"hr");return m(ie,_({as:"hr",ref(i){var a=ra(l=>t=l,n.ref);typeof a=="function"&&a(i)},get role(){return s()!=="hr"?"separator":void 0},get"aria-orientation"(){return n.orientation==="vertical"?"vertical":void 0},get"data-orientation"(){return n.orientation}},o))}var kn=xn;function _a(e){const t=()=>e.orientation??"horizontal";return m(kn,{get orientation(){return t()},get class(){return j("shrink-0 border-0 bg-border m-0",t()==="vertical"?"w-px min-h-4 h-full self-stretch":"h-px w-full",e.class)}})}var La=M('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');function Ma(e){return(()=>{var t=La();return V(r=>{var n=j("h-5 w-5 animate-spin text-muted-foreground",e.class),o=e.label??"Loading";return n!==r.e&&E(t,"class",r.e=n),o!==r.t&&E(t,"aria-label",r.t=o),r},{e:void 0,t:void 0}),t})()}function Sn(e,t){e.indexOf(t)===-1&&e.push(t)}function Ra(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const Cn=(e,t,r)=>Math.min(Math.max(r,e),t),re={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Ke=e=>typeof e=="number",Ie=e=>Array.isArray(e)&&!Ke(e[0]),za=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e};function Na(e,t){return Ie(e)?e[za(0,e.length,t)]:e}const An=(e,t,r)=>-r*e+r*t+e,En=()=>{},he=e=>e,Kt=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function $n(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Kt(0,t,n);e.push(An(r,1,o))}}function Da(e){const t=[0];return $n(t,e-1),t}function ja(e,t=Da(e.length),r=he){const n=e.length,o=n-t.length;return o>0&&$n(t,o),s=>{let i=0;for(;i<n-2&&!(s<t[i+1]);i++);let a=Cn(0,1,Kt(t[i],t[i+1],s));return a=Na(r,i)(a),An(e[i],e[i+1],a)}}const Pn=e=>Array.isArray(e)&&Ke(e[0]),qt=e=>typeof e=="object"&&!!e.createAnimation,qe=e=>typeof e=="function",Va=e=>typeof e=="string",Yt={ms:e=>e*1e3,s:e=>e/1e3},In=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Fa=1e-7,Ga=12;function Ua(e,t,r,n,o){let s,i,a=0;do i=t+(r-t)/2,s=In(i,n,o)-e,s>0?r=i:t=i;while(Math.abs(s)>Fa&&++a<Ga);return i}function Ye(e,t,r,n){if(e===t&&r===n)return he;const o=s=>Ua(s,0,1,e,r);return s=>s===0||s===1?s:In(o(s),t,n)}const Ba=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return Cn(0,1,o/e)},Wa={ease:Ye(.25,.1,.25,1),"ease-in":Ye(.42,0,1,1),"ease-in-out":Ye(.42,0,.58,1),"ease-out":Ye(0,0,.58,1)},Ka=/\((.*?)\)/;function Tn(e){if(qe(e))return e;if(Pn(e))return Ye(...e);const t=Wa[e];if(t)return t;if(e.startsWith("steps")){const r=Ka.exec(e);if(r){const n=r[1].split(",");return Ba(parseFloat(n[0]),n[1].trim())}}return he}class qa{constructor(t,r=[0,1],{easing:n,duration:o=re.duration,delay:s=re.delay,endDelay:i=re.endDelay,repeat:a=re.repeat,offset:l,direction:c="normal",autoplay:u=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=he,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((f,y)=>{this.resolve=f,this.reject=y}),n=n||re.easing,qt(n)){const f=n.createAnimation(r);n=f.easing,r=f.keyframes||r,o=f.duration||o}this.repeat=a,this.easing=Ie(n)?he:Tn(n),this.updateDuration(o);const d=ja(r,l,Ie(n)?n.map(Tn):he);this.tick=f=>{var y;s=s;let v=0;this.pauseTime!==void 0?v=this.pauseTime:v=(f-this.startTime)*this.rate,this.t=v,v/=1e3,v=Math.max(v-s,0),this.playState==="finished"&&this.pauseTime===void 0&&(v=this.totalDuration);const g=v/this.duration;let w=Math.floor(g),A=g%1;!A&&g>=1&&(A=1),A===1&&w--;const C=w%2;(c==="reverse"||c==="alternate"&&C||c==="alternate-reverse"&&!C)&&(A=1-A);const O=v>=this.totalDuration?1:Math.min(A,1),I=d(this.easing(O));t(I),this.pauseTime===void 0&&(this.playState==="finished"||v>=this.totalDuration+i)?(this.playState="finished",(y=this.resolve)===null||y===void 0||y.call(this,I)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},u&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class Ya{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const Ht=new WeakMap;function On(e){return Ht.has(e)||Ht.set(e,{transforms:[],values:new Map}),Ht.get(e)}function Ha(e,t){return e.has(t)||e.set(t,new Ya),e.get(t)}const Xa=["","X","Y","Z"],Za=["translate","scale","rotate","skew"],Te={x:"translateX",y:"translateY",z:"translateZ"},_n={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},Ja={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:_n,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:he},skew:_n},Oe=new Map,mt=e=>`--motion-${e}`,ht=["x","y","z"];Za.forEach(e=>{Xa.forEach(t=>{ht.push(e+t),Oe.set(mt(e+t),Ja[e])})});const Qa=(e,t)=>ht.indexOf(e)-ht.indexOf(t),el=new Set(ht),Xt=e=>el.has(e),tl=(e,t)=>{Te[t]&&(t=Te[t]);const{transforms:r}=On(e);Sn(r,t),e.style.transform=Ln(r)},Ln=e=>e.sort(Qa).reduce(rl,"").trim(),rl=(e,t)=>`${e} ${t}(var(${mt(t)}))`,Zt=e=>e.startsWith("--"),Mn=new Set;function nl(e){if(!Mn.has(e)){Mn.add(e);try{const{syntax:t,initialValue:r}=Oe.has(e)?Oe.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}const Jt=(e,t)=>document.createElement("div").animate(e,t),Rn={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Jt({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Jt({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Jt({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},Qt={},_e={};for(const e in Rn)_e[e]=()=>(Qt[e]===void 0&&(Qt[e]=Rn[e]()),Qt[e]);const ol=.015,sl=(e,t)=>{let r="";const n=Math.round(t/ol);for(let o=0;o<n;o++)r+=e(Kt(0,n-1,o))+", ";return r.substring(0,r.length-2)},zn=(e,t)=>qe(e)?_e.linearEasing()?`linear(${sl(e,t)})`:re.easing:Pn(e)?il(e):e,il=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`;function al(e,t){for(let r=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());return e}const ll=e=>Array.isArray(e)?e:[e];function er(e){return Te[e]&&(e=Te[e]),Xt(e)?mt(e):e}const He={get:(e,t)=>{t=er(t);let r=Zt(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){const n=Oe.get(t);n&&(r=n.initialValue)}return r},set:(e,t,r)=>{t=er(t),Zt(t)?e.style.setProperty(t,r):e.style[t]=r}};function cl(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function ul(e,t){var r;let n=(t==null?void 0:t.toDefaultUnit)||he;const o=e[e.length-1];if(Va(o)){const s=((r=o.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void 0?void 0:r[2])||"";s&&(n=i=>i+s)}return n}function dl(){return window.__MOTION_DEV_TOOLS_RECORD}function fl(e,t,r,n={},o){const s=dl(),i=n.record!==!1&&s;let a,{duration:l=re.duration,delay:c=re.delay,endDelay:u=re.endDelay,repeat:d=re.repeat,easing:f=re.easing,persist:y=!1,direction:v,offset:g,allowWebkitAcceleration:w=!1,autoplay:A=!0}=n;const C=On(e),O=Xt(t);let I=_e.waapi();O&&tl(e,t);const P=er(t),z=Ha(C.values,P),k=Oe.get(P);return cl(z.animation,!(qt(f)&&z.generator)&&n.record!==!1),()=>{const h=()=>{var L,Y;return(Y=(L=He.get(e,P))!==null&&L!==void 0?L:k==null?void 0:k.initialValue)!==null&&Y!==void 0?Y:0};let S=al(ll(r),h);const ne=ul(S,k);if(qt(f)){const L=f.createAnimation(S,t!=="opacity",h,P,z);f=L.easing,S=L.keyframes||S,l=L.duration||l}if(Zt(P)&&(_e.cssRegisterProperty()?nl(P):I=!1),O&&!_e.linearEasing()&&(qe(f)||Ie(f)&&f.some(qe))&&(I=!1),I){k&&(S=S.map(Q=>Ke(Q)?k.toDefaultUnit(Q):Q)),S.length===1&&(!_e.partialKeyframes()||i)&&S.unshift(h());const L={delay:Yt.ms(c),duration:Yt.ms(l),endDelay:Yt.ms(u),easing:Ie(f)?void 0:zn(f,l),direction:v,iterations:d+1,fill:"both"};a=e.animate({[P]:S,offset:g,easing:Ie(f)?f.map(Q=>zn(Q,l)):void 0},L),a.finished||(a.finished=new Promise((Q,Xe)=>{a.onfinish=Q,a.oncancel=Xe}));const Y=S[S.length-1];a.finished.then(()=>{y||(He.set(e,P,Y),a.cancel())}).catch(En),w||(a.playbackRate=1.000001)}else if(o&&O)S=S.map(L=>typeof L=="string"?parseFloat(L):L),S.length===1&&S.unshift(parseFloat(h())),a=new o(L=>{He.set(e,P,ne?ne(L):L)},S,Object.assign(Object.assign({},n),{duration:l,easing:f}));else{const L=S[S.length-1];He.set(e,P,k&&Ke(L)?k.toDefaultUnit(L):L)}return i&&s(e,t,S,{duration:l,delay:c,easing:f,repeat:d,offset:g},"motion-one"),z.setAnimation(a),a&&!A&&a.pause(),a}}const gl=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function ml(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function Nn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}typeof SuppressedError=="function"&&SuppressedError;const hl={any:0,all:1};function bl(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const s=ml(e),i=new WeakMap,a=c=>{c.forEach(u=>{const d=i.get(u.target);if(u.isIntersecting!==!!d)if(u.isIntersecting){const f=t(u);qe(f)?i.set(u.target,f):l.unobserve(u.target)}else d&&(d(u),i.delete(u.target))})},l=new IntersectionObserver(a,{root:r,rootMargin:n,threshold:typeof o=="number"?o:hl[o]});return s.forEach(c=>l.observe(c)),()=>l.disconnect()}function pl(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!yl(e,t):e!==t}function yl(e,t){const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function vl(e){return typeof e=="object"}function Dn(e,t){if(vl(e))return e;if(e&&t)return t[e]}let be;function wl(){if(!be)return;const e=be.sort(kl).map(Sl);e.forEach(jn),e.forEach(jn),be=void 0}function tr(e){be?Sn(be,e):(be=[e],requestAnimationFrame(wl))}function xl(e){be&&Ra(be,e)}const kl=(e,t)=>e.getDepth()-t.getDepth(),Sl=e=>e.animateUpdates(),jn=e=>e.next(),Vn=(e,t)=>new CustomEvent(e,{detail:{target:t}});function rr(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:r}}))}function Fn(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:r}}))}const Cl={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:r},{inViewOptions:n={}})=>{const{once:o}=n,s=Nn(n,["once"]);return bl(e,i=>{if(t(),Fn(e,"viewenter",i),!o)return a=>{r(),Fn(e,"viewleave",a)}},s)}},Gn=(e,t,r)=>n=>{n.pointerType&&n.pointerType!=="mouse"||(r(),rr(e,t,n))},bt={inView:Cl,hover:{isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:r})=>{const n=Gn(e,"hoverstart",t),o=Gn(e,"hoverend",r);return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",o)}}},press:{isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:r})=>{const n=s=>{r(),rr(e,"pressend",s),window.removeEventListener("pointerup",n)},o=s=>{t(),rr(e,"pressstart",s),window.addEventListener("pointerup",n)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",n)}}}},Un=["initial","animate",...Object.keys(bt),"exit"],Bn=new WeakMap;function Al(e={},t){let r,n=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},s={},i={};for(const g of Un)i[g]=typeof e[g]=="string"?e[g]:t==null?void 0:t.getContext()[g];const a=e.initial===!1?"animate":"initial";let l=Dn(e[a]||i[a],e.variants)||{},c=Nn(l,["transition"]);const u=Object.assign({},c);function*d(){var g,w;const A=c;c={};const C={};for(const k of Un){if(!o[k])continue;const h=Dn(e[k]);if(h)for(const S in h)S!=="transition"&&(c[S]=h[S],C[S]=gl((w=(g=h.transition)!==null&&g!==void 0?g:e.transition)!==null&&w!==void 0?w:{},S))}const O=new Set([...Object.keys(c),...Object.keys(A)]),I=[];O.forEach(k=>{var h;c[k]===void 0&&(c[k]=u[k]),pl(A[k],c[k])&&((h=u[k])!==null&&h!==void 0||(u[k]=He.get(r,k)),I.push(fl(r,k,c[k],C[k],qa)))}),yield;const P=I.map(k=>k()).filter(Boolean);if(!P.length)return;const z=c;r.dispatchEvent(Vn("motionstart",z)),Promise.all(P.map(k=>k.finished)).then(()=>{r.dispatchEvent(Vn("motioncomplete",z))}).catch(En)}const f=(g,w)=>()=>{o[g]=w,tr(v)},y=()=>{for(const g in bt){const w=bt[g].isActive(e),A=s[g];w&&!A?s[g]=bt[g].subscribe(r,{enable:f(g,!0),disable:f(g,!1)},e):!w&&A&&(A(),delete s[g])}},v={update:g=>{r&&(e=g,y(),tr(v))},setActive:(g,w)=>{r&&(o[g]=w,tr(v))},animateUpdates:d,getDepth:()=>n,getTarget:()=>c,getOptions:()=>e,getContext:()=>i,mount:g=>(r=g,Bn.set(r,v),y(),()=>{Bn.delete(r),xl(v);for(const w in s)s[w]()}),isMounted:()=>!!r};return v}function El(e){const t={},r=[];for(let n in e){const o=e[n];Xt(n)&&(Te[n]&&(n=Te[n]),r.push(n),n=mt(n));let s=Array.isArray(o)?o[0]:o;const i=Oe.get(n);i&&(s=Ke(o)?i.toDefaultUnit(o):o),t[n]=s}return r.length&&(t.transform=Ln(r)),t}var $l=pe();function Pl(e,t,r,n){const o=Al((r==null?void 0:r.initial)===!1?{...t(),initial:!1}:t(),n);return se(()=>{if(r&&!r.mount())return;const s=e(),i=o.mount(s);se(()=>o.update(t())),ee(()=>{r&&t().exit?(o.setActive("exit",!0),s.addEventListener("motioncomplete",i)):i()})}),[o,El(o.getTarget())]}var Il=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],Tl=["tag"],Wn=pe(),Kn=e=>{const[t,,r]=q(e,Il,Tl),[n,o]=Pl(()=>s,()=>({...t}),ye($l),ye(Wn));let s;return m(Wn.Provider,{value:n,get children(){return m(it,_(r,{ref:i=>{var a;s=i,(a=e.ref)==null||a.call(e,i)},get component(){return e.tag||"div"},get style(){return Gt(e.style,o)}}))}})},Ol=new Proxy(Kn,{get:(e,t)=>r=>m(Kn,_(r,{tag:t}))});const _l="a4ui-effects";function Ll(){try{return window.localStorage}catch{return null}}function Ml(){var t;try{if(new URLSearchParams(window.location.search).get("calm")==="1")return!1}catch{}const e=(t=Ll())==null?void 0:t.getItem(_l);return e===null?!0:e==="1"}function Rl(e){typeof document>"u"||document.documentElement.classList.toggle("calm",!e)}const qn=Ml();Rl(qn);const[zl]=B(qn);function Nl(){return!zl()}const Dl="(prefers-reduced-motion: reduce)";function Yn(){return typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(Dl).matches}const jl="a4ui-motion-forced";function Vl(){try{return window.localStorage}catch{return null}}const[Hn]=B(((Jn=Vl())==null?void 0:Jn.getItem(jl))==="1");typeof document<"u"&&document.documentElement.classList.toggle("force-motion",K(Hn));function Fl(){return Nl()||Yn()&&!Hn()}const Gl=e=>1-(1-e)**3;function Ul(e,t=600){const[r,n]=B(0);let o;return se(()=>{const s=e();if(Fl()){o!==void 0&&cancelAnimationFrame(o),n(s);return}const i=K(r);if(i===s)return;o!==void 0&&cancelAnimationFrame(o);const a=performance.now(),l=c=>{const u=c-a,d=Math.min(1,u/t);n(i+(s-i)*Gl(d)),o=d<1?requestAnimationFrame(l):void 0};o=requestAnimationFrame(l)}),ee(()=>{o!==void 0&&cancelAnimationFrame(o)}),r}var Xn=M("<div>");function Bl(e){const[t,r]=q(e,["class","children","glass","glow"]),n=()=>(t.glow??t.glass)===!0;return(()=>{var o=Xn();return Ae(o,_({get class(){return j(t.glass?"card rounded-xl text-card-foreground":"rounded-xl border border-border bg-card text-card-foreground shadow-sm",n()&&"glow-edge",t.class)}},r),!1,!0),T(o,()=>t.children),o})()}function Wl(e){const[t,r]=q(e,["class","children"]);return(()=>{var n=Xn();return Ae(n,_({get class(){return j("p-6 pt-0",t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var Kl=M("<div>"),ql=M('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');const Yl={primary:"bg-primary/15 text-primary",success:"bg-emerald-500/15 text-emerald-600",danger:"bg-rose-500/15 text-rose-600",neutral:"bg-muted text-muted-foreground"};function Hl(e){const t=Yn(),r=Ul(()=>e.value),n=()=>(e.format??(o=>String(Math.round(o))))(r());return m(Ol.div,{initial:t?!1:{opacity:0,y:8},animate:{opacity:1,y:0},get transition(){return{duration:t?0:.32,delay:t?0:e.delay??0,easing:"ease-out"}},get children(){return m(Bl,{glass:!0,glow:!0,get class(){return e.class},get children(){return m(Wl,{class:"flex items-center gap-4 p-5",get children(){return[m(te,{get when(){return e.icon},get children(){var o=Kl();return T(o,()=>e.icon),V(()=>fe(o,j("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",Yl[e.tone??"neutral"]))),o}}),(()=>{var o=ql(),s=o.firstChild,i=s.nextSibling;return T(s,()=>e.label),T(i,n),o})()]}})}})}})}function pt(e){return(e.textContent??"").trim()}function Zn(){J("a4-button",{variant:"primary",disabled:!1,type:"button",label:""},(e,{element:t})=>{Z();const r=e.label||pt(t);return m(Oi,{get variant(){return e.variant},get disabled(){return e.disabled},get type(){return e.type},children:r})}),J("a4-badge",{tone:"neutral",label:""},(e,{element:t})=>(Z(),m($i,{get tone(){return e.tone},get children(){return e.label||pt(t)}}))),J("a4-alert",{tone:"info",heading:"",text:""},(e,{element:t})=>(Z(),m(xi,{get tone(){return e.tone},get title(){return e.heading||void 0},get children(){return e.text||pt(t)}}))),J("a4-spinner",{label:"Loading"},e=>(Z(),m(Ma,{get label(){return e.label}}))),J("a4-avatar",{src:"",alt:"",fallback:""},e=>(Z(),m(Si,{get src(){return e.src||void 0},get alt(){return e.alt},get fallback(){return e.fallback||""}}))),J("a4-progress",{value:0,max:100,label:""},e=>(Z(),m(Sa,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),J("a4-meter",{value:0,max:100,label:""},e=>(Z(),m(wa,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),J("a4-ring-progress",{value:0,size:96,thickness:8,label:""},e=>(Z(),m(Ia,{get value(){return e.value},get size(){return e.size},get thickness(){return e.thickness},get label(){return e.label||void 0}}))),J("a4-stat",{label:"",value:0,tone:"neutral"},e=>(Z(),m(Hl,{get label(){return e.label},get value(){return e.value},get tone(){return e.tone}}))),J("a4-kbd",{label:""},(e,{element:t})=>(Z(),m(Ji,{get children(){return e.label||pt(t)}}))),J("a4-separator",{orientation:"horizontal"},e=>(Z(),m(_a,{get orientation(){return e.orientation}}))),J("a4-rating",{value:0,max:5,readonly:!1},(e,{element:t})=>(Z(),m($a,{get value(){return e.value},get max(){return e.max},get readonly(){return e.readonly},onChange:r=>t.dispatchEvent(new CustomEvent("change",{detail:r}))}))),J("a4-countdown",{to:""},e=>{Z();const t=e.to?new Date(e.to):new Date(Date.now()+864e5);return m(Hi,{to:t})}),J("a4-clock",{variant:"digital",seconds:!0,hour12:!1,timezone:"",size:160},e=>(Z(),m(Vi,{get variant(){return e.variant},get seconds(){return e.seconds},get hour12(){return e.hour12},get timeZone(){return e.timezone||void 0},get size(){return e.size}})))}return Zn(),kt.defineA4uiElements=Zn,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"}),kt})({});
|
|
6
|
+
*/var ss={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},$e=ss,is=pe({size:24,color:"currentColor",strokeWidth:2,absoluteStrokeWidth:!1,class:""}),as=M("<svg>"),ls=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},cs=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),us=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Pr=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ds=e=>{const t=us(e);return t.charAt(0).toUpperCase()+t.slice(1)},fs=e=>{const[t,r]=q(e,["color","size","strokeWidth","children","class","name","iconNode","absoluteStrokeWidth"]),n=ye(is);return(()=>{var o=as();return Ae(o,_($e,{get width(){return t.size??n.size??$e.width},get height(){return t.size??n.size??$e.height},get stroke(){return t.color??n.color??$e.stroke},get"stroke-width"(){return Ot(()=>(t.absoluteStrokeWidth??n.absoluteStrokeWidth)===!0)()?Number(t.strokeWidth??n.strokeWidth??$e["stroke-width"])*24/Number(t.size??n.size):Number(t.strokeWidth??n.strokeWidth??$e["stroke-width"])},get class(){return cs("lucide","lucide-icon",n.class,...t.name!=null?[`lucide-${Pr(ds(t.name))}`,`lucide-${Pr(t.name)}`]:[],t.class)},get"aria-hidden"(){return!t.children&&!ls(r)?"true":void 0}},r),!0,!0),T(o,m(st,{get each(){return t.iconNode},children:([s,i])=>m(it,_({component:s},i))})),o})()},je=fs,gs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ms=e=>m(je,_(e,{iconNode:gs,name:"circle-check"})),hs=ms,bs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ps=e=>m(je,_(e,{iconNode:bs,name:"circle-x"})),ys=ps,vs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ws=e=>m(je,_(e,{iconNode:vs,name:"info"})),xs=ws,ks=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ss=e=>m(je,_(e,{iconNode:ks,name:"star"})),Ir=Ss,Cs=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],As=e=>m(je,_(e,{iconNode:Cs,name:"triangle-alert"})),Es=As;function Tr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Tr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $s(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tr(e))&&(n&&(n+=" "),n+=t);return n}const Ps=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Is=(e,t)=>({classGroupId:e,validator:t}),Or=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),lt="-",_r=[],Ts="arbitrary..",Os=e=>{const t=Ls(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return _s(i);const a=i.split(lt),l=a[0]===""&&a.length>1?1:0;return Lr(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],c=r[i];return l?c?Ps(c,l):l:c||_r}return r[i]||_r}}},Lr=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const c=Lr(e,t+1,s);if(c)return c}const i=r.validators;if(i===null)return;const a=t===0?e.join(lt):e.slice(t).join(lt),l=i.length;for(let c=0;c<l;c++){const u=i[c];if(u.validator(a))return u.classGroupId}},_s=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Ts+n:void 0})(),Ls=e=>{const{theme:t,classGroups:r}=e;return Ms(r,t)},Ms=(e,t)=>{const r=Or();for(const n in e){const o=e[n];Lt(o,r,n,t)}return r},Lt=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Rs(i,t,r,n)}},Rs=(e,t,r,n)=>{if(typeof e=="string"){zs(e,t,r);return}if(typeof e=="function"){Ns(e,t,r,n);return}Ds(e,t,r,n)},zs=(e,t,r)=>{const n=e===""?t:Mr(t,e);n.classGroupId=r},Ns=(e,t,r,n)=>{if(js(e)){Lt(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Is(r,e))},Ds=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Lt(l,Mr(t,a),r,n)}},Mr=(e,t)=>{let r=e;const n=t.split(lt),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Or(),r.nextPart.set(i,a)),r=a}return r},js=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Vs=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},Mt="!",Rr=":",Fs=[],zr=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Gs=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,c;const u=o.length;for(let g=0;g<u;g++){const w=o[g];if(i===0&&a===0){if(w===Rr){s.push(o.slice(l,g)),l=g+1;continue}if(w==="/"){c=g;continue}}w==="["?i++:w==="]"?i--:w==="("?a++:w===")"&&a--}const d=s.length===0?o:o.slice(l);let f=d,y=!1;d.endsWith(Mt)?(f=d.slice(0,-1),y=!0):d.startsWith(Mt)&&(f=d.slice(1),y=!0);const v=c&&c>l?c-l:void 0;return zr(s,y,f,v)};if(t){const o=t+Rr,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):zr(Fs,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Us=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Bs=e=>({cache:Vs(e.cacheSize),parseClassName:Gs(e),sortModifiers:Us(e),postfixLookupClassGroupIds:Ws(e),...Os(e)}),Ws=e=>{const t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},Ks=/\s+/,qs=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(Ks);let c="";for(let u=l.length-1;u>=0;u-=1){const d=l[u],{isExternal:f,modifiers:y,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=r(d);if(f){c=d+(c.length>0?" "+c:c);continue}let A=!!w,C;if(A){const k=g.substring(0,w);C=n(k);const h=C&&i[C]?n(g):void 0;h&&h!==C&&(C=h,A=!1)}else C=n(g);if(!C){if(!A){c=d+(c.length>0?" "+c:c);continue}if(C=n(g),!C){c=d+(c.length>0?" "+c:c);continue}A=!1}const O=y.length===0?"":y.length===1?y[0]:s(y).join(":"),I=v?O+Mt:O,P=I+C;if(a.indexOf(P)>-1)continue;a.push(P);const z=o(C,A);for(let k=0;k<z.length;++k){const h=z[k];a.push(I+h)}c=d+(c.length>0?" "+c:c)}return c},Ys=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Nr(r))&&(o&&(o+=" "),o+=n);return o},Nr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Nr(e[n]))&&(r&&(r+=" "),r+=t);return r},Hs=(e,...t)=>{let r,n,o,s;const i=l=>{const c=t.reduce((u,d)=>d(u),e());return r=Bs(c),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const c=n(l);if(c)return c;const u=qs(l,r);return o(l,u),u};return s=i,(...l)=>s(Ys(...l))},Xs=[],F=e=>{const t=r=>r[e]||Xs;return t.isThemeGetter=!0,t},Dr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zs=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Js=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qs=/\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$/,ei=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ti=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ri=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ge=e=>Zs.test(e),$=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),Rt=e=>e.endsWith("%")&&$(e.slice(0,-1)),ue=e=>Js.test(e),Vr=()=>!0,ni=e=>Qs.test(e)&&!ei.test(e),zt=()=>!1,oi=e=>ti.test(e),si=e=>ri.test(e),ii=e=>!b(e)&&!p(e),ai=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),li=e=>me(e,Kr,zt),b=e=>Dr.test(e),we=e=>me(e,qr,ni),Fr=e=>me(e,bi,$),ci=e=>me(e,Hr,Vr),ui=e=>me(e,Yr,zt),Gr=e=>me(e,Br,zt),di=e=>me(e,Wr,si),ct=e=>me(e,Xr,oi),p=e=>jr.test(e),Ve=e=>xe(e,qr),fi=e=>xe(e,Yr),Ur=e=>xe(e,Br),gi=e=>xe(e,Kr),mi=e=>xe(e,Wr),ut=e=>xe(e,Xr,!0),hi=e=>xe(e,Hr,!0),me=(e,t,r)=>{const n=Dr.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},xe=(e,t,r=!1)=>{const n=jr.exec(e);return n?n[1]?t(n[1]):r:!1},Br=e=>e==="position"||e==="percentage",Wr=e=>e==="image"||e==="url",Kr=e=>e==="length"||e==="size"||e==="bg-size",qr=e=>e==="length",bi=e=>e==="number",Yr=e=>e==="family-name",Hr=e=>e==="number"||e==="weight",Xr=e=>e==="shadow",pi=Hs(()=>{const e=F("color"),t=F("font"),r=F("text"),n=F("font-weight"),o=F("tracking"),s=F("leading"),i=F("breakpoint"),a=F("container"),l=F("spacing"),c=F("radius"),u=F("shadow"),d=F("inset-shadow"),f=F("text-shadow"),y=F("drop-shadow"),v=F("blur"),g=F("perspective"),w=F("aspect"),A=F("ease"),C=F("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...I(),p,b],z=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],h=()=>[p,b,l],S=()=>[ge,"full","auto",...h()],ne=()=>[ae,"none","subgrid",p,b],L=()=>["auto",{span:["full",ae,p,b]},ae,p,b],Y=()=>[ae,"auto",p,b],Q=()=>["auto","min","max","fr",p,b],Xe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Le=()=>["start","end","center","stretch","center-safe","end-safe"],oe=()=>["auto",...h()],ke=()=>[ge,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...h()],nr=()=>[ge,"screen","full","dvw","lvw","svw","min","max","fit",...h()],or=()=>[ge,"screen","full","lh","dvh","lvh","svh","min","max","fit",...h()],x=()=>[e,p,b],Qn=()=>[...I(),Ur,Gr,{position:[p,b]}],eo=()=>["no-repeat",{repeat:["","x","y","space","round"]}],to=()=>["auto","cover","contain",gi,li,{size:[p,b]}],sr=()=>[Rt,Ve,we],H=()=>["","none","full",c,p,b],X=()=>["",$,Ve,we],yt=()=>["solid","dashed","dotted","double"],ro=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[$,Rt,Ur,Gr],no=()=>["","none",v,p,b],vt=()=>["none",$,p,b],wt=()=>["none",$,p,b],ir=()=>[$,p,b],xt=()=>[ge,"full",...h()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ue],breakpoint:[ue],color:[Vr],container:[ue],"drop-shadow":[ue],ease:["in","out","in-out"],font:[ii],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ue],shadow:[ue],spacing:["px",$],text:[ue],"text-shadow":[ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ge,b,p,w]}],container:["container"],"container-type":[{"@container":["","normal","size",p,b]}],"container-named":[ai],columns:[{columns:[$,b,p,a]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:P()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[ae,"auto",p,b]}],basis:[{basis:[ge,"full","auto",a,...h()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$,ge,"auto","initial","none",b]}],grow:[{grow:["",$,p,b]}],shrink:[{shrink:["",$,p,b]}],order:[{order:[ae,"first","last","none",p,b]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:h()}],"gap-x":[{"gap-x":h()}],"gap-y":[{"gap-y":h()}],"justify-content":[{justify:[...Xe(),"normal"]}],"justify-items":[{"justify-items":[...Le(),"normal"]}],"justify-self":[{"justify-self":["auto",...Le()]}],"align-content":[{content:["normal",...Xe()]}],"align-items":[{items:[...Le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Le(),{baseline:["","last"]}]}],"place-content":[{"place-content":Xe()}],"place-items":[{"place-items":[...Le(),"baseline"]}],"place-self":[{"place-self":["auto",...Le()]}],p:[{p:h()}],px:[{px:h()}],py:[{py:h()}],ps:[{ps:h()}],pe:[{pe:h()}],pbs:[{pbs:h()}],pbe:[{pbe:h()}],pt:[{pt:h()}],pr:[{pr:h()}],pb:[{pb:h()}],pl:[{pl:h()}],m:[{m:oe()}],mx:[{mx:oe()}],my:[{my:oe()}],ms:[{ms:oe()}],me:[{me:oe()}],mbs:[{mbs:oe()}],mbe:[{mbe:oe()}],mt:[{mt:oe()}],mr:[{mr:oe()}],mb:[{mb:oe()}],ml:[{ml:oe()}],"space-x":[{"space-x":h()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":h()}],"space-y-reverse":["space-y-reverse"],size:[{size:ke()}],"inline-size":[{inline:["auto",...nr()]}],"min-inline-size":[{"min-inline":["auto",...nr()]}],"max-inline-size":[{"max-inline":["none",...nr()]}],"block-size":[{block:["auto",...or()]}],"min-block-size":[{"min-block":["auto",...or()]}],"max-block-size":[{"max-block":["none",...or()]}],w:[{w:[a,"screen",...ke()]}],"min-w":[{"min-w":[a,"screen","none",...ke()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...ke()]}],h:[{h:["screen","lh",...ke()]}],"min-h":[{"min-h":["screen","lh","none",...ke()]}],"max-h":[{"max-h":["screen","lh",...ke()]}],"font-size":[{text:["base",r,Ve,we]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,hi,ci]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Rt,b]}],"font-family":[{font:[fi,ui,t]}],"font-features":[{"font-features":[b]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,p,b]}],"line-clamp":[{"line-clamp":[$,"none",p,Fr]}],leading:[{leading:[s,...h()]}],"list-image":[{"list-image":["none",p,b]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",p,b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...yt(),"wavy"]}],"text-decoration-thickness":[{decoration:[$,"from-font","auto",p,we]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[$,"auto",p,b]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"tab-size":[{tab:[ae,p,b]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p,b]}],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",p,b]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Qn()}],"bg-repeat":[{bg:eo()}],"bg-size":[{bg:to()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ae,p,b],radial:["",p,b],conic:[ae,p,b]},mi,di]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:sr()}],"gradient-via-pos":[{via:sr()}],"gradient-to-pos":[{to:sr()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...yt(),"hidden","none"]}],"divide-style":[{divide:[...yt(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-bs":[{"border-bs":x()}],"border-color-be":[{"border-be":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...yt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$,p,b]}],"outline-w":[{outline:["",$,Ve,we]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",u,ut,ct]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",d,ut,ct]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[$,we]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",f,ut,ct]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[$,p,b]}],"mix-blend":[{"mix-blend":[...ro(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ro()}],"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":[$]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[p,b]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[$]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Qn()}],"mask-repeat":[{mask:eo()}],"mask-size":[{mask:to()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",p,b]}],filter:[{filter:["","none",p,b]}],blur:[{blur:no()}],brightness:[{brightness:[$,p,b]}],contrast:[{contrast:[$,p,b]}],"drop-shadow":[{"drop-shadow":["","none",y,ut,ct]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",$,p,b]}],"hue-rotate":[{"hue-rotate":[$,p,b]}],invert:[{invert:["",$,p,b]}],saturate:[{saturate:[$,p,b]}],sepia:[{sepia:["",$,p,b]}],"backdrop-filter":[{"backdrop-filter":["","none",p,b]}],"backdrop-blur":[{"backdrop-blur":no()}],"backdrop-brightness":[{"backdrop-brightness":[$,p,b]}],"backdrop-contrast":[{"backdrop-contrast":[$,p,b]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$,p,b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$,p,b]}],"backdrop-invert":[{"backdrop-invert":["",$,p,b]}],"backdrop-opacity":[{"backdrop-opacity":[$,p,b]}],"backdrop-saturate":[{"backdrop-saturate":[$,p,b]}],"backdrop-sepia":[{"backdrop-sepia":["",$,p,b]}],"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",p,b]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$,"initial",p,b]}],ease:[{ease:["linear","initial",A,p,b]}],delay:[{delay:[$,p,b]}],animate:[{animate:["none",C,p,b]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,p,b]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:vt()}],"rotate-x":[{"rotate-x":vt()}],"rotate-y":[{"rotate-y":vt()}],"rotate-z":[{"rotate-z":vt()}],scale:[{scale:wt()}],"scale-x":[{"scale-x":wt()}],"scale-y":[{"scale-y":wt()}],"scale-z":[{"scale-z":wt()}],"scale-3d":["scale-3d"],skew:[{skew:ir()}],"skew-x":[{"skew-x":ir()}],"skew-y":[{"skew-y":ir()}],transform:[{transform:[p,b,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],zoom:[{zoom:[ae,p,b]}],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"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",p,b]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":x()}],"scrollbar-track-color":[{"scrollbar-track":x()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":h()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":h()}],"scroll-pbe":[{"scroll-pbe":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",p,b]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[$,Ve,we,Fr]}],stroke:[{stroke:["none",...x()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function j(...e){return pi($s(e))}var yi=M("<p class=font-semibold>"),vi=M("<div class=flex-1><div class=text-muted-foreground>");const wi={info:{wrap:"border-sky-500/30 bg-sky-500/10",icon:"text-sky-500",Icon:xs},success:{wrap:"border-emerald-500/30 bg-emerald-500/10",icon:"text-emerald-500",Icon:hs},warning:{wrap:"border-amber-500/30 bg-amber-500/10",icon:"text-amber-500",Icon:Es},danger:{wrap:"border-rose-500/30 bg-rose-500/10",icon:"text-rose-500",Icon:ys}};function xi(e){const t=()=>wi[e.tone??"info"];return m($r,{get class(){return j("flex gap-3 rounded-lg border p-3 text-sm text-foreground",t().wrap,e.class)},get children(){return[m(it,{get component(){return t().Icon},get class(){return j("mt-0.5 h-4 w-4 shrink-0",t().icon)}}),(()=>{var r=vi(),n=r.firstChild;return T(r,m(te,{get when(){return e.title},get children(){var o=yi();return T(o,()=>e.title),o}}),n),T(n,()=>e.children),r})()]}})}var ki={};at(ki,{Fallback:()=>Jr,Image:()=>dt,Img:()=>Qr,Root:()=>en,useImageContext:()=>Nt});var Zr=pe();function Nt(){const e=ye(Zr);if(e===void 0)throw new Error("[kobalte]: `useImageContext` must be used within an `Image.Root` component");return e}function Jr(e){const t=Nt(),[r,n]=B(t.fallbackDelay()===void 0);return se(()=>{const o=t.fallbackDelay();if(o!==void 0){const s=window.setTimeout(()=>n(!0),o);ee(()=>window.clearTimeout(s))}}),m(te,{get when(){return Ot(()=>!!r())()&&t.imageLoadingStatus()!=="loaded"},get children(){return m(ie,_({as:"span"},e))}})}function Qr(e){const t=Nt(),[r,n]=B("idle");return se(lo(()=>e.src,o=>{if(!o){n("error");return}let s=!0;const i=new window.Image,a=l=>()=>{s&&n(l)};n("loading"),e.crossOrigin!==void 0&&(i.crossOrigin=e.crossOrigin),e.referrerPolicy!==void 0&&(i.referrerPolicy=e.referrerPolicy),i.onload=a("loaded"),i.onerror=a("error"),i.src=o,ee(()=>{s=!1})})),se(()=>{const o=r();o!=="idle"&&t.onImageLoadingStatusChange(o)}),m(te,{get when(){return r()==="loaded"},get children(){return m(ie,_({as:"img"},e))}})}function en(e){const[t,r]=q(e,["fallbackDelay","onLoadingStatusChange"]),[n,o]=B("idle"),s={fallbackDelay:()=>t.fallbackDelay,imageLoadingStatus:n,onImageLoadingStatusChange:i=>{var a;o(i),(a=t.onLoadingStatusChange)==null||a.call(t,i)}};return m(Zr.Provider,{value:s,get children(){return m(ie,_({as:"span"},r))}})}var dt=Object.assign(en,{Fallback:Jr,Img:Qr});function Si(e){return m(dt,{get class(){return j("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted",e.class)},get children(){return[m(dt.Img,{get src(){return e.src},get alt(){return e.alt},class:"h-full w-full object-cover"}),m(dt.Fallback,{class:"grid h-full w-full place-items-center text-xs font-medium text-muted-foreground",get children(){return e.fallback}})]}})}var Ci=M("<span>");const Ai={neutral:"bg-muted text-muted-foreground ring-border",success:"bg-emerald-500/15 text-emerald-600 ring-emerald-500/30",warning:"bg-amber-500/15 text-amber-600 ring-amber-500/30",danger:"bg-rose-500/15 text-rose-600 ring-rose-500/30",info:"bg-sky-500/15 text-sky-600 ring-sky-500/30"},Ei="badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";function $i(e){const[t,r]=q(e,["tone","class","children"]);return(()=>{var n=Ci();return Ae(n,_({get class(){return j(Ei,Ai[t.tone??"neutral"],t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var Pi=M("<button>");const Ii={primary:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-muted text-foreground hover:bg-muted/70",outline:"border border-border bg-transparent text-foreground hover:bg-muted",ghost:"bg-transparent text-foreground hover:bg-muted"},Ti="inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";function Oi(e){const[t,r]=q(e,["variant","class","type","children"]);return(()=>{var n=Pi();return Ae(n,_({get type(){return t.type??"button"},get class(){return j(Ti,Ii[t.variant??"primary"],t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var _i=M('<span class="text-base font-normal text-muted-foreground">'),Li=M('<div><span class="flex items-baseline gap-2 tabular-nums text-4xl font-bold tracking-tight text-foreground"><span>'),Mi=M("<svg><polyline stroke=hsl(var(--primary)) stroke-width=1.5 stroke-linecap=round style=transform-origin:center;transform-box:view-box></svg>",!1,!0,!1),Ri=M('<svg role=img aria-label="Analog clock"><circle fill=none stroke=hsl(var(--border)) stroke-width=2></circle><polyline stroke=hsl(var(--foreground)) stroke-width=4 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><polyline stroke=hsl(var(--foreground)) stroke-width=3 stroke-linecap=round style=transform-origin:center;transform-box:view-box></polyline><circle r=3.5 fill=hsl(var(--primary))>'),zi=M("<svg><line stroke=hsl(var(--muted-foreground)) stroke-linecap=round></svg>",!1,!0,!1);const Fe=e=>String(e).padStart(2,"0");function Ni(e,t){if(!t)return{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};const r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(e),n=o=>{var s;return Number(((s=r.find(i=>i.type===o))==null?void 0:s.value)??0)};return{hours:n("hour")%24,minutes:n("minute"),seconds:n("second")}}function Di(e){const t=()=>{const{hours:r,minutes:n,seconds:o}=e.parts;let s=r,i="";return e.hour12&&(i=s>=12?"PM":"AM",s=s%12,s===0&&(s=12)),{time:e.seconds?`${Fe(s)}:${Fe(n)}:${Fe(o)}`:`${Fe(s)}:${Fe(n)}`,suffix:i}};return(()=>{var r=Li(),n=r.firstChild,o=n.firstChild;return T(o,()=>t().time),T(n,m(te,{get when(){return e.hour12},get children(){var s=_i();return T(s,()=>t().suffix),s}}),null),V(()=>fe(r,j("flex flex-col items-center justify-center",e.class))),r})()}function ji(e){const t=()=>e.size,r=()=>t()/2,n=()=>t()/2,o=()=>t()/2,s=()=>e.parts.hours%12*30+e.parts.minutes*.5,i=()=>e.parts.minutes*6+e.parts.seconds*.1,a=()=>e.parts.seconds*6,l=Array.from({length:12},(u,d)=>d),c=u=>{const d=o()*u;return`${r()},${n()} ${r()},${n()-d}`};return(()=>{var u=Ri(),d=u.firstChild,f=d.nextSibling,y=f.nextSibling,v=y.nextSibling;return T(u,m(st,{each:l,children:g=>{const w=g*30,A=o()-4,C=o()-(g%3===0?14:9),O=r()+A*Math.sin(w*Math.PI/180),I=n()-A*Math.cos(w*Math.PI/180),P=r()+C*Math.sin(w*Math.PI/180),z=n()-C*Math.cos(w*Math.PI/180);return(()=>{var k=zi();return E(k,"x1",O),E(k,"y1",I),E(k,"x2",P),E(k,"y2",z),E(k,"stroke-width",g%3===0?2:1),k})()}}),f),T(u,m(te,{get when(){return e.seconds},get children(){var g=Mi();return V(w=>{var A=c(.75),C=`rotate(${a()}deg)`;return A!==w.e&&E(g,"points",w.e=A),C!==w.t&&Ce(g,"transform",w.t=C),w},{e:void 0,t:void 0}),g}}),v),V(g=>{var w=t(),A=t(),C=`0 0 ${t()} ${t()}`,O=j("inline-block",e.class),I=r(),P=n(),z=o()-2,k=c(.45),h=`rotate(${s()}deg)`,S=c(.65),ne=`rotate(${i()}deg)`,L=r(),Y=n();return w!==g.e&&E(u,"width",g.e=w),A!==g.t&&E(u,"height",g.t=A),C!==g.a&&E(u,"viewBox",g.a=C),O!==g.o&&E(u,"class",g.o=O),I!==g.i&&E(d,"cx",g.i=I),P!==g.n&&E(d,"cy",g.n=P),z!==g.s&&E(d,"r",g.s=z),k!==g.h&&E(f,"points",g.h=k),h!==g.r&&Ce(f,"transform",g.r=h),S!==g.d&&E(y,"points",g.d=S),ne!==g.l&&Ce(y,"transform",g.l=ne),L!==g.u&&E(v,"cx",g.u=L),Y!==g.c&&E(v,"cy",g.c=Y),g},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0}),u})()}function Vi(e){const[t,r]=B(new Date);Ct(()=>{const l=setInterval(()=>r(new Date),1e3);ee(()=>clearInterval(l))});const n=()=>e.variant??"digital",o=()=>e.seconds??!0,s=()=>e.hour12??!1,i=()=>e.size??160,a=()=>Ni(t(),e.timeZone);return m(te,{get when(){return n()==="analog"},get fallback(){return m(Di,{get parts(){return a()},get seconds(){return o()},get hour12(){return s()},get class(){return e.class}})},get children(){return m(ji,{get parts(){return a()},get seconds(){return o()},get size(){return i()},get class(){return e.class}})}})}var Fi=M('<span class="relative inline-block h-[1em] w-[0.62em] overflow-hidden align-top"><span class="absolute inset-x-0 top-0 flex flex-col transition-transform duration-500 ease-out">'),Gi=M('<span class="block h-[1em] text-center leading-none">'),Ui=M('<span class="flex text-2xl font-bold tabular-nums text-foreground">'),Bi=M("<div>"),Wi=M('<div class="flex flex-col items-center"><span class="text-[10px] uppercase tracking-wide text-muted-foreground">');const Dt=1e3,jt=60*Dt,Vt=60*jt,tn=24*Vt,Ki=[0,1,2,3,4,5,6,7,8,9],Ft=e=>String(e).padStart(2,"0");function qi(e){const t=()=>e.char>="0"&&e.char<="9"?Number(e.char):0;return(()=>{var r=Fi(),n=r.firstChild;return T(n,m(Tt,{each:Ki,children:o=>(()=>{var s=Gi();return T(s,o),s})()})),V(o=>Ce(n,"transform",`translateY(${t()*-10}%)`)),r})()}function Yi(e){const t=()=>e.value.split("");return(()=>{var r=Ui();return T(r,m(Tt,{get each(){return t()},children:n=>m(qi,{get char(){return n()}})})),r})()}function Hi(e){const t=W(()=>e.to.getTime()),r=()=>Math.max(0,t()-Date.now()),[n,o]=B(r());let s=!1;const i=f=>{var y;f<=0&&!s&&(s=!0,(y=e.onComplete)==null||y.call(e))};i(n()),Ct(()=>{const f=setInterval(()=>{const y=r();o(y),i(y)},Dt);ee(()=>clearInterval(f))});const a=()=>Math.floor(n()/tn),l=()=>Math.floor(n()%tn/Vt),c=()=>Math.floor(n()%Vt/jt),u=()=>Math.floor(n()%jt/Dt),d=()=>[{label:"Days",value:String(a())},{label:"Hours",value:Ft(l())},{label:"Mins",value:Ft(c())},{label:"Secs",value:Ft(u())}];return(()=>{var f=Bi();return T(f,m(Tt,{get each(){return d()},children:y=>(()=>{var v=Wi(),g=v.firstChild;return T(v,m(Yi,{get value(){return y().value}}),g),T(g,()=>y().label),v})()})),V(()=>fe(f,j("flex gap-4",e.class))),f})()}var Xi=M("<kbd>");const Zi="inline-flex min-w-[1.5rem] items-center justify-center rounded border border-border bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground shadow-sm";function Ji(e){return(()=>{var t=Xi();return T(t,()=>e.children),V(()=>fe(t,j(Zi,e.class))),t})()}function Qi(e){return(...t)=>{for(const r of e)r&&r(...t)}}const ea=e=>typeof e=="function"&&!e.length?e():e,ta=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function rn(e){const t={};let r;for(;r=ta.exec(e);)t[r[1]]=r[2];return t}function Gt(e,t){if(typeof e=="string"){if(typeof t=="string")return`${e};${t}`;e=rn(e)}else typeof t=="string"&&(t=rn(t));return{...e,...t}}function ra(...e){return Qi(e)}function na(e){return Object.prototype.toString.call(e)==="[object String]"}function nn(e){return t=>`${e()}-${t}`}function on(e,t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(Math.max(e,t),r)}function Ge(e,t){return _(e,t)}var Ue=new Map,sn=new Set;function an(){if(typeof window>"u"||document.body===null)return;const e=r=>{if(!r.target)return;let n=Ue.get(r.target);n||(n=new Set,Ue.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{if(!r.target)return;const n=Ue.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),Ue.delete(r.target)),Ue.size===0)){for(const o of sn)o();sn.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?an():document.addEventListener("DOMContentLoaded",an));let Ut=new Map,Bt=!1;try{Bt=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let ft=!1;try{ft=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const ln={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class oa{constructor(t,r={}){this.numberFormatter=sa(t,r),this.options=r}format(t){var n;let r="";if(!Bt&&this.options.signDisplay!=null?r=ia(this.numberFormatter,this.options.signDisplay,t):r=this.numberFormatter.format(t),this.options.style==="unit"&&!ft){let{unit:o,unitDisplay:s="short",locale:i}=this.resolvedOptions();if(!o)return r;let a=(n=ln[o])==null?void 0:n[s];r+=a[i]||a.default}return r}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(r)}`}formatRangeToParts(t,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(r);return[...n.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Bt&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!ft&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}}function sa(e,t={}){var s;let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),t.style==="unit"&&!ft){let{unit:i,unitDisplay:a="short"}=t;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!((s=ln[i])!=null&&s[a]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(Ut.has(n))return Ut.get(n);let o=new Intl.NumberFormat(e,t);return Ut.set(n,o),o}function ia(e,t,r){if(t==="auto")return e.format(r);if(t==="never")return e.format(Math.abs(r));{let n=!1;if(t==="always"?n=r>0||Object.is(r,0):t==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let o=e.format(-r),s=e.format(r),i=o.replace(s,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(s,"!!!").replace(i,"+").replace("!!!",s)}else return e.format(r)}}var aa=new Set(["Avst","Arab","Armi","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),la=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function ca(e){if(Intl.Locale){const r=new Intl.Locale(e).maximize().script??"";return aa.has(r)}const t=e.split("-")[0];return la.has(t)}function ua(e){return ca(e)?"rtl":"ltr"}function cn(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:ua(e)}}var Wt=cn(),Be=new Set;function un(){Wt=cn();for(const e of Be)e(Wt)}function da(){const[e,t]=B(Wt),r=W(()=>e());return Ct(()=>{Be.size===0&&window.addEventListener("languagechange",un),Be.add(t),ee(()=>{Be.delete(t),Be.size===0&&window.removeEventListener("languagechange",un)})}),{locale:()=>r().locale,direction:()=>r().direction}}var fa=pe();function ga(){const e=da();return ye(fa)||e}function dn(e){const{locale:t}=ga();return W(()=>new oa(t(),ea(e)))}function fn(e){return t=>(e(t),()=>e(void 0))}var gn=pe();function gt(){const e=ye(gn);if(e===void 0)throw new Error("[kobalte]: `useMeterContext` must be used within a `Meter.Root` component");return e}function ma(e){const t=gt(),[r,n]=q(e,["style"]);return m(ie,_({as:"div",get style(){return Gt({"--kb-meter-fill-width":t.meterFillWidth()},r.style)}},()=>t.dataset(),n))}function ha(e){const t=gt(),r=Ge({id:t.generateId("label")},e),[n,o]=q(r,["id"]);return se(()=>ee(t.registerLabelId(n.id))),m(ie,_({as:"span",get id(){return n.id}},()=>t.dataset(),o))}function ba(e){const t=`meter-${pr()}`,r=Ge({id:t,value:0,minValue:0,maxValue:100,role:"meter",indeterminate:!1},e),[n,o]=q(r,["value","minValue","maxValue","getValueLabel","role","aria-valuetext","aria-labelledby","aria-valuemax","aria-valuemin","aria-valuenow","indeterminate"]),[s,i]=B(),a=dn(()=>({style:"percent"})),l=()=>on(n.value,n.minValue,n.maxValue),c=()=>(l()-n.minValue)/(n.maxValue-n.minValue),u=()=>{if(!n.indeterminate)return n.getValueLabel?n.getValueLabel({value:l(),min:n.minValue,max:n.maxValue}):a().format(c())},d=()=>`${c()*100}%`,f=W(()=>({})),y={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:s,meterFillWidth:d,generateId:nn(()=>o.id),registerLabelId:fn(i)};return m(gn.Provider,{value:y,get children(){return m(ie,_({as:"div",get role(){return n.role||"meter"},get"aria-valuenow"(){return Ot(()=>!!n.indeterminate)()?void 0:l()},get"aria-valuemin"(){return n.minValue},get"aria-valuemax"(){return n.maxValue},get"aria-valuetext"(){return u()},get"aria-labelledby"(){return s()}},f,o))}})}function pa(e){const t=gt();return m(ie,_({as:"div"},()=>t.dataset(),e))}function ya(e){const t=gt();return m(ie,_({as:"div"},()=>t.dataset(),e,{get children(){return t.valueLabel()}}))}var le=Object.assign(ba,{Fill:ma,Label:ha,Track:pa,ValueLabel:ya}),va=M('<div class="flex items-center justify-between text-sm text-foreground">');function wa(e){const t=()=>{const r=e.max??100;return r<=0?0:Math.max(0,Math.min(100,e.value/r*100))};return m(le,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return j("flex flex-col gap-1.5",e.class)},get children(){return[m(te,{get when(){return e.label},get children(){var r=va();return T(r,m(le.Label,{get children(){return e.label}}),null),T(r,m(le.ValueLabel,{class:"text-muted-foreground"}),null),r}}),m(le.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return m(le.Fill,{class:"h-full rounded-full bg-primary transition-all duration-500",get style(){return{width:`${t()}%`}}})}})]}})}var xa={};at(xa,{Fill:()=>hn,Label:()=>bn,Progress:()=>Pe,Root:()=>pn,Track:()=>yn,ValueLabel:()=>vn,useProgressContext:()=>We});var mn=pe();function We(){const e=ye(mn);if(e===void 0)throw new Error("[kobalte]: `useProgressContext` must be used within a `Progress.Root` component");return e}function hn(e){const t=We(),[r,n]=q(e,["style"]);return m(le.Fill,_({get style(){return Gt({"--kb-progress-fill-width":t.progressFillWidth()},r.style)}},()=>t.dataset(),n))}function bn(e){const t=We(),r=Ge({id:t.generateId("label")},e),[n,o]=q(r,["id"]);return se(()=>ee(t.registerLabelId(n.id))),m(le.Label,_({get id(){return n.id}},()=>t.dataset(),o))}function pn(e){const t=`progress-${pr()}`,r=Ge({id:t,value:0,minValue:0,maxValue:100},e),[n,o]=q(r,["value","minValue","maxValue","indeterminate","getValueLabel"]),[s,i]=B(),a=dn(()=>({style:"percent"})),l=()=>on(n.value,n.minValue,n.maxValue),c=()=>(l()-n.minValue)/(n.maxValue-n.minValue),u=()=>{if(!n.indeterminate)return n.getValueLabel?n.getValueLabel({value:l(),min:n.minValue,max:n.maxValue}):a().format(c())},d=()=>n.indeterminate?void 0:`${c()*100}%`,f=W(()=>{let v;return n.indeterminate||(v=c()===1?"complete":"loading"),{"data-progress":v,"data-indeterminate":n.indeterminate?"":void 0}}),y={dataset:f,value:l,valuePercent:c,valueLabel:u,labelId:s,progressFillWidth:d,generateId:nn(()=>o.id),registerLabelId:fn(i)};return m(mn.Provider,{value:y,get children(){return m(le,_({role:"progressbar",get indeterminate(){return n.indeterminate||!1}},f,r))}})}function yn(e){const t=We();return m(le.Track,_(()=>t.dataset(),e))}function vn(e){const t=We();return m(le.ValueLabel,_(()=>t.dataset(),e))}var Pe=Object.assign(pn,{Fill:hn,Label:bn,Track:yn,ValueLabel:vn}),ka=M('<div class="flex items-center justify-between text-sm text-foreground">');function Sa(e){const t=()=>{const r=e.max??100;return r<=0?0:Math.max(0,Math.min(100,e.value/r*100))};return m(Pe,{get value(){return e.value},minValue:0,get maxValue(){return e.max??100},get class(){return j("flex flex-col gap-1.5",e.class)},get children(){return[m(te,{get when(){return e.label},get children(){var r=ka();return T(r,m(Pe.Label,{get children(){return e.label}}),null),T(r,m(Pe.ValueLabel,{class:"text-muted-foreground"}),null),r}}),m(Pe.Track,{class:"h-2 overflow-hidden rounded-full bg-muted",get children(){return m(Pe.Fill,{class:"h-full rounded-full bg-primary transition-all duration-500",get style(){return{width:`${t()}%`}}})}})]}})}var Ca=M("<div role=radiogroup>"),Aa=M("<div role=img>"),Ea=M('<button type=button role=radio class="rounded outline-none focus-visible:ring-2 focus-visible:ring-ring/40">');function $a(e){const[t,r]=B(0),n=()=>e.max??5,o=()=>Array.from({length:n()},(l,c)=>c+1),s=()=>t()>0?t():e.value,i=l=>{var c;e.readonly||(c=e.onChange)==null||c.call(e,l)},a=l=>j("h-5 w-5 transition-colors",l<=s()?"fill-primary text-primary":"fill-transparent text-muted-foreground");return m(te,{get when(){return!e.readonly},get fallback(){return(()=>{var l=Aa();return T(l,m(st,{get each(){return o()},children:c=>m(Ir,{get class(){return a(c)},"aria-hidden":"true"})})),V(c=>{var u=j("inline-flex items-center gap-1",e.class),d=`Rating ${e.value} of ${n()}`;return u!==c.e&&fe(l,c.e=u),d!==c.t&&E(l,"aria-label",c.t=d),c},{e:void 0,t:void 0}),l})()},get children(){var l=Ca();return l.addEventListener("mouseleave",()=>r(0)),T(l,m(st,{get each(){return o()},children:c=>(()=>{var u=Ea();return u.$$keydown=d=>{d.key==="ArrowRight"||d.key==="ArrowUp"?(d.preventDefault(),i(Math.min(e.value+1,n()))):(d.key==="ArrowLeft"||d.key==="ArrowDown")&&(d.preventDefault(),i(Math.max(e.value-1,0)))},u.$$click=()=>i(c),u.addEventListener("blur",()=>r(0)),u.addEventListener("focus",()=>r(c)),u.addEventListener("mouseenter",()=>r(c)),T(u,m(Ir,{get class(){return a(c)},"aria-hidden":"true"})),V(d=>{var f=e.value===c,y=`Rate ${c} of ${n()}`;return f!==d.e&&E(u,"aria-checked",d.e=f),y!==d.t&&E(u,"aria-label",d.t=y),d},{e:void 0,t:void 0}),u})()})),V(()=>fe(l,j("inline-flex items-center gap-1",e.class))),l}})}vr(["click","keydown"]);var Pa=M('<div role=progressbar aria-valuemin=0 aria-valuemax=100><svg class=-rotate-90><circle fill=none stroke=hsl(var(--muted))></circle><circle fill=none stroke=hsl(var(--primary)) stroke-linecap=round class=transition-all></circle></svg><div class="absolute inset-0 flex items-center justify-center text-sm font-medium text-foreground">');function Ia(e){const t=()=>e.size??96,r=()=>e.thickness??8,n=()=>Math.min(100,Math.max(0,e.value)),o=()=>(t()-r())/2,s=()=>2*Math.PI*o(),i=()=>s()*(1-n()/100);return(()=>{var a=Pa(),l=a.firstChild,c=l.firstChild,u=c.nextSibling,d=l.nextSibling;return T(d,m(te,{get when(){return e.label},get fallback(){return`${Math.round(n())}%`},get children(){return e.label}})),V(f=>{var y=n(),v=j("relative inline-flex items-center justify-center",e.class),g=`${t()}px`,w=`${t()}px`,A=t(),C=t(),O=`0 0 ${t()} ${t()}`,I=t()/2,P=t()/2,z=o(),k=r(),h=t()/2,S=t()/2,ne=o(),L=r(),Y=String(s()),Q=String(i());return y!==f.e&&E(a,"aria-valuenow",f.e=y),v!==f.t&&fe(a,f.t=v),g!==f.a&&Ce(a,"width",f.a=g),w!==f.o&&Ce(a,"height",f.o=w),A!==f.i&&E(l,"width",f.i=A),C!==f.n&&E(l,"height",f.n=C),O!==f.s&&E(l,"viewBox",f.s=O),I!==f.h&&E(c,"cx",f.h=I),P!==f.r&&E(c,"cy",f.r=P),z!==f.d&&E(c,"r",f.d=z),k!==f.l&&E(c,"stroke-width",f.l=k),h!==f.u&&E(u,"cx",f.u=h),S!==f.c&&E(u,"cy",f.c=S),ne!==f.w&&E(u,"r",f.w=ne),L!==f.m&&E(u,"stroke-width",f.m=L),Y!==f.f&&E(u,"stroke-dasharray",f.f=Y),Q!==f.y&&E(u,"stroke-dashoffset",f.y=Q),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0}),a})()}function Ta(e,t){const[r,n]=B(wn(t==null?void 0:t()));return se(()=>{var o;n(((o=e())==null?void 0:o.tagName.toLowerCase())||wn(t==null?void 0:t()))}),r}function wn(e){return na(e)?e:void 0}var Oa={};at(Oa,{Root:()=>xn,Separator:()=>kn});function xn(e){let t;const r=Ge({orientation:"horizontal"},e),[n,o]=q(r,["ref","orientation"]),s=Ta(()=>t,()=>"hr");return m(ie,_({as:"hr",ref(i){var a=ra(l=>t=l,n.ref);typeof a=="function"&&a(i)},get role(){return s()!=="hr"?"separator":void 0},get"aria-orientation"(){return n.orientation==="vertical"?"vertical":void 0},get"data-orientation"(){return n.orientation}},o))}var kn=xn;function _a(e){const t=()=>e.orientation??"horizontal";return m(kn,{get orientation(){return t()},get class(){return j("shrink-0 border-0 bg-border m-0",t()==="vertical"?"w-px min-h-4 h-full self-stretch":"h-px w-full",e.class)}})}var La=M('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');function Ma(e){return(()=>{var t=La();return V(r=>{var n=j("h-5 w-5 animate-spin text-muted-foreground",e.class),o=e.label??"Loading";return n!==r.e&&E(t,"class",r.e=n),o!==r.t&&E(t,"aria-label",r.t=o),r},{e:void 0,t:void 0}),t})()}function Sn(e,t){e.indexOf(t)===-1&&e.push(t)}function Ra(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const Cn=(e,t,r)=>Math.min(Math.max(r,e),t),re={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Ke=e=>typeof e=="number",Ie=e=>Array.isArray(e)&&!Ke(e[0]),za=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e};function Na(e,t){return Ie(e)?e[za(0,e.length,t)]:e}const An=(e,t,r)=>-r*e+r*t+e,En=()=>{},he=e=>e,Kt=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function $n(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Kt(0,t,n);e.push(An(r,1,o))}}function Da(e){const t=[0];return $n(t,e-1),t}function ja(e,t=Da(e.length),r=he){const n=e.length,o=n-t.length;return o>0&&$n(t,o),s=>{let i=0;for(;i<n-2&&!(s<t[i+1]);i++);let a=Cn(0,1,Kt(t[i],t[i+1],s));return a=Na(r,i)(a),An(e[i],e[i+1],a)}}const Pn=e=>Array.isArray(e)&&Ke(e[0]),qt=e=>typeof e=="object"&&!!e.createAnimation,qe=e=>typeof e=="function",Va=e=>typeof e=="string",Yt={ms:e=>e*1e3,s:e=>e/1e3},In=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Fa=1e-7,Ga=12;function Ua(e,t,r,n,o){let s,i,a=0;do i=t+(r-t)/2,s=In(i,n,o)-e,s>0?r=i:t=i;while(Math.abs(s)>Fa&&++a<Ga);return i}function Ye(e,t,r,n){if(e===t&&r===n)return he;const o=s=>Ua(s,0,1,e,r);return s=>s===0||s===1?s:In(o(s),t,n)}const Ba=(e,t="end")=>r=>{r=t==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*e,o=t==="end"?Math.floor(n):Math.ceil(n);return Cn(0,1,o/e)},Wa={ease:Ye(.25,.1,.25,1),"ease-in":Ye(.42,0,1,1),"ease-in-out":Ye(.42,0,.58,1),"ease-out":Ye(0,0,.58,1)},Ka=/\((.*?)\)/;function Tn(e){if(qe(e))return e;if(Pn(e))return Ye(...e);const t=Wa[e];if(t)return t;if(e.startsWith("steps")){const r=Ka.exec(e);if(r){const n=r[1].split(",");return Ba(parseFloat(n[0]),n[1].trim())}}return he}class qa{constructor(t,r=[0,1],{easing:n,duration:o=re.duration,delay:s=re.delay,endDelay:i=re.endDelay,repeat:a=re.repeat,offset:l,direction:c="normal",autoplay:u=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=he,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((f,y)=>{this.resolve=f,this.reject=y}),n=n||re.easing,qt(n)){const f=n.createAnimation(r);n=f.easing,r=f.keyframes||r,o=f.duration||o}this.repeat=a,this.easing=Ie(n)?he:Tn(n),this.updateDuration(o);const d=ja(r,l,Ie(n)?n.map(Tn):he);this.tick=f=>{var y;s=s;let v=0;this.pauseTime!==void 0?v=this.pauseTime:v=(f-this.startTime)*this.rate,this.t=v,v/=1e3,v=Math.max(v-s,0),this.playState==="finished"&&this.pauseTime===void 0&&(v=this.totalDuration);const g=v/this.duration;let w=Math.floor(g),A=g%1;!A&&g>=1&&(A=1),A===1&&w--;const C=w%2;(c==="reverse"||c==="alternate"&&C||c==="alternate-reverse"&&!C)&&(A=1-A);const O=v>=this.totalDuration?1:Math.min(A,1),I=d(this.easing(O));t(I),this.pauseTime===void 0&&(this.playState==="finished"||v>=this.totalDuration+i)?(this.playState="finished",(y=this.resolve)===null||y===void 0||y.call(this,I)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},u&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class Ya{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const Ht=new WeakMap;function On(e){return Ht.has(e)||Ht.set(e,{transforms:[],values:new Map}),Ht.get(e)}function Ha(e,t){return e.has(t)||e.set(t,new Ya),e.get(t)}const Xa=["","X","Y","Z"],Za=["translate","scale","rotate","skew"],Te={x:"translateX",y:"translateY",z:"translateZ"},_n={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},Ja={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:_n,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:he},skew:_n},Oe=new Map,mt=e=>`--motion-${e}`,ht=["x","y","z"];Za.forEach(e=>{Xa.forEach(t=>{ht.push(e+t),Oe.set(mt(e+t),Ja[e])})});const Qa=(e,t)=>ht.indexOf(e)-ht.indexOf(t),el=new Set(ht),Xt=e=>el.has(e),tl=(e,t)=>{Te[t]&&(t=Te[t]);const{transforms:r}=On(e);Sn(r,t),e.style.transform=Ln(r)},Ln=e=>e.sort(Qa).reduce(rl,"").trim(),rl=(e,t)=>`${e} ${t}(var(${mt(t)}))`,Zt=e=>e.startsWith("--"),Mn=new Set;function nl(e){if(!Mn.has(e)){Mn.add(e);try{const{syntax:t,initialValue:r}=Oe.has(e)?Oe.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}const Jt=(e,t)=>document.createElement("div").animate(e,t),Rn={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Jt({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Jt({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Jt({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},Qt={},_e={};for(const e in Rn)_e[e]=()=>(Qt[e]===void 0&&(Qt[e]=Rn[e]()),Qt[e]);const ol=.015,sl=(e,t)=>{let r="";const n=Math.round(t/ol);for(let o=0;o<n;o++)r+=e(Kt(0,n-1,o))+", ";return r.substring(0,r.length-2)},zn=(e,t)=>qe(e)?_e.linearEasing()?`linear(${sl(e,t)})`:re.easing:Pn(e)?il(e):e,il=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`;function al(e,t){for(let r=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());return e}const ll=e=>Array.isArray(e)?e:[e];function er(e){return Te[e]&&(e=Te[e]),Xt(e)?mt(e):e}const He={get:(e,t)=>{t=er(t);let r=Zt(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){const n=Oe.get(t);n&&(r=n.initialValue)}return r},set:(e,t,r)=>{t=er(t),Zt(t)?e.style.setProperty(t,r):e.style[t]=r}};function cl(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function ul(e,t){var r;let n=(t==null?void 0:t.toDefaultUnit)||he;const o=e[e.length-1];if(Va(o)){const s=((r=o.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void 0?void 0:r[2])||"";s&&(n=i=>i+s)}return n}function dl(){return window.__MOTION_DEV_TOOLS_RECORD}function fl(e,t,r,n={},o){const s=dl(),i=n.record!==!1&&s;let a,{duration:l=re.duration,delay:c=re.delay,endDelay:u=re.endDelay,repeat:d=re.repeat,easing:f=re.easing,persist:y=!1,direction:v,offset:g,allowWebkitAcceleration:w=!1,autoplay:A=!0}=n;const C=On(e),O=Xt(t);let I=_e.waapi();O&&tl(e,t);const P=er(t),z=Ha(C.values,P),k=Oe.get(P);return cl(z.animation,!(qt(f)&&z.generator)&&n.record!==!1),()=>{const h=()=>{var L,Y;return(Y=(L=He.get(e,P))!==null&&L!==void 0?L:k==null?void 0:k.initialValue)!==null&&Y!==void 0?Y:0};let S=al(ll(r),h);const ne=ul(S,k);if(qt(f)){const L=f.createAnimation(S,t!=="opacity",h,P,z);f=L.easing,S=L.keyframes||S,l=L.duration||l}if(Zt(P)&&(_e.cssRegisterProperty()?nl(P):I=!1),O&&!_e.linearEasing()&&(qe(f)||Ie(f)&&f.some(qe))&&(I=!1),I){k&&(S=S.map(Q=>Ke(Q)?k.toDefaultUnit(Q):Q)),S.length===1&&(!_e.partialKeyframes()||i)&&S.unshift(h());const L={delay:Yt.ms(c),duration:Yt.ms(l),endDelay:Yt.ms(u),easing:Ie(f)?void 0:zn(f,l),direction:v,iterations:d+1,fill:"both"};a=e.animate({[P]:S,offset:g,easing:Ie(f)?f.map(Q=>zn(Q,l)):void 0},L),a.finished||(a.finished=new Promise((Q,Xe)=>{a.onfinish=Q,a.oncancel=Xe}));const Y=S[S.length-1];a.finished.then(()=>{y||(He.set(e,P,Y),a.cancel())}).catch(En),w||(a.playbackRate=1.000001)}else if(o&&O)S=S.map(L=>typeof L=="string"?parseFloat(L):L),S.length===1&&S.unshift(parseFloat(h())),a=new o(L=>{He.set(e,P,ne?ne(L):L)},S,Object.assign(Object.assign({},n),{duration:l,easing:f}));else{const L=S[S.length-1];He.set(e,P,k&&Ke(L)?k.toDefaultUnit(L):L)}return i&&s(e,t,S,{duration:l,delay:c,easing:f,repeat:d,offset:g},"motion-one"),z.setAnimation(a),a&&!A&&a.pause(),a}}const gl=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function ml(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function Nn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}typeof SuppressedError=="function"&&SuppressedError;const hl={any:0,all:1};function bl(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const s=ml(e),i=new WeakMap,a=c=>{c.forEach(u=>{const d=i.get(u.target);if(u.isIntersecting!==!!d)if(u.isIntersecting){const f=t(u);qe(f)?i.set(u.target,f):l.unobserve(u.target)}else d&&(d(u),i.delete(u.target))})},l=new IntersectionObserver(a,{root:r,rootMargin:n,threshold:typeof o=="number"?o:hl[o]});return s.forEach(c=>l.observe(c)),()=>l.disconnect()}function pl(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!yl(e,t):e!==t}function yl(e,t){const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function vl(e){return typeof e=="object"}function Dn(e,t){if(vl(e))return e;if(e&&t)return t[e]}let be;function wl(){if(!be)return;const e=be.sort(kl).map(Sl);e.forEach(jn),e.forEach(jn),be=void 0}function tr(e){be?Sn(be,e):(be=[e],requestAnimationFrame(wl))}function xl(e){be&&Ra(be,e)}const kl=(e,t)=>e.getDepth()-t.getDepth(),Sl=e=>e.animateUpdates(),jn=e=>e.next(),Vn=(e,t)=>new CustomEvent(e,{detail:{target:t}});function rr(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:r}}))}function Fn(e,t,r){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:r}}))}const Cl={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:r},{inViewOptions:n={}})=>{const{once:o}=n,s=Nn(n,["once"]);return bl(e,i=>{if(t(),Fn(e,"viewenter",i),!o)return a=>{r(),Fn(e,"viewleave",a)}},s)}},Gn=(e,t,r)=>n=>{n.pointerType&&n.pointerType!=="mouse"||(r(),rr(e,t,n))},bt={inView:Cl,hover:{isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:r})=>{const n=Gn(e,"hoverstart",t),o=Gn(e,"hoverend",r);return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",o)}}},press:{isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:r})=>{const n=s=>{r(),rr(e,"pressend",s),window.removeEventListener("pointerup",n)},o=s=>{t(),rr(e,"pressstart",s),window.addEventListener("pointerup",n)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",n)}}}},Un=["initial","animate",...Object.keys(bt),"exit"],Bn=new WeakMap;function Al(e={},t){let r,n=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},s={},i={};for(const g of Un)i[g]=typeof e[g]=="string"?e[g]:t==null?void 0:t.getContext()[g];const a=e.initial===!1?"animate":"initial";let l=Dn(e[a]||i[a],e.variants)||{},c=Nn(l,["transition"]);const u=Object.assign({},c);function*d(){var g,w;const A=c;c={};const C={};for(const k of Un){if(!o[k])continue;const h=Dn(e[k]);if(h)for(const S in h)S!=="transition"&&(c[S]=h[S],C[S]=gl((w=(g=h.transition)!==null&&g!==void 0?g:e.transition)!==null&&w!==void 0?w:{},S))}const O=new Set([...Object.keys(c),...Object.keys(A)]),I=[];O.forEach(k=>{var h;c[k]===void 0&&(c[k]=u[k]),pl(A[k],c[k])&&((h=u[k])!==null&&h!==void 0||(u[k]=He.get(r,k)),I.push(fl(r,k,c[k],C[k],qa)))}),yield;const P=I.map(k=>k()).filter(Boolean);if(!P.length)return;const z=c;r.dispatchEvent(Vn("motionstart",z)),Promise.all(P.map(k=>k.finished)).then(()=>{r.dispatchEvent(Vn("motioncomplete",z))}).catch(En)}const f=(g,w)=>()=>{o[g]=w,tr(v)},y=()=>{for(const g in bt){const w=bt[g].isActive(e),A=s[g];w&&!A?s[g]=bt[g].subscribe(r,{enable:f(g,!0),disable:f(g,!1)},e):!w&&A&&(A(),delete s[g])}},v={update:g=>{r&&(e=g,y(),tr(v))},setActive:(g,w)=>{r&&(o[g]=w,tr(v))},animateUpdates:d,getDepth:()=>n,getTarget:()=>c,getOptions:()=>e,getContext:()=>i,mount:g=>(r=g,Bn.set(r,v),y(),()=>{Bn.delete(r),xl(v);for(const w in s)s[w]()}),isMounted:()=>!!r};return v}function El(e){const t={},r=[];for(let n in e){const o=e[n];Xt(n)&&(Te[n]&&(n=Te[n]),r.push(n),n=mt(n));let s=Array.isArray(o)?o[0]:o;const i=Oe.get(n);i&&(s=Ke(o)?i.toDefaultUnit(o):o),t[n]=s}return r.length&&(t.transform=Ln(r)),t}var $l=pe();function Pl(e,t,r,n){const o=Al((r==null?void 0:r.initial)===!1?{...t(),initial:!1}:t(),n);return se(()=>{if(r&&!r.mount())return;const s=e(),i=o.mount(s);se(()=>o.update(t())),ee(()=>{r&&t().exit?(o.setActive("exit",!0),s.addEventListener("motioncomplete",i)):i()})}),[o,El(o.getTarget())]}var Il=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],Tl=["tag"],Wn=pe(),Kn=e=>{const[t,,r]=q(e,Il,Tl),[n,o]=Pl(()=>s,()=>({...t}),ye($l),ye(Wn));let s;return m(Wn.Provider,{value:n,get children(){return m(it,_(r,{ref:i=>{var a;s=i,(a=e.ref)==null||a.call(e,i)},get component(){return e.tag||"div"},get style(){return Gt(e.style,o)}}))}})},Ol=new Proxy(Kn,{get:(e,t)=>r=>m(Kn,_(r,{tag:t}))});const _l="a4ui-effects";function Ll(){try{return window.localStorage}catch{return null}}function Ml(){var t;try{if(new URLSearchParams(window.location.search).get("calm")==="1")return!1}catch{}const e=(t=Ll())==null?void 0:t.getItem(_l);return e===null?!0:e==="1"}function Rl(e){typeof document>"u"||document.documentElement.classList.toggle("calm",!e)}const qn=Ml();Rl(qn);const[zl]=B(qn);function Nl(){return!zl()}const Dl="(prefers-reduced-motion: reduce)";function Yn(){return typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(Dl).matches}const jl="a4ui-motion-forced";function Vl(){try{return window.localStorage}catch{return null}}const[Hn]=B(((Jn=Vl())==null?void 0:Jn.getItem(jl))==="1");typeof document<"u"&&document.documentElement.classList.toggle("force-motion",K(Hn));function Fl(){return Nl()||Yn()&&!Hn()}const Gl=e=>1-(1-e)**3;function Ul(e,t=600){const[r,n]=B(0);let o;return se(()=>{const s=e();if(Fl()){o!==void 0&&cancelAnimationFrame(o),n(s);return}const i=K(r);if(i===s)return;o!==void 0&&cancelAnimationFrame(o);const a=performance.now(),l=c=>{const u=c-a,d=Math.min(1,u/t);n(i+(s-i)*Gl(d)),o=d<1?requestAnimationFrame(l):void 0};o=requestAnimationFrame(l)}),ee(()=>{o!==void 0&&cancelAnimationFrame(o)}),r}var Xn=M("<div>");function Bl(e){const[t,r]=q(e,["class","children","glass","glow"]),n=()=>(t.glow??t.glass)===!0;return(()=>{var o=Xn();return Ae(o,_({get class(){return j(t.glass?"card rounded-xl text-card-foreground":"rounded-xl border border-border bg-card text-card-foreground shadow-sm",n()&&"glow-edge",t.class)}},r),!1,!0),T(o,()=>t.children),o})()}function Wl(e){const[t,r]=q(e,["class","children"]);return(()=>{var n=Xn();return Ae(n,_({get class(){return j("p-6 pt-0",t.class)}},r),!1,!0),T(n,()=>t.children),n})()}var Kl=M("<div>"),ql=M('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');const Yl={primary:"bg-primary/15 text-primary",success:"bg-emerald-500/15 text-emerald-600",danger:"bg-rose-500/15 text-rose-600",neutral:"bg-muted text-muted-foreground"};function Hl(e){const t=Yn(),r=Ul(()=>e.value),n=()=>(e.format??(o=>String(Math.round(o))))(r());return m(Ol.div,{initial:t?!1:{opacity:0,y:8},animate:{opacity:1,y:0},get transition(){return{duration:t?0:.32,delay:t?0:e.delay??0,easing:"ease-out"}},get children(){return m(Bl,{glass:!0,glow:!0,get class(){return e.class},get children(){return m(Wl,{class:"flex items-center gap-4 p-5",get children(){return[m(te,{get when(){return e.icon},get children(){var o=Kl();return T(o,()=>e.icon),V(()=>fe(o,j("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",Yl[e.tone??"neutral"]))),o}}),(()=>{var o=ql(),s=o.firstChild,i=s.nextSibling;return T(s,()=>e.label),T(i,n),o})()]}})}})}})}function pt(e){return(e.textContent??"").trim()}function Zn(){J("a4-button",{variant:"primary",disabled:!1,type:"button",label:""},(e,{element:t})=>{Z();const r=e.label||pt(t);return m(Oi,{get variant(){return e.variant},get disabled(){return e.disabled},get type(){return e.type},children:r})}),J("a4-badge",{tone:"neutral",label:""},(e,{element:t})=>(Z(),m($i,{get tone(){return e.tone},get children(){return e.label||pt(t)}}))),J("a4-alert",{tone:"info",heading:"",text:""},(e,{element:t})=>(Z(),m(xi,{get tone(){return e.tone},get title(){return e.heading||void 0},get children(){return e.text||pt(t)}}))),J("a4-spinner",{label:"Loading"},e=>(Z(),m(Ma,{get label(){return e.label}}))),J("a4-avatar",{src:"",alt:"",fallback:""},e=>(Z(),m(Si,{get src(){return e.src||void 0},get alt(){return e.alt},get fallback(){return e.fallback||""}}))),J("a4-progress",{value:0,max:100,label:""},e=>(Z(),m(Sa,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),J("a4-meter",{value:0,max:100,label:""},e=>(Z(),m(wa,{get value(){return e.value},get max(){return e.max},get label(){return e.label||void 0}}))),J("a4-ring-progress",{value:0,size:96,thickness:8,label:""},e=>(Z(),m(Ia,{get value(){return e.value},get size(){return e.size},get thickness(){return e.thickness},get label(){return e.label||void 0}}))),J("a4-stat",{label:"",value:0,tone:"neutral"},e=>(Z(),m(Hl,{get label(){return e.label},get value(){return e.value},get tone(){return e.tone}}))),J("a4-kbd",{label:""},(e,{element:t})=>(Z(),m(Ji,{get children(){return e.label||pt(t)}}))),J("a4-separator",{orientation:"horizontal"},e=>(Z(),m(_a,{get orientation(){return e.orientation}}))),J("a4-rating",{value:0,max:5,readonly:!1},(e,{element:t})=>(Z(),m($a,{get value(){return e.value},get max(){return e.max},get readonly(){return e.readonly},onChange:r=>t.dispatchEvent(new CustomEvent("change",{detail:r}))}))),J("a4-countdown",{to:""},e=>{Z();const t=e.to?new Date(e.to):new Date(Date.now()+864e5);return m(Hi,{to:t})}),J("a4-clock",{variant:"digital",seconds:!0,hour12:!1,timezone:"",size:160},e=>(Z(),m(Vi,{get variant(){return e.variant},get seconds(){return e.seconds},get hour12(){return e.hour12},get timeZone(){return e.timezone||void 0},get size(){return e.size}})))}return Zn(),kt.defineA4uiElements=Zn,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"}),kt})({});
|
package/dist/elements.js
CHANGED
|
@@ -5345,6 +5345,10 @@ var Ee = Object.assign(Nn, {
|
|
|
5345
5345
|
ValueLabel: jn
|
|
5346
5346
|
}), xa = /* @__PURE__ */ M('<div class="flex items-center justify-between text-sm text-foreground">');
|
|
5347
5347
|
function ka(e) {
|
|
5348
|
+
const t = () => {
|
|
5349
|
+
const r = e.max ?? 100;
|
|
5350
|
+
return r <= 0 ? 0 : Math.max(0, Math.min(100, e.value / r * 100));
|
|
5351
|
+
};
|
|
5348
5352
|
return m(Ee, {
|
|
5349
5353
|
get value() {
|
|
5350
5354
|
return e.value;
|
|
@@ -5362,20 +5366,25 @@ function ka(e) {
|
|
|
5362
5366
|
return e.label;
|
|
5363
5367
|
},
|
|
5364
5368
|
get children() {
|
|
5365
|
-
var
|
|
5366
|
-
return O(
|
|
5369
|
+
var r = xa();
|
|
5370
|
+
return O(r, m(Ee.Label, {
|
|
5367
5371
|
get children() {
|
|
5368
5372
|
return e.label;
|
|
5369
5373
|
}
|
|
5370
|
-
}), null), O(
|
|
5374
|
+
}), null), O(r, m(Ee.ValueLabel, {
|
|
5371
5375
|
class: "text-muted-foreground"
|
|
5372
|
-
}), null),
|
|
5376
|
+
}), null), r;
|
|
5373
5377
|
}
|
|
5374
5378
|
}), m(Ee.Track, {
|
|
5375
5379
|
class: "h-2 overflow-hidden rounded-full bg-muted",
|
|
5376
5380
|
get children() {
|
|
5377
5381
|
return m(Ee.Fill, {
|
|
5378
|
-
class: "h-full rounded-full bg-primary transition-all"
|
|
5382
|
+
class: "h-full rounded-full bg-primary transition-all duration-500",
|
|
5383
|
+
get style() {
|
|
5384
|
+
return {
|
|
5385
|
+
width: `${t()}%`
|
|
5386
|
+
};
|
|
5387
|
+
}
|
|
5379
5388
|
});
|
|
5380
5389
|
}
|
|
5381
5390
|
})];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const A4UI_VERSION = "0.8.
|
|
1
|
+
export declare const A4UI_VERSION = "0.8.1";
|
|
2
2
|
export { cn } from './lib/cn';
|
|
3
3
|
export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
|
|
4
4
|
export { useEffects, isCalm, setEffects } from './lib/effects';
|
|
@@ -11,6 +11,8 @@ export { Button, type ButtonVariant } from './ui/Button';
|
|
|
11
11
|
export { Card, CardHeader, CardTitle, CardContent } from './ui/Card';
|
|
12
12
|
export { Checkbox } from './ui/Checkbox';
|
|
13
13
|
export { DateField } from './ui/DateField';
|
|
14
|
+
export { TimeField, type TimeFieldProps } from './ui/TimeField';
|
|
15
|
+
export { DateTimeField, type DateTimeFieldProps } from './ui/DateTimeField';
|
|
14
16
|
export { Drawer } from './ui/Drawer';
|
|
15
17
|
export { Dropdown, type DropdownItem } from './ui/Dropdown';
|
|
16
18
|
export { Dropzone } from './ui/Dropzone';
|