@shweet/qt 0.0.18 → 0.0.20

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,2 @@
1
+ // @bun
2
+ import{e,o,i}from"../$/index-bpdqaq7y.js";import{s}from"../$/index-wz2nqnj9.js";var t=(n,r)=>r===void 0?`var(--${n})`:`var(--${n}, ${r})`,M=(n)=>s.VARS(n),c=(n,r)=>e(n,{dark:r}),ne={stColorInk:c("#1f2933","#f1f5f9"),stColorInkMuted:c("#52606d","#cbd5e1"),stColorSurface:c("#ffffff","#0f172a"),stColorSurfaceMuted:c("#f3f6f8","#1e293b"),stColorSurfaceRaised:c("#ffffff","#182235"),stColorBorder:c("#cbd2d9","#475569"),stColorBorderStrong:c("#7b8794","#94a3b8"),stColorAccent:c("#1d4ed8","#93c5fd"),stColorAccentStrong:c("#1e40af","#bfdbfe"),stColorOnAccent:c("#ffffff","#0f172a"),stColorDanger:c("#b42318","#fca5a5"),stColorDangerStrong:c("#8f1d14","#fecaca"),stColorOnDanger:c("#ffffff","#450a0a"),stColorSuccess:c("#067647","#86efac"),stColorOnSuccess:c("#ffffff","#052e16"),stColorWarning:c("#92400e","#fcd34d"),stColorOnWarning:c("#ffffff","#451a03"),stFocusRing:c("0 0 0 3px rgb(29 78 216 / 0.45)","0 0 0 3px rgb(147 197 253 / 0.55)"),stShadowSm:c("0 1px 2px rgb(16 24 40 / 0.08), 0 8px 24px rgb(16 24 40 / 0.06)","0 1px 2px rgb(0 0 0 / 0.5), 0 8px 24px rgb(0 0 0 / 0.35)"),stFontSans:'system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',stFontMono:'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace',stFontSize:"1rem",stFontSizeSm:"0.875rem",stFontSizeLg:"1.125rem",stFontSizeTitle:"clamp(1.5rem, 2.5vw, 2rem)",stLineHeight:"1.5",stSpaceXs:"0.25rem",stSpaceSm:"0.5rem",stSpaceMd:"1rem",stSpaceLg:"1.5rem",stSpaceXl:"2rem",stRadiusSm:"0.375rem",stRadiusMd:"0.75rem",stRadiusLg:"1rem",stRadiusFull:"9999px",stBorderWidth:"1px",stControlHeight:"2.75rem",stContainerMax:"72rem",stGridMin:"16rem",stCheckSize:"1.15rem",stMotionFast:"150ms",stBtnTransform:"none",stBtnTracking:"normal"};var je=()=>({...M(ne),color:t("st-color-ink"),backgroundColor:t("st-color-surface"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5"),colorScheme:e("light",{dark:"dark"}),accentColor:t("st-color-accent")}),he=(n)=>{let{c:r,d:a}=n;a[".st-root"]=je(),r["st-title"]={marginBlock:"0",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-title","2rem"),fontWeight:"700",lineHeight:"1.2",textWrap:"balance"},r["st-text"]={marginBlock:"0",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},r["st-lede"]={marginBlock:"0",color:t("st-color-ink-muted"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),lineHeight:"1.6"},r["st-muted"]={color:t("st-color-ink-muted")},r["st-link"]={color:e(t("st-color-accent"),{forcedColors:"LinkText"}),fontFamily:t("st-font-sans"),fontWeight:"500",textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em",transitionProperty:"color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-code"]={paddingBlock:"0.15em",paddingInline:"0.35em",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-mono"),fontSize:"0.9em"}};class C extends o{constructor(n,r={}){super({data:{...n,...r.data??{}},...r.prefix===void 0?{}:{prefix:r.prefix},...r.values===void 0?{}:{values:r.values}})}apply(n){return this._value=n,this}configure(n){return this.data={...this.data,...n},this}get hasValue(){return Object.keys(this._value).length>0}get isScoped(){return this._prefix!==void 0}}class d extends C{variants;constructor(n,r,a={}){super({kind:n},a);this.variants=r}select(n){return this.configure({kind:n}),this.apply(this.variants[n])}}var Ne={info:{display:"block",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderInlineStartWidth:"4px",borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderInlineStartColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},success:{borderInlineStartColor:e(t("st-color-success"),{forcedColors:"Highlight"})},danger:{borderInlineStartColor:e(t("st-color-danger"),{forcedColors:"Mark"})}};class K extends d{constructor(n={}){super("info",Ne,n)}get info(){return this.select("info")}get success(){return this.select("success")}get danger(){return this.select("danger")}}var Ve={default:{display:"inline-flex",alignItems:"center",gap:"0.35em",paddingBlock:"0.2em",paddingInline:"0.6em",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),fontWeight:"600",lineHeight:"1.4"},accent:{borderColor:t("st-color-accent"),backgroundColor:t("st-color-accent"),color:t("st-color-on-accent")},danger:{borderColor:t("st-color-danger"),backgroundColor:t("st-color-danger"),color:t("st-color-on-danger")}};class L extends d{constructor(n={}){super("default",Ve,n)}get default(){return this.select("default")}get accent(){return this.select("accent")}get danger(){return this.select("danger")}}var $e={tone:"primary",size:"medium",link:!1,icon:!1,block:!1},ke=(n)=>{switch(n){case"secondary":return{background:t("st-color-surface-raised"),foreground:t("st-color-ink"),border:t("st-color-border-strong"),hoverBackground:t("st-color-surface-muted"),hoverBorder:t("st-color-ink-muted"),activeBackground:t("st-color-surface-muted")};case"danger":return{background:t("st-color-danger"),foreground:t("st-color-on-danger"),border:t("st-color-danger"),hoverBackground:t("st-color-danger-strong"),hoverBorder:t("st-color-danger-strong"),activeBackground:t("st-color-danger-strong")};case"ghost":return{background:"transparent",foreground:t("st-color-accent"),border:"transparent",hoverBackground:t("st-color-surface-muted"),hoverBorder:t("st-color-border"),activeBackground:t("st-color-surface-muted")};case"outline":return{background:"transparent",foreground:e(t("st-color-accent"),{forcedColors:"ButtonText"}),border:e(t("st-color-accent"),{forcedColors:"ButtonText"}),hoverBackground:e(t("st-color-accent"),{forcedColors:"Highlight"}),hoverBorder:e(t("st-color-accent"),{forcedColors:"Highlight"}),activeBackground:e(t("st-color-accent-strong"),{forcedColors:"Highlight"})};case"primary":return{background:t("st-color-accent"),foreground:t("st-color-on-accent"),border:t("st-color-accent"),hoverBackground:t("st-color-accent-strong"),hoverBorder:t("st-color-accent-strong"),activeBackground:t("st-color-accent-strong")}}},Se=(n)=>{switch(n){case"small":return{fontSize:t("st-font-size-sm","0.875rem"),paddingBlock:"0.35rem",paddingInline:"0.7rem",minBlockSize:"2.25rem"};case"large":return{fontSize:t("st-font-size-lg","1.125rem"),paddingBlock:"0.7rem",paddingInline:"1.4rem",minBlockSize:"3.25rem"};case"medium":return{fontSize:t("st-font-size","1rem"),paddingBlock:"0.55rem",paddingInline:t("st-space-md","1rem"),minBlockSize:t("st-control-height","2.75rem")}}},ie=(n)=>{let r=ke(n.tone),a=Se(n.size);return{"--st-btn-bg":r.background,"--st-btn-fg":r.foreground,"--st-btn-border":r.border,"--st-btn-hover-bg":r.hoverBackground,"--st-btn-hover-border":r.hoverBorder,"--st-btn-active-bg":r.activeBackground,"--st-btn-radius":t("st-radius-md"),"--st-btn-padding-block":a.paddingBlock,"--st-btn-padding-inline":a.paddingInline,"--st-btn-font-size":a.fontSize,"--st-btn-min-height":a.minBlockSize,display:"inline-flex",alignItems:"center",justifyContent:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",minBlockSize:t("st-btn-min-height",t("st-control-height")),paddingBlock:t("st-btn-padding-block","0.55rem"),paddingInline:t("st-btn-padding-inline",t("st-space-md")),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-btn-border",t("st-color-accent")),{forcedColors:"ButtonText"}),borderRadius:t("st-btn-radius",t("st-radius-md")),backgroundColor:e(t("st-btn-bg",t("st-color-accent")),{forcedColors:"ButtonFace"}),color:e(t("st-btn-fg",t("st-color-on-accent")),{forcedColors:"ButtonText"}),fontFamily:t("st-font-sans"),fontSize:t("st-btn-font-size",t("st-font-size")),fontWeight:"600",lineHeight:"1.2",textAlign:"center",textDecoration:"none",textTransform:t("st-btn-transform","none"),letterSpacing:t("st-btn-tracking","normal"),cursor:"pointer",userSelect:"none",transitionProperty:"background-color, border-color, color, box-shadow",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease",...n.link?Ce():{},...n.icon?xe():{},...n.block?ye():{}}},Ce=()=>({minBlockSize:"auto",paddingBlock:"0",paddingInline:"0",borderStyle:"none",borderWidth:"0",borderRadius:"0",backgroundColor:"transparent",color:e(t("st-color-accent"),{forcedColors:"LinkText"}),textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em"}),xe=()=>({inlineSize:t("st-btn-min-height",t("st-control-height","2.75rem")),blockSize:t("st-btn-min-height",t("st-control-height","2.75rem")),paddingBlock:"0",paddingInline:"0"}),ye=()=>({display:"flex",inlineSize:"100%"}),Ue=(n)=>{let r=ke(n);return{"--st-btn-bg":r.background,"--st-btn-fg":r.foreground,"--st-btn-border":r.border,"--st-btn-hover-bg":r.hoverBackground,"--st-btn-hover-border":r.hoverBorder,"--st-btn-active-bg":r.activeBackground}},Ge=(n)=>{let r=Se(n);return{"--st-btn-padding-block":r.paddingBlock,"--st-btn-padding-inline":r.paddingInline,"--st-btn-font-size":r.fontSize,"--st-btn-min-height":r.minBlockSize}};class k extends C{constructor(n={}){super($e,n)}get primary(){return this.tone("primary")}get secondary(){return this.tone("secondary")}get danger(){return this.tone("danger")}get ghost(){return this.tone("ghost")}get outline(){return this.tone("outline")}get small(){return this.size("small")}get medium(){return this.size("medium")}get large(){return this.size("large")}get link(){return this.shape({link:!0},Ce())}get icon(){return this.shape({icon:!0},xe())}get block(){return this.shape({block:!0},ye())}tone(n){this.configure({tone:n});let r=this.isScoped&&this.hasValue;return this.apply(r?Ue(n):ie(this.data))}size(n){this.configure({size:n});let r=this.isScoped&&this.hasValue;return this.apply(r?Ge(n):ie(this.data))}shape(n,r){this.configure(n);let a=this.isScoped&&this.hasValue;return this.apply(a?r:ie(this.data))}}var Ye={kind:"default"},qe=(n)=>{let r=t("st-color-surface-raised"),a=t("st-color-border"),h=t("st-space-md","1rem"),P=t("st-radius-md","0.75rem");switch(n){case"header":return{display:"flex",alignItems:"center",justifyContent:"space-between",gap:t("st-space-sm","0.5rem"),paddingBlock:h,paddingInline:h,borderBlockEndStyle:"solid",borderBlockEndWidth:t("st-border-width","1px"),borderBlockEndColor:e(a,{forcedColors:"CanvasText"}),color:t("st-color-ink"),fontWeight:"600"};case"body":return{paddingBlock:h,paddingInline:h,color:t("st-color-ink")};case"footer":return{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:t("st-space-sm","0.5rem"),paddingBlock:h,paddingInline:h,borderBlockStartStyle:"solid",borderBlockStartWidth:t("st-border-width","1px"),borderBlockStartColor:e(a,{forcedColors:"CanvasText"}),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),borderEndStartRadius:P,borderEndEndRadius:P,color:t("st-color-ink-muted")};case"media":return{display:"block",inlineSize:"100%",blockSize:"auto",aspectRatio:"16 / 9",objectFit:"cover",backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"})};case"default":return{display:"block",boxSizing:"border-box",overflow:"hidden",backgroundColor:e(r,{forcedColors:"Canvas"}),color:t("st-color-ink"),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(a,{forcedColors:"CanvasText"}),borderRadius:P,boxShadow:t("st-shadow-sm","none"),transitionProperty:"border-color, box-shadow",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease"}}};class x extends C{constructor(n={}){super(Ye,n)}get default(){return this.kind("default")}get header(){return this.kind("header")}get body(){return this.kind("body")}get footer(){return this.kind("footer")}get media(){return this.kind("media")}kind(n){return this.configure({kind:n}),this.apply(qe(n))}}var ve=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),we=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:t("st-line-height","1.5")}),ze=()=>({inlineSize:t("st-check-size","1.15rem"),blockSize:t("st-check-size","1.15rem"),margin:"0",accentColor:t("st-color-accent"),flexShrink:"0"}),Xe={group:{display:"grid",gap:t("st-space-sm","0.5rem"),margin:"0",padding:"0",borderStyle:"none"},choice:{display:"flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),color:t("st-color-ink"),...ve()},checkbox:ze(),radio:ze(),switch:{display:"inline-flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),color:t("st-color-ink"),cursor:"pointer",...ve()},switchInput:{appearance:"none",position:"relative",display:"inline-block",flexShrink:"0",inlineSize:t("st-switch-width","2.6rem"),blockSize:t("st-switch-height","1.5rem"),margin:"0",padding:"0",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-switch-border",t("st-color-border-strong")),{forcedColors:"ButtonText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-switch-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),cursor:"pointer",transitionProperty:"background-color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease"},label:{color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},help:{display:"block",marginBlock:"0",marginInlineStart:"calc(var(--st-check-size, 1.15rem) + var(--st-space-sm, 0.5rem))",color:t("st-color-ink-muted"),...we()},error:{display:"block",marginBlock:"0",marginInlineStart:"calc(var(--st-check-size, 1.15rem) + var(--st-space-sm, 0.5rem))",color:e(t("st-color-danger"),{forcedColors:"LinkText"}),fontWeight:"600",...we()}};class O extends d{constructor(n={}){super("choice",Xe,n)}get group(){return this.select("group")}get choice(){return this.select("choice")}get checkbox(){return this.select("checkbox")}get radio(){return this.select("radio")}get switch(){return this.select("switch")}get switchInput(){return this.select("switchInput")}get label(){return this.select("label")}get help(){return this.select("help")}get error(){return this.select("error")}}var ae=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),Be=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),Je=()=>e(t("st-color-surface-raised"),{forcedColors:"Canvas"}),le=()=>t("st-color-ink"),Qe=()=>t("st-radius-md","0.75rem"),Ie=()=>t("st-border-width","1px"),Ze={accordion:{display:"block",boxSizing:"border-box",overflow:"hidden",borderStyle:"solid",borderWidth:Ie(),borderColor:Be(),borderRadius:Qe(),backgroundColor:Je(),color:le(),...ae()},item:{display:"block",margin:"0"},summary:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),color:le(),...ae(),fontWeight:"600",cursor:"pointer",listStyleType:"none",transitionProperty:"background-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},panel:{display:"block",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderBlockStartStyle:"solid",borderBlockStartWidth:Ie(),borderBlockStartColor:Be(),color:le(),...ae()}};class _ extends d{constructor(n={}){super("accordion",Ze,n)}get accordion(){return this.select("accordion")}get item(){return this.select("item")}get summary(){return this.select("summary")}get panel(){return this.select("panel")}}var et={kind:"input"},de=(n,r)=>({display:"block",boxSizing:"border-box",inlineSize:"100%",minBlockSize:t("st-control-height","2.75rem"),...n?{blockSize:"auto",resize:"vertical"}:{},...n?{minBlockSize:"6rem"}:{},...r?{appearance:"auto"}:{},paddingBlock:"0.55rem",paddingInline:"0.75rem",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border-strong"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-raised"),{forcedColors:"Field"}),color:e(t("st-color-ink"),{forcedColors:"FieldText"}),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5"),outlineStyle:"none",transitionProperty:"border-color, box-shadow",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease"}),tt=(n)=>{switch(n){case"field":return{display:"grid",gap:t("st-space-xs","0.25rem"),minInlineSize:"0",color:t("st-color-ink")};case"label":return{display:"block",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),fontWeight:"600",lineHeight:t("st-line-height","1.5")};case"input":return de(!1,!1);case"select":return de(!1,!0);case"textarea":return de(!0,!1);case"help":return{display:"block",color:t("st-color-ink-muted"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:t("st-line-height","1.5")};case"error":return{display:"block",color:e(t("st-color-danger"),{forcedColors:"LinkText"}),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),fontWeight:"600",lineHeight:t("st-line-height","1.5")}}};class b extends C{constructor(n={}){super(et,n)}get field(){return this.kind("field")}get label(){return this.kind("label")}get input(){return this.kind("input")}get select(){return this.kind("select")}get textarea(){return this.kind("textarea")}get help(){return this.kind("help")}get error(){return this.kind("error")}kind(n){return this.configure({kind:n}),this.apply(tt(n))}}var ot={button:{display:"inline-flex",alignItems:"center",justifyContent:"center",inlineSize:"1em",blockSize:"1em",flexShrink:"0"},empty:{display:"inline-flex",alignItems:"center",justifyContent:"center",inlineSize:"2.5rem",blockSize:"2.5rem",borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink-muted"),fontSize:t("st-font-size-lg","1.125rem"),lineHeight:"1"}};class j extends d{constructor(n={}){super("button",ot,n)}get button(){return this.select("button")}get empty(){return this.select("empty")}}var rt={kind:"stack"},st=(n)=>{switch(n){case"container":return{boxSizing:"border-box",inlineSize:"100%",maxInlineSize:t("st-container-max","72rem"),marginInline:"auto",paddingInline:e(t("st-space-md","1rem"),{standalone:"max(var(--st-space-md, 1rem), env(safe-area-inset-left))"})};case"stack":return{display:"grid",gridAutoFlow:"row",gap:t("st-space-md","1rem"),minInlineSize:"0"};case"cluster":return{display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-sm","0.5rem"),minInlineSize:"0"};case"grid":return{display:"grid",gap:t("st-space-md","1rem"),gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, var(--st-grid-min, 16rem)), 1fr))",minInlineSize:"0"};case"divider":return{marginBlock:t("st-space-md","1rem"),marginInline:"0",borderStyle:"none",borderBlockStartStyle:"solid",borderBlockStartWidth:t("st-border-width","1px"),borderBlockStartColor:e(t("st-color-border"),{forcedColors:"CanvasText"})}}};class y extends C{constructor(n={}){super(rt,n)}get container(){return this.kind("container")}get stack(){return this.kind("stack")}get cluster(){return this.kind("cluster")}get grid(){return this.kind("grid")}get divider(){return this.kind("divider")}kind(n){return this.configure({kind:n}),this.apply(st(n))}}var ce=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:"1.4"}),Te=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),nt=()=>e(t("st-color-surface-raised"),{forcedColors:"Canvas"});var Re=()=>t("st-color-ink"),it=()=>t("st-color-ink-muted"),at=()=>t("st-radius-sm","0.375rem"),lt=()=>t("st-radius-md","0.75rem"),De=()=>t("st-border-width","1px"),dt={dropdown:{display:"block",boxSizing:"border-box",minInlineSize:t("st-menu-min-width","12rem"),margin:"0",padding:t("st-space-xs","0.25rem"),borderStyle:"solid",borderWidth:De(),borderColor:Te(),borderRadius:lt(),backgroundColor:nt(),boxShadow:t("st-shadow-sm","none"),color:Re(),...ce()},item:{appearance:"none",display:"flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",inlineSize:"100%",paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:"0",borderRadius:at(),backgroundColor:"transparent",color:Re(),textAlign:"start",textDecorationLine:"none",...ce(),cursor:"pointer",transitionProperty:"background-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},divider:{blockSize:"0",marginBlock:t("st-space-xs","0.25rem"),marginInline:"0",borderStyle:"none",borderBlockStartStyle:"solid",borderBlockStartWidth:De(),borderBlockStartColor:Te()},header:{display:"block",paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),color:it(),...ce(),fontWeight:"600"},danger:{color:e(t("st-color-danger"),{forcedColors:"Mark"})}};class N extends d{constructor(n={}){super("dropdown",dt,n)}get dropdown(){return this.select("dropdown")}get item(){return this.select("item")}get divider(){return this.select("divider")}get header(){return this.select("header")}get danger(){return this.select("danger")}}var We=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),R=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:"1.4"}),me=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),Pe=()=>e(t("st-color-surface-raised"),{forcedColors:"Canvas"});var Z=()=>t("st-color-ink"),ee=()=>t("st-color-ink-muted"),F=()=>t("st-radius-sm","0.375rem"),ct=()=>t("st-radius-md","0.75rem"),V=()=>t("st-border-width","1px"),mt={breadcrumb:{display:"flex",flexWrap:"wrap",alignItems:"center",columnGap:t("st-space-xs","0.25rem"),rowGap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",color:ee(),...R()},breadcrumbItem:{display:"inline-flex",alignItems:"center",gap:t("st-space-xs","0.25rem"),minInlineSize:"0"},breadcrumbLink:{color:e(t("st-color-accent"),{forcedColors:"LinkText"}),...R(),textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em",borderRadius:F(),transitionProperty:"color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},pagination:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",...R()},page:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:t("st-space-xs","0.25rem"),boxSizing:"border-box",minInlineSize:t("st-control-height","2.75rem"),blockSize:t("st-control-height","2.75rem"),paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:V(),borderColor:me(),borderRadius:F(),backgroundColor:Pe(),color:Z(),...R(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, border-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},pageEllipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",minInlineSize:t("st-control-height","2.75rem"),color:ee(),...R()},tabs:{display:"flex",flexWrap:"wrap",alignItems:"flex-end",gap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",borderBlockEndStyle:"solid",borderBlockEndWidth:V(),borderBlockEndColor:me()},tab:{appearance:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:t("st-space-xs","0.25rem"),paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:V(),borderColor:"transparent",borderBlockEndWidth:"2px",borderBlockEndColor:"transparent",borderStartStartRadius:F(),borderStartEndRadius:F(),backgroundColor:"transparent",color:ee(),...R(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},tabPanel:{paddingBlock:t("st-space-md","1rem"),color:Z(),...We()},bar:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:V(),borderColor:me(),borderRadius:ct(),backgroundColor:Pe(),color:Z(),...We()},brand:{display:"inline-flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),marginInlineEnd:t("st-space-sm","0.5rem"),color:Z(),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),fontWeight:"700",lineHeight:"1.3",textDecorationLine:"none",borderRadius:F()},item:{display:"inline-flex",alignItems:"center",gap:t("st-space-xs","0.25rem"),paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:V(),borderColor:"transparent",borderRadius:F(),color:ee(),...R(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})}};class U extends d{constructor(n={}){super("bar",mt,n)}get breadcrumb(){return this.select("breadcrumb")}get breadcrumbItem(){return this.select("breadcrumbItem")}get breadcrumbLink(){return this.select("breadcrumbLink")}get pagination(){return this.select("pagination")}get page(){return this.select("page")}get pageEllipsis(){return this.select("pageEllipsis")}get tabs(){return this.select("tabs")}get tab(){return this.select("tab")}get tabPanel(){return this.select("tabPanel")}get bar(){return this.select("bar")}get brand(){return this.select("brand")}get item(){return this.select("item")}}var ue=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),pt=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),Me=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:t("st-line-height","1.5")}),ut=()=>e(t("st-table-stripe-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),gt=()=>e(t("st-table-hover-bg",`color-mix(in srgb, ${t("st-color-accent")} 8%, ${t("st-color-surface")})`),{forcedColors:"Highlight"}),bt=()=>e(t("st-table-selected-bg",`color-mix(in srgb, ${t("st-color-accent")} 16%, ${t("st-color-surface")})`),{forcedColors:"Highlight"}),pe=()=>({paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderBlockEndStyle:"solid",borderBlockEndWidth:t("st-border-width","1px"),borderBlockEndColor:ue(),textAlign:"start",verticalAlign:"middle"}),ft={default:{inlineSize:"100%",borderCollapse:"collapse",borderSpacing:"0",backgroundColor:t("st-color-surface"),color:e(t("st-color-ink"),{forcedColors:"CanvasText"}),textAlign:"start",verticalAlign:"middle",...pt()},caption:{captionSide:"bottom",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),color:t("st-color-ink-muted"),...Me(),textAlign:"start"},head:{backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink")},headCell:{...pe(),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600",fontSize:t("st-font-size-sm","0.875rem"),whiteSpace:"nowrap"},cell:pe(),foot:{backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink")},footCell:{...pe(),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600"},compact:{fontSize:t("st-font-size-sm","0.875rem")},striped:{"--st-table-stripe-row-bg":ut()},hover:{"--st-table-hover-row-bg":gt()},rowSelected:{"--st-table-selected-row-bg":bt(),fontWeight:"600"},bordered:{borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:ue()},sticky:{borderCollapse:"separate",borderSpacing:"0"},sort:{appearance:"none",display:"inline-flex",alignItems:"center",gap:"0.35em",margin:"0",padding:"0",borderStyle:"none",borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:"transparent",color:"inherit",font:"inherit",fontWeight:"600",textAlign:"start",textDecorationLine:"none",cursor:"pointer"},empty:{paddingBlock:t("st-space-lg","1.5rem"),paddingInline:t("st-space-md","1rem"),color:t("st-color-ink-muted"),textAlign:"center",...Me()},responsive:{display:"block",inlineSize:"100%",maxInlineSize:"100%",overflowX:"auto",overscrollBehaviorInline:"contain",scrollbarGutter:"stable",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:ue(),borderRadius:t("st-table-radius",t("st-radius-sm","0.375rem")),backgroundColor:e(t("st-color-surface"),{forcedColors:"Canvas"}),color:e(t("st-color-ink"),{forcedColors:"CanvasText"})}};class G extends d{constructor(n={}){super("default",ft,n)}get default(){return this.select("default")}get caption(){return this.select("caption")}get head(){return this.select("head")}get headCell(){return this.select("headCell")}get cell(){return this.select("cell")}get foot(){return this.select("foot")}get footCell(){return this.select("footCell")}get compact(){return this.select("compact")}get striped(){return this.select("striped")}get hover(){return this.select("hover")}get rowSelected(){return this.select("rowSelected")}get bordered(){return this.select("bordered")}get sticky(){return this.select("sticky")}get sort(){return this.select("sort")}get empty(){return this.select("empty")}get responsive(){return this.select("responsive")}get wrapper(){return this.select("responsive")}}var ht={title:{marginBlock:"0",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-title","2rem"),fontWeight:"700",lineHeight:"1.2",textWrap:"balance"},body:{marginBlock:"0",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},lede:{marginBlock:"0",color:t("st-color-ink-muted"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),lineHeight:"1.6"},muted:{color:t("st-color-ink-muted")},link:{color:e(t("st-color-accent"),{forcedColors:"LinkText"}),fontFamily:t("st-font-sans"),fontWeight:"500",textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em",transitionProperty:"color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},code:{paddingBlock:"0.15em",paddingInline:"0.35em",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-mono"),fontSize:"0.9em"}};class Y extends d{constructor(n={}){super("body",ht,n)}get title(){return this.select("title")}get body(){return this.select("body")}get lede(){return this.select("lede")}get muted(){return this.select("muted")}get link(){return this.select("link")}get code(){return this.select("code")}}var q=[".st-btn",".st-btn-secondary",".st-btn-danger",".st-btn-ghost"],D=[".st-input",".st-select",".st-textarea"],kt=q.map((n)=>`${n}[aria-disabled='true']`),St=D.map((n)=>`${n}[aria-invalid='true']`),v=(n,r="")=>n.map((a)=>`${a}${r}`).join(", "),Ct=(n)=>{let{d:r}=n;r[v(q,":hover")]={backgroundColor:e(t("st-btn-hover-bg",t("st-color-accent-strong")),{forcedColors:"Highlight"}),borderColor:e(t("st-btn-hover-border",t("st-color-accent-strong")),{forcedColors:"Highlight"}),color:e(t("st-btn-fg",t("st-color-on-accent")),{forcedColors:"HighlightText"})},r[v(q,":active")]={backgroundColor:e(t("st-btn-active-bg",t("st-color-accent-strong")),{forcedColors:"Highlight"})},r[v(q,":focus-visible")]={outlineStyle:"solid",outlineWidth:"3px",outlineColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),outlineOffset:"2px",boxShadow:t("st-focus-ring","none")},r[[v(q,":disabled"),...kt].join(", ")]={opacity:"0.55",cursor:"not-allowed",boxShadow:"none"},r[v(D,":hover")]={borderColor:e(t("st-color-ink-muted"),{forcedColors:"Highlight"})},r[v(D,":focus-visible")]={borderColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),outlineStyle:"solid",outlineWidth:"3px",outlineColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),outlineOffset:"1px",boxShadow:t("st-focus-ring","none")},r[[v(D,":disabled"),v(D,"[readonly]")].join(", ")]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink-muted"),cursor:"not-allowed",opacity:"0.8"},r[[v(D,":invalid"),...St].join(", ")]={borderColor:e(t("st-color-danger"),{forcedColors:"Mark"}),outlineColor:e(t("st-color-danger"),{forcedColors:"Mark"})},r[v(D,"::placeholder")]={color:t("st-color-ink-muted"),opacity:"1"}},Fe=(n)=>{let{c:r}=n;r["st-btn"]=new k().primary._value,r["st-btn-secondary"]=new k().secondary._value,r["st-btn-danger"]=new k().danger._value,r["st-btn-ghost"]=new k().ghost._value,r["st-btn-small"]=new k().small._value,r["st-btn-large"]=new k().large._value,r["st-btn-icon"]={display:"inline-flex",alignItems:"center",justifyContent:"center",inlineSize:"1em",blockSize:"1em",flexShrink:"0"},r["st-card"]=new x().default._value,r["st-card-header"]=new x().header._value,r["st-card-body"]=new x().body._value,r["st-card-footer"]=new x().footer._value,r["st-card-media"]=new x().media._value,r["st-field"]=new b().field._value,r["st-label"]=new b().label._value,r["st-input"]=new b().input._value,r["st-select"]=new b().select._value,r["st-textarea"]=new b().textarea._value,r["st-help"]=new b().help._value,r["st-error"]=new b().error._value,Ct(n),r["st-choice"]={display:"flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},r["st-check"]={inlineSize:t("st-check-size","1.15rem"),blockSize:t("st-check-size","1.15rem"),margin:"0",accentColor:t("st-color-accent"),flexShrink:"0"},r["st-radio"]={inlineSize:t("st-check-size","1.15rem"),blockSize:t("st-check-size","1.15rem"),margin:"0",accentColor:t("st-color-accent"),flexShrink:"0"},r["st-choice-label"]={color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},r["st-badge"]={display:"inline-flex",alignItems:"center",gap:"0.35em",paddingBlock:"0.2em",paddingInline:"0.6em",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),fontWeight:"600",lineHeight:"1.4"},r["st-badge-accent"]={borderColor:t("st-color-accent"),backgroundColor:t("st-color-accent"),color:t("st-color-on-accent")},r["st-badge-danger"]={borderColor:t("st-color-danger"),backgroundColor:t("st-color-danger"),color:t("st-color-on-danger")},r["st-alert"]={display:"block",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderInlineStartWidth:"4px",borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderInlineStartColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")},r["st-alert-danger"]={borderInlineStartColor:e(t("st-color-danger"),{forcedColors:"Mark"})},r["st-alert-success"]={borderInlineStartColor:e(t("st-color-success"),{forcedColors:"Highlight"})},r["st-divider"]={marginBlock:t("st-space-md","1rem"),marginInline:"0",borderStyle:"none",borderBlockStartStyle:"solid",borderBlockStartWidth:t("st-border-width","1px"),borderBlockStartColor:e(t("st-color-border"),{forcedColors:"CanvasText"})}};var X=(n,r="")=>n.map((a)=>`${a}${r}`).join(", "),E=()=>({outlineStyle:"solid",outlineWidth:"3px",outlineColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),outlineOffset:"2px"}),B=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),xt=()=>e(t("st-color-border-strong"),{forcedColors:"CanvasText"}),J=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),I=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:t("st-line-height","1.5")}),yt=()=>e(t("st-table-stripe-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),vt=()=>e(t("st-table-hover-bg",`color-mix(in srgb, ${t("st-color-accent")} 8%, ${t("st-color-surface")})`),{forcedColors:"Highlight"}),te=()=>e(t("st-table-selected-bg",`color-mix(in srgb, ${t("st-color-accent")} 16%, ${t("st-color-surface")})`),{forcedColors:"Highlight"}),oe=()=>({paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderBlockEndStyle:"solid",borderBlockEndWidth:t("st-border-width","1px"),borderBlockEndColor:B(),textAlign:"start",verticalAlign:"middle"}),wt=()=>({...oe(),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600",fontSize:t("st-font-size-sm","0.875rem"),whiteSpace:"nowrap"}),zt=()=>({...oe(),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600"}),Ee=()=>({captionSide:"bottom",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),color:t("st-color-ink-muted"),...I(),textAlign:"start"}),Bt=()=>({display:"block",inlineSize:"100%",maxInlineSize:"100%",overflowX:"auto",overscrollBehaviorInline:"contain",scrollbarGutter:"stable",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B(),borderRadius:t("st-table-radius",t("st-radius-sm","0.375rem")),backgroundColor:e(t("st-color-surface"),{forcedColors:"Canvas"}),color:e(t("st-color-ink"),{forcedColors:"CanvasText"})}),It=(n)=>{let{c:r,d:a}=n;r["st-table-wrapper"]=Bt(),a[".st-table-wrapper:focus-visible"]=E(),r["st-table"]={inlineSize:"100%",borderCollapse:"collapse",borderSpacing:"0",backgroundColor:t("st-color-surface"),color:e(t("st-color-ink"),{forcedColors:"CanvasText"}),textAlign:"start",verticalAlign:"middle",...J()},r["st-table-caption"]=Ee(),a[".st-table > caption"]=Ee(),r["st-table-head"]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink")},r["st-table-head-cell"]=wt(),r["st-table-cell"]=oe(),r["st-table-foot"]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink")},r["st-table-foot-cell"]=zt(),a[".st-table th, .st-table td"]=oe(),a[".st-table thead th"]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600",fontSize:t("st-font-size-sm","0.875rem"),whiteSpace:"nowrap"},a[".st-table tfoot th, .st-table tfoot td"]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink"),fontWeight:"600"},r["st-table-striped"]={"--st-table-stripe-row-bg":yt()},r["st-table-hover"]={"--st-table-hover-row-bg":vt()},r["st-table-row-selected"]={"--st-table-selected-row-bg":te(),fontWeight:"600"},a[".st-table-striped tbody tr:nth-child(even) > *"]={backgroundColor:"var(--st-table-stripe-row-bg, var(--st-table-stripe-bg, var(--st-color-surface-muted)))"},a[".st-table-hover tbody tr:hover > *"]={backgroundColor:"var(--st-table-hover-row-bg, var(--st-table-hover-bg, var(--st-color-surface-muted)))",color:e(t("st-color-ink"),{forcedColors:"HighlightText"})},a[".st-table-striped.st-table-hover tbody tr:nth-child(even):hover > *"]={backgroundColor:"var(--st-table-hover-row-bg, var(--st-table-hover-bg, var(--st-color-surface-muted)))",color:e(t("st-color-ink"),{forcedColors:"HighlightText"})},a[".st-table tbody tr[aria-selected='true']"]={"--st-table-selected-row-bg":te()},a[[".st-table tbody tr[aria-selected='true'] > *",".st-table tbody tr.st-table-row-selected > *"].join(", ")]={backgroundColor:"var(--st-table-selected-row-bg, var(--st-table-selected-bg, var(--st-color-surface-muted)))",color:e(t("st-color-ink"),{forcedColors:"HighlightText"})},a[[".st-table.st-table-hover tbody tr[aria-selected='true']:hover > *",".st-table.st-table-hover tbody tr.st-table-row-selected:hover > *"].join(", ")]={backgroundColor:"var(--st-table-selected-row-bg, var(--st-table-selected-bg, var(--st-color-surface-muted)))",color:e(t("st-color-ink"),{forcedColors:"HighlightText"})},a[[".st-table tbody tr[aria-selected='true'] > :first-child",".st-table tbody tr.st-table-row-selected > :first-child"].join(", ")]={borderInlineStartStyle:"solid",borderInlineStartWidth:"3px",borderInlineStartColor:e(t("st-color-accent"),{forcedColors:"Highlight"})},r["st-table-compact"]={fontSize:t("st-font-size-sm","0.875rem")},a[".st-table-compact th, .st-table-compact td"]={paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem")},r["st-table-bordered"]={borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B()},a[".st-table-bordered th, .st-table-bordered td"]={borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B()},r["st-table-sticky"]={borderCollapse:"separate",borderSpacing:"0"},a[".st-table-sticky thead th"]={position:"sticky",insetBlockStart:"0",zIndex:"1",backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),boxShadow:`inset 0 -1px 0 0 ${t("st-color-border")}`},r["st-table-sort"]={appearance:"none",display:"inline-flex",alignItems:"center",gap:"0.35em",margin:"0",padding:"0",borderStyle:"none",borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:"transparent",color:"inherit",font:"inherit",fontWeight:"600",textAlign:"start",textDecorationLine:"none",cursor:"pointer"},a[".st-table-sort:hover"]={color:e(t("st-color-accent"),{forcedColors:"LinkText"})},a[".st-table-sort:focus-visible"]=E(),a[[".st-table-sort[aria-sort='ascending']",".st-table-sort[aria-sort='descending']"].join(", ")]={color:e(t("st-color-accent"),{forcedColors:"LinkText"})},a[[".st-table-sort:disabled",".st-table-sort[aria-disabled='true']"].join(", ")]={color:t("st-color-ink-muted"),cursor:"not-allowed",opacity:"0.55"},a[".st-table-sort::after"]={content:'"\\2195"',color:t("st-color-ink-muted"),fontSize:"0.85em",lineHeight:"1"},a[[".st-table-sort[aria-sort='ascending']::after",".st-table th[aria-sort='ascending']::after"].join(", ")]={content:'"\\25B2"',color:e(t("st-color-accent"),{forcedColors:"Highlight"})},a[[".st-table-sort[aria-sort='descending']::after",".st-table th[aria-sort='descending']::after"].join(", ")]={content:'"\\25BC"',color:e(t("st-color-accent"),{forcedColors:"Highlight"})},a[[".st-table-sort[aria-sort='none']::after",".st-table th[aria-sort='none']::after"].join(", ")]={content:'"\\2195"',color:t("st-color-ink-muted")},r["st-table-empty"]={paddingBlock:t("st-space-lg","1.5rem"),paddingInline:t("st-space-md","1rem"),color:t("st-color-ink-muted"),textAlign:"center",...I()}},ge=[".st-check",".st-radio",".st-switch-input"],Tt=(n)=>{let{c:r,d:a}=n;r["st-choice-group"]={display:"grid",gap:t("st-space-sm","0.5rem"),margin:"0",padding:"0",borderStyle:"none"},r["st-choice-help"]={display:"block",marginBlock:"0",marginInlineStart:"calc(var(--st-check-size, 1.15rem) + var(--st-space-sm, 0.5rem))",color:t("st-color-ink-muted"),...I()},r["st-choice-error"]={display:"block",marginBlock:"0",marginInlineStart:"calc(var(--st-check-size, 1.15rem) + var(--st-space-sm, 0.5rem))",color:e(t("st-color-danger"),{forcedColors:"LinkText"}),fontWeight:"600",...I()},a[[X(ge,":focus-visible")].join(", ")]=E(),a[[X(ge,":disabled"),X(ge,"[aria-disabled='true']")].join(", ")]={cursor:"not-allowed",opacity:"0.55"},r["st-switch"]={display:"inline-flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),color:t("st-color-ink"),cursor:"pointer",...J()},r["st-switch-input"]={appearance:"none",position:"relative",display:"inline-block",flexShrink:"0",inlineSize:t("st-switch-width","2.6rem"),blockSize:t("st-switch-height","1.5rem"),margin:"0",padding:"0",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-switch-border",t("st-color-border-strong")),{forcedColors:"ButtonText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-switch-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),cursor:"pointer",transitionProperty:"background-color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease"},a[".st-switch-input::before"]={content:'""',position:"absolute",insetBlockStart:"2px",insetInlineStart:"2px",inlineSize:t("st-switch-thumb-size","1.15rem"),blockSize:t("st-switch-thumb-size","1.15rem"),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-switch-thumb-bg",t("st-color-surface")),{forcedColors:"ButtonText"}),boxShadow:t("st-switch-thumb-shadow","0 1px 2px rgb(16 24 40 / 0.25)"),transitionProperty:"transform, background-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")}),transitionTimingFunction:"ease"},a[".st-switch-input:checked"]={borderColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),backgroundColor:e(t("st-color-accent"),{forcedColors:"Highlight"})},a[".st-switch-input:checked::before"]={transform:"translateX(var(--st-switch-thumb-travel, 1.1rem))",backgroundColor:e(t("st-color-on-accent"),{forcedColors:"HighlightText"})},a[".st-switch-input:focus-visible"]=E()},Rt=(n)=>{let{c:r,d:a}=n;r["st-range"]={display:"block",inlineSize:"100%",blockSize:t("st-range-height","1.5rem"),margin:"0",padding:"0",borderStyle:"none",backgroundColor:"transparent",accentColor:t("st-color-accent"),cursor:"pointer",appearance:"none"},a[".st-range:focus-visible"]=E(),a[[".st-range:disabled",".st-range[aria-disabled='true']"].join(", ")]={cursor:"not-allowed",opacity:"0.55"};let h=()=>({blockSize:t("st-range-track-size","0.4rem"),borderRadius:t("st-radius-full","9999px"),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-range-track-border",t("st-color-border")),{forcedColors:"CanvasText"}),backgroundColor:e(t("st-range-track-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"})}),P=()=>({inlineSize:t("st-range-thumb-size","1.15rem"),blockSize:t("st-range-thumb-size","1.15rem"),borderRadius:t("st-radius-full","9999px"),borderStyle:"solid",borderWidth:"2px",borderColor:e(t("st-range-thumb-border",t("st-color-surface")),{forcedColors:"Canvas"}),backgroundColor:e(t("st-range-thumb-bg",t("st-color-accent")),{forcedColors:"Highlight"}),boxShadow:t("st-range-thumb-shadow",t("st-shadow-sm")),cursor:"pointer"});a[".st-range::-webkit-slider-runnable-track"]=h(),a[".st-range::-webkit-slider-thumb"]={...P(),appearance:"none",marginBlockStart:"calc((var(--st-range-track-size, 0.4rem) - var(--st-range-thumb-size, 1.15rem)) / 2)"},a[".st-range::-moz-range-track"]=h(),a[".st-range::-moz-range-progress"]={blockSize:t("st-range-track-size","0.4rem"),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-color-accent"),{forcedColors:"Highlight"})},a[".st-range::-moz-range-thumb"]=P()},Dt=(n)=>{let{c:r,d:a}=n;r["st-progress"]={display:"block",inlineSize:"100%",blockSize:t("st-progress-height","0.75rem"),appearance:"none",overflow:"hidden",verticalAlign:"middle",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-progress-track-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),color:t("st-color-accent")};let h=()=>({borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-progress-value-bg",t("st-color-accent")),{forcedColors:"Highlight"}),transitionProperty:"inline-size",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})});a[".st-progress::-webkit-progress-bar"]={borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-progress-track-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"})},a[".st-progress::-webkit-progress-value"]=h(),a[".st-progress::-moz-progress-bar"]=h(),a[".st-progress:indeterminate"]={backgroundImage:"repeating-linear-gradient(135deg, var(--st-color-surface-muted) 0 0.4rem, var(--st-color-border) 0.4rem 0.8rem)"},r["st-progress-success"]={"--st-progress-value-bg":t("st-color-success")},r["st-progress-warning"]={"--st-progress-value-bg":t("st-color-warning")},r["st-progress-danger"]={"--st-progress-value-bg":t("st-color-danger")},r["st-meter"]={display:"block",inlineSize:"100%",blockSize:t("st-meter-height","0.75rem"),appearance:"none",overflow:"hidden",verticalAlign:"middle",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-meter-track-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"})},a[".st-meter::-webkit-meter-bar"]={borderStyle:"none",borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-meter-track-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"})},a[".st-meter::-webkit-meter-optimum-value"]={backgroundColor:e(t("st-color-success"),{forcedColors:"Highlight"})},a[".st-meter::-webkit-meter-suboptimum-value"]={backgroundColor:e(t("st-color-warning"),{forcedColors:"Highlight"})},a[".st-meter::-webkit-meter-even-less-good-value"]={backgroundColor:e(t("st-color-danger"),{forcedColors:"Highlight"})},a[[".st-meter::-moz-meter-optimum",".st-meter::-moz-meter-sub-optimum",".st-meter::-moz-meter-sub-sub-optimum"].join(", ")]={backgroundColor:e(t("st-color-success"),{forcedColors:"Highlight"})}},Wt=(n)=>{let{c:r,d:a}=n;r["st-fieldset"]={margin:"0",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B(),borderRadius:t("st-radius-md","0.75rem"),color:t("st-color-ink"),...J()},r["st-legend"]={paddingInline:t("st-space-sm","0.5rem"),color:t("st-color-ink"),fontWeight:"600",...I()},r["st-form-actions"]={display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-sm","0.5rem"),marginBlockStart:t("st-space-md","1rem")},r["st-input-group"]={display:"flex",inlineSize:"100%",alignItems:"stretch"},r["st-input-group-text"]={display:"inline-flex",alignItems:"center",flexShrink:"0",paddingBlock:"0.55rem",paddingInline:"0.75rem",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:xt(),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink-muted"),whiteSpace:"nowrap",...I()},r["st-input-group-invalid"]={color:t("st-color-danger")},a[".st-input-group > :not(:last-child)"]={borderStartEndRadius:"0",borderEndEndRadius:"0"},a[".st-input-group > :not(:first-child)"]={borderStartStartRadius:"0",borderEndStartRadius:"0",marginInlineStart:"calc(-1 * var(--st-border-width, 1px))"},a[".st-input-group > :focus"]={position:"relative",zIndex:"2"},a[[".st-input-group-invalid > .st-input",".st-input-group-invalid > .st-select",".st-input-group-invalid > .st-input-group-text"].join(", ")]={borderColor:e(t("st-color-danger"),{forcedColors:"Mark"}),color:e(t("st-color-danger"),{forcedColors:"Mark"})}},Pt=[".st-input",".st-textarea",".st-select"],be=[".st-input[type='date']",".st-input[type='datetime-local']",".st-input[type='month']",".st-input[type='time']",".st-input[type='week']"],Mt=(n)=>{let{d:r}=n;r[[".st-field[data-required='true'] > .st-label::after",".st-label[data-required='true']::after",".st-label.st-label-required::after"].join(", ")]={content:" *",color:e(t("st-color-danger"),{forcedColors:"Mark"})},r[[".st-input[readonly]:not(:disabled)",".st-textarea[readonly]:not(:disabled)"].join(", ")]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),borderColor:B(),color:t("st-color-ink-muted"),cursor:"text",opacity:"1"},r[X(Pt,"[aria-disabled='true']")]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink-muted"),cursor:"not-allowed",opacity:"0.8"},r[[".st-input:autofill",".st-textarea:autofill",".st-select:autofill"].join(", ")]={boxShadow:e(`inset 0 0 0 1000px ${t("st-color-surface-raised")}`,{forcedColors:"none"}),webkitTextFillColor:e(t("st-color-ink"),{forcedColors:"CanvasText"}),caretColor:e(t("st-color-ink"),{forcedColors:"CanvasText"})},r[[".st-input:-webkit-autofill",".st-textarea:-webkit-autofill",".st-select:-webkit-autofill"].join(", ")]={boxShadow:e(`inset 0 0 0 1000px ${t("st-color-surface-raised")}`,{forcedColors:"none"}),webkitTextFillColor:e(t("st-color-ink"),{forcedColors:"CanvasText"})},r[X(be)]={paddingBlock:"0.45rem",minBlockSize:t("st-control-height","2.75rem")},r[be.map((a)=>`${a}::-webkit-calendar-picker-indicator`).join(", ")]={cursor:"pointer",opacity:"0.75"},r[be.map((a)=>`${a}::-webkit-calendar-picker-indicator:hover`).join(", ")]={opacity:"1"},r[".st-input[type='file']"]={paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),cursor:"pointer"},r[".st-input[type='file']::file-selector-button"]={marginInlineEnd:t("st-space-sm","0.5rem"),paddingBlock:"0.35rem",paddingInline:"0.7rem",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:e(t("st-color-border-strong"),{forcedColors:"ButtonText"}),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"ButtonFace"}),color:e(t("st-color-ink"),{forcedColors:"ButtonText"}),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),fontWeight:"600",cursor:"pointer"},r[".st-input[type='file']::file-selector-button:hover"]={borderColor:e(t("st-color-border-strong"),{forcedColors:"Highlight"}),backgroundColor:e(t("st-color-border"),{forcedColors:"Highlight"}),color:e(t("st-color-ink"),{forcedColors:"HighlightText"})},r[".st-select option"]={backgroundColor:e(t("st-color-surface-raised"),{forcedColors:"Canvas"}),color:e(t("st-color-ink"),{forcedColors:"CanvasText"})},r[".st-select option:disabled"]={color:t("st-color-ink-muted")}},Ft=(n)=>{let{c:r,d:a}=n;r["st-list"]={marginBlock:"0",marginInline:"0",paddingInlineStart:t("st-space-lg","1.5rem"),color:t("st-color-ink"),...J()},r["st-list-unstyled"]={listStyle:"none",margin:"0",padding:"0"},r["st-list-divided"]={listStyle:"none",margin:"0",padding:"0"},r["st-list-item"]={paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-sm","0.5rem")},r["st-list-item-selected"]={backgroundColor:te(),color:e(t("st-color-ink"),{forcedColors:"HighlightText"}),fontWeight:"600"},r["st-list-item-action"]={display:"block",boxSizing:"border-box",inlineSize:"100%",margin:"0",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-sm","0.5rem"),borderRadius:t("st-radius-sm","0.375rem"),color:"inherit",textAlign:"start",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},a[".st-list-divided > .st-list-item + .st-list-item"]={borderBlockStartStyle:"solid",borderBlockStartWidth:t("st-border-width","1px"),borderBlockStartColor:B()},a[".st-list-item-action:hover"]={backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Highlight"}),color:e(t("st-color-accent"),{forcedColors:"HighlightText"})},a[".st-list-item-action:focus-visible"]=E(),a[[".st-list-item-action[aria-current='true']",".st-list-item-action[aria-current='page']",".st-list-item-action[aria-current='location']",".st-list-item-action[aria-current='step']",".st-list-item-action[aria-current='date']",".st-list-item-action[aria-current='time']",".st-list-item-action[data-state='current']",".st-list-item-action[aria-selected='true']"].join(", ")]={backgroundColor:te(),color:e(t("st-color-accent"),{forcedColors:"HighlightText"}),fontWeight:"600"},a[[".st-list-item-action[aria-disabled='true']",".st-list-item-action[data-state='disabled']",".st-list-item-action:disabled"].join(", ")]={opacity:"0.55",cursor:"not-allowed"},a[[".st-list-item[aria-disabled='true']",".st-list-item[data-state='disabled']"].join(", ")]={opacity:"0.55",cursor:"not-allowed"},a[".st-list-item > .st-list"]={marginBlockStart:t("st-space-sm","0.5rem")}},Et=(n)=>{let{c:r,d:a}=n;r["st-avatar"]={position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",inlineSize:t("st-avatar-size","2.5rem"),blockSize:t("st-avatar-size","2.5rem"),overflow:"hidden",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B(),borderRadius:t("st-radius-full","9999px"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),color:t("st-color-ink-muted"),fontWeight:"600",lineHeight:"1",textTransform:"uppercase",userSelect:"none",...I()},r["st-avatar-sm"]={"--st-avatar-size":"2rem"},r["st-avatar-lg"]={"--st-avatar-size":"3.5rem"},r["st-avatar-square"]={borderRadius:t("st-radius-md","0.75rem")},a[".st-avatar > img, .st-avatar > svg, .st-avatar-image"]={display:"block",inlineSize:"100%",blockSize:"100%",objectFit:"cover",borderRadius:"inherit"},r["st-media"]={display:"flex",alignItems:"flex-start",gap:t("st-space-md","1rem"),minInlineSize:"0"},r["st-media-figure"]={flexShrink:"0",margin:"0"},r["st-media-body"]={flex:"1 1 auto",minInlineSize:"0",color:t("st-color-ink"),...J()},r["st-media-title"]={marginBlock:"0 0.25rem",color:t("st-color-ink"),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),fontWeight:"600",lineHeight:"1.3"},r["st-media-text"]={margin:"0",color:t("st-color-ink-muted"),...I()},r["st-media-reverse"]={flexDirection:"row-reverse"},r["st-media-stacked"]={flexDirection:"column"},r["st-thumbnail"]={display:"block",inlineSize:t("st-thumbnail-size","6rem"),blockSize:t("st-thumbnail-height","4rem"),objectFit:"cover",flexShrink:"0",borderStyle:"solid",borderWidth:t("st-border-width","1px"),borderColor:B(),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-color-surface-muted"),{forcedColors:"Canvas"})},r["st-thumbnail-square"]={aspectRatio:"1",blockSize:"auto"},a[".st-thumbnail > img, .st-thumbnail > svg"]={display:"block",inlineSize:"100%",blockSize:"100%",objectFit:"cover",borderRadius:"inherit"},a[[".st-media-figure > img",".st-media-figure > svg",".st-media-figure > video"].join(", ")]={display:"block",maxInlineSize:"100%",blockSize:"auto",borderRadius:t("st-radius-sm","0.375rem")},a[".st-media-body > :first-child"]={marginBlockStart:"0"},a[".st-media-body > :last-child"]={marginBlockEnd:"0"}},Ht=(n)=>{let{c:r,d:a}=n;n.kf["st-skeleton-pulse"]={from:{opacity:"0.65"},to:{opacity:"1"}},r["st-skeleton"]={display:"block",inlineSize:"100%",blockSize:t("st-skeleton-height","1rem"),borderRadius:t("st-radius-sm","0.375rem"),backgroundColor:e(t("st-skeleton-bg",t("st-color-surface-muted")),{forcedColors:"Canvas"}),backgroundImage:e(`linear-gradient(90deg, ${t("st-skeleton-start",t("st-color-surface-muted"))}, ${t("st-skeleton-shine",t("st-color-border"))}, ${t("st-skeleton-start",t("st-color-surface-muted"))})`,{forcedColors:"none"}),backgroundSize:"200% 100%",color:"transparent",userSelect:"none",animationName:"st-skeleton-pulse",animationDuration:e("0ms",{reducedMotion:t("st-skeleton-duration","1400ms")}),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationDirection:"alternate"},r["st-skeleton-title"]={blockSize:t("st-skeleton-title-height","1.5rem"),inlineSize:"60%"},r["st-skeleton-text"]={blockSize:t("st-skeleton-text-height","0.8rem")},r["st-skeleton-circle"]={inlineSize:t("st-avatar-size","2.5rem"),blockSize:t("st-avatar-size","2.5rem"),borderRadius:t("st-radius-full","9999px")},r["st-skeleton-media"]={aspectRatio:"16 / 9",blockSize:"auto"},a[".st-skeleton + .st-skeleton"]={marginBlockStart:t("st-space-xs","0.25rem")}},At=(n)=>{let{d:r}=n;r[".st-btn-outline"]={"--st-btn-bg":"transparent","--st-btn-fg":e(t("st-color-accent"),{forcedColors:"ButtonText"}),"--st-btn-border":e(t("st-color-accent"),{forcedColors:"ButtonText"}),"--st-btn-hover-bg":e(t("st-color-accent"),{forcedColors:"Highlight"}),"--st-btn-hover-border":e(t("st-color-accent"),{forcedColors:"Highlight"}),"--st-btn-active-bg":e(t("st-color-accent-strong"),{forcedColors:"Highlight"})},r[".st-btn-outline:hover, .st-btn-outline:active"]={color:e(t("st-color-on-accent"),{forcedColors:"HighlightText"})},r[".st-btn-link"]={minBlockSize:"auto",paddingBlock:"0",paddingInline:"0",borderStyle:"none",borderWidth:"0",borderRadius:"0",backgroundColor:"transparent",color:e(t("st-color-accent"),{forcedColors:"LinkText"}),textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em"},r[".st-btn-link:hover, .st-btn-link:active"]={backgroundColor:"transparent",borderColor:"transparent",color:e(t("st-color-accent-strong"),{forcedColors:"LinkText"})},r[".st-btn-block"]={display:"flex",inlineSize:"100%"},r[".st-btn.st-btn-icon"]={inlineSize:t("st-btn-min-height",t("st-control-height","2.75rem")),blockSize:t("st-btn-min-height",t("st-control-height","2.75rem")),paddingBlock:"0",paddingInline:"0"},r[".st-btn.st-btn-icon > svg, .st-btn.st-btn-icon > img"]={display:"block",flexShrink:"0",inlineSize:"1.25em",blockSize:"1.25em"},n.kf["st-btn-spin"]={to:{transform:"rotate(360deg)"}},r[[".st-btn-loading",".st-btn[aria-busy='true']"].join(", ")]={position:"relative",color:"transparent",cursor:"progress"},r[[".st-btn-loading::after",".st-btn[aria-busy='true']::after"].join(", ")]={content:'""',position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",inlineSize:"1em",blockSize:"1em",borderStyle:"solid",borderWidth:"0.15em",borderColor:e(t("st-btn-fg",t("st-color-on-accent")),{forcedColors:"ButtonText"}),borderBlockStartColor:"transparent",borderRadius:t("st-radius-full","9999px"),transform:"translate(-50%, -50%)",animationName:"st-btn-spin",animationDuration:e("0s",{reducedMotion:t("st-btn-spin-duration","800ms")}),animationTimingFunction:"linear",animationIterationCount:e("1",{reducedMotion:"infinite"})}},He=(n)=>{It(n),Tt(n),Rt(n),Dt(n),Wt(n),Mt(n),Ft(n),Et(n),Ht(n),At(n)};var H=()=>({outlineStyle:"solid",outlineWidth:"3px",outlineColor:e(t("st-color-accent"),{forcedColors:"Highlight"}),outlineOffset:"2px",boxShadow:t("st-focus-ring","none")}),S=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size","1rem"),lineHeight:t("st-line-height","1.5")}),p=()=>({fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:"1.4"}),g=()=>e(t("st-color-border"),{forcedColors:"CanvasText"}),w=()=>e(t("st-color-surface-raised"),{forcedColors:"Canvas"}),z=()=>e(t("st-color-surface-muted"),{forcedColors:"Canvas"}),W=()=>e(t("st-color-accent"),{forcedColors:"Highlight"}),l=()=>t("st-color-ink"),f=()=>t("st-color-ink-muted"),T=()=>t("st-radius-sm","0.375rem"),Q=()=>t("st-radius-md","0.75rem"),fe=()=>t("st-radius-lg","1rem"),u=()=>t("st-border-width","1px"),Ae=(n)=>{let{c:r,d:a}=n;r["st-breadcrumb"]={display:"flex",flexWrap:"wrap",alignItems:"center",columnGap:t("st-space-xs","0.25rem"),rowGap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",color:f(),...p()},r["st-breadcrumb-item"]={display:"inline-flex",alignItems:"center",gap:t("st-space-xs","0.25rem"),minInlineSize:"0"},r["st-breadcrumb-link"]={color:e(t("st-color-accent"),{forcedColors:"LinkText"}),...p(),textDecorationLine:"underline",textDecorationThickness:"0.08em",textUnderlineOffset:"0.15em",borderRadius:T(),transitionProperty:"color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},a[".st-breadcrumb-item + .st-breadcrumb-item::before"]={content:"/",color:f(),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),userSelect:"none"},a[".st-breadcrumb-link:hover"]={color:e(t("st-color-accent-strong"),{forcedColors:"LinkText"})},a[".st-breadcrumb-link:focus-visible"]=H(),a[".st-breadcrumb-item[aria-current='page'], .st-breadcrumb-link[aria-current='page'], .st-breadcrumb-item[data-state='current']"]={color:l(),fontWeight:"600"},a[[".st-breadcrumb-link[aria-disabled='true']",".st-breadcrumb-link:disabled",".st-breadcrumb-item[aria-disabled='true']"].join(", ")]={opacity:"0.55",cursor:"not-allowed",textDecorationLine:"none"},r["st-pagination"]={display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",...p()},r["st-page"]={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:t("st-space-xs","0.25rem"),boxSizing:"border-box",minInlineSize:t("st-control-height","2.75rem"),blockSize:t("st-control-height","2.75rem"),paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:T(),backgroundColor:w(),color:l(),...p(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, border-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-pagination-ellipsis"]={display:"inline-flex",alignItems:"center",justifyContent:"center",minInlineSize:t("st-control-height","2.75rem"),color:f(),...p()},a[".st-page:hover"]={borderColor:e(t("st-color-border-strong"),{forcedColors:"Highlight"}),backgroundColor:z(),color:l()},a[".st-page:focus-visible"]=H(),a[".st-page[aria-current='page'], .st-page[data-state='active']"]={borderColor:W(),backgroundColor:W(),color:e(t("st-color-on-accent"),{forcedColors:"HighlightText"}),fontWeight:"600"},a[".st-page[aria-disabled='true'], .st-page:disabled, .st-page[data-state='disabled']"]={opacity:"0.55",cursor:"not-allowed"},r["st-tabs"]={display:"flex",flexWrap:"wrap",alignItems:"flex-end",gap:t("st-space-xs","0.25rem"),margin:"0",padding:"0",listStyleType:"none",borderBlockEndStyle:"solid",borderBlockEndWidth:u(),borderBlockEndColor:g()},r["st-tab"]={appearance:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:t("st-space-xs","0.25rem"),paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:u(),borderColor:"transparent",borderBlockEndWidth:"2px",borderBlockEndColor:"transparent",borderStartStartRadius:T(),borderStartEndRadius:T(),backgroundColor:"transparent",color:f(),...p(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-tab-panel"]={paddingBlock:t("st-space-md","1rem"),color:l(),...S()},a[".st-tab:hover"]={backgroundColor:z(),color:l()},a[".st-tab:focus-visible"]=H(),a[".st-tab[aria-selected='true'], .st-tab[data-state='active']"]={borderBlockEndColor:W(),backgroundColor:w(),color:l(),fontWeight:"600"},a[".st-tab[aria-disabled='true'], .st-tab:disabled, .st-tab[data-state='disabled']"]={opacity:"0.55",cursor:"not-allowed"},r["st-nav"]={display:"flex",flexWrap:"wrap",alignItems:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:Q(),backgroundColor:w(),color:l(),...S()},r["st-nav-brand"]={display:"inline-flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),marginInlineEnd:t("st-space-sm","0.5rem"),color:l(),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),fontWeight:"700",lineHeight:"1.3",textDecorationLine:"none",borderRadius:T()},r["st-nav-item"]={display:"inline-flex",alignItems:"center",gap:t("st-space-xs","0.25rem"),paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:u(),borderColor:"transparent",borderRadius:T(),color:f(),...p(),fontWeight:"500",textDecorationLine:"none",cursor:"pointer",transitionProperty:"background-color, color, border-color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},a[".st-nav-brand:focus-visible, .st-nav-item:focus-visible"]=H(),a[".st-nav-item:hover"]={backgroundColor:z(),color:l()},a[[".st-nav-item[aria-current='page']",".st-nav-item[aria-current='true']",".st-nav-item[aria-current='location']",".st-nav-item[aria-current='step']",".st-nav-item[data-state='active']",".st-nav-item[data-state='current']"].join(", ")]={borderColor:W(),backgroundColor:W(),color:e(t("st-color-on-accent"),{forcedColors:"HighlightText"}),fontWeight:"600"},a[[".st-nav-item[aria-disabled='true']",".st-nav-item:disabled",".st-nav-item[data-state='disabled']"].join(", ")]={opacity:"0.55",cursor:"not-allowed"},r["st-menu"]={display:"block",boxSizing:"border-box",minInlineSize:t("st-menu-min-width","12rem"),margin:"0",padding:t("st-space-xs","0.25rem"),borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:Q(),backgroundColor:w(),boxShadow:t("st-shadow-sm","none"),color:l(),...p()},r["st-menu-item"]={appearance:"none",display:"flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",inlineSize:"100%",paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderStyle:"solid",borderWidth:"0",borderRadius:T(),backgroundColor:"transparent",color:l(),textAlign:"start",textDecorationLine:"none",...p(),cursor:"pointer",transitionProperty:"background-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-menu-item-danger"]={color:e(t("st-color-danger"),{forcedColors:"Mark"})},r["st-menu-divider"]={blockSize:"0",marginBlock:t("st-space-xs","0.25rem"),marginInline:"0",borderStyle:"none",borderBlockStartStyle:"solid",borderBlockStartWidth:u(),borderBlockStartColor:g()},r["st-menu-header"]={display:"block",paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),color:f(),...p(),fontWeight:"600"},a[".st-menu-item:hover, .st-menu-item[data-state='highlighted'], .st-menu-item[aria-current='true'], .st-menu-item[aria-current='page']"]={backgroundColor:z(),color:l()},a[".st-menu-item-danger:hover, .st-menu-item-danger[data-state='highlighted'], .st-menu-item-danger[aria-current='true'], .st-menu-item-danger[aria-current='page']"]={backgroundColor:z(),color:e(t("st-color-danger"),{forcedColors:"Mark"})},a[".st-menu-item:focus-visible"]=H(),a[".st-menu-item[aria-disabled='true'], .st-menu-item:disabled, .st-menu-item[data-state='disabled']"]={opacity:"0.55",cursor:"not-allowed"},r["st-accordion"]={display:"block",boxSizing:"border-box",overflow:"hidden",borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:Q(),backgroundColor:w(),color:l(),...S()},r["st-accordion-item"]={display:"block",margin:"0"},r["st-accordion-summary"]={display:"flex",alignItems:"center",justifyContent:"space-between",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),color:l(),...S(),fontWeight:"600",cursor:"pointer",listStyleType:"none",transitionProperty:"background-color, color",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-accordion-panel"]={display:"block",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderBlockStartStyle:"solid",borderBlockStartWidth:u(),borderBlockStartColor:g(),color:l(),...S()},a[".st-accordion-item + .st-accordion-item"]={borderBlockStartStyle:"solid",borderBlockStartWidth:u(),borderBlockStartColor:g()},a[".st-accordion-summary::-webkit-details-marker"]={display:"none"},a[".st-accordion-summary::marker"]={content:""},a[".st-accordion-summary::after"]={content:"+",color:f(),fontFamily:t("st-font-mono"),fontSize:t("st-font-size","1rem"),fontWeight:"700",lineHeight:"1",flexShrink:"0"},a[".st-accordion-summary:hover"]={backgroundColor:z()},a[".st-accordion-summary:focus-visible"]=H(),a[".st-accordion-item[open] > .st-accordion-summary, .st-accordion[open] > .st-accordion-summary, .st-accordion-item[data-state='open'] > .st-accordion-summary, .st-accordion[data-state='open'] > .st-accordion-summary"]={backgroundColor:z(),color:l()},a[".st-accordion-item[open] > .st-accordion-summary::after, .st-accordion[open] > .st-accordion-summary::after, .st-accordion-item[data-state='open'] > .st-accordion-summary::after, .st-accordion[data-state='open'] > .st-accordion-summary::after"]={content:"\u2212"},a[".st-accordion-item[aria-disabled='true'] > .st-accordion-summary"]={opacity:"0.55",cursor:"not-allowed"},a[[".st-accordion-item[open] > .st-accordion-panel",".st-accordion[open] > .st-accordion-panel",".st-accordion-item[data-state='open'] > .st-accordion-panel"].join(", ")]={display:"block"},a[[".st-accordion-item[data-state='closed'] > .st-accordion-panel",".st-accordion[data-state='closed'] > .st-accordion-panel"].join(", ")]={display:"none"},r["st-toast-region"]={display:"flex",flexDirection:"column",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",inlineSize:"min(24rem, calc(100vw - 2rem))",margin:"0",padding:"0",listStyleType:"none",pointerEvents:"none",...p()},r["st-toast"]={display:"flex",alignItems:"flex-start",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-sm","0.5rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:u(),borderInlineStartWidth:"4px",borderColor:g(),borderInlineStartColor:W(),borderRadius:Q(),backgroundColor:w(),boxShadow:t("st-shadow-sm","none"),color:l(),...p(),opacity:"1",transform:"translateY(0)",visibility:"visible",pointerEvents:"auto",transitionProperty:"opacity, transform, visibility",transitionDuration:e("0ms",{reducedMotion:t("st-motion-fast","150ms")})},r["st-toast-title"]={display:"block",margin:"0",color:l(),...p(),fontWeight:"600"},r["st-toast-success"]={borderInlineStartColor:e(t("st-color-success"),{forcedColors:"Highlight"})},r["st-toast-danger"]={borderInlineStartColor:e(t("st-color-danger"),{forcedColors:"Mark"})},a[".st-toast[data-state='open']"]={opacity:"1",transform:"translateY(0)",visibility:"visible"},a[".st-toast[data-state='closed']"]={opacity:"0",transform:"translateY(0.5rem)",visibility:"hidden",pointerEvents:"none"},r["st-dialog-backdrop"]={position:"fixed",inset:"0",zIndex:"50",backgroundColor:e(t("st-overlay","rgb(15 23 42 / 0.55)"),{forcedColors:"Canvas"})},r["st-dialog"]={boxSizing:"border-box",inlineSize:"min(32rem, calc(100vw - 2rem))",maxBlockSize:"calc(100vh - 2rem)",margin:"auto",padding:"0",overflow:"auto",borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:fe(),backgroundColor:w(),boxShadow:t("st-shadow-sm","none"),color:l(),...S()},r["st-dialog-header"]={display:"flex",alignItems:"center",justifyContent:"space-between",gap:t("st-space-sm","0.5rem"),paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderBlockEndStyle:"solid",borderBlockEndWidth:u(),borderBlockEndColor:g(),color:l(),...S(),fontWeight:"600"},r["st-dialog-body"]={display:"block",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),color:l(),...S()},r["st-dialog-footer"]={display:"flex",alignItems:"center",justifyContent:"flex-end",gap:t("st-space-sm","0.5rem"),paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderBlockStartStyle:"solid",borderBlockStartWidth:u(),borderBlockStartColor:g(),backgroundColor:z(),borderEndStartRadius:fe(),borderEndEndRadius:fe(),color:f(),...p()},r["st-drawer-backdrop"]={position:"fixed",inset:"0",zIndex:"50",backgroundColor:e(t("st-overlay","rgb(15 23 42 / 0.55)"),{forcedColors:"Canvas"})},r["st-drawer"]={position:"fixed",insetBlock:"0",insetInlineEnd:"0",zIndex:"51",boxSizing:"border-box",inlineSize:"min(24rem, 100vw)",maxInlineSize:"100vw",overflow:"auto",margin:"0",padding:"0",borderStyle:"solid",borderWidth:"0",borderInlineStartStyle:"solid",borderInlineStartWidth:u(),borderInlineStartColor:g(),backgroundColor:w(),boxShadow:t("st-shadow-sm","none"),color:l(),...S()},r["st-drawer-header"]={display:"flex",alignItems:"center",justifyContent:"space-between",gap:t("st-space-sm","0.5rem"),paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderBlockEndStyle:"solid",borderBlockEndWidth:u(),borderBlockEndColor:g(),color:l(),...S(),fontWeight:"600"},r["st-drawer-body"]={display:"block",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),color:l(),...S()},r["st-drawer-footer"]={display:"flex",alignItems:"center",justifyContent:"flex-end",gap:t("st-space-sm","0.5rem"),paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderBlockStartStyle:"solid",borderBlockStartWidth:u(),borderBlockStartColor:g(),backgroundColor:z(),color:f(),...p()},a[".st-dialog::backdrop, .st-drawer::backdrop"]={backgroundColor:e(t("st-overlay","rgb(15 23 42 / 0.55)"),{forcedColors:"Canvas"})},a[".st-dialog[open], .st-drawer[open]"]={display:"block"},r["st-tooltip"]={display:"block",boxSizing:"border-box",maxInlineSize:"20rem",paddingBlock:t("st-space-xs","0.25rem"),paddingInline:t("st-space-sm","0.5rem"),borderRadius:T(),backgroundColor:e(t("st-color-ink"),{forcedColors:"CanvasText"}),color:e(t("st-color-surface"),{forcedColors:"Canvas"}),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-sm","0.875rem"),lineHeight:"1.4",textAlign:"center",pointerEvents:"none",zIndex:"70"},r["st-tooltip-arrow"]={position:"absolute",inlineSize:"0.6rem",blockSize:"0.6rem",backgroundColor:e(t("st-color-ink"),{forcedColors:"CanvasText"}),transform:"rotate(45deg)",pointerEvents:"none"},r["st-popover"]={display:"block",boxSizing:"border-box",maxInlineSize:"20rem",paddingBlock:t("st-space-md","1rem"),paddingInline:t("st-space-md","1rem"),borderStyle:"solid",borderWidth:u(),borderColor:g(),borderRadius:Q(),backgroundColor:w(),boxShadow:t("st-shadow-sm","none"),color:l(),...p(),zIndex:"70"},r["st-popover-arrow"]={position:"absolute",inlineSize:"0.6rem",blockSize:"0.6rem",backgroundColor:w(),transform:"rotate(45deg)"},r["st-empty"]={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:t("st-space-sm","0.5rem"),boxSizing:"border-box",paddingBlock:t("st-space-xl","2rem"),paddingInline:t("st-space-md","1rem"),textAlign:"center",color:f(),...S()},r["st-empty-icon"]={display:"inline-flex",alignItems:"center",justifyContent:"center",inlineSize:"2.5rem",blockSize:"2.5rem",borderRadius:t("st-radius-full","9999px"),backgroundColor:z(),color:f(),fontSize:t("st-font-size-lg","1.125rem"),lineHeight:"1"},r["st-empty-title"]={margin:"0",color:l(),fontFamily:t("st-font-sans"),fontSize:t("st-font-size-lg","1.125rem"),fontWeight:"600",lineHeight:"1.3"},r["st-empty-text"]={margin:"0",maxInlineSize:"36rem",color:f(),...p()},r["st-loading"]={display:"inline-flex",alignItems:"center",gap:t("st-space-sm","0.5rem"),color:f(),...p()},r["st-spinner"]={display:"inline-block",flexShrink:"0",inlineSize:"1.25rem",blockSize:"1.25rem",borderStyle:"solid",borderWidth:"0.2em",borderColor:e(t("st-color-border"),{forcedColors:"CanvasText"}),borderBlockStartColor:W(),borderRadius:t("st-radius-full","9999px"),animationName:"st-spin",animationDuration:e("0s",{reducedMotion:"800ms"}),animationTimingFunction:"linear",animationIterationCount:e("1",{reducedMotion:"infinite"})},n.kf["st-spin"]={to:{transform:"rotate(360deg)"}},a[".st-menu[data-state='open'], .st-dialog[data-state='open'], .st-drawer[data-state='open'], .st-tooltip[data-state='open'], .st-popover[data-state='open']"]={display:"block"},a[".st-menu[data-state='closed'], .st-menu[hidden], .st-dialog[data-state='closed'], .st-dialog[hidden], .st-drawer[data-state='closed'], .st-drawer[hidden], .st-tooltip[data-state='closed'], .st-tooltip[hidden], .st-popover[data-state='closed'], .st-popover[hidden]"]={display:"none"}};var Ke=(n)=>{let{c:r}=n;r["st-container"]=new y().container._value,r["st-stack"]=new y().stack._value,r["st-cluster"]=new y().cluster._value,r["st-grid"]=new y().grid._value};var A=Object.freeze({standalone:"(display-mode: standalone)",reducedMotion:"(prefers-reduced-motion: no-preference)",forcedColors:"(forced-colors: active)"});var __filename="/Users/Marky/Desktop/$/@shweet/qt/src/$strap/runtime.ts",re=()=>typeof __filename==="string"?__filename:import.meta.url;var Kt=/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/,Lt=new Set(["modern","retro"]),Ot=(n)=>{if(typeof n!=="string"||n.length===0)throw TypeError("Strap theme name must be a non-empty slug.");if(Lt.has(n))throw RangeError(`Strap theme name "${n}" is reserved by a built-in aesthetic.`);if(!Kt.test(n))throw TypeError(`Strap theme name "${n}" must be a lowercase slug such as "brand" or "brand-dark".`)},Le=(n,r)=>{if(Ot(n),r===null||typeof r!=="object"||Array.isArray(r))throw TypeError("Strap theme tokens must be a token record.");let a=new i({__filename:re(),prefix:"",exportMap:!0,mediaFeature:{...A}});return a.d[`.st-root[data-strap-theme='${n}']`]=M(r),a};var m=(n,r)=>e(n,{dark:r}),Oe={stColorInk:m("#241c14","#f6ecd9"),stColorInkMuted:m("#5c4a38","#d8c4a8"),stColorSurface:m("#f6ecd9","#241c14"),stColorSurfaceMuted:m("#eadcc2","#33271c"),stColorSurfaceRaised:m("#fffaf0","#2c2117"),stColorBorder:m("#a88e6c","#7c644a"),stColorBorderStrong:m("#7c644a","#a88e6c"),stColorAccent:m("#b23a1f","#ffb39c"),stColorAccentStrong:m("#912f19","#ffd0bf"),stColorOnAccent:m("#ffffff","#241c14"),stColorDanger:m("#9a1b12","#ff9d8f"),stColorDangerStrong:m("#7a140d","#ffc4bb"),stColorOnDanger:m("#ffffff","#2b0a07"),stColorSuccess:m("#3d6b24","#b7e39b"),stColorOnSuccess:m("#ffffff","#122006"),stColorWarning:m("#8a5a00","#ffd48a"),stColorOnWarning:m("#ffffff","#2a1a00"),stFocusRing:m("0 0 0 3px rgb(178 58 31 / 0.45)","0 0 0 3px rgb(255 179 156 / 0.55)"),stShadowSm:m("0 2px 0 #241c14","0 2px 0 #f6ecd9"),stFontSans:'Georgia, "Times New Roman", Times, serif',stFontMono:'"Courier New", Courier, monospace',stRadiusSm:"0.125rem",stRadiusMd:"0.125rem",stRadiusLg:"0.25rem",stBorderWidth:"2px",stBtnTransform:"uppercase",stBtnTracking:"0.06em"},_e=(n)=>{n.d[".st-root[data-strap-theme='retro']"]=M(Oe)};class se{static shweet;static get MEDIA(){return A}static get SHWEET(){return se.shweet??=se.build()}static create(){return se.build()}static theme(n,r){return Le(n,r)}static get BUTTON(){return new k}static get CARD(){return new x}static get FIELD(){return new b}static get LAYOUT(){return new y}static get TABLE(){return new G}static get CHOICE(){return new O}static get NAV(){return new U}static get MENU(){return new N}static get DISCLOSURE(){return new _}static get TYPE(){return new Y}static get ICON(){return new j}static get BADGE(){return new L}static get ALERT(){return new K}static build(){let n=new i({__filename:re(),name:"strap",prefix:"",exportMap:!0,mediaFeature:{...A}});return he(n),Ke(n),Fe(n),He(n),Ae(n),_e(n),n}}export{K as AlertPreset,L as BadgePreset,k as ButtonPreset,x as CardPreset,O as ChoicePreset,_ as DisclosurePreset,b as FieldPreset,j as IconPreset,y as LayoutPreset,A as MEDIA_FEATURE,ne as MODERN_TOKENS,N as MenuPreset,U as NavPreset,Oe as RETRO_TOKENS,se as S,se as Strap,G as TablePreset,Y as TypePreset,t as token};