burne-ui 1.8.0 → 1.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.
@@ -0,0 +1,14 @@
1
+ "use client";"use strict";const Re=require("react/jsx-runtime"),g=require("react"),z=require("gsap"),oo=require("gsap/CustomEase");function Yo(e){var o,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(o=0;o<i;o++)e[o]&&(r=Yo(e[o]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function rn(){for(var e,o,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(o=Yo(e))&&(n&&(n+=" "),n+=o);return n}const nn=(e,o)=>{const r=new Array(e.length+o.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<o.length;n++)r[e.length+n]=o[n];return r},tn=(e,o)=>({classGroupId:e,validator:o}),Ko=(e=new Map,o=null,r)=>({nextPart:e,validators:o,classGroupId:r}),Fe="-",Po=[],sn="arbitrary..",an=e=>{const o=cn(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return ln(s);const a=s.split(Fe),d=a[0]===""&&a.length>1?1:0;return Zo(a,d,o)},getConflictingClassGroupIds:(s,a)=>{if(a){const d=n[s],c=r[s];return d?c?nn(c,d):d:c||Po}return r[s]||Po}}},Zo=(e,o,r)=>{if(e.length-o===0)return r.classGroupId;const i=e[o],t=r.nextPart.get(i);if(t){const c=Zo(e,o+1,t);if(c)return c}const s=r.validators;if(s===null)return;const a=o===0?e.join(Fe):e.slice(o).join(Fe),d=s.length;for(let c=0;c<d;c++){const b=s[c];if(b.validator(a))return b.classGroupId}},ln=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=e.slice(1,-1),r=o.indexOf(":"),n=o.slice(0,r);return n?sn+n:void 0})(),cn=e=>{const{theme:o,classGroups:r}=e;return un(r,o)},un=(e,o)=>{const r=Ko();for(const n in e){const i=e[n];ao(i,r,n,o)}return r},ao=(e,o,r,n)=>{const i=e.length;for(let t=0;t<i;t++){const s=e[t];dn(s,o,r,n)}},dn=(e,o,r,n)=>{if(typeof e=="string"){fn(e,o,r);return}if(typeof e=="function"){gn(e,o,r,n);return}mn(e,o,r,n)},fn=(e,o,r)=>{const n=e===""?o:Qo(o,e);n.classGroupId=r},gn=(e,o,r,n)=>{if(pn(e)){ao(e(n),o,r,n);return}o.validators===null&&(o.validators=[]),o.validators.push(tn(r,e))},mn=(e,o,r,n)=>{const i=Object.entries(e),t=i.length;for(let s=0;s<t;s++){const[a,d]=i[s];ao(d,Qo(o,a),r,n)}},Qo=(e,o)=>{let r=e;const n=o.split(Fe),i=n.length;for(let t=0;t<i;t++){const s=n[t];let a=r.nextPart.get(s);a||(a=Ko(),r.nextPart.set(s,a)),r=a}return r},pn=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,bn=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,r=Object.create(null),n=Object.create(null);const i=(t,s)=>{r[t]=s,o++,o>e&&(o=0,n=r,r=Object.create(null))};return{get(t){let s=r[t];if(s!==void 0)return s;if((s=n[t])!==void 0)return i(t,s),s},set(t,s){t in r?r[t]=s:i(t,s)}}},ro="!",zo=":",hn=[],Mo=(e,o,r,n,i)=>({modifiers:e,hasImportantModifier:o,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),vn=e=>{const{prefix:o,experimentalParseClassName:r}=e;let n=i=>{const t=[];let s=0,a=0,d=0,c;const b=i.length;for(let k=0;k<b;k++){const O=i[k];if(s===0&&a===0){if(O===zo){t.push(i.slice(d,k)),d=k+1;continue}if(O==="/"){c=k;continue}}O==="["?s++:O==="]"?s--:O==="("?a++:O===")"&&a--}const p=t.length===0?i:i.slice(d);let w=p,v=!1;p.endsWith(ro)?(w=p.slice(0,-1),v=!0):p.startsWith(ro)&&(w=p.slice(1),v=!0);const y=c&&c>d?c-d:void 0;return Mo(t,v,w,y)};if(o){const i=o+zo,t=n;n=s=>s.startsWith(i)?t(s.slice(i.length)):Mo(hn,!1,s,void 0,!0)}if(r){const i=n;n=t=>r({className:t,parseClassName:i})}return n},Sn=e=>{const o=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{o.set(r,1e6+n)}),r=>{const n=[];let i=[];for(let t=0;t<r.length;t++){const s=r[t],a=s[0]==="[",d=o.has(s);a||d?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(s)):i.push(s)}return i.length>0&&(i.sort(),n.push(...i)),n}},xn=e=>({cache:bn(e.cacheSize),parseClassName:vn(e),sortModifiers:Sn(e),postfixLookupClassGroupIds:yn(e),...an(e)}),yn=e=>{const o=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)o[r[n]]=!0;return o},wn=/\s+/,Tn=(e,o)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:t,postfixLookupClassGroupIds:s}=o,a=[],d=e.trim().split(wn);let c="";for(let b=d.length-1;b>=0;b-=1){const p=d[b],{isExternal:w,modifiers:v,hasImportantModifier:y,baseClassName:k,maybePostfixModifierPosition:O}=r(p);if(w){c=p+(c.length>0?" "+c:c);continue}let V=!!O,L;if(V){const B=k.substring(0,O);L=n(B);const f=L&&s[L]?n(k):void 0;f&&f!==L&&(L=f,V=!1)}else L=n(k);if(!L){if(!V){c=p+(c.length>0?" "+c:c);continue}if(L=n(k),!L){c=p+(c.length>0?" "+c:c);continue}V=!1}const ce=v.length===0?"":v.length===1?v[0]:t(v).join(":"),oe=y?ce+ro:ce,re=oe+L;if(a.indexOf(re)>-1)continue;a.push(re);const ne=i(L,V);for(let B=0;B<ne.length;++B){const f=ne[B];a.push(oe+f)}c=p+(c.length>0?" "+c:c)}return c},En=(...e)=>{let o=0,r,n,i="";for(;o<e.length;)(r=e[o++])&&(n=Jo(r))&&(i&&(i+=" "),i+=n);return i},Jo=e=>{if(typeof e=="string")return e;let o,r="";for(let n=0;n<e.length;n++)e[n]&&(o=Jo(e[n]))&&(r&&(r+=" "),r+=o);return r},No=(e,...o)=>{let r,n,i,t;const s=d=>{const c=o.reduce((b,p)=>p(b),e());return r=xn(c),n=r.cache.get,i=r.cache.set,t=a,a(d)},a=d=>{const c=n(d);if(c)return c;const b=Tn(d,r);return i(d,b),b};return t=s,(...d)=>t(En(...d))},kn=[],E=e=>{const o=r=>r[e]||kn;return o.isThemeGetter=!0,o},er=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,or=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Cn=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Dn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_n=/\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$/,On=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ln=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>Cn.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),Qe=e=>e.endsWith("%")&&h(e.slice(0,-1)),G=e=>Dn.test(e),rr=()=>!0,In=e=>_n.test(e)&&!On.test(e),lo=()=>!1,Fn=e=>Ln.test(e),An=e=>Rn.test(e),Pn=e=>!l(e)&&!u(e),zn=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)),Mn=e=>$(e,ir,lo),l=e=>er.test(e),j=e=>$(e,sr,In),Bo=e=>$(e,Vn,h),Nn=e=>$(e,lr,rr),Bn=e=>$(e,ar,lo),Go=e=>$(e,nr,lo),Gn=e=>$(e,tr,An),Ee=e=>$(e,cr,Fn),u=e=>or.test(e),ue=e=>ee(e,sr),Hn=e=>ee(e,ar),Ho=e=>ee(e,nr),Un=e=>ee(e,ir),Wn=e=>ee(e,tr),ke=e=>ee(e,cr,!0),$n=e=>ee(e,lr,!0),$=(e,o,r)=>{const n=er.exec(e);return n?n[1]?o(n[1]):r(n[2]):!1},ee=(e,o,r=!1)=>{const n=or.exec(e);return n?n[1]?o(n[1]):r:!1},nr=e=>e==="position"||e==="percentage",tr=e=>e==="image"||e==="url",ir=e=>e==="length"||e==="size"||e==="bg-size",sr=e=>e==="length",Vn=e=>e==="number",ar=e=>e==="family-name",lr=e=>e==="number"||e==="weight",cr=e=>e==="shadow",Uo=()=>{const e=E("color"),o=E("font"),r=E("text"),n=E("font-weight"),i=E("tracking"),t=E("leading"),s=E("breakpoint"),a=E("container"),d=E("spacing"),c=E("radius"),b=E("shadow"),p=E("inset-shadow"),w=E("text-shadow"),v=E("drop-shadow"),y=E("blur"),k=E("perspective"),O=E("aspect"),V=E("ease"),L=E("animate"),ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],re=()=>[...oe(),u,l],ne=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],f=()=>[u,l,d],R=()=>[H,"full","auto",...f()],Do=()=>[M,"none","subgrid",u,l],_o=()=>["auto",{span:["full",M,u,l]},M,u,l],Se=()=>[M,"auto",u,l],Oo=()=>["auto","min","max","fr",u,l],je=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...f()],q=()=>[H,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...f()],Xe=()=>[H,"screen","full","dvw","lvw","svw","min","max","fit",...f()],Ye=()=>[H,"screen","full","lh","dvh","lvh","svh","min","max","fit",...f()],m=()=>[e,u,l],Lo=()=>[...oe(),Ho,Go,{position:[u,l]}],Ro=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Io=()=>["auto","cover","contain",Un,Mn,{size:[u,l]}],Ke=()=>[Qe,ue,j],D=()=>["","none","full",c,u,l],_=()=>["",h,ue,j],xe=()=>["solid","dashed","dotted","double"],Fo=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>[h,Qe,Ho,Go],Ao=()=>["","none",y,u,l],ye=()=>["none",h,u,l],we=()=>["none",h,u,l],Ze=()=>[h,u,l],Te=()=>[H,"full",...f()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[G],breakpoint:[G],color:[rr],container:[G],"drop-shadow":[G],ease:["in","out","in-out"],font:[Pn],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[G],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[G],shadow:[G],spacing:["px",h],text:[G],"text-shadow":[G],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",H,l,u,O]}],container:["container"],"container-type":[{"@container":["","normal","size",u,l]}],"container-named":[zn],columns:[{columns:[h,l,u,a]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"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:re()}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{"inset-s":R(),start:R()}],end:[{"inset-e":R(),end:R()}],"inset-bs":[{"inset-bs":R()}],"inset-be":[{"inset-be":R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",u,l]}],basis:[{basis:[H,"full","auto",a,...f()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,H,"auto","initial","none",l]}],grow:[{grow:["",h,u,l]}],shrink:[{shrink:["",h,u,l]}],order:[{order:[M,"first","last","none",u,l]}],"grid-cols":[{"grid-cols":Do()}],"col-start-end":[{col:_o()}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":Do()}],"row-start-end":[{row:_o()}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Oo()}],"auto-rows":[{"auto-rows":Oo()}],gap:[{gap:f()}],"gap-x":[{"gap-x":f()}],"gap-y":[{"gap-y":f()}],"justify-content":[{justify:[...je(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...je()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":je()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:f()}],px:[{px:f()}],py:[{py:f()}],ps:[{ps:f()}],pe:[{pe:f()}],pbs:[{pbs:f()}],pbe:[{pbe:f()}],pt:[{pt:f()}],pr:[{pr:f()}],pb:[{pb:f()}],pl:[{pl:f()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":f()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":f()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],"inline-size":[{inline:["auto",...Xe()]}],"min-inline-size":[{"min-inline":["auto",...Xe()]}],"max-inline-size":[{"max-inline":["none",...Xe()]}],"block-size":[{block:["auto",...Ye()]}],"min-block-size":[{"min-block":["auto",...Ye()]}],"max-block-size":[{"max-block":["none",...Ye()]}],w:[{w:[a,"screen",...q()]}],"min-w":[{"min-w":[a,"screen","none",...q()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",r,ue,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,$n,Nn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Qe,l]}],"font-family":[{font:[Hn,Bn,o]}],"font-features":[{"font-features":[l]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,u,l]}],"line-clamp":[{"line-clamp":[h,"none",u,Bo]}],leading:[{leading:[t,...f()]}],"list-image":[{"list-image":["none",u,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:m()}],"text-color":[{text:m()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",u,j]}],"text-decoration-color":[{decoration:m()}],"underline-offset":[{"underline-offset":[h,"auto",u,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"tab-size":[{tab:[M,u,l]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,l]}],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",u,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Lo()}],"bg-repeat":[{bg:Ro()}],"bg-size":[{bg:Io()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,u,l],radial:["",u,l],conic:[M,u,l]},Wn,Gn]}],"bg-color":[{bg:m()}],"gradient-from-pos":[{from:Ke()}],"gradient-via-pos":[{via:Ke()}],"gradient-to-pos":[{to:Ke()}],"gradient-from":[{from:m()}],"gradient-via":[{via:m()}],"gradient-to":[{to:m()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:_()}],"border-w-x":[{"border-x":_()}],"border-w-y":[{"border-y":_()}],"border-w-s":[{"border-s":_()}],"border-w-e":[{"border-e":_()}],"border-w-bs":[{"border-bs":_()}],"border-w-be":[{"border-be":_()}],"border-w-t":[{"border-t":_()}],"border-w-r":[{"border-r":_()}],"border-w-b":[{"border-b":_()}],"border-w-l":[{"border-l":_()}],"divide-x":[{"divide-x":_()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:m()}],"border-color-x":[{"border-x":m()}],"border-color-y":[{"border-y":m()}],"border-color-s":[{"border-s":m()}],"border-color-e":[{"border-e":m()}],"border-color-bs":[{"border-bs":m()}],"border-color-be":[{"border-be":m()}],"border-color-t":[{"border-t":m()}],"border-color-r":[{"border-r":m()}],"border-color-b":[{"border-b":m()}],"border-color-l":[{"border-l":m()}],"divide-color":[{divide:m()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,u,l]}],"outline-w":[{outline:["",h,ue,j]}],"outline-color":[{outline:m()}],shadow:[{shadow:["","none",b,ke,Ee]}],"shadow-color":[{shadow:m()}],"inset-shadow":[{"inset-shadow":["none",p,ke,Ee]}],"inset-shadow-color":[{"inset-shadow":m()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:m()}],"ring-offset-w":[{"ring-offset":[h,j]}],"ring-offset-color":[{"ring-offset":m()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":m()}],"text-shadow":[{"text-shadow":["none",w,ke,Ee]}],"text-shadow-color":[{"text-shadow":m()}],opacity:[{opacity:[h,u,l]}],"mix-blend":[{"mix-blend":[...Fo(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Fo()}],"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":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":C()}],"mask-image-linear-to-pos":[{"mask-linear-to":C()}],"mask-image-linear-from-color":[{"mask-linear-from":m()}],"mask-image-linear-to-color":[{"mask-linear-to":m()}],"mask-image-t-from-pos":[{"mask-t-from":C()}],"mask-image-t-to-pos":[{"mask-t-to":C()}],"mask-image-t-from-color":[{"mask-t-from":m()}],"mask-image-t-to-color":[{"mask-t-to":m()}],"mask-image-r-from-pos":[{"mask-r-from":C()}],"mask-image-r-to-pos":[{"mask-r-to":C()}],"mask-image-r-from-color":[{"mask-r-from":m()}],"mask-image-r-to-color":[{"mask-r-to":m()}],"mask-image-b-from-pos":[{"mask-b-from":C()}],"mask-image-b-to-pos":[{"mask-b-to":C()}],"mask-image-b-from-color":[{"mask-b-from":m()}],"mask-image-b-to-color":[{"mask-b-to":m()}],"mask-image-l-from-pos":[{"mask-l-from":C()}],"mask-image-l-to-pos":[{"mask-l-to":C()}],"mask-image-l-from-color":[{"mask-l-from":m()}],"mask-image-l-to-color":[{"mask-l-to":m()}],"mask-image-x-from-pos":[{"mask-x-from":C()}],"mask-image-x-to-pos":[{"mask-x-to":C()}],"mask-image-x-from-color":[{"mask-x-from":m()}],"mask-image-x-to-color":[{"mask-x-to":m()}],"mask-image-y-from-pos":[{"mask-y-from":C()}],"mask-image-y-to-pos":[{"mask-y-to":C()}],"mask-image-y-from-color":[{"mask-y-from":m()}],"mask-image-y-to-color":[{"mask-y-to":m()}],"mask-image-radial":[{"mask-radial":[u,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":C()}],"mask-image-radial-to-pos":[{"mask-radial-to":C()}],"mask-image-radial-from-color":[{"mask-radial-from":m()}],"mask-image-radial-to-color":[{"mask-radial-to":m()}],"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":oe()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":C()}],"mask-image-conic-to-pos":[{"mask-conic-to":C()}],"mask-image-conic-from-color":[{"mask-conic-from":m()}],"mask-image-conic-to-color":[{"mask-conic-to":m()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Lo()}],"mask-repeat":[{mask:Ro()}],"mask-size":[{mask:Io()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,l]}],filter:[{filter:["","none",u,l]}],blur:[{blur:Ao()}],brightness:[{brightness:[h,u,l]}],contrast:[{contrast:[h,u,l]}],"drop-shadow":[{"drop-shadow":["","none",v,ke,Ee]}],"drop-shadow-color":[{"drop-shadow":m()}],grayscale:[{grayscale:["",h,u,l]}],"hue-rotate":[{"hue-rotate":[h,u,l]}],invert:[{invert:["",h,u,l]}],saturate:[{saturate:[h,u,l]}],sepia:[{sepia:["",h,u,l]}],"backdrop-filter":[{"backdrop-filter":["","none",u,l]}],"backdrop-blur":[{"backdrop-blur":Ao()}],"backdrop-brightness":[{"backdrop-brightness":[h,u,l]}],"backdrop-contrast":[{"backdrop-contrast":[h,u,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,u,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,u,l]}],"backdrop-invert":[{"backdrop-invert":["",h,u,l]}],"backdrop-opacity":[{"backdrop-opacity":[h,u,l]}],"backdrop-saturate":[{"backdrop-saturate":[h,u,l]}],"backdrop-sepia":[{"backdrop-sepia":["",h,u,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":f()}],"border-spacing-x":[{"border-spacing-x":f()}],"border-spacing-y":[{"border-spacing-y":f()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",u,l]}],ease:[{ease:["linear","initial",V,u,l]}],delay:[{delay:[h,u,l]}],animate:[{animate:["none",L,u,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,u,l]}],"perspective-origin":[{"perspective-origin":re()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:we()}],"scale-x":[{"scale-x":we()}],"scale-y":[{"scale-y":we()}],"scale-z":[{"scale-z":we()}],"scale-3d":["scale-3d"],skew:[{skew:Ze()}],"skew-x":[{"skew-x":Ze()}],"skew-y":[{"skew-y":Ze()}],transform:[{transform:[u,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:re()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Te()}],"translate-x":[{"translate-x":Te()}],"translate-y":[{"translate-y":Te()}],"translate-z":[{"translate-z":Te()}],"translate-none":["translate-none"],zoom:[{zoom:[M,u,l]}],accent:[{accent:m()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:m()}],"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",u,l]}],"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":m()}],"scrollbar-track-color":[{"scrollbar-track":m()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mbs":[{"scroll-mbs":f()}],"scroll-mbe":[{"scroll-mbe":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pbs":[{"scroll-pbs":f()}],"scroll-pbe":[{"scroll-pbe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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",u,l]}],fill:[{fill:["none",...m()]}],"stroke-w":[{stroke:[h,ue,j,Bo]}],stroke:[{stroke:["none",...m()]}],"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"]}},qn=(e,{cacheSize:o,prefix:r,experimentalParseClassName:n,extend:i={},override:t={}})=>(ie(e,"cacheSize",o),ie(e,"prefix",r),ie(e,"experimentalParseClassName",n),Ce(e.theme,t.theme),Ce(e.classGroups,t.classGroups),Ce(e.conflictingClassGroups,t.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),ie(e,"postfixLookupClassGroups",t.postfixLookupClassGroups),ie(e,"orderSensitiveModifiers",t.orderSensitiveModifiers),De(e.theme,i.theme),De(e.classGroups,i.classGroups),De(e.conflictingClassGroups,i.conflictingClassGroups),De(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),no(e,i,"postfixLookupClassGroups"),no(e,i,"orderSensitiveModifiers"),e),ie=(e,o,r)=>{r!==void 0&&(e[o]=r)},Ce=(e,o)=>{if(o)for(const r in o)ie(e,r,o[r])},De=(e,o)=>{if(o)for(const r in o)no(e,o,r)},no=(e,o,r)=>{const n=o[r];n!==void 0&&(e[r]=e[r]?e[r].concat(n):n)},jn=(e,...o)=>typeof e=="function"?No(Uo,e,...o):No(()=>qn(Uo(),e),...o),Xn='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',Yn="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",Kn=.5,Zn={xsmall:{size:.6875,line:.875},small:{size:.75,line:1},base:{size:.875,line:1.25},mid:{size:1,line:1.5},large:{size:1.15,line:1.75},xlarge:{size:1.5,line:2},"2xlarge":{size:1.875,line:2.25},"3xlarge":{size:2.25,line:2.5}},Qn={dark:{base:.15,mid:.2,large:.24},light:{base:.08,mid:.12,large:.16}},Jn={base:[0,2,4,-2],mid:[0,4,10,-6],large:[0,8,20,-12]},W={fontFamilySans:Xn,fontFamilyMono:Yn,shadowSize:Kn,textScale:Zn,shadowOpacity:Qn,shadowGeom:Jn},et=["none","base","mid","large"],co={base:"--shadow-base",mid:"--shadow-mid",large:"--shadow-large"},ot=W.shadowSize,ur=W.shadowOpacity,dr={base:[W.shadowGeom.base],mid:[W.shadowGeom.mid],large:[W.shadowGeom.large]};function rt(e){return`var(--shadow-${e})`}const nt={namespace:"burne",tailwindBridge:{"font-sans":"font-family-sans","font-mono":"font-family-mono","spacing-xsmall":"space-xsmall","spacing-small":"space-small","spacing-base":"space-base","spacing-mid":"space-mid","spacing-large":"space-large","spacing-xlarge":"space-xlarge","spacing-2xlarge":"space-2xlarge","spacing-3xlarge":"space-3xlarge","radius-xsmall":"radius-xsmall","radius-small":"radius-small","radius-base":"radius-base","radius-mid":"radius-mid","radius-large":"radius-large","color-background":"color-background","color-foreground":"color-foreground","color-muted":"color-muted","color-surface":"color-surface","color-border":"color-border","border-token":"color-border","color-primary":"color-primary","color-primary-foreground":"color-primary-foreground","color-primary-hover":"color-primary-hover","color-default-hover":"color-default-hover","color-transparent-hover":"color-transparent-hover","color-primary-tint":"color-primary-tint","color-primary-tint-strong":"color-primary-tint-strong","color-indicator":"color-indicator","color-indicator-foreground":"color-indicator-foreground","color-secondary":"color-secondary","color-secondary-foreground":"color-secondary-foreground","color-secondary-hover":"color-secondary-hover","color-tertiary":"color-tertiary","color-tertiary-foreground":"color-tertiary-foreground","color-tertiary-hover":"color-tertiary-hover","color-focus-ring":"color-focus-ring","color-focus-ring-danger":"color-focus-ring-danger","color-focus-ring-success":"color-focus-ring-success","color-focus-ring-info":"color-focus-ring-info","color-focus-ring-warning":"color-focus-ring-warning","color-converge-ripple-primary-fill":"color-converge-ripple-primary-fill","color-converge-ripple-neutral":"color-converge-ripple-neutral","color-converge-ripple-neutral-muted":"color-converge-ripple-neutral-muted","color-converge-ripple-danger":"color-converge-ripple-danger","color-converge-ripple-info":"color-converge-ripple-info","color-converge-ripple-success":"color-converge-ripple-success","color-converge-ripple-warning":"color-converge-ripple-warning","color-danger":"color-danger","color-danger-foreground":"color-danger-foreground","color-danger-fill-hover":"color-danger-fill-hover","color-success":"color-success","color-success-foreground":"color-success-foreground","color-success-fill-hover":"color-success-fill-hover","color-info":"color-info","color-info-foreground":"color-info-foreground","color-info-fill-hover":"color-info-fill-hover","color-warning":"color-warning","color-warning-foreground":"color-warning-foreground","color-warning-fill-hover":"color-warning-fill-hover","color-surface-tint-danger":"color-surface-tint-danger","color-surface-tint-success":"color-surface-tint-success","color-surface-tint-info":"color-surface-tint-info","color-surface-tint-warning":"color-surface-tint-warning","color-surface-tint-danger-hover":"color-surface-tint-danger-hover","color-surface-tint-success-hover":"color-surface-tint-success-hover","color-surface-tint-info-hover":"color-surface-tint-info-hover","color-surface-tint-warning-hover":"color-surface-tint-warning-hover","icon-xsmall":"icon-size-xsmall","icon-small":"icon-size-small","icon-base":"icon-size-base","icon-mid":"icon-size-mid","icon-large":"icon-size-large","icon-xlarge":"icon-size-xlarge","icon-2xlarge":"icon-size-2xlarge","icon-3xlarge":"icon-size-3xlarge"}},tt=["xsmall","small","base","mid","large","xlarge","2xlarge","3xlarge"],it=["xsmall","small","base","mid","large"],st=["small","base","mid","xsmall","accent-header","header-1","header-2","large"],at=jn({extend:{theme:{spacing:[...tt],radius:[...it],text:[...st]}}});function x(...e){return at(rn(e))}const Q={small:{minWButton:"min-w-button-small",padX:"px-base",padY:"py-xsmall",affixPadX:"px-base",affixText:"text-base",controlPad:"px-base py-xsmall text-small",controlText:"small",icon:"icon-small",chevronIcon:"icon-small",spinnerIcon:"icon-small",spinnerBorder:"border-2",rounded:"rounded-small"},base:{minWButton:"min-w-button-base",padX:"px-mid",padY:"py-small",affixPadX:"px-mid",affixText:"text-base",controlPad:"px-mid py-small text-base",controlText:"base",icon:"icon-base",chevronIcon:"icon-base",spinnerIcon:"icon-base",spinnerBorder:"border-2",rounded:"rounded-base"},mid:{minWButton:"min-w-button-mid",padX:"px-large",padY:"py-base",affixPadX:"px-large",affixText:"text-mid",controlPad:"px-large py-base text-mid",controlText:"mid",icon:"icon-mid",chevronIcon:"icon-mid",spinnerIcon:"icon-mid",spinnerBorder:"border-2",rounded:"rounded-mid"},large:{minWButton:"min-w-button-large",padX:"px-xlarge",padY:"py-mid",affixPadX:"px-xlarge",affixText:"text-large",controlPad:"px-xlarge py-mid text-large",controlText:"large",icon:"icon-large",chevronIcon:"icon-large",spinnerIcon:"icon-large",spinnerBorder:"border-[2.5px]",rounded:"rounded-large"}},lt="(prefers-reduced-motion: reduce)";function fr(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia(lt)}function be(){var e;return((e=fr())==null?void 0:e.matches)??!1}function ct(e){const o=fr();if(!o)return()=>{};const r=()=>e();return o.addEventListener("change",r),()=>o.removeEventListener("change",r)}function ut(){return be()}function dt(){return!1}function ft(){return g.useSyncExternalStore(ct,ut,dt)}const gr={surfaceDuration:"--motion-surface-duration"},Be={interactiveDuration:280,interactiveEase:"power2.out",hoverLiftEase:"sine.inOut",tooltipDuration:200,modalDuration:280,switchThumbDuration:340,switchThumbEase:"back.out(1.4)",selectionFillEase:"back.out(1.25)",selectionFillDuration:280,hoverLiftScale:1.025,badgeAnchorHoverLiftScale:1.052,pressSqueezeScale:[1,.98,1],pressSqueezeDurationFactor:1.15,rippleDefaultDuration:700,rippleDefaultOpacityFrom:.42,rippleExpandableDuration:700,rippleExpandableOpacityFrom:.34,rippleEaseCss:"cubic-bezier(0.25, 0.55, 0.35, 0.95)",feedbackExpandDuration:720,expandDuration:200,expandOpenEase:"sine.inOut",surfaceTransitionDuration:600,toastDismissDuration:220,toastDismissEase:"power2.in",enableAnimations:!0,enableHoverLift:!0,enablePressSqueeze:!0,enableToggleButtonFill:!0,enableRipple:!0,enableExpandable:!0,enableToastStack:!0,enableAsyncButtonCrossfade:!0,enableContentFade:!0,enableFeedbackExpand:!0,progressFillDuration:600,progressFillEase:"power2.out",enableProgressFill:!0,progressIndeterminateDuration:1500,progressIndeterminateEase:"expo.inOut",loadingDotsDuration:900,loadingDotsEaseUp:"power2.out",loadingDotsEaseDown:"power2.in",enableLoadingDots:!0,enableModalMotion:!0,enableSwitchThumb:!0,enableTabsIndicator:!0,enablePaginationFlip:!0,enableSelectionFill:!0};let S={...Be},mr=0;const to=new Set;function gt(e){return to.add(e),()=>{to.delete(e)}}function mt(){return mr}function uo(e,o=S){if(typeof document>"u")return;const r=e??document.documentElement,n=gr.surfaceDuration;o.surfaceTransitionDuration===Be.surfaceTransitionDuration?r.style.removeProperty(n):r.style.setProperty(n,`${o.surfaceTransitionDuration}ms`)}function pr(e){S={...S,...e},mr+=1,uo(document.documentElement,S);for(const o of to)o()}function N(){return S}function pt(){return S.enableAnimations}function he(e){return S.enableAnimations&&S[e]}function bt(){return{duration:S.interactiveDuration/1e3,ease:S.interactiveEase}}function ht(){return{duration:S.modalDuration/1e3,ease:S.interactiveEase}}function br(){return S.interactiveDuration*S.pressSqueezeDurationFactor/1e3}function vt(){return{duration:S.selectionFillDuration/1e3,ease:S.selectionFillEase}}function St(){return{duration:S.tooltipDuration/1e3,ease:S.interactiveEase}}function xt(){return{duration:S.switchThumbDuration/1e3,ease:S.switchThumbEase}}function yt(){return{duration:S.expandDuration/1e3,ease:S.expandOpenEase}}function wt(){return{duration:S.tooltipDuration/1e3,ease:S.interactiveEase}}function Tt(){return{duration:S.feedbackExpandDuration/1e3}}function Et(){return{duration:S.progressFillDuration/1e3,ease:S.progressFillEase}}function kt(){return{duration:S.progressIndeterminateDuration/1e3,ease:S.progressIndeterminateEase}}function Ct(){return{duration:S.toastDismissDuration/1e3,ease:S.toastDismissEase}}const Dt=3;function _t(){const e=S.loadingDotsDuration/1e3;return{cycleSec:e,staggerSec:e/Dt,halfCycleSec:e/2,easeUp:S.loadingDotsEaseUp,easeDown:S.loadingDotsEaseDown,enabled:he("enableLoadingDots")}}const Ot="pointer-events-none absolute z-0 rounded-full",Je="brn-ripple";let Wo=!1,$o="";function Lt(){Wo||(z.registerPlugin(oo.CustomEase),Wo=!0)}function hr(){Lt();const e=N().rippleEaseCss;if($o!==e){const o=/cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(e);o?oo.CustomEase.create(Je,`${o[1]},${o[2]},${o[3]},${o[4]}`):oo.CustomEase.create(Je,"0.25,0.55,0.35,0.95"),$o=e}return Je}function F(...e){z.killTweensOf(e);for(const o of e)vr(o)}function fo(e,o){e.style.willChange=o?"transform":""}function vr(e){if(e instanceof HTMLElement){fo(e,!1);return}if(Array.isArray(e))for(const o of e)vr(o)}function Rt(e,o){return function(){if(fo(e,!1),typeof o=="function")return o.call(this)}}const eo=.12;function It({id:e,x:o,y:r,size:n,durationMs:i,opacityFrom:t,background:s,direction:a,onDone:d}){const c=g.useRef(null),b=g.useRef(d);return b.current=d,g.useLayoutEffect(()=>{const p=c.current;if(!p)return;let w=!1;F(p);const v=a==="out"?eo:1,y=a==="out"?1:eo,k=z.fromTo(p,{scale:v,autoAlpha:t},{scale:y,autoAlpha:0,duration:i/1e3,ease:hr(),onComplete:()=>{w||b.current(e)}});return()=>{w=!0,k.kill(),F(p)}},[e,o,r,n,i,t,s,a]),Re.jsx("span",{ref:c,className:Ot,style:{left:o-n/2,top:r-n/2,width:n,height:n,background:s,transformOrigin:"center center",transform:`scale(${a==="out"?eo:1})`},"aria-hidden":!0})}const Ft=g.memo(function({ripples:o,tone:r,onDone:n,durationMs:i=N().rippleDefaultDuration,opacityFrom:t=N().rippleDefaultOpacityFrom,direction:s="in"}){return Re.jsx(Re.Fragment,{children:o.map(a=>Re.jsx(It,{...a,background:r,durationMs:i,opacityFrom:t,direction:s,onDone:n},a.id))})});function At(e,o,r,n){return Math.max(...[[0,0],[r,0],[0,n],[r,n]].map(([t,s])=>Math.hypot(t-e,s-o)))}function go(e,o,r,n){const i=e.getBoundingClientRect(),t=o-i.left,s=r-i.top,a=At(t,s,i.width,i.height)*2;return{id:n,x:t,y:s,size:a}}function Pt(e,o){const r=e.currentTarget;return r?go(r,e.clientX,e.clientY,o):null}function zt(){const e=g.useRef(0),[o,r]=g.useState([]),n=g.useCallback(s=>{r(a=>a.filter(d=>d.id!==s))},[]),i=g.useCallback((s,a,d)=>{const c=++e.current,b=go(s,a,d,c);r(p=>[...p,b])},[]),t=g.useCallback(s=>{const a=s.currentTarget;a&&i(a,s.clientX,s.clientY)},[i]);return{ripples:o,pushFromPointer:t,pushAtClientCoords:i,dismiss:n}}const Mt=["small","base","mid","strong","bold"],Ge={small:"--font-w-small",base:"--font-w-base",mid:"--font-w-mid",strong:"--font-w-strong",bold:"--font-w-bold"},Sr={small:400,base:500,mid:600,strong:700,bold:800};function Nt(e){return`var(--font-w-${e})`}const J=W.textScale,xr=1024,mo=`(max-width: ${xr}px), (hover: none), (pointer: coarse)`,Bt=`${mo}, (any-pointer: coarse)`,Gt=["--border-width","--focus-ring-width","--focus-ring-offset","--motion-surface-duration","--motion-surface-ease","--motion-shadow-ease","--overlay-backdrop-color","--overlay-backdrop-blur","--overlay-backdrop-saturate","--overlay-backdrop-scrim","--z-dialog","--z-dropdown","--z-dropdown-sub","--z-popover","--z-toast","--z-tooltip","--color-background","--color-surface","--color-border","--color-foreground","--color-muted","--color-muted-foreground","--color-primary","--color-primary-foreground","--color-primary-hover","--color-default-hover","--color-transparent-hover","--color-primary-tint","--color-primary-tint-strong","--color-indicator","--color-indicator-foreground","--color-secondary","--color-secondary-foreground","--color-secondary-hover","--color-tertiary","--color-tertiary-foreground","--color-tertiary-hover","--color-focus-ring","--color-focus-ring-danger","--color-focus-ring-success","--color-focus-ring-info","--color-focus-ring-warning","--color-converge-ripple-primary-fill","--color-converge-ripple-neutral","--color-converge-ripple-neutral-muted","--color-converge-ripple-danger","--color-converge-ripple-info","--color-converge-ripple-success","--color-converge-ripple-warning","--color-danger","--color-danger-fill-hover","--color-danger-foreground","--color-success","--color-success-foreground","--color-success-fill-hover","--color-info","--color-info-foreground","--color-info-fill-hover","--color-warning","--color-warning-foreground","--color-warning-fill-hover","--color-surface-tint-danger","--color-surface-tint-success","--color-surface-tint-info","--color-surface-tint-warning","--color-surface-tint-danger-hover","--color-surface-tint-success-hover","--color-surface-tint-info-hover","--color-surface-tint-warning-hover","--font-family-sans","--font-family-mono","--font-w-small","--font-w-base","--font-w-mid","--font-w-strong","--font-w-bold","--space","--space-xsmall","--space-small","--space-base","--space-mid","--space-large","--space-xlarge","--space-2xlarge","--space-3xlarge","--size","--size-scale-xsmall","--size-scale-small","--size-scale-base","--size-scale-mid","--size-scale-large","--size-scale-xlarge","--size-scale-2xlarge","--size-scale-3xlarge","--selection-indicator-xsmall","--selection-indicator-small","--selection-indicator-base","--selection-indicator-mid","--selection-indicator-large","--selection-indicator-radius-xsmall","--selection-indicator-radius-small","--selection-indicator-radius-base","--selection-indicator-radius-mid","--selection-indicator-radius-large","--radius","--radius-xsmall","--radius-small","--radius-base","--radius-mid","--radius-large","--text-scale-xsmall","--text-scale-xsmall--line-height","--text-scale-small","--text-scale-small--line-height","--text-scale-base","--text-scale-base--line-height","--text-scale-mid","--text-scale-mid--line-height","--text-scale-large","--text-scale-large--line-height","--text-scale-xlarge","--text-scale-xlarge--line-height","--text-scale-2xlarge","--text-scale-2xlarge--line-height","--text-scale-3xlarge","--text-scale-3xlarge--line-height","--text-accent-header-size","--text-accent-header-line-height","--text-accent-header-weight","--text-header-1-size","--text-header-1-line-height","--text-header-1-weight","--text-header-2-size","--text-header-2-line-height","--text-header-2-weight","--text-large-size","--text-large-line-height","--text-large-weight","--text-base-size","--text-base-line-height","--text-base-weight","--text-small-size","--text-small-line-height","--text-small-weight","--text-mid-size","--text-mid-line-height","--text-mid-weight","--text-xsmall-size","--text-xsmall-line-height","--text-xsmall-weight","--max-component-xsmall","--max-component-small","--max-component-base","--max-component-mid","--max-component-large","--max-component-xlarge","--max-component-2xlarge","--button-min-width-small","--button-min-width-base","--button-min-width-mid","--button-min-width-large","--control-height-xsmall","--control-height-small","--control-height-base","--control-height-mid","--control-height-large","--control-size-xsmall","--control-size-small","--control-size-base","--control-size-mid","--control-size-large","--avatar-size-small","--avatar-size-base","--avatar-size-mid","--avatar-size-large","--icon-size-xsmall","--icon-size-small","--icon-size-base","--icon-size-mid","--icon-size-large","--icon-size-xlarge","--icon-size-2xlarge","--icon-size-3xlarge","--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density"];function T(e){return`var(--color-${e})`}function Ht(e,o){return o==null||!(o instanceof Node)?!0:!e.contains(o)}function po({enabled:e,targetRef:o,pointerInsideRef:r,skipHover:n,killMotionOnUnmount:i=!0,onEnter:t,onLeave:s}){return g.useEffect(()=>{if(!i)return;const a=o.current;return()=>{a&&F(a)}},[i,o]),g.useMemo(()=>({onPointerOver:c=>{if(!e||c.defaultPrevented)return;const b=c.currentTarget;if(!(c.target instanceof Node)||!b.contains(c.target)||!Ht(b,c.relatedTarget)||n!=null&&n())return;const p=o.current;p&&(r&&(r.current=!0),t(p,c))},onPointerOut:c=>{const b=c.currentTarget,p=c.relatedTarget;if(p instanceof Node&&b.contains(p)||(r&&(r.current=!1),!e)||n!=null&&n())return;const w=o.current;w&&s(w,c)}}),[e,t,s,r,n,o])}const io={force3D:!1};function Ut(e){return e||document.documentElement}function so(e,o){return typeof window>"u"?"none":getComputedStyle(Ut(o)).getPropertyValue(e).trim()||"none"}function ve(e){return e==="none"?"var(--shadow-none)":`var(${co[e]})`}const Ae=()=>ve("none"),ae=()=>ve("base"),yr=()=>ve("mid"),Wt=()=>ve("large");function $t(e,o){return so(e==="none"?"--shadow-none":co[e],o)}function He(e,o){e&&e.style.setProperty("--el-shadow",o)}function Vt(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia(mo).matches}function A(){return be()||Vt()||!he("enableHoverLift")}const qt=2.4,jt=.003,Xt=1.8,Yt=.002;function wr(e){const{width:o,height:r}=e.getBoundingClientRect(),n=Math.max(o,r,1),i=1-N().pressSqueezeScale[1];return 1-Math.min(Math.max(qt/n,jt),i)}function bo(e){return ho(e)}function Kt(e){return wr(e)}function ho(e){const{width:o,height:r}=e.getBoundingClientRect(),n=Math.max(o,r,1);return 1+Math.min(Math.max(Xt/n,Yt),N().hoverLiftScale-1)}function ge(e,o,r,n){if(A()){o||(F(e),z.set(e,{scale:1}),n&&e.style.setProperty("--el-shadow",n.idle??Ae()));return}F(e);const i=o?r!==void 0?r:ho(e):1,t=N();if(z.to(e,{scale:i,duration:t.interactiveDuration/1e3,ease:t.hoverLiftEase,overwrite:"auto",...io}),n){const s=n.idle??Ae();e.style.setProperty("--el-shadow",o?n.hover:s)}}function Zt(e){return!e.repeat&&(e.key==="Enter"||e.key===" ")}function Qt(e,o){var w;if(!he("enablePressSqueeze"))return(w=o==null?void 0:o.onReleaseStart)==null||w.call(o),Promise.resolve();F(e);const r=wr(e),n=N(),i=br(),t=i*.3,s=!A(),a=!!(o!=null&&o.pointerInside&&s),d=a?(o==null?void 0:o.liftScale)!==void 0?o.liftScale:ho(e):1,c=a?i:i*.5,b=a?n.hoverLiftEase:"sine.inOut",p=o==null?void 0:o.shadow;if(p){const v=p.idle??Ae();e.style.setProperty("--el-shadow",a?p.hover:v)}return new Promise(v=>{z.timeline({onComplete:()=>{v()}}).to(e,{scale:r,duration:t,ease:"power1.out",overwrite:"auto",...io}).add(()=>{var y;(y=o==null?void 0:o.onReleaseStart)==null||y.call(o)}).to(e,{scale:d,duration:c,ease:b,overwrite:"auto",...io})})}function Tr(e,o,r,n,i){const t=g.useCallback(a=>{ge(a,!0,n,i)},[n,i]),s=g.useCallback(a=>{ge(a,!1,n,i)},[n,i]);return po({enabled:o,targetRef:e,pointerInsideRef:r,skipHover:A,onEnter:t,onLeave:s})}const me="data-gloss-motion-init",vo="origin-center",Vo={rest:{angle1:-75,angle2:-45,shineX:0,shineY:50},hover:{angle1:-80,angle2:-45,shineX:10,shineY:50},press:{angle1:-75,angle2:-15,shineX:15,shineY:15}},Jt=120,ei=.35;function oi(e){const{width:o,height:r}=e.getBoundingClientRect(),n=Math.max(o,r,1);return Math.min(1,Math.max(ei,Jt/n))}function ri(e,o){const r=Vo.rest,n=Vo[o];if(o==="rest")return n;const i=oi(e);return{angle1:r.angle1+(n.angle1-r.angle1)*i,angle2:r.angle2+(n.angle2-r.angle2)*i,shineX:r.shineX+(n.shineX-r.shineX)*i,shineY:r.shineY+(n.shineY-r.shineY)*i}}function X(e,o){const r=getComputedStyle(e).getPropertyValue(o).trim();return r||(typeof document>"u"?"":getComputedStyle(document.documentElement).getPropertyValue(o).trim())}function ni(e,o){const r=ri(e,o);return{"--gloss-angle-1":`${r.angle1}deg`,"--gloss-angle-2":`${r.angle2}deg`,"--gloss-shine-x":r.shineX,"--gloss-shine-y":r.shineY}}function ti(e,o){const r=X(e,"--gloss-inset-top"),n=X(e,"--gloss-inset-bottom"),i=X(e,"--gloss-elevation"),t=X(e,"--gloss-elevation-hover")||i,s=X(e,"--gloss-inner-glow"),a=X(e,"--gloss-glow-hover"),d=X(e,"--gloss-press-inset"),c=`inset 0 0.425em 0.425em ${r}, inset 0 -0.225em 0.225em ${n}`,b=o==="hover"?`0 0.125em 0.3125em -0.1875em ${t}`:o==="press"?`0 0.04em 0.08em -0.0625em ${i}`:`0 0.0625em 0.125em -0.0625em ${i}`,p=o==="hover"?`inset 0 0 0.1em 0.25em ${a}`:`inset 0 0 0.05em 0.1em ${s}`,w=o==="press"?`inset 0 0.25em 0.06em 0 ${d}`:"inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";return`${c}, ${b}, ${p}, ${w}`}function se(e,o){return{...ni(e,o),boxShadow:ti(e,o)}}function Pe(e){F(e),z.set(e,{scale:1,...se(e,"rest")})}let K=null,Ie=0;function Er(e){if(A()){Pe(e);return}const o=e.matches(":hover")||e.matches(":focus-within");if(F(e),o){z.set(e,{scale:bo(e),...se(e,"hover")});return}Pe(e)}function ii(e){if(typeof document>"u")return;document.querySelectorAll(`[${me}]`).forEach(Er)}function si(){K||typeof document>"u"||(K=new MutationObserver(e=>{for(const o of e)if(o.type==="attributes"&&o.attributeName==="data-theme"){ii();return}}),K.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}))}function ai(){K==null||K.disconnect(),K=null}function li(e){e.hasAttribute(me)||(e.setAttribute(me,""),Ie+=1,si(),Pe(e))}function qo(e){e.hasAttribute(me)&&(e.removeAttribute(me),Ie=Math.max(0,Ie-1),Ie===0&&ai())}function So(e,o=!0){let r=null;return n=>{if(r&&r!==n&&(qo(r),r=null),e.current=n,n&&o){li(n),r=n;return}r&&(qo(r),r=null)}}function ci(e,o=!0){const r=g.useRef(null),n=g.useMemo(()=>So(r,o),[o]);return g.useCallback(i=>{n(i),r.current=i,typeof e=="function"?e(i):e&&(e.current=i)},[n,e])}function pe(e,o,r){if(A()){o||(F(e),z.set(e,{scale:1,...se(e,"rest")}));return}F(e);const n=N(),i=o?"hover":"rest",t=o?r!==void 0?r:bo(e):1;z.to(e,{scale:t,...se(e,i),duration:n.interactiveDuration/1e3,ease:n.hoverLiftEase,overwrite:"auto",force3D:!1})}function kr(e,o=!1,r,n){if(be())return Promise.resolve();const i=N();if(!he("enablePressSqueeze"))return n==null||n(),A()||pe(e,o,r),Promise.resolve();F(e);const t=Kt(e),s=br(),a=s*.3,d=s*1,c=!A(),b=o&&c,p=b?"hover":"rest",w=b?bo(e):1;return new Promise(v=>{z.timeline({onComplete:()=>{v()}}).to(e,{...se(e,"press"),scale:t,duration:a,ease:"power1.out",overwrite:"auto",force3D:!1}).add(()=>{n==null||n()}).to(e,{...se(e,p),force3D:!1,scale:w,duration:d,ease:i.hoverLiftEase,overwrite:"auto"})})}function Cr(e,o,r){const n=r==null?void 0:r.liftScale,i=r==null?void 0:r.pointerInsideRef;g.useLayoutEffect(()=>{if(!o)return;const a=e.current;a&&Pe(a)},[o,e]);const t=g.useCallback(a=>{pe(a,!0,n)},[n]),s=g.useCallback(a=>{pe(a,!1,n)},[n]);return po({enabled:o,targetRef:e,pointerInsideRef:i,skipHover:A,onEnter:t,onLeave:s})}function ui(e,o){const r=g.useRef(!1),n=g.useRef(!1),i=g.useRef(!1),t=g.useMemo(()=>So(e,o),[e,o]),s=g.useCallback(()=>{const v=e.current;if(!v||!o||A())return;const y=r.current||n.current;pe(v,y)},[o,e]),a=Cr(e,o,{pointerInsideRef:r});g.useLayoutEffect(()=>{if(!o)return;const v=e.current;if(!v||typeof ResizeObserver>"u")return;const y=new ResizeObserver(()=>{Er(v)});return y.observe(v),()=>y.disconnect()},[o,e]);const d=g.useCallback(v=>{a.onPointerOver(v),n.current&&s()},[a,s]),c=g.useCallback(v=>{a.onPointerOut(v),n.current&&s()},[a,s]),b=g.useCallback(()=>{o&&(n.current=!0,!(i.current||r.current)&&s())},[o,s]),p=g.useCallback(v=>{if(!o)return;const y=e.current;y&&v.relatedTarget instanceof Node&&y.contains(v.relatedTarget)||(n.current=!1,s())},[o,e,s]),w=g.useCallback(()=>{if(!o)return;const v=e.current;!v||be()||(r.current=!0,i.current=!0,kr(v,!0).finally(()=>{i.current=!1}))},[o,e]);return{bindShellRef:t,shellHoverMotionClass:o?vo:"",onShellPointerEnter:d,onShellPointerLeave:c,onShellFocusIn:b,onShellFocusOut:p,onShellPointerDown:w}}const Ue="animate-shadow origin-center";function di(){return{hover:ae()}}function xo(){return{idle:ae(),hover:yr()}}function fi(e,o,r=ae,n){g.useLayoutEffect(()=>{o&&He(e.current,r())},[o,e,r,n])}function Dr(e,o,r){const n=g.useMemo(()=>xo(),[]),i=(r==null?void 0:r.resolveIdle)??ae;g.useLayoutEffect(()=>{o&&He(e.current,i())},[o,e,i,r==null?void 0:r.idleSyncKey]);const t=g.useCallback(a=>{if(!o||a.defaultPrevented)return;const d=e.current;!d||A()||ge(d,!0,r==null?void 0:r.liftScale,n)},[o,r==null?void 0:r.liftScale,n,e]),s=g.useCallback(a=>{if(!o)return;const d=e.current;!d||A()||ge(d,!1,r==null?void 0:r.liftScale,n)},[o,r==null?void 0:r.liftScale,n,e]);return{motionClass:o?Ue:"",shadow:n,onPointerEnter:t,onPointerLeave:s}}function gi(e,o,r){const n=g.useMemo(()=>xo(),[]),i=(r==null?void 0:r.resolveIdle)??ae;g.useLayoutEffect(()=>{o&&He(e.current,i())},[o,e,i,r==null?void 0:r.idleSyncKey]);const t=Tr(e,o,r==null?void 0:r.pointerInsideRef,r==null?void 0:r.liftScale,n);return{motionClass:o?Ue:"",shadow:n,...t}}const de={danger:"text-danger",success:"text-success",info:"text-info",warning:"text-warning"},_r={danger:"bg-surface-tint-danger border-token",success:"bg-surface-tint-success border-token",info:"bg-surface-tint-info border-token",warning:"bg-surface-tint-warning border-token"},Or={danger:"bg-danger border border-transparent text-danger-foreground",success:"bg-success border border-transparent text-success-foreground",info:"bg-info border border-transparent text-info-foreground",warning:"bg-warning border border-transparent text-warning-foreground"},mi={danger:"text-danger-foreground",success:"text-success-foreground",info:"text-info-foreground",warning:"text-warning-foreground"},Lr={danger:"border-token-danger",success:"border-token-success",info:"border-token-info",warning:"border-token-warning"},Rr="surface-color-transition motion-reduce:transition-none",pi="text-color-transition motion-reduce:transition-none",bi={default:{"focus-visible":"hover:bg-default-hover focus-visible:bg-default-hover","focus-within":"hover:bg-default-hover focus-within:bg-default-hover"},"transparent-hover":{"focus-visible":"hover:bg-transparent-hover focus-visible:bg-transparent-hover","focus-within":"hover:bg-transparent-hover focus-within:bg-transparent-hover"},primary:{"focus-visible":"hover:bg-primary-hover focus-visible:bg-primary-hover","focus-within":"hover:bg-primary-hover focus-within:bg-primary-hover"},secondary:{"focus-visible":"hover:bg-secondary-hover focus-visible:bg-secondary-hover","focus-within":"hover:bg-secondary-hover focus-within:bg-secondary-hover"},danger:{"focus-visible":"hover:bg-surface-tint-danger focus-visible:bg-surface-tint-danger","focus-within":"hover:bg-surface-tint-danger focus-within:bg-surface-tint-danger"},warning:{"focus-visible":"hover:bg-surface-tint-warning focus-visible:bg-surface-tint-warning","focus-within":"hover:bg-surface-tint-warning focus-within:bg-surface-tint-warning"},info:{"focus-visible":"hover:bg-surface-tint-info focus-visible:bg-surface-tint-info","focus-within":"hover:bg-surface-tint-info focus-within:bg-surface-tint-info"},success:{"focus-visible":"hover:bg-surface-tint-success focus-visible:bg-surface-tint-success","focus-within":"hover:bg-surface-tint-success focus-within:bg-surface-tint-success"},"danger-tint-hover":{"focus-visible":"hover:bg-surface-tint-danger-hover focus-visible:bg-surface-tint-danger-hover","focus-within":"hover:bg-surface-tint-danger-hover focus-within:bg-surface-tint-danger-hover"},"warning-tint-hover":{"focus-visible":"hover:bg-surface-tint-warning-hover focus-visible:bg-surface-tint-warning-hover","focus-within":"hover:bg-surface-tint-warning-hover focus-within:bg-surface-tint-warning-hover"},"info-tint-hover":{"focus-visible":"hover:bg-surface-tint-info-hover focus-visible:bg-surface-tint-info-hover","focus-within":"hover:bg-surface-tint-info-hover focus-within:bg-surface-tint-info-hover"},"success-tint-hover":{"focus-visible":"hover:bg-surface-tint-success-hover focus-visible:bg-surface-tint-success-hover","focus-within":"hover:bg-surface-tint-success-hover focus-within:bg-surface-tint-success-hover"},"danger-fill":{"focus-visible":"hover:bg-danger-fill-hover focus-visible:bg-danger-fill-hover","focus-within":"hover:bg-danger-fill-hover focus-within:bg-danger-fill-hover"},"warning-fill":{"focus-visible":"hover:bg-warning-fill-hover focus-visible:bg-warning-fill-hover","focus-within":"hover:bg-warning-fill-hover focus-within:bg-warning-fill-hover"},"info-fill":{"focus-visible":"hover:bg-info-fill-hover focus-visible:bg-info-fill-hover","focus-within":"hover:bg-info-fill-hover focus-within:bg-info-fill-hover"},"success-fill":{"focus-visible":"hover:bg-success-fill-hover focus-visible:bg-success-fill-hover","focus-within":"hover:bg-success-fill-hover focus-within:bg-success-fill-hover"}};function Ir(e="default",o="focus-visible"){return bi[e][o]}function Fr(e="default"){return x(Rr,Ir(e,"focus-visible"))}const Y={default:"bg-surface text-foreground border-token",primary:"bg-primary text-primary-foreground border border-transparent",outline:"bg-transparent border-token text-foreground",secondary:"bg-secondary text-secondary-foreground border border-token",ghost:"bg-transparent text-foreground border border-transparent",gloss:""},hi=new Set(["default","primary","outline","secondary","ghost"]),Ar={default:{root:Y.default,loaderText:"text-foreground"},primary:{root:Y.primary,loaderText:"text-primary-foreground"},outline:{root:Y.outline,loaderText:"text-foreground"},secondary:{root:Y.secondary,loaderText:"text-secondary-foreground"},ghost:{root:Y.ghost,loaderText:"text-foreground"},gloss:{root:Y.gloss,loaderText:"text-foreground"}},vi={default:"",danger:"gloss-btn-danger",success:"gloss-btn-success",info:"gloss-btn-info",warning:"gloss-btn-warning"},Si={default:"",danger:"[--color-focus-ring:var(--color-focus-ring-danger)]",success:"[--color-focus-ring:var(--color-focus-ring-success)]",info:"[--color-focus-ring:var(--color-focus-ring-info)]",warning:"[--color-focus-ring:var(--color-focus-ring-warning)]"},xi={default:T("converge-ripple-neutral"),danger:T("converge-ripple-danger"),success:T("converge-ripple-success"),info:T("converge-ripple-info"),warning:T("converge-ripple-warning")},yi={danger:T("converge-ripple-danger"),success:T("converge-ripple-success"),info:T("converge-ripple-info"),warning:T("converge-ripple-warning")},wi={small:"[&_svg]:icon-small",base:"[&_svg]:icon-base",mid:"[&_svg]:icon-mid",large:"[&_svg]:icon-large"},Ti={small:"small",base:"base",mid:"mid",large:"large"},Ei="relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none",ki="pointer-events-none absolute inset-0 z-0 overflow-hidden",Ci="relative z-[1] grid w-full min-w-0 place-items-center",Di="origin-center",_i="col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall",Oi="inline-flex shrink-0 items-center justify-center",Li="min-w-0 shrink",yo="col-start-1 row-start-1 flex items-center justify-center",We="invisible opacity-0 pointer-events-none",Ri="text-success",Ii="text-danger",Fi="animate-spin motion-reduce:animate-none",Ai="cursor-pointer",Pi="opacity-50";function zi(e,o){const{root:r}=Ar[e];return e==="outline"&&o!=="default"?"bg-transparent text-foreground":r}function Mi(e){return Ar[e].loaderText}function Ni(e,o){if(o==="default")switch(e){case"default":return"default";case"primary":return"primary";case"outline":return"transparent-hover";case"secondary":return"secondary";case"ghost":return"transparent-hover";case"gloss":return"default"}switch(e){case"default":return`${o}-tint-hover`;case"primary":return`${o}-fill`;case"outline":case"ghost":return o;case"secondary":return"secondary";case"gloss":return"default"}}function Bi(e,o){if(o==="default")return"";switch(e){case"default":return x(_r[o],de[o]);case"primary":return Or[o];case"outline":return x(Lr[o],de[o]);case"secondary":return de[o];case"ghost":return de[o];case"gloss":return""}}function Gi(e,o,r){return r?"":Fr(Ni(e,o))}function Hi(e,o){return e==="primary"&&o!=="default"?mi[o]:Mi(e)}function Ui(e,o){return e==="primary"?o==="default"?T("converge-ripple-primary-fill"):yi[o]:xi[o]}const Wi={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function $i(e,o=Q[e].minWButton){const r=Q[e];return x(o,r.padX,r.padY)}function Vi(e,o=!1){const r=Q[e];return x(Wi[e],o?"min-w-fit":r.minWButton,r.padX,r.padY)}function qi(e){const o=Q[e];return x(o.spinnerIcon,o.spinnerBorder)}function ji(){return"pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full"}function Xi(){return"box-border inline-block rounded-full border-current border-t-transparent"}function Yi({groupSegment:e,slotClass:o,className:r}){return x(Ci,e&&Di,o,r)}function Ki({slotClass:e,className:o,layoutClass:r,cssHidden:n}){return x(_i,n&&We,e,r,o)}function Zi(e,o){return x(Oi,wi[e],o)}function Qi(e,o){return x(Li,e,o)}function Ji(e,o,r){return x(yo,r&&We,e,o)}function es(e,o){return x(yo,o&&We,Ri,e)}function os(e,o){return x(yo,o&&We,Ii,e)}function rs(){return"shrink-0"}const ns={default:T("converge-ripple-neutral"),primary:T("converge-ripple-primary-fill"),outline:T("converge-ripple-neutral"),secondary:T("converge-ripple-neutral"),ghost:T("converge-ripple-neutral"),gloss:T("converge-ripple-neutral")},ts={danger:T("converge-ripple-danger"),success:T("converge-ripple-success"),info:T("converge-ripple-info"),warning:T("converge-ripple-warning")};function is(e,o="default"){return o!=="default"?ts[o]:ns[e]}function ss(e,o,r,n,i){return e?x("gloss-btn",vo,vi[o]):x(zi(r,o),Bi(r,o),!n&&Ue,Gi(r,o,i))}const as={small:"small",base:"base",mid:"mid",large:"large"},ls={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function Pr(e){const{padX:o,padY:r}=Q[e];return x(ls[e],o,r)}function zr(e){if(e==null)return"";const{orientation:o,position:r}=e;return r==="only"?"rounded-[inherit]":o==="horizontal"?r==="first"?"rounded-l-[inherit] rounded-r-none":r==="middle"?"rounded-none":"rounded-r-[inherit] rounded-l-none":r==="first"?"rounded-t-[inherit] rounded-b-none":r==="middle"?"rounded-none":"rounded-b-[inherit] rounded-t-none"}const cs="min-h-0 min-w-0 self-stretch rounded-[inherit]";function us(e){if(e==null||e.position==="only")return"";const{orientation:o,position:r}=e;return o==="horizontal"?r==="first"?"":"border-l-0":r==="first"?"":"border-t-0"}function Mr(e){return e==null?"":x("!border-0 [border:0!important] !shadow-none [box-shadow:none!important]","z-0 focus-visible:z-[2]")}function Nr(e){return x("relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",zr(e),e!=null&&Mr(e),"z-0")}function ds({orientation:e,segmented:o,variant:r,className:n}){return x("inline-flex text-left w-fit",!o&&x("relative rounded-base border-border",r==="gloss"?"gloss-panel gloss-deep border-0 text-foreground":"after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border-solid after:[border-width:var(--border-width,1px)] after:border-inherit after:content-['']"),x(e==="horizontal"?"flex-row flex-nowrap items-stretch":"flex-col flex-nowrap items-stretch",o&&"gap-xsmall"),n)}function fs(e,o){return x("pointer-events-none shrink-0",e==="horizontal"?"my-[var(--border-width)] self-stretch border-r-token":"mx-[var(--border-width)] self-stretch border-b-token",o)}function gs({groupSegment:e,groupVariant:o,buttonSize:r,className:n}){return x(Nr(e),o==="gloss"&&"bg-transparent text-foreground","inline-flex items-center",Pr(r),n)}const ms="max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base",Br={default:"bg-surface",outline:"bg-transparent",secondary:"bg-secondary"};function ps(e){return e==="secondary"?"secondary":"default"}function bs(e){return e==="gloss"?"gloss":e==="outline"?"outline":e==="secondary"?"secondary":"default"}function hs({variant:e}){return e==="gloss"?"gloss-control":e==="outline"?"bg-transparent border-token":x(Br[e],"border-token")}function vs(e,o="default",r="default"){return e?Ir(ps(r),"focus-within"):""}const Ss="field-shell-transition motion-reduce:transition-none",Gr="focus-within-ring",_e="outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]",Oe={danger:"outline-[var(--color-focus-ring-danger)] focus-within:outline-[var(--color-focus-ring-danger)]",success:"outline-[var(--color-focus-ring-success)] focus-within:outline-[var(--color-focus-ring-success)]",info:"outline-[var(--color-focus-ring-info)] focus-within:outline-[var(--color-focus-ring-info)]",warning:"outline-[var(--color-focus-ring-warning)] focus-within:outline-[var(--color-focus-ring-warning)]"},xs={danger:x(_e,Oe.danger),success:x(_e,Oe.success),info:x(_e,Oe.info),warning:x(_e,Oe.warning)};function ys(e="default"){return e==="default"?Gr:xs[e]}function ws(e,o){const r=Dr(e,o);return{shellHoverMotionClass:r.motionClass,onShellPointerEnter:r.onPointerEnter,onShellPointerLeave:r.onPointerLeave}}function Ts(e){const o=Q[e];return x("flex self-stretch shrink-0 items-center text-muted",o.affixPadX,o.affixText)}const Es={small:"min-w-control-small",base:"min-w-control-base",mid:"min-w-control-mid",large:"min-w-control-large"};function ks(e){return Es[e]}const Cs={small:"--control-height-small",base:"--control-height-base",mid:"--control-height-mid",large:"--control-height-large"},Ds={small:1.75,base:2.2,mid:2.5,large:3},jo=new Map;function _s(e){if(typeof document>"u")return null;const o=jo.get(e);if(o!=null)return o;try{const r=document.createElement("div");r.style.position="absolute",r.style.visibility="hidden",r.style.height=`var(${Cs[e]})`,document.body.appendChild(r);const n=r.getBoundingClientRect().height;if(document.body.removeChild(r),n>0)return jo.set(e,n),n}catch{}return null}function Os(e,o=16){return _s(e)??o*Ds[e]}const Ls={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},Rs={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},Hr={background:"#0c0d10",surface:"#171717",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#f4f5f7",muted:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-surface))",mutedForeground:"#858994",primary:"#ebebef",primaryForeground:"#0c0c0e",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"color-mix(in oklab, var(--color-primary) 60%, transparent)",focusRingDanger:"color-mix(in oklab, var(--color-danger) 60%, transparent)",focusRingSuccess:"color-mix(in oklab, var(--color-success) 60%, transparent)",focusRingInfo:"color-mix(in oklab, var(--color-info) 60%, transparent)",focusRingWarning:"color-mix(in oklab, var(--color-warning) 60%, transparent)",indicator:"#ebebef",indicatorForeground:"#0c0c0e",danger:"#d73737",success:"#35b664",info:"#389dcc",warning:"#daa13e",dangerForeground:"#fafafa",successForeground:"#fafafa",infoForeground:"#fafafa",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 80%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",transparentHover:"color-mix(in oklab, var(--color-muted) 70%, transparent)",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 15%, transparent)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 25%, transparent)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 80%, transparent)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 15%, transparent)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 25%, transparent)",successFillHover:"color-mix(in oklab, var(--color-success) 80%, transparent)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, transparent)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 25%, transparent)",infoFillHover:"color-mix(in oklab, var(--color-info) 80%, transparent)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 15%, transparent)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 25%, transparent)",warningFillHover:"color-mix(in oklab, var(--color-warning) 80%, transparent)",...Ls},Ur={background:"#f5f5f5",surface:"#ffffff",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#18181b",muted:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",mutedForeground:"#646467",primary:"#18181b",primaryForeground:"#fafafa",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"color-mix(in oklab, var(--color-primary) 60%, transparent)",focusRingDanger:"color-mix(in oklab, var(--color-danger) 60%, transparent)",focusRingSuccess:"color-mix(in oklab, var(--color-success) 60%, transparent)",focusRingInfo:"color-mix(in oklab, var(--color-info) 60%, transparent)",focusRingWarning:"color-mix(in oklab, var(--color-warning) 60%, transparent)",indicator:"#18181b",indicatorForeground:"#fafafa",danger:"#df4e4e",success:"#2ebd62",info:"#31a0d3",warning:"#e1a53d",dangerForeground:"#ffffff",successForeground:"#ffffff",infoForeground:"#ffffff",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 90%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",transparentHover:"color-mix(in oklab, var(--color-muted) 70%, transparent)",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 15%, transparent)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 25%, transparent)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 80%, transparent)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 15%, transparent)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 25%, transparent)",successFillHover:"color-mix(in oklab, var(--color-success) 80%, transparent)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, transparent)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 25%, transparent)",infoFillHover:"color-mix(in oklab, var(--color-info) 80%, transparent)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 15%, transparent)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 25%, transparent)",warningFillHover:"color-mix(in oklab, var(--color-warning) 80%, transparent)",...Rs},$e={background:"--color-background",surface:"--color-surface",secondary:"--color-secondary",secondaryForeground:"--color-secondary-foreground",tertiary:"--color-tertiary",tertiaryForeground:"--color-tertiary-foreground",border:"--color-border",foreground:"--color-foreground",muted:"--color-muted",mutedForeground:"--color-muted-foreground",primary:"--color-primary",primaryForeground:"--color-primary-foreground",primaryTint:"--color-primary-tint",primaryTintStrong:"--color-primary-tint-strong",focusRing:"--color-focus-ring",focusRingDanger:"--color-focus-ring-danger",focusRingSuccess:"--color-focus-ring-success",focusRingInfo:"--color-focus-ring-info",focusRingWarning:"--color-focus-ring-warning",indicator:"--color-indicator",indicatorForeground:"--color-indicator-foreground",danger:"--color-danger",success:"--color-success",info:"--color-info",warning:"--color-warning",dangerForeground:"--color-danger-foreground",successForeground:"--color-success-foreground",infoForeground:"--color-info-foreground",warningForeground:"--color-warning-foreground",primaryHover:"--color-primary-hover",defaultHover:"--color-default-hover",transparentHover:"--color-transparent-hover",secondaryHover:"--color-secondary-hover",tertiaryHover:"--color-tertiary-hover",surfaceTintDanger:"--color-surface-tint-danger",surfaceTintDangerHover:"--color-surface-tint-danger-hover",dangerFillHover:"--color-danger-fill-hover",surfaceTintSuccess:"--color-surface-tint-success",surfaceTintSuccessHover:"--color-surface-tint-success-hover",successFillHover:"--color-success-fill-hover",surfaceTintInfo:"--color-surface-tint-info",surfaceTintInfoHover:"--color-surface-tint-info-hover",infoFillHover:"--color-info-fill-hover",surfaceTintWarning:"--color-surface-tint-warning",surfaceTintWarningHover:"--color-surface-tint-warning-hover",warningFillHover:"--color-warning-fill-hover",convergeRipplePrimaryFill:"--color-converge-ripple-primary-fill",convergeRippleNeutral:"--color-converge-ripple-neutral",convergeRippleNeutralMuted:"--color-converge-ripple-neutral-muted",convergeRippleDanger:"--color-converge-ripple-danger",convergeRippleSuccess:"--color-converge-ripple-success",convergeRippleInfo:"--color-converge-ripple-info",convergeRippleWarning:"--color-converge-ripple-warning"},Wr={space:.5,size:1,radius:.5,borderWidth:1,focusRingWidth:2,focusRingOffset:0,textScale:1,shadowStrength:1,shadowSize:1,toastScrimSize:1,toastScrimDensity:1},$r=(()=>{const{pressSqueezeScale:e,...o}=Be;return{...o,pressSqueezeMid:e[1]}})(),Vr=W.fontFamilySans,qr=W.fontFamilyMono,Is=.9375,Fs=.875,As=.25;function fe(e){const o=Math.round(e*1e8)/1e8;return String(o)}function Z(e){if(e===0)return"0rem";const o=fe(e*Is),r=fe(e*Fs),n=fe(e*As),i=fe(e);return`clamp(${o}rem, ${r}rem + ${n}vw, ${i}rem)`}function Le(e){return e===0?"0":`calc(${e}px * var(--shadow-size))`}function Ps(e,o,r,n,i){return`${Le(e)} ${Le(o)} ${Le(r)} ${Le(n)} rgb(0 0 0 / ${fe(i)})`}function U(e,o,r){const n=ur[o][e]*r,[i,t,s,a]=dr[e][0];return Ps(i,t,s,a,n)}function zs(e,o,r,n){e.style.setProperty("--shadow-size",String(n)),e.style.setProperty("--shadow-none",U("base",o,0)),e.style.setProperty("--shadow-base",U("base",o,r)),e.style.setProperty("--shadow-mid",U("mid",o,r)),e.style.setProperty("--shadow-large",U("large",o,r))}function Ms(e){e.style.removeProperty("--shadow-size"),e.style.removeProperty("--shadow-none"),e.style.removeProperty("--shadow-base"),e.style.removeProperty("--shadow-mid"),e.style.removeProperty("--shadow-large")}function Ns(e,o){for(const r of Object.keys(J)){const{size:n,line:i}=J[r],t=n*o,s=i*o;e.style.setProperty(`--text-scale-${r}`,`${t}rem`),e.style.setProperty(`--text-scale-${r}--line-height`,`calc(${s}rem / ${t}rem)`)}}function Bs(e){for(const o of Object.keys(J))e.style.removeProperty(`--text-scale-${o}`),e.style.removeProperty(`--text-scale-${o}--line-height`)}function Gs(e,o,r){for(const[n,i]of Object.entries(Ge))I(e,i,o[n]!==r[n]?String(o[n]):null)}function I(e,o,r){r===null?e.style.removeProperty(o):e.style.setProperty(o,r)}function ze(e){return e===0?"0px":`${e}px`}function jr(){return{dark:{...Hr},light:{...Ur}}}function Ve(e){var n,i;if((n=e.modePalettes)!=null&&n.dark&&((i=e.modePalettes)!=null&&i.light))return e;const o=jr(),r={...e.colors};return{...e,modePalettes:{dark:e.theme==="dark"?r:o.dark,light:e.theme==="light"?r:o.light}}}function Hs(e,o){const r=Ve(e),n=r.modePalettes[o];return{...r,theme:o,colors:{...n}}}function Us(e,o,r){const n=Ve(e),i={...n.colors,[o]:r};return{...n,colors:i,modePalettes:{...n.modePalettes,[n.theme]:i}}}function le(e="dark"){const o=jr(),r=o[e];return{theme:e,...Wr,...$r,fontFamily:Vr,fontFamilyMono:qr,fontWeights:{...Sr},colors:{...r},modePalettes:o}}const Ws=["--space","--size","--radius","--border-width","--focus-ring-width","--focus-ring-offset","--motion-surface-duration","--font-family-sans","--font-family-mono",...Object.values(Ge),"--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density",...Object.keys(J).flatMap(e=>[`--text-scale-${e}`,`--text-scale-${e}--line-height`]),...Object.values($e)];function $s(e){if(typeof document>"u")return;const o=e??document.documentElement;for(const r of Ws)o.style.removeProperty(r);delete o.dataset.theme}let Xo="";function Vs(e,o){const r=JSON.stringify({interactiveDuration:e.interactiveDuration,interactiveEase:e.interactiveEase,hoverLiftEase:e.hoverLiftEase,tooltipDuration:e.tooltipDuration,modalDuration:e.modalDuration,switchThumbDuration:e.switchThumbDuration,switchThumbEase:e.switchThumbEase,selectionFillDuration:e.selectionFillDuration,selectionFillEase:e.selectionFillEase,hoverLiftScale:e.hoverLiftScale,badgeAnchorHoverLiftScale:e.badgeAnchorHoverLiftScale,pressSqueezeMid:e.pressSqueezeMid,pressSqueezeDurationFactor:e.pressSqueezeDurationFactor,rippleDefaultDuration:e.rippleDefaultDuration,rippleDefaultOpacityFrom:e.rippleDefaultOpacityFrom,rippleExpandableDuration:e.rippleExpandableDuration,rippleExpandableOpacityFrom:e.rippleExpandableOpacityFrom,rippleEaseCss:e.rippleEaseCss,feedbackExpandDuration:e.feedbackExpandDuration,expandDuration:e.expandDuration,expandOpenEase:e.expandOpenEase,surfaceTransitionDuration:e.surfaceTransitionDuration,toastDismissDuration:e.toastDismissDuration,toastDismissEase:e.toastDismissEase,progressFillDuration:e.progressFillDuration,progressFillEase:e.progressFillEase,progressIndeterminateDuration:e.progressIndeterminateDuration,progressIndeterminateEase:e.progressIndeterminateEase,loadingDotsDuration:e.loadingDotsDuration,loadingDotsEaseUp:e.loadingDotsEaseUp,loadingDotsEaseDown:e.loadingDotsEaseDown,enableAnimations:e.enableAnimations,enableHoverLift:e.enableHoverLift,enablePressSqueeze:e.enablePressSqueeze,enableToggleButtonFill:e.enableToggleButtonFill,enableRipple:e.enableRipple,enableExpandable:e.enableExpandable,enableToastStack:e.enableToastStack,enableAsyncButtonCrossfade:e.enableAsyncButtonCrossfade,enableContentFade:e.enableContentFade,enableFeedbackExpand:e.enableFeedbackExpand,enableProgressFill:e.enableProgressFill,enableLoadingDots:e.enableLoadingDots,enableModalMotion:e.enableModalMotion,enableSwitchThumb:e.enableSwitchThumb,enableTabsIndicator:e.enableTabsIndicator,enablePaginationFlip:e.enablePaginationFlip,enableSelectionFill:e.enableSelectionFill});r!==Xo&&(Xo=r,pr({interactiveDuration:e.interactiveDuration,interactiveEase:e.interactiveEase,hoverLiftEase:e.hoverLiftEase,tooltipDuration:e.tooltipDuration,modalDuration:e.modalDuration,switchThumbDuration:e.switchThumbDuration,switchThumbEase:e.switchThumbEase,selectionFillDuration:e.selectionFillDuration,selectionFillEase:e.selectionFillEase,hoverLiftScale:e.hoverLiftScale,badgeAnchorHoverLiftScale:e.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,e.pressSqueezeMid,1],pressSqueezeDurationFactor:e.pressSqueezeDurationFactor,rippleDefaultDuration:e.rippleDefaultDuration,rippleDefaultOpacityFrom:e.rippleDefaultOpacityFrom,rippleExpandableDuration:e.rippleExpandableDuration,rippleExpandableOpacityFrom:e.rippleExpandableOpacityFrom,rippleEaseCss:e.rippleEaseCss,feedbackExpandDuration:e.feedbackExpandDuration,expandDuration:e.expandDuration,expandOpenEase:e.expandOpenEase,surfaceTransitionDuration:e.surfaceTransitionDuration,toastDismissDuration:e.toastDismissDuration,toastDismissEase:e.toastDismissEase,progressFillDuration:e.progressFillDuration,progressFillEase:e.progressFillEase,progressIndeterminateDuration:e.progressIndeterminateDuration,progressIndeterminateEase:e.progressIndeterminateEase,loadingDotsDuration:e.loadingDotsDuration,loadingDotsEaseUp:e.loadingDotsEaseUp,loadingDotsEaseDown:e.loadingDotsEaseDown,enableAnimations:e.enableAnimations,enableHoverLift:e.enableHoverLift,enablePressSqueeze:e.enablePressSqueeze,enableToggleButtonFill:e.enableToggleButtonFill,enableRipple:e.enableRipple,enableExpandable:e.enableExpandable,enableToastStack:e.enableToastStack,enableAsyncButtonCrossfade:e.enableAsyncButtonCrossfade,enableContentFade:e.enableContentFade,enableFeedbackExpand:e.enableFeedbackExpand,enableProgressFill:e.enableProgressFill,enableLoadingDots:e.enableLoadingDots,enableModalMotion:e.enableModalMotion,enableSwitchThumb:e.enableSwitchThumb,enableTabsIndicator:e.enableTabsIndicator,enablePaginationFlip:e.enablePaginationFlip,enableSelectionFill:e.enableSelectionFill}),uo(o,{surfaceTransitionDuration:e.surfaceTransitionDuration}))}function Xr(e,o){if(typeof document>"u")return;const r=o??document.documentElement,n=le(e.theme);e.theme==="light"?r.dataset.theme="light":delete r.dataset.theme,I(r,"--space",e.space!==n.space?Z(e.space):null),I(r,"--size",e.size!==n.size?Z(e.size):null),I(r,"--radius",e.radius!==n.radius?Z(e.radius):null),I(r,"--border-width",e.borderWidth!==n.borderWidth?ze(e.borderWidth):null),I(r,"--focus-ring-width",e.focusRingWidth!==n.focusRingWidth?ze(e.focusRingWidth):null),I(r,"--focus-ring-offset",e.focusRingOffset!==n.focusRingOffset?`${e.focusRingOffset}px`:null),I(r,"--font-family-sans",e.fontFamily!==n.fontFamily?e.fontFamily:null),I(r,"--font-family-mono",e.fontFamilyMono!==n.fontFamilyMono?e.fontFamilyMono:null),Gs(r,e.fontWeights,n.fontWeights),Vs(e,r),e.textScale!==n.textScale?Ns(r,e.textScale):Bs(r),e.shadowStrength!==n.shadowStrength||e.shadowSize!==n.shadowSize?zs(r,e.theme,e.shadowStrength,e.shadowSize):Ms(r),I(r,"--toast-scrim-size",e.toastScrimSize!==n.toastScrimSize?String(e.toastScrimSize):null),I(r,"--toast-scrim-density",e.toastScrimDensity!==n.toastScrimDensity?String(e.toastScrimDensity):null);for(const[i,t]of Object.entries($e))I(r,t,e.colors[i]!==n.colors[i]?e.colors[i]:null)}function Yr(e){const o=le(e.theme),r=[":root {"];e.space!==o.space&&r.push(` --space: ${Z(e.space)};`),e.size!==o.size&&r.push(` --size: ${Z(e.size)};`),e.radius!==o.radius&&r.push(` --radius: ${Z(e.radius)};`),e.borderWidth!==o.borderWidth&&r.push(` --border-width: ${ze(e.borderWidth)};`),e.focusRingWidth!==o.focusRingWidth&&r.push(` --focus-ring-width: ${ze(e.focusRingWidth)};`),e.focusRingOffset!==o.focusRingOffset&&r.push(` --focus-ring-offset: ${e.focusRingOffset}px;`),e.fontFamily!==o.fontFamily&&r.push(` --font-family-sans: ${e.fontFamily};`),e.fontFamilyMono!==o.fontFamilyMono&&r.push(` --font-family-mono: ${e.fontFamilyMono};`);for(const[n,i]of Object.entries(Ge))e.fontWeights[n]!==o.fontWeights[n]&&r.push(` ${i}: ${e.fontWeights[n]};`);if((e.shadowStrength!==o.shadowStrength||e.shadowSize!==o.shadowSize)&&(r.push(` --shadow-size: ${e.shadowSize};`),r.push(` --shadow-none: ${U("base",e.theme,0)};`),r.push(` --shadow-base: ${U("base",e.theme,e.shadowStrength)};`),r.push(` --shadow-mid: ${U("mid",e.theme,e.shadowStrength)};`),r.push(` --shadow-large: ${U("large",e.theme,e.shadowStrength)};`)),e.toastScrimSize!==o.toastScrimSize&&r.push(` --toast-scrim-size: ${e.toastScrimSize};`),e.toastScrimDensity!==o.toastScrimDensity&&r.push(` --toast-scrim-density: ${e.toastScrimDensity};`),e.surfaceTransitionDuration!==o.surfaceTransitionDuration&&r.push(` --motion-surface-duration: ${e.surfaceTransitionDuration}ms;`),e.textScale!==o.textScale)for(const n of Object.keys(J)){const{size:i,line:t}=J[n],s=i*e.textScale,a=t*e.textScale;r.push(` --text-scale-${n}: ${s}rem;`),r.push(` --text-scale-${n}--line-height: calc(${a}rem / ${s}rem);`)}for(const[n,i]of Object.entries($e))e.colors[n]!==o.colors[n]&&r.push(` ${i}: ${e.colors[n]};`);return r.length===1&&r.push(" /* (no overrides vs kit defaults) */"),r.push("}"),e.theme==="light"&&(r.push("","/* Optional: light theme via data-attribute */"),r.push('/* <html data-theme="light"> */')),r.join(`
2
+ `)}const wo="burne-ui-theme";function To(e,o){var a;const r=le(o),n=e.tokens??{},i=(a=e.colors)==null?void 0:a[o],t=i?{...r.colors,...i}:r.colors,s=n.shadowStrength??r.shadowStrength;return{...r,...Jr({space:n.space,size:n.size,radius:n.radius,borderWidth:n.borderWidth,focusRingWidth:n.focusRingWidth,focusRingOffset:n.focusRingOffset,textScale:n.textScale,fontFamily:n.fontFamily,fontFamilyMono:n.fontFamilyMono,shadowSize:n.shadowSize,toastScrimSize:n.toastScrimSize,toastScrimDensity:n.toastScrimDensity}),shadowStrength:s,fontWeights:n.fontWeights?{...r.fontWeights,...n.fontWeights}:r.fontWeights,colors:t,modePalettes:{...r.modePalettes,[o]:{...t}}}}function Kr(e){const o=Ve(e),r={interactiveDuration:o.interactiveDuration,interactiveEase:o.interactiveEase,hoverLiftEase:o.hoverLiftEase,tooltipDuration:o.tooltipDuration,modalDuration:o.modalDuration,switchThumbDuration:o.switchThumbDuration,switchThumbEase:o.switchThumbEase,selectionFillDuration:o.selectionFillDuration,selectionFillEase:o.selectionFillEase,hoverLiftScale:o.hoverLiftScale,badgeAnchorHoverLiftScale:o.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,o.pressSqueezeMid,1],pressSqueezeDurationFactor:o.pressSqueezeDurationFactor,rippleDefaultDuration:o.rippleDefaultDuration,rippleDefaultOpacityFrom:o.rippleDefaultOpacityFrom,rippleExpandableDuration:o.rippleExpandableDuration,rippleExpandableOpacityFrom:o.rippleExpandableOpacityFrom,rippleEaseCss:o.rippleEaseCss,feedbackExpandDuration:o.feedbackExpandDuration,expandDuration:o.expandDuration,expandOpenEase:o.expandOpenEase,surfaceTransitionDuration:o.surfaceTransitionDuration,toastDismissDuration:o.toastDismissDuration,toastDismissEase:o.toastDismissEase,progressFillDuration:o.progressFillDuration,progressFillEase:o.progressFillEase,progressIndeterminateDuration:o.progressIndeterminateDuration,progressIndeterminateEase:o.progressIndeterminateEase,loadingDotsDuration:o.loadingDotsDuration,loadingDotsEaseUp:o.loadingDotsEaseUp,loadingDotsEaseDown:o.loadingDotsEaseDown,enableAnimations:o.enableAnimations,enableHoverLift:o.enableHoverLift,enablePressSqueeze:o.enablePressSqueeze,enableToggleButtonFill:o.enableToggleButtonFill,enableRipple:o.enableRipple,enableExpandable:o.enableExpandable,enableToastStack:o.enableToastStack,enableAsyncButtonCrossfade:o.enableAsyncButtonCrossfade,enableContentFade:o.enableContentFade,enableFeedbackExpand:o.enableFeedbackExpand,enableProgressFill:o.enableProgressFill,enableLoadingDots:o.enableLoadingDots,enableModalMotion:o.enableModalMotion,enableSwitchThumb:o.enableSwitchThumb,enableTabsIndicator:o.enableTabsIndicator,enablePaginationFlip:o.enablePaginationFlip,enableSelectionFill:o.enableSelectionFill},n={space:o.space,size:o.size,radius:o.radius,borderWidth:o.borderWidth,focusRingWidth:o.focusRingWidth,focusRingOffset:o.focusRingOffset,textScale:o.textScale,fontFamily:o.fontFamily,fontFamilyMono:o.fontFamilyMono,fontWeights:{...o.fontWeights},shadowStrength:o.shadowStrength,shadowSize:o.shadowSize,toastScrimSize:o.toastScrimSize,toastScrimDensity:o.toastScrimDensity};return{theme:o.theme,tokens:n,colors:{dark:{...o.modePalettes.dark},light:{...o.modePalettes.light}},motion:r,toast:!0}}function qs(e,o){var n;if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return{value:e};const r=((n=e.values)==null?void 0:n[o])??e.value;return r===void 0?null:{value:r,unit:e.unit}}function Eo(e,o){const r={};if(!e)return r;for(const[n,i]of Object.entries(e)){const t=qs(i,o);t&&(r[n]=typeof t.value=="number"&&t.unit?`${t.value}${t.unit}`:String(t.value))}return r}const Me=new WeakMap;function Zr(e,o,r){const n=Eo(e,r),i=new Set(Object.keys(n)),t=Me.get(o)??new Map;t.forEach((s,a)=>{i.has(a)||(s.value?o.style.setProperty(a,s.value,s.priority):o.style.removeProperty(a),t.delete(a))});for(const[s,a]of Object.entries(n))t.has(s)||t.set(s,{value:o.style.getPropertyValue(s),priority:o.style.getPropertyPriority(s)}),o.style.setProperty(s,a);Me.set(o,t)}function js(e){var r;if(typeof document>"u")return;const o=e??document.documentElement;(r=Me.get(o))==null||r.forEach((n,i)=>{n.value?o.style.setProperty(i,n.value,n.priority):o.style.removeProperty(i)}),Me.delete(o)}function Qr(e){return{...Kr(le((e==null?void 0:e.theme)??"dark")),storageKey:(e==null?void 0:e.storageKey)===void 0?wo:e.storageKey}}function Xs(e){const o=(e==null?void 0:e.exportName)??"burneTheme",r=Ne(Qr(),0);return["/**"," * Burne UI theme config (starter snapshot)."," *"," * - Edit `tokens` / `motion` (shared), `colors.light` / `colors.dark`,"," * and optional `customTokens` for project-specific CSS variables."," * - Or replace this file with docs site → Copy config."," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${o} from "./burne-theme";`,` * <BurneUIProvider config={${o}}>{children}</BurneUIProvider>`," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${o} = ${r} satisfies BurneThemeConfig;`,"",`export default ${o};`,""].join(`
3
+ `)}function Ys(e,o="dark"){const r=le(o);return e?{...r,...Jr({space:e.space,size:e.size,radius:e.radius,borderWidth:e.borderWidth,focusRingWidth:e.focusRingWidth,focusRingOffset:e.focusRingOffset,textScale:e.textScale,fontFamily:e.fontFamily,fontFamilyMono:e.fontFamilyMono,shadowStrength:e.shadowStrength,shadowSize:e.shadowSize,toastScrimSize:e.toastScrimSize,toastScrimDensity:e.toastScrimDensity}),fontWeights:e.fontWeights?{...r.fontWeights,...e.fontWeights}:r.fontWeights}:r}function Jr(e){const o={};for(const[r,n]of Object.entries(e))n!==void 0&&(o[r]=n);return o}function en(e,o,r=qe(e.theme)){if(typeof document>"u")return;const n=o??document.documentElement,i=To(e,r);if(e.motion){const t=e.motion;t.interactiveDuration!==void 0&&(i.interactiveDuration=t.interactiveDuration),t.interactiveEase!==void 0&&(i.interactiveEase=t.interactiveEase),t.hoverLiftEase!==void 0&&(i.hoverLiftEase=t.hoverLiftEase),t.tooltipDuration!==void 0&&(i.tooltipDuration=t.tooltipDuration),t.modalDuration!==void 0&&(i.modalDuration=t.modalDuration),t.switchThumbDuration!==void 0&&(i.switchThumbDuration=t.switchThumbDuration),t.switchThumbEase!==void 0&&(i.switchThumbEase=t.switchThumbEase),t.selectionFillDuration!==void 0&&(i.selectionFillDuration=t.selectionFillDuration),t.selectionFillEase!==void 0&&(i.selectionFillEase=t.selectionFillEase),t.hoverLiftScale!==void 0&&(i.hoverLiftScale=t.hoverLiftScale),t.badgeAnchorHoverLiftScale!==void 0&&(i.badgeAnchorHoverLiftScale=t.badgeAnchorHoverLiftScale),t.pressSqueezeScale!==void 0&&(i.pressSqueezeMid=t.pressSqueezeScale[1]),t.pressSqueezeDurationFactor!==void 0&&(i.pressSqueezeDurationFactor=t.pressSqueezeDurationFactor),t.rippleDefaultDuration!==void 0&&(i.rippleDefaultDuration=t.rippleDefaultDuration),t.rippleDefaultOpacityFrom!==void 0&&(i.rippleDefaultOpacityFrom=t.rippleDefaultOpacityFrom),t.rippleExpandableDuration!==void 0&&(i.rippleExpandableDuration=t.rippleExpandableDuration),t.rippleExpandableOpacityFrom!==void 0&&(i.rippleExpandableOpacityFrom=t.rippleExpandableOpacityFrom),t.rippleEaseCss!==void 0&&(i.rippleEaseCss=t.rippleEaseCss),t.feedbackExpandDuration!==void 0&&(i.feedbackExpandDuration=t.feedbackExpandDuration),t.expandDuration!==void 0&&(i.expandDuration=t.expandDuration),t.expandOpenEase!==void 0&&(i.expandOpenEase=t.expandOpenEase),t.surfaceTransitionDuration!==void 0&&(i.surfaceTransitionDuration=t.surfaceTransitionDuration),t.toastDismissDuration!==void 0&&(i.toastDismissDuration=t.toastDismissDuration),t.toastDismissEase!==void 0&&(i.toastDismissEase=t.toastDismissEase),t.progressFillDuration!==void 0&&(i.progressFillDuration=t.progressFillDuration),t.progressFillEase!==void 0&&(i.progressFillEase=t.progressFillEase),t.progressIndeterminateDuration!==void 0&&(i.progressIndeterminateDuration=t.progressIndeterminateDuration),t.progressIndeterminateEase!==void 0&&(i.progressIndeterminateEase=t.progressIndeterminateEase),t.loadingDotsDuration!==void 0&&(i.loadingDotsDuration=t.loadingDotsDuration),t.loadingDotsEaseUp!==void 0&&(i.loadingDotsEaseUp=t.loadingDotsEaseUp),t.loadingDotsEaseDown!==void 0&&(i.loadingDotsEaseDown=t.loadingDotsEaseDown),t.enableAnimations!==void 0&&(i.enableAnimations=t.enableAnimations),t.enableHoverLift!==void 0&&(i.enableHoverLift=t.enableHoverLift),t.enablePressSqueeze!==void 0&&(i.enablePressSqueeze=t.enablePressSqueeze),t.enableToggleButtonFill!==void 0&&(i.enableToggleButtonFill=t.enableToggleButtonFill),t.enableRipple!==void 0&&(i.enableRipple=t.enableRipple),t.enableExpandable!==void 0&&(i.enableExpandable=t.enableExpandable),t.enableToastStack!==void 0&&(i.enableToastStack=t.enableToastStack),t.enableAsyncButtonCrossfade!==void 0&&(i.enableAsyncButtonCrossfade=t.enableAsyncButtonCrossfade),t.enableContentFade!==void 0&&(i.enableContentFade=t.enableContentFade),t.enableFeedbackExpand!==void 0&&(i.enableFeedbackExpand=t.enableFeedbackExpand),t.enableProgressFill!==void 0&&(i.enableProgressFill=t.enableProgressFill),t.enableLoadingDots!==void 0&&(i.enableLoadingDots=t.enableLoadingDots),t.enableModalMotion!==void 0&&(i.enableModalMotion=t.enableModalMotion),t.enableSwitchThumb!==void 0&&(i.enableSwitchThumb=t.enableSwitchThumb),t.enableTabsIndicator!==void 0&&(i.enableTabsIndicator=t.enableTabsIndicator),t.enablePaginationFlip!==void 0&&(i.enablePaginationFlip=t.enablePaginationFlip),t.enableSelectionFill!==void 0&&(i.enableSelectionFill=t.enableSelectionFill)}Xr(i,n),Zr(e.customTokens,n,r)}function qe(e="system"){return e==="light"||e==="dark"?e:typeof window<"u"&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function Ks(e,o,r="dark"){en({theme:r,tokens:e},o,r)}function Zs(e){const o=qe(e.theme),r=To(e,o),n=Yr(r),i=Eo(e.customTokens,o),t=Object.entries(i);if(t.length===0)return n;const s=t.map(([a,d])=>` ${a}: ${d};`).join(`
4
+ `);return n.replace(/\n}(\n|$)/,`
5
+ /* Custom project tokens */
6
+ ${s}
7
+ }$1`)}function Ne(e,o){const r=" ".repeat(o),n=" ".repeat(o+1);if(e==null)return"undefined";if(typeof e=="boolean"||typeof e=="number")return String(e);if(typeof e=="string")return JSON.stringify(e);if(Array.isArray(e))return e.length===0?"[]":`[
8
+ ${e.map(t=>`${n}${Ne(t,o+1)}`).join(`,
9
+ `)},
10
+ ${r}]`;if(typeof e=="object"){const i=Object.entries(e).filter(([,s])=>s!==void 0);return i.length===0?"{}":`{
11
+ ${i.map(([s,a])=>`${n}${Qs(s)}: ${Ne(a,o+1)}`).join(`,
12
+ `)},
13
+ ${r}}`}return JSON.stringify(e)}function Qs(e){return/^[A-Za-z_$][\w$]*$/.test(e)?e:JSON.stringify(e)}function Js(e,o){const r=(o==null?void 0:o.exportName)??"burneTheme",n=Ne(e,0);return["/**"," * Generated from the Burne UI theme playground."," * Save as `burne-theme.ts` and pass to BurneUIProvider:"," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${r} from "./burne-theme";`," *",` * <BurneUIProvider config={${r}}>{children}</BurneUIProvider>`," *"," * `tokens` / `motion` are shared; `colors.light` / `colors.dark` hold palettes."," * Project-specific CSS variables and editor metadata live in `customTokens`."," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${r} = ${n} satisfies BurneThemeConfig;`,"",`export default ${r};`,""].join(`
14
+ `)}const ko=g.createContext(null);function ea(e){if(!e||typeof window>"u")return null;try{const o=window.localStorage.getItem(e);if(o==="light"||o==="dark"||o==="system")return o}catch{}return null}function oa(e,o){if(!(!e||typeof window>"u"))try{window.localStorage.setItem(e,o)}catch{}}function on(e,o){if(typeof document>"u")return;const r=o??document.documentElement;e==="light"?r.dataset.theme="light":delete r.dataset.theme}function ra({children:e,theme:o,defaultTheme:r="dark",storageKey:n=wo,root:i=null,onThemeChange:t}){const[s,a]=g.useState(()=>ea(n)??r),[d,c]=g.useState(0),b=o??s,p=g.useMemo(()=>qe(b),[b,d]),w=g.useCallback(y=>{o===void 0&&a(y),oa(n,y),t==null||t(y)},[o,n,t]);g.useLayoutEffect(()=>{const y=i??(typeof document<"u"?document.documentElement:null);y&&on(p,y)},[p,i]),g.useEffect(()=>{if(b!=="system"||typeof window>"u")return;const y=window.matchMedia("(prefers-color-scheme: light)"),k=()=>{c(O=>O+1)};return y.addEventListener("change",k),()=>y.removeEventListener("change",k)},[b]);const v=g.useMemo(()=>({theme:b,resolvedTheme:p,setTheme:w}),[b,p,w]);return g.createElement(ko.Provider,{value:v},e)}function na(){const e=g.useContext(ko);if(!e)throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");return e}function ta(){return g.useContext(ko)}const Co=g.createContext(null);function ia({children:e,value:o}){return g.createElement(Co.Provider,{value:o},e)}function sa(){const e=g.useContext(Co);if(!e)throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");return e}function aa(){return g.useContext(Co)}exports.BUTTON_BASE_INTERACTIVE_CLASS=Ei;exports.BUTTON_CLIP_LAYER_CLASS=ki;exports.BUTTON_CURSOR_CLASS=Ai;exports.BUTTON_DISABLED_OPACITY_CLASS=Pi;exports.BUTTON_GROUP_RADIUS_BRIDGE_CLASS=cs;exports.BUTTON_GROUP_TEXT_LABEL_CLASS=ms;exports.BUTTON_GROUP_TEXT_VARIANT=as;exports.BUTTON_SIZE_TEXT_VARIANT=Ti;exports.BUTTON_SPINNER_MOTION_CLASS=Fi;exports.BUTTON_STATUS_FOCUS_OUTLINE=Si;exports.BUTTON_VARIANT_HAS_HOVER_SHADOW=hi;exports.BurneThemeRuntimeContextProvider=ia;exports.COLOR_CSS_VAR=$e;exports.CONTROL_SIZE_LAYOUT=Q;exports.ConvergeRippleLayer=Ft;exports.DARK_COLORS=Hr;exports.DEFAULT_FONT=Vr;exports.DEFAULT_FONT_MONO=qr;exports.DEFAULT_THEME_STORAGE_KEY=wo;exports.FIELD_SHELL_FOCUS_CLASS=Gr;exports.FIELD_SHELL_TRANSITION_CLASS=Ss;exports.FIELD_SHELL_VARIANT_BG_CLASS=Br;exports.FONT_WEIGHT_CSS_VAR=Ge;exports.FONT_WEIGHT_DEFAULTS=Sr;exports.GLOSS_INTERACTIVE_MOTION_CLASS=vo;exports.INTERACTIVE_VARIANT_ROOT=Y;exports.LIGHT_COLORS=Ur;exports.MOTION_CONFIG_DEFAULTS=Be;exports.MOTION_CSS_VAR=gr;exports.MOTION_DEFAULTS=$r;exports.NARROW_VIEWPORT_MAX_PX=xr;exports.SCALE_DEFAULTS=Wr;exports.SEMANTIC_STATUS_FILL=Or;exports.SEMANTIC_STATUS_OUTLINE_BORDER=Lr;exports.SEMANTIC_STATUS_SURFACE_TINT=_r;exports.SEMANTIC_STATUS_TEXT=de;exports.SHADOW_CSS_VAR=co;exports.SHADOW_LAYER_GEOM=dr;exports.SHADOW_LIFT_MOTION_CLASS=Ue;exports.SHADOW_OPACITY_BASE=ur;exports.SHADOW_SIZE_CSS_DEFAULT=ot;exports.SURFACE_COLOR_TRANSITION=Rr;exports.TEXT_COLOR_TRANSITION=pi;exports.TEXT_SCALE_BASES=J;exports.TOUCH_OR_NARROW_VIEWPORT_MQL=mo;exports.TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER=Bt;exports.ThemeProvider=ra;exports.activateThemeModePalette=Hs;exports.affixSlotClass=Ts;exports.affixToggleMinWClass=ks;exports.animateGlossInteractiveHoverLift=pe;exports.animateGlossInteractivePressSqueeze=kr;exports.animateInteractiveHoverLift=ge;exports.animateInteractivePressSqueeze=Qt;exports.applyBurneThemeConfig=en;exports.applyCustomThemeTokens=Zr;exports.applyMotionCssTokens=uo;exports.applyThemeMode=on;exports.applyThemeTokens=Xr;exports.applyTokens=Ks;exports.burneFontWeightScale=Mt;exports.burneShadowScale=et;exports.buttonContentClass=Yi;exports.buttonConvergeRippleColor=Ui;exports.buttonErrorLayerClass=os;exports.buttonFeedbackExpandRippleClass=ji;exports.buttonGroupOverlapBorderClasses=us;exports.buttonGroupRootClass=ds;exports.buttonGroupRoundingClasses=zr;exports.buttonGroupSegmentSurfaceClasses=Mr;exports.buttonGroupSeparatorClass=fs;exports.buttonGroupTextClass=gs;exports.buttonGroupTextFrameClass=Pr;exports.buttonGroupTextSurfaceClasses=Nr;exports.buttonIconClass=Zi;exports.buttonIconSvgClass=rs;exports.buttonLabelClass=Ki;exports.buttonLoaderLayerClass=Ji;exports.buttonLoaderTextClass=Hi;exports.buttonRippleTone=is;exports.buttonRootClass=Vi;exports.buttonSpinnerClass=qi;exports.buttonSpinnerInnerClass=Xi;exports.buttonSuccessLayerClass=es;exports.buttonSurfaceMotionClass=ss;exports.buttonTextClass=Qi;exports.clearCustomThemeTokens=js;exports.clearThemeInlineTokens=$s;exports.clearWillChangeOnComplete=Rt;exports.cn=x;exports.colorToken=T;exports.configureMotion=pr;exports.controlShellClass=$i;exports.createConvergeRippleAtPointer=go;exports.createConvergeRippleFromPointer=Pt;exports.createDefaultBurneThemeConfig=Qr;exports.createDefaultThemeState=le;exports.createGlossInteractiveRefCallback=So;exports.designTokenNames=Gt;exports.ensureModePalettes=Ve;exports.ensureRippleEase=hr;exports.exportBurneThemeConfigSource=Js;exports.exportBurneThemeCss=Zs;exports.exportDefaultBurneThemeConfigSource=Xs;exports.exportThemeCss=Yr;exports.fieldShellFocusRingClass=ys;exports.fieldShellHoverClass=vs;exports.fieldShellVariantFromButtonGroup=bs;exports.firstLevelHoverShadow=di;exports.fluidScaleRem=Z;exports.fontWeightToken=Nt;exports.getMotionConfig=N;exports.getMotionConfigRevision=mt;exports.hoverVariant=Fr;exports.initElementShadow=He;exports.isInteractivePressKey=Zt;exports.isMotionEnabled=pt;exports.isMotionFeatureEnabled=he;exports.killMotion=F;exports.mergeThemeTokenOverrides=Ys;exports.motionContentFade=wt;exports.motionExpand=yt;exports.motionFeedbackExpand=Tt;exports.motionInteractive=bt;exports.motionLoadingDots=_t;exports.motionModal=ht;exports.motionProgressFill=Et;exports.motionProgressIndeterminate=kt;exports.motionSelectionFill=vt;exports.motionSwitchThumb=xt;exports.motionToastDismiss=Ct;exports.motionTooltip=St;exports.patchThemeColor=Us;exports.prefersReducedMotion=be;exports.readControlHeightPx=Os;exports.readShadowSize=$t;exports.readShadowVar=so;exports.resolveCustomThemeTokens=Eo;exports.resolveFieldShellSurfaceClass=hs;exports.resolveTheme=qe;exports.resolveThemeTokenState=To;exports.secondLevelShadow=xo;exports.setWillChangeTransform=fo;exports.shadowBase=ae;exports.shadowCssVar=ve;exports.shadowLarge=Wt;exports.shadowMid=yr;exports.shadowNone=Ae;exports.shadowToken=rt;exports.shouldSkipInteractiveHoverLift=A;exports.subscribeMotionConfig=gt;exports.themeTokenStateToConfig=Kr;exports.tokensConfig=nt;exports.useBurneTheme=na;exports.useBurneThemeOptional=ta;exports.useBurneThemeRuntime=sa;exports.useBurneThemeRuntimeOptional=aa;exports.useContainerPointerHoverHandlers=po;exports.useConvergeRipples=zt;exports.useFieldShellHoverLift=ws;exports.useGlossFieldShellMotion=ui;exports.useGlossInteractiveHandlers=Cr;exports.useInteractiveHoverLiftContainerHandlers=Tr;exports.useMergedGlossPanelRef=ci;exports.usePersistentElShadow=fi;exports.usePrefersReducedMotion=ft;exports.useSecondLevelShadow=Dr;exports.useSecondLevelShadowContainer=gi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "burne-ui",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "React UI kit (Burne UI)",
5
5
  "type": "module",
6
6
  "sideEffects": [