@fwkui/x-css 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,19 @@
1
- "use strict";var Xe=Object.defineProperty;var Xt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Ut=Object.prototype.hasOwnProperty;var Nt=(e,t)=>{for(var r in t)Xe(e,r,{get:t[r],enumerable:!0})},Bt=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!Ut.call(e,n)&&n!==r&&Xe(e,n,{get:()=>t[n],enumerable:!(s=Xt(t,n))||s.enumerable});return e};var Vt=e=>Bt(Xe({},"__esModule",{value:!0}),e);var Kr={};Nt(Kr,{clsx:()=>Tr,createSharedClsx:()=>Lr,createSharedInstance:()=>Or,default:()=>Mr,getBootloaderScript:()=>ht,getCss:()=>Dr,observe:()=>zr,ready:()=>jr,setClsxRoot:()=>Pr});module.exports=Vt(Kr);var st=e=>(e=e||new Map,{all:e,on(t,r){let s=e.get(t);s?s.push(r):e.set(t,[r])},off(t,r){let s=e.get(t);s&&(r?s.splice(s.indexOf(r)>>>0,1):e.set(t,[]))},emit(t,r){let s=e.get(t);s&&s.slice().forEach(l=>{l(r)});let n=e.get("*");n&&n.slice().forEach(l=>{l(t,r)})}});function Ht(e,t,r){let s=0;for(let n=t;n<r;n++){let l=e.charCodeAt(n);if(l===91){s++;continue}if(l===93){s>0&&s--;continue}if(l===58&&s===0)return n}return-1}function Wt(e,t,r){let s=0;for(let n=r-1;n>=t;n--){let l=e.charCodeAt(n);if(l===93){s++;continue}if(l===91){s>0&&s--;continue}if(l===64&&s===0)return n}return-1}function Ft(e,t,r){let s=0;for(let n=t;n<r;n++){let l=e.charCodeAt(n);if(l===91){s++;continue}if(l===93){if(s===0)return!1;s--}}return s===0}function qt(e){return e>=97&&e<=122}function ye(e){if(!e||e.length<2||!Ft(e,0,e.length))return null;let t=0,r=e.length,s="",n=Wt(e,t,r);n>t&&(s=e.substring(n+1,r),r=n);let l="",d="",u=Ht(e,t,r);if(u>0&&u<r){let L=e.substring(t,u);t=u+1,l=L}let S=t;for(;S<r;){let L=e.charCodeAt(S);if(L>=48&&L<=57)S++;else break}if(S>t&&(d=e.substring(t,S),t=S),t>=r||e.charCodeAt(t)===38)return null;if(e.charCodeAt(t)===91){let L=e.indexOf("]",t);if(L>t)return{mq:l,layer:d,prop:e.substring(t,L+1),val:"",selector:s}}let x=t;for(;x<r;){let L=e.charCodeAt(x);if(L===45||L===46){if(x+1<r){let k=e.charCodeAt(x+1);if(L===45&&k===45&&x>t||k>=48&&k<=57)break}x++;continue}if(!qt(L))break;x++}if(x===t)return null;let T=e.substring(t,x),$=e.substring(x,r);return{mq:l,layer:d,prop:T,val:$,selector:s}}var ot={a:"all",ac:"align-content",acc:"accent-color",ai:"align-items",ani:"animation",anic:"animation-composition",anide:"animation-delay",anidi:"animation-direction",anidu:"animation-duration",anifm:"animation-fill-mode",aniic:"animation-iteration-count",anin:"animation-name",anips:"animation-play-state",anitf:"animation-timing-function",ap:"appearance",ar:"aspect-ratio",as:"align-self",b:"bottom",bd:"border",bda:"border-radius",bdb:"border-bottom",bdbc:"border-bottom-color",bdblc:"border-block-color",bdble:"border-block-end",bdblec:"border-block-end-color",bdbles:"border-block-end-style",bdblew:"border-block-end-width",bdblk:"border-block",bdblr:"border-bottom-left-radius",bdbls:"border-block-start",bdblsc:"border-block-start-color",bdblss:"border-block-start-style",bdblst:"border-block-style",bdblsw:"border-block-start-width",bdblwi:"border-block-width",bdbr:"box-decoration-break",bdbrr:"border-bottom-right-radius",bdbst:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color",bdcl:"border-collapse",bdeer:"border-end-end-radius",bdesr:"border-end-start-radius",bdi:"border-inline",bdic:"border-inline-color",bdie:"border-inline-end",bdiec:"border-inline-end-color",bdies:"border-inline-end-style",bdiew:"border-inline-end-width",bdimg:"border-image",bdinw:"border-inline-width",bdio:"border-image-outset",bdir:"border-image-repeat",bdis:"border-image-slice",bdisc:"border-inline-start-color",bdisrc:"border-image-source",bdiss:"border-inline-start-style",bdista:"border-inline-start",bdistl:"border-inline-style",bdisw:"border-inline-start-width",bdiw:"border-image-width",bdl:"border-left",bdlc:"border-left-color",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right",bdra:"border-radius",bdrc:"border-right-color",bdrs:"border-right-style",bdrw:"border-right-width",bds:"border-style",bdser:"border-start-end-radius",bdsp:"border-spacing",bdssr:"border-start-start-radius",bdt:"border-top",bdtc:"border-top-color",bdtlr:"border-top-left-radius",bdtrr:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bg:"background",bga:"background-attachment",bgbm:"background-blend-mode",bgc:"background-color",bgcl:"background-clip",bgi:"background-image",bgo:"background-origin",bgp:"background-position",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat",bgs:"background-size",bkdf:"backdrop-filter",bkfv:"backface-visibility",blks:"block-size",brka:"break-after",brkb:"break-before",brki:"break-inside",bxsh:"box-shadow",bxshd:"box-shadow",bxsz:"box-sizing",c:"color",caps:"caption-side",cip:"color-interpolation",ciw:"contain-intrinsic-width",clpp:"clip-path",clr:"clear",cnt:"contain",cntibs:"contain-intrinsic-block-size",cntih:"contain-intrinsic-height",cntiis:"contain-intrinsic-inline-size",cntis:"contain-intrinsic-size",cntri:"counter-increment",cntrr:"counter-reset",cntrs:"counter-set",col:"columns",colc:"column-count",colf:"column-fill",colg:"column-gap",colr:"column-rule",colrc:"column-rule-color",colrs:"column-rule-style",colrw:"column-rule-width",cols:"column-span",colw:"column-width",cr:"cursor",crtc:"caret-color",csch:"color-scheme",ctr:"container",ctrn:"container-name",ctrt:"container-type",ctt:"content",d:"display",dir:"direction",empc:"empty-cells",fca:"forced-color-adjust",ff:"font-family",fl:"float",flt:"filter",fn:"font",fnf:"font-family",fnfs:"font-feature-settings",fnk:"font-kerning",fnlo:"font-language-override",fnos:"font-optical-sizing",fnp:"font-palette",fns:"font-size",fnsa:"font-size-adjust",fnsp:"font-synthesis-position",fnss:"font-synthesis-style",fnssc:"font-synthesis-small-caps",fnstr:"font-stretch",fnsty:"font-style",fnsw:"font-synthesis-weight",fnsyn:"font-synthesis",fnv:"font-variant",fnva:"font-variant-alternates",fnvc:"font-variant-caps",fnve:"font-variant-emoji",fnvea:"font-variant-east-asian",fnvl:"font-variant-ligatures",fnvn:"font-variant-numeric",fnvp:"font-variant-position",fnvs:"font-variation-settings",fnw:"font-weight",fw:"font-weight",fx:"flex",fxb:"flex-basis",fxd:"flex-direction",fxf:"flex-flow",fxg:"flex-grow",fxs:"flex-shrink",fxw:"flex-wrap",g:"grid",ga:"grid-area",gac:"grid-auto-columns",gaf:"grid-auto-flow",gap:"gap",gar:"grid-auto-rows",gc:"grid-column",gce:"grid-column-end",gcs:"grid-column-start",gr:"grid-row",gre:"grid-row-end",grs:"grid-row-start",gt:"grid-template",gta:"grid-template-areas",gtc:"grid-template-columns",gtr:"grid-template-rows",h:"height",hc:"hyphenate-character",hlc:"hyphenate-limit-chars",hp:"hanging-punctuation",hyp:"hyphens",i:"inset",ibe:"inset-block-end",iblk:"inset-block",ibsta:"inset-block-start",ii:"inset-inline",iie:"inset-inline-end",iis:"inset-inline-start",imgo:"image-orientation",imgr:"image-rendering",ins:"inline-size",is:"isolation",jc:"justify-content",ji:"justify-items",js:"justify-self",l:"left",lbrk:"line-break",lh:"line-height",lisp:"list-style-position",ls:"list-style",lsi:"list-style-image",lst:"list-style-type",lts:"letter-spacing",m:"margin",mb:"margin-bottom",mbd:"mix-blend-mode",mbe:"margin-block-end",mblk:"margin-block",mbs:"max-block-size",mbsta:"margin-block-start",mh:"max-height",mibs:"min-block-size",mie:"margin-inline-end",mih:"min-height",min:"margin-inline",mis:"max-inline-size",mista:"margin-inline-start",misz:"min-inline-size",miw:"min-width",ml:"margin-left",mr:"margin-right",msk:"mask",mskb:"mask-border",mskbm:"mask-border-mode",mskbo:"mask-border-outset",mskbr:"mask-border-repeat",mskbs:"mask-border-slice",mskbsrc:"mask-border-source",mskbw:"mask-border-width",mskc:"mask-clip",mskcp:"mask-composite",mski:"mask-image",mskm:"mask-mode",msko:"mask-origin",mskp:"mask-position",mskr:"mask-repeat",msks:"mask-size",mskt:"mask-type",mt:"margin-top",mtd:"math-depth",mts:"math-style",mw:"max-width",mxw:"max-width",of:"object-fit",ofa:"offset-anchor",ofd:"offset-distance",ofl:"overflow",ofla:"overflow-anchor",oflb:"overflow-block",oflcm:"overflow-clip-margin",ofli:"overflow-inline",oflw:"overflow-wrap",oflx:"overflow-x",ofly:"overflow-y",ofp:"offset-path",ofpo:"offset-position",ofr:"offset-rotate",ofs:"offset",olc:"outline-color",oli:"outline",olo:"outline-offset",ols:"outline-style",olw:"outline-width",op:"object-position",opc:"opacity",ord:"order",orp:"orphans",orsby:"overscroll-behavior-y",osrbb:"overscroll-behavior-block",osrbh:"overscroll-behavior",osrbi:"overscroll-behavior-inline",osrbx:"overscroll-behavior-x",p:"padding",pb:"padding-bottom",pbe:"padding-block-end",pblk:"padding-block",pbs:"padding-block-start",pe:"pointer-events",pg:"page",pgba:"page-break-after",pgbb:"page-break-before",pgbi:"page-break-inside",pi:"padding-inline",pie:"padding-inline-end",pis:"padding-inline-start",pl:"padding-left",plc:"place-content",pli:"place-items",pls:"place-self",pos:"position",pr:"padding-right",prca:"print-color-adjust",pso:"perspective-origin",psp:"perspective",pt:"padding-top",pto:"paint-order",qts:"quotes",r:"right",rbp:"ruby-position",rgap:"row-gap",rot:"rotate",rsz:"resize",s:"scale",sbc:"scrollbar-color",sbg:"scrollbar-gutter",sbw:"scrollbar-width",scrb:"scroll-behavior",scrm:"scroll-margin",scrmb:"scroll-margin-bottom",scrmbe:"scroll-margin-block-end",scrmblk:"scroll-margin-block",scrmbs:"scroll-margin-block-start",scrmi:"scroll-margin-inline",scrmie:"scroll-margin-inline-end",scrmis:"scroll-margin-inline-start",scrml:"scroll-margin-left",scrmr:"scroll-margin-right",scrmt:"scroll-margin-top",scrp:"scroll-padding",scrpb:"scroll-padding-bottom",scrpblk:"scroll-padding-block",scrpbs:"scroll-padding-block-start",scrpi:"scroll-padding-inline",scrpie:"scroll-padding-inline-end",scrpis:"scroll-padding-inline-start",scrpl:"scroll-padding-left",scrpr:"scroll-padding-right",scrpt:"scroll-padding-top",scrsa:"scroll-snap-align",scrss:"scroll-snap-stop",scrst:"scroll-snap-type",shit:"shape-image-threshold",shm:"shape-margin",sho:"shape-outside",srcpbe:"scroll-padding-block-end",t:"top",ta:"text-align",tal:"text-align-last",tbl:"table-layout",tbs:"tab-size",tcu:"text-combine-upright",td:"text-decoration",tdc:"text-decoration-color",tdl:"text-decoration-line",tds:"text-decoration-style",tdsi:"text-decoration-skip-ink",tdt:"text-decoration-thickness",tec:"text-emphasis-color",tep:"text-emphasis-position",teph:"text-emphasis",tes:"text-emphasis-style",ti:"text-indent",tj:"text-justify",toa:"touch-action",tol:"text-overflow",tor:"text-orientation",tra:"transform",trab:"transform-box",tran:"transition",tranb:"transition-behavior",trand:"transition-delay",trandur:"transition-duration",tranp:"transition-property",trantf:"transition-timing-function",trao:"transform-origin",tras:"transform-style",trd:"text-rendering",trl:"translate",tsh:"text-shadow",ttr:"text-transform",tuo:"text-underline-offset",tup:"text-underline-position",tw:"text-wrap",unib:"unicode-bidi",us:"user-select",v:"visibility",va:"vertical-align",w:"width",wc:"will-change",wd:"widows",wlc:"-webkit-line-clamp",wrb:"word-break",wrs:"word-spacing",wrtm:"writing-mode",ws:"white-space",wsc:"white-space-collapse",wtfc:"-webkit-text-fill-color",wts:"-webkit-text-stroke",wtsc:"-webkit-text-stroke-color",wtsw:"-webkit-text-stroke-width",z:"z-index",zo:"zoom"},it={in:"inherit",ini:"initial",un:"unset",rv:"revert",n:"none",a:"auto",t:"top",b:"bottom",l:"left",r:"right",c:"center",m:"middle",j:"justify",s:"start",e:"end",tr:"transparent",cc:"currentColor",minc:"min-content",maxc:"max-content",fitc:"fit-content",sol:"solid",das:"dashed",dot:"dotted",dub:"double",vis:"visible",h:"hidden",col:"collapse"},X={ac:{s:"start",e:"end",fs:"flex-start",fe:"flex-end",n:"normal",b:"baseline",fb:"first baseline",lb:"last baseline",sp:"space-between",sa:"space-around",se:"space-evenly",st:"stretch",sc:"safe center",uc:"unsafe center"},acc:{u:"unset"},ai:{n:"normal",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",b:"baseline",fb:"first baseline",lb:"last baseline",sc:"safe center",uc:"unsafe center"},anic:{r:"replace",a:"add",ac:"accumulate",ra:"replace, add",aac:"add, accumulate",raac:"replace, add, accumulate"},anidi:{r:"reverse",a:"alternate",ar:"alternate-reverse",nr:"normal, reverse",arn:"alternate, reverse, normal"},anifm:{f:"forwards",b:"backwards",nb:"none, backwards",fbn:"both, forwards, none"},anin:{s:"slide"},anips:{p:"paused",r:"running"},anitf:{ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",ss:"step-start",se:"step-end"},ap:{mb:"menulist-button",tf:"textfield",b:"button",c:"checkbox"},ar:{s:"1 / 1",v:"16 / 9"},as:{n:"normal",c:"center",s:"start",e:"end",ss:"self-start",se:"self-end",fs:"flex-start",fe:"flex-end",b:"baseline",fb:"first baseline",lb:"last baseline",st:"stretch",sc:"safe center",uc:"unsafe center"},bd:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbles:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdblss:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdblst:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbr:{c:"clone",s:"slice"},bdbst:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbw:{t:"thin",m:"medium",th:"thick"},bdcl:{s:"separate",c:"collapse"},bdir:{st:"stretch",r:"repeat",rn:"round",s:"space"},bdlw:{t:"thin",m:"medium",th:"thick"},bdrs:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdrw:{t:"thin",m:"medium",th:"thick"},bds:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdts:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdtw:{t:"thin",m:"medium",th:"thick"},bdw:{t:"thin",m:"medium",th:"thick"},bga:{s:"scroll",f:"fixed",l:"local"},bgbm:{n:"normal",m:"multiply",s:"screen",o:"overlay",d:"darken",l:"lighten",cd:"color-dodge",i:"color-burn",hl:"hard-light",sl:"soft-light",di:"difference",e:"exclusion",h:"hue",sa:"saturation",c:"color",lu:"luminosity"},bgc:{t:"transparent",c:"currentcolor"},bgcl:{bb:"border-box",pb:"padding-box",cb:"content-box",t:"text"},bgo:{bb:"border-box",pb:"padding-box",cb:"content-box"},bgp:{t:"top",b:"bottom",l:"left",r:"right",c:"center",lt:"left top",ct:"center top",rt:"right top",lc:"left center",cc:"center center",rc:"right center",lb:"left bottom",cb:"center bottom",rb:"right bottom"},bgpx:{l:"left",r:"right",c:"center"},bgpy:{t:"top",b:"bottom",c:"center"},bgr:{r:"repeat",x:"repeat-x",y:"repeat-y",s:"space",rn:"round",n:"no-repeat",rs:"repeat space",rr:"repeat repeat",nr:"no-repeat round"},bgs:{c:"contain"},c:{i:"inherit",t:"transparent"},cr:{p:"pointer",d:"default",cm:"context-menu",h:"help",pg:"progress",w:"wait",c:"cell",t:"text",vt:"vertical-text",al:"alias",cp:"copy",mo:"move",nd:"no-drop",na:"not-allowed",gr:"grab",gb:"grabbing",as:"all-scroll",colr:"col-resize",rr:"row-resize",nr:"n-resize",er:"e-resize",sr:"s-resize",wr:"w-resize",ner:"ne-resize",ser:"se-resize",swr:"sw-resize",ewr:"ew-resize",nsr:"ns-resize",nesw:"nesw-resize",nwse:"nwse-resize",zi:"zoom-in",zo:"zoom-out"},d:{b:"block",ib:"inline-block",i:"inline",f:"flex",if:"inline-flex",t:"table",it:"inline-table",tcp:"table-caption",tcell:"table-cell",tcol:"table-column",tcolg:"table-column-group",tfg:"table-footer-group",thg:"table-header-group",trg:"table-row-group",tr:"table-row",fr:"flow-root",g:"grid",ig:"inline-grid",c:"contents",li:"list-item"},ff:{a:"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",s:"ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif",m:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"},fl:{is:"inline-start",ie:"inline-end",r:"right",l:"left"},fx:{i:"0 1 auto",a:"1 1 auto"},fxd:{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse"},fxw:{w:"wrap",wr:"wrap-reverse",n:"nowrap"},gac:{mic:"min-content",mac:"max-content",mm:"minmax(0, 1fr)"},gaf:{r:"row",c:"column",d:"dense",rd:"row dense",cd:"column dense"},gar:{mic:"min-content",mac:"max-content",mm:"minmax(0, 1fr)"},gc:{f:"1 / -1"},gr:{f:"1 / -1"},gtc:{s:"subgrid"},gtr:{s:"subgrid"},h:{mic:"min-content",mac:"max-content",fc:"fit-content"},hyp:{m:"manual"},is:{i:"isolate"},jc:{c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",l:"left",r:"right",n:"normal",sp:"space-between",sa:"space-around",se:"space-evenly",st:"stretch",sc:"safe center",uc:"unsafe center"},ji:{n:"normal",st:"stretch",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",l:"left",r:"right",b:"baseline",fb:"first baseline",lb:"last baseline",lr:"legacy right",ll:"legacy left",lc:"legacy center",sc:"safe center",uc:"unsafe center"},js:{n:"normal",st:"stretch",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",l:"left",r:"right",b:"baseline",sc:"safe center",uc:"unsafe center"},lisp:{i:"inside",o:"outside"},ls:{i:"inside",di:"disc",c:"circle",s:"square",de:"decimal",g:"georgian",tci:"trad-chinese-informal",k:"kannada"},lst:{di:"disc",c:"circle",s:"square",de:"decimal",g:"georgian",tci:"trad-chinese-informal",k:"kannada"},lts:{n:"normal"},mbd:{n:"normal",m:"multiply",s:"screen",o:"overlay",d:"darken",l:"lighten",cd:"color-dodge",i:"color-burn",hl:"hard-light",sl:"soft-light",di:"difference",e:"exclusion",h:"hue",sa:"saturation",c:"color",lu:"luminosity"},mih:{f:"100%",mic:"min-content",mac:"max-content",fc:"fit-content"},miw:{f:"100%",mic:"min-content",mac:"max-content",fc:"fit-content"},of:{c:"contain",cv:"cover",f:"fill",sd:"scale-down"},oflw:{c:"clip",s:"scroll"},oflx:{c:"clip",s:"scroll"},ofly:{c:"clip",s:"scroll"},olc:{i:"inherit",c:"currentColor",t:"transparent"},ols:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},olw:{t:"thin",m:"medium",th:"thick"},op:{b:"bottom",c:"center",l:"left",r:"right",t:"top",lb:"left bottom",lt:"left top",rb:"right bottom",rt:"right top"},orsby:{c:"contain"},osrbb:{c:"contain"},osrbh:{c:"contain"},osrbi:{c:"contain"},osrbx:{c:"contain"},pi:{s:"start",c:"center",e:"end",b:"baseline",st:"stretch"},pos:{s:"static",f:"fixed",a:"absolute",r:"relative",st:"sticky"},rsz:{b:"both",h:"horizontal",v:"vertical"},ta:{s:"start",e:"end",l:"left",r:"right",c:"center",j:"justify",mp:"match-parent",mc:"-moz-center",wc:"-webkit-center"},tal:{s:"start",e:"end",l:"left",r:"right",c:"center",j:"justify"},td:{u:"underline"},tdl:{u:"underline",o:"overline",lt:"line-through",b:"blink"},tds:{db:"double",dt:"dotted",ds:"dashed",w:"wavy"},tdt:{ff:"from-font"},tep:{or:"over right",ol:"over left",ur:"under right",ul:"under left",lo:"left over",ru:"right under",lu:"left under"},tj:{iw:"inter-word",ic:"inter-character",d:"distribute"},toa:{p:"pan-x",py:"pan-y",pm:"pan-x pan-y",pi:"pinch-zoom"},tol:{c:"clip",e:"ellipsis"},tor:{m:"mixed",u:"upright",sr:"sideways-right",sl:"sideways-left",s:"sideways",ugo:"use-glyph-orientation"},trd:{op:"optimizeSpeed",ol:"optimizeLegibility",g:"geometricPrecision"},ttr:{c:"capitalize",u:"uppercase",l:"lowercase",fw:"full-width",fsk:"full-size-kana"},tup:{u:"under",l:"left",r:"right",ul:"under left",ru:"right under"},tw:{w:"wrap",n:"nowrap",b:"balance",p:"pretty"},us:{t:"text",all:"all",c:"contain"},v:{c:"collapse"},va:{bl:"baseline",t:"top",m:"middle",b:"bottom",tt:"text-top",tb:"text-bottom",sb:"sub",sp:"super"},w:{mic:"min-content",mac:"max-content",fc:"fit-content",f:"100%"},wc:{sp:"scroll-position",c:"contents",t:"transform"},wtsw:{m:"medium",t:"thick"}};X.ji=X.jc;X.js=X.jc;X.pc=X.jc;X.pi=X.jc;X.ps=X.jc;var Jt={SHORT_PROPERTIES:ot,COMMON_VALUES:it,SPECIFIC_VALUES:X},ut=e=>{let t=typeof e?.styleId=="string"&&e.styleId.trim()?e.styleId.trim():"fwkui",r=typeof e?.version=="string"&&e.version.trim()?e.version.trim():"v1",s=e?.compression??!0,n=typeof e?.debounceMs=="number"&&e.debounceMs>=0?e.debounceMs:1e3,l=typeof e?.sizeLast=="number"&&Number.isFinite(e.sizeLast)&&e.sizeLast>=0?Math.floor(e.sizeLast):1e3,d=e?.loadOnInit??!0;return{styleId:t,version:r,compression:s,debounceMs:n,sizeLast:l,loadOnInit:d}},Zt=e=>`${e.styleId}_cache_${e.version}`,Yt=e=>`${e.styleId}_ks_${e.version}`,Gt=e=>`${e.styleId}_bc_${e.version}`,Qt=e=>`${e.styleId}_kr_${e.version}`,er=e=>`${e.styleId}_kr_lock_${e.version}`,at=(e,t)=>{if(!e)return{sizeLast:0,entries:[]};try{let r=e.getItem(t);if(!r)return{sizeLast:0,entries:[]};let s=JSON.parse(r),n=typeof s.sizeLast=="number"?s.sizeLast:typeof s.s=="number"?s.s:0,d=(Array.isArray(s.entries)?s.entries:Array.isArray(s.e)?s.e:[]).filter(u=>Array.isArray(u)&&u.length===2&&typeof u[0]=="string"&&typeof u[1]=="string");return{sizeLast:Number.isFinite(n)&&n>=0?Math.floor(n):0,entries:d}}catch{return{sizeLast:0,entries:[]}}},tr=(e,t,r)=>{if(e)try{e.setItem(t,JSON.stringify({s:r.sizeLast,e:r.entries}))}catch{}},rr=()=>{if(typeof window>"u"||typeof window.localStorage>"u")return!1;try{let e="__xcss_cache_probe__";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),!0}catch{return!1}},pt=()=>typeof navigator<"u"&&typeof navigator.locks<"u"&&typeof navigator.locks.request=="function",nr=()=>rr()&&pt(),gt=e=>{if(!e||typeof e!="object")return!1;let t=e;return t.__xcss_cache_v===2&&t.compressed===!0&&typeof t.payload=="string"},$e=e=>{if(!e||typeof e!="object")return!1;let t=e;return t.__xcss_cache_v===3&&t.compressed===!0&&t.algorithm==="deflate-raw"&&t.encoding==="base64"&&typeof t.payload=="string"},bt=()=>typeof CompressionStream<"u"&&typeof Blob<"u"&&typeof Response<"u",mt=()=>typeof DecompressionStream<"u"&&typeof Blob<"u"&&typeof Response<"u",sr=e=>{if(typeof btoa=="function"){let r="";for(let n=0;n<e.length;n+=32768){let l=e.subarray(n,n+32768);for(let d=0;d<l.length;d++)r+=String.fromCharCode(l[d])}return btoa(r)}let t=globalThis.Buffer;if(typeof t<"u")return t.from(e).toString("base64");throw new Error("XCSS: base64 encoding is not supported in this runtime")},or=e=>{if(typeof atob=="function"){let r=atob(e),s=new Uint8Array(r.length);for(let n=0;n<r.length;n++)s[n]=r.charCodeAt(n);return s}let t=globalThis.Buffer;if(typeof t<"u")return new Uint8Array(t.from(e,"base64"));throw new Error("XCSS: base64 decoding is not supported in this runtime")},ir=async e=>{if(!bt())throw new Error("XCSS: CompressionStream is not supported");let t=new Blob([e]).stream().pipeThrough(new CompressionStream("deflate-raw")),r=await new Response(t).arrayBuffer();return sr(new Uint8Array(r))},ar=async e=>{if(!mt())throw new Error("XCSS: DecompressionStream is not supported");let t=or(e),r=new Uint8Array(t.length);r.set(t);let s=new Blob([r.buffer]).stream().pipeThrough(new DecompressionStream("deflate-raw"));return await new Response(s).text()},lr=e=>{try{let t=JSON.parse(e);return $e(t)}catch{return!1}},cr=e=>{if(!e)return"";let t=new Map,r=[],s=256;for(let l=0;l<256;l++)t.set(String.fromCharCode(l),l);let n=e[0];for(let l=1;l<e.length;l++){let d=e[l],u=n+d;t.has(u)?n=u:(r.push(t.get(n)),t.set(u,s++),n=d)}return r.push(t.get(n)),r.map(l=>String.fromCharCode(l)).join("")},yt=e=>{if(!e)return"";let t=new Map,r=256,s="";for(let u=0;u<256;u++)t.set(u,String.fromCharCode(u));let n=e.split("").map(u=>u.charCodeAt(0)),l=n[0],d=t.get(l)||"";s=d;for(let u=1;u<n.length;u++){let S=n[u],x=t.get(S);x||(x=S===r?d+d[0]:""),s+=x,t.set(r++,d+x[0]),d=x}return s},lt=e=>{if(!e||typeof e!="object")return null;let t=e,r=t.default&&typeof t.default=="object"?t.default:t,s=r.SHORT_PROPERTIES,n=r.COMMON_VALUES,l=r.SPECIFIC_VALUES;return!s||!n||!l||typeof s!="object"||typeof n!="object"||typeof l!="object"?null:{SHORT_PROPERTIES:s,COMMON_VALUES:n,SPECIFIC_VALUES:l}},ct=e=>{if(!e||typeof e!="object")return null;let t=e,r=Array.isArray(t.entries)?t.entries:Array.isArray(t.k)?t.k:null;if(!r)return null;let s=r.filter(l=>Array.isArray(l)&&l.length===2&&typeof l[0]=="string"&&typeof l[1]=="string"),n=typeof t.sizeLast=="number"?t.sizeLast:typeof t.s=="number"?t.s:null;return n===null?null:{source:typeof t.source=="string"?t.source:"",sizeLast:n,entries:s}},dr=(e,t)=>{let r=t;for(;r<e.length&&/\s/.test(e[r]);)r++;return r},fr=(e,t)=>{let r=0,s=null,n=!1,l=!1,d=!1;for(let u=t;u<e.length;u++){let S=e[u],x=e[u+1];if(l){S===`
2
- `&&(l=!1);continue}if(d){S==="*"&&x==="/"&&(d=!1,u++);continue}if(s){if(n){n=!1;continue}if(S==="\\"){n=!0;continue}S===s&&(s=null);continue}if(S==="/"&&x==="/"){l=!0,u++;continue}if(S==="/"&&x==="*"){d=!0,u++;continue}if(S==='"'||S==="'"||S==="`"){s=S;continue}if(S==="{"){r++;continue}if(S==="}"&&(r--,r===0))return u}return-1},he=(e,t)=>{let r=e.indexOf(t);if(r===-1)return null;let s=dr(e,r+t.length);if(e[s]!=="{")return null;let n=fr(e,s);return n===-1?null:e.slice(s,n+1)},te=(e,t)=>{let r=t;for(;r<e.length;){let s=e[r],n=e[r+1];if(/\s/.test(s)){r++;continue}if(s==="/"&&n==="/"){for(r+=2;r<e.length&&e[r]!==`
3
- `;)r++;continue}if(s==="/"&&n==="*"){for(r+=2;r<e.length;){if(e[r]==="*"&&e[r+1]==="/"){r+=2;break}r++}continue}break}return r},dt=(e,t)=>{let r=e[t];if(r!=='"'&&r!=="'")return null;let s="",n=t+1;for(;n<e.length;){let l=e[n];if(l==="\\"){if(n++,n>=e.length)return null;let d=e[n];s+={n:`
4
- `,r:"\r",t:" ",b:"\b",f:"\f",v:"\v","\\":"\\",'"':'"',"'":"'"}[d]??d,n++;continue}if(l===r)return{value:s,end:n+1};s+=l,n++}return null},ur=(e,t)=>{let r=e[t];if(!r||!/[A-Za-z_$]/.test(r))return null;let s=t+1;for(;s<e.length&&/[A-Za-z0-9_$]/.test(e[s]);)s++;return{value:e.slice(t,s),end:s}},Se=e=>{let t=(n,l)=>{let d=te(n,l);return n[d]==="{"?r(n,d):dt(n,d)},r=(n,l)=>{let d=te(n,l);if(n[d]!=="{")return null;d++;let u={};for(;d<n.length;){if(d=te(n,d),n[d]==="}")return{value:u,end:d+1};let S=dt(n,d)||ur(n,d);if(!S||(d=te(n,S.end),n[d]!==":"))return null;d++;let x=t(n,d);if(!x)return null;if(u[S.value]=x.value,d=te(n,x.end),n[d]===","){d++;continue}return n[d]==="}"?{value:u,end:d+1}:null}return null},s=r(e,0);return s&&te(e,s.end)===e.length?s.value:null},pr=e=>{let t=he(e,"export const SHORT_PROPERTIES ="),r=he(e,"export const COMMON_VALUES ="),s=he(e,"export const SPECIFIC_VALUES =");if(t&&r&&s)return lt({SHORT_PROPERTIES:Se(t),COMMON_VALUES:Se(r),SPECIFIC_VALUES:Se(s)});let n=he(e,"export default");return n?lt(Se(n)):null},gr=async e=>{let t=typeof process<"u"?process:null;if(!t||typeof t.getBuiltinModule!="function")return null;let r=e.startsWith("file:"),s=e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||/^[A-Za-z]:[\\/]/.test(e);if(!r&&!s)return null;let n=t.getBuiltinModule("node:fs/promises");return n?.readFile?n.readFile(r?new URL(e):e,"utf8"):null},br=async e=>{let t=await gr(e);if(typeof t=="string")return t;if(typeof fetch=="function"){let r=await fetch(e);if(!r.ok)throw new Error(`XCSS: Failed to fetch dictionary module: ${r.status}`);return r.text()}throw new Error("XCSS: fetch is not supported in this runtime")},mr=async e=>{let t=await br(e),r=pr(t);if(!r)throw new Error(yr);return r},yr="XCSS: dictionary module must export plain-object SHORT_PROPERTIES, COMMON_VALUES and SPECIFIC_VALUES",hr=(e,t)=>{if(!e||typeof document>"u")return;t=t||"fwkui";let r=Array.from({length:24},(s,n)=>"l"+n);if(!e.querySelector('style[id="'+t+'"]')){let s=document.createElement("style");s.id=t;let n=`@layer ${r.join(", ")};`;if(s.textContent=n,!(e instanceof ShadowRoot))document.head.append(s);else try{e.prepend(s)}catch{e.appendChild(s)}}},Sr=e=>{let t=Array.isArray(e.excludes)?e.excludes:[],r=ut(e.cache),s=JSON.stringify({base:e.base||"",aliases:e.aliases||{},breakpoints:e.breakpoints||[],theme:e.theme||{},prefix:e.prefix||"",excludes:t,excludePrefixes:e.excludePrefixes||[],dictionaryImport:e.dictionaryImport??!0,cache:r}),n=0;if(s.length===0)return n.toString();for(let l=0;l<s.length;l++){let d=s.charCodeAt(l);n=(n<<5)-n+d,n|=0}return n.toString()},ft=e=>{if(!e)return null;try{let t=JSON.parse(e);if(gt(t)){let r=yt(t.payload);return r?JSON.parse(r):null}return $e(t)?null:t}catch{return null}},wr=async e=>{if(!e)return null;try{let t=JSON.parse(e);if(gt(t)){let r=yt(t.payload);return r?JSON.parse(r):null}if($e(t)){let r=await ar(t.payload);return r?JSON.parse(r):null}return t}catch{return null}},Cr=(e,t)=>{if(e==="root")return t;let r=/@media[^{]+\{\n?([\s\S]+)\n?\}/.exec(t);return r&&r[1]?r[1].trim():t},xr=e=>Array.isArray(e)?e.join(`
5
- `):e||"",vr=(e,t)=>e?!t||t===e?e:t.startsWith(e)?t:`${e}
6
- ${t}`:t,Ue=(e={base:"",aliases:{},excludes:[],excludePrefixes:[],breakpoints:[],theme:{},prefix:"",dictionaryImport:!0,cache:{styleId:"fwkui",version:"v1",compression:!0,debounceMs:1e3,sizeLast:1e3,loadOnInit:!0}})=>{let{base:t=null,breakpoints:r=[],aliases:s={},theme:n={},excludes:l=[],excludePrefixes:d=[],prefix:u="",dictionaryImport:S=!0,cache:x={}}=e||{};Array.isArray(r)||(r=[]),Array.isArray(l)||(l=[]),Array.isArray(d)||(d=[]),(!s||typeof s!="object")&&(s={}),(!n||typeof n!="object")&&(n={});let T=ut(x),$=Zt(T),L=Yt(T),k=Gt(T),D=l,ne=d.filter(i=>typeof i=="string").map(i=>i.trim()).filter(i=>i.length>0),we=i=>{let a=i.replace(/[.+?^${}()|[\]\\]/g,"\\$&");return new RegExp("^"+a.replace(/\*/g,".*")+"$")},We=D.filter(i=>typeof i=="string").map(i=>i.trim()).filter(i=>i.length>0).map(i=>{if(i.includes("*")){let a=we(i);return p=>a.test(p)}return a=>a===i}),St=i=>ne.some(a=>i.startsWith(a))?!0:We.some(a=>a(i)),Fe=i=>!(St(i)||u&&!i.startsWith(u)),wt=["default","xs","sm","md","lg","xl","2xl","sma","mda","lga","xla"],Ct=r.filter(i=>!!i&&typeof i=="object"&&!Array.isArray(i)).map(i=>Object.keys(i)[0]).filter(i=>typeof i=="string"&&i.length>0),xt=new Set([...wt,...Ct]),Ce=i=>!i||xt.has(i),vt=S!==!1,kt=new Set(["mx","my","px","py","bdx","bdy"]),xe=new Set,ve=i=>i?!vt||!Y||Object.keys(Y).length===0?!0:!!Y[i]||kt.has(i)||xe.has(i):!1,Y={},ce={},ke={},Ee={},qe=()=>{Ee={...ke,...n}},de=i=>{if(!i){Y={},ce={},ke={},xe=new Set,qe();return}Y=i.SHORT_PROPERTIES,ce=i.SPECIFIC_VALUES,ke=i.COMMON_VALUES,xe=new Set(Object.values(Y)),qe()},fe=!0,Re=Promise.resolve();S===!1?de(null):typeof S=="string"?(fe=!1,de(null),Re=mr(S).then(i=>{de(i)}).catch(i=>{console.warn("XCSS: Failed to import dictionary from URL",i)}).finally(()=>{fe=!0})):de(Jt);let se=null,Et=(i=typeof document<"u"?document:void 0)=>{let a=typeof window<"u"&&typeof document<"u",p=a?window:null,w=p?.localStorage||null,E=a&&nr(),h=T.loadOnInit&&E,C=h?w:null,b=null,v=xr(t);i&&(b="getRootNode"in i?i.getRootNode():i);let y=new Map,M=new Map,R=new Set,P=(o,c)=>{y.set(o,c),M.set(c,o),R.add(c)},B=o=>M.get(o)||o,oe=Qt(T),ue=er(T),A=T.sizeLast,U=new Set,V=!1,H=null,W=!0,F=`xcss_${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`,Q=[],q=!1,J=null,I=o=>{typeof o=="number"&&Number.isFinite(o)&&o>A&&(A=o)},ie=o=>{o&&o.forEach(([c,f])=>{let g=y.get(c);g!==f&&(g||R.has(f)&&M.get(f)!==c||P(c,f))})};if(h){let o=at(C,oe);I(o.sizeLast),ie(o.entries)}let pe=o=>{o&&(o.source&&o.source===F||(I(o.sizeLast),o.entries.forEach(([c,f])=>{let g=y.get(c);g!==f&&(g||R.has(f)||P(c,f))})))},Ae=()=>{if(q=!1,!a||Q.length===0)return;let o={source:F,sizeLast:A,entries:Q.splice(0,Q.length)};if(J)try{J.postMessage(o);return}catch{J=null}if(C)try{C.setItem(L,JSON.stringify(o))}catch{}},ae=o=>{!a||!h||(Q.push(o),!q&&(q=!0,queueMicrotask(Ae)))},Ot=o=>{let c;do c="D"+(A++).toString(32).toUpperCase();while(R.has(c));return P(o,c),c},Lt=async o=>{if(!h||!C||o.length===0)return;let c=()=>{let g=at(C,oe),m=new Map(g.entries),O=new Set(g.entries.map(([,z])=>z));I(g.sizeLast),ie(g.entries);let _=Math.max(A,g.sizeLast,T.sizeLast),j=[];return o.forEach(z=>{if(y.has(z))return;let ee=m.get(z);if(ee){P(z,ee);return}let K;do K="D"+(_++).toString(32).toUpperCase();while(O.has(K)||R.has(K));m.set(z,K),O.add(K),j.push([z,K]),P(z,K)}),I(_),j.length===0?[]:(tr(C,oe,{sizeLast:_,entries:[...g.entries,...j]}),j)},f=[];if(pt())try{await navigator.locks.request(ue,async()=>{f=c()})}catch{f=c()}else f=c();f.length!==0&&(f.forEach(g=>ae(g)),Ke(f.map(([g])=>g)),je())},Tt=async()=>{if(!(!h||!a))return H||(H=(async()=>{for(;U.size>0;){let o=Array.from(U);U.clear(),await Lt(o)}})().finally(()=>{H=null}),H)},zt=o=>{!h||!a||(U.add(o),!V&&(V=!0,queueMicrotask(()=>{V=!1,Tt()})))};if(a&&b&&hr(b,T.styleId),h&&a&&typeof BroadcastChannel<"u")try{J=new BroadcastChannel(k),J.addEventListener("message",o=>{pe(ct(o.data))})}catch{J=null}let Oe=st(),ge=[{default:""},{xs:"screen and (max-width: 575px)"},{sm:"screen and (min-width: 576px)"},{md:"screen and (min-width: 768px)"},{lg:"screen and (min-width: 992px)"},{xl:"screen and (min-width: 1200px)"},{"2xl":"screen and (min-width: 1400px)"},{sma:"screen and (max-width: 768px)"},{mda:"screen and (max-width: 992px)"},{lga:"screen and (max-width: 1200px)"},{xla:"screen and (max-width: 1400px)"},...r],Ge=ge.filter((o,c)=>ge.findLastIndex(f=>Object.keys(f)[0]==Object.keys(o)[0])==c),Le=Ge.map(o=>Object.keys(o)[0]),Z={},G={},N={root:""},Pt={root:[]},Dt={root:!1},Te=Sr(e),ze=null,Pe=0,be=!1,me=null,le=null,De=o=>{try{C?.setItem($,o)}catch(c){console.warn("XCSS: Failed to save cache",c)}},Qe=o=>{!a||!C||typeof o=="string"&&C.getItem($)!==o||(C.removeItem($),C.removeItem(L))},jt=o=>{if(!h||!a||!C)return;se=o;let c=++Pe;try{let f=JSON.stringify(o),g=()=>{let m={__xcss_cache_v:2,compressed:!0,payload:cr(f)};De(JSON.stringify(m))};if(!T.compression){De(f);return}if(bt()&&mt()){ir(f).then(m=>{if(c!==Pe)return;De(JSON.stringify({__xcss_cache_v:3,compressed:!0,algorithm:"deflate-raw",encoding:"base64",payload:m}))}).catch(()=>{c===Pe&&g()});return}g()}catch(f){console.warn("XCSS: Failed to save cache",f)}},je=()=>{!a||!h||(ze&&clearTimeout(ze),ze=setTimeout(()=>{let o={};for(let g in Z)o[g]=Array.from(Z[g]);let c={};Object.keys(N).forEach(g=>{if(g==="root")c[g]=N[g];else{let m=ge.find(O=>Object.keys(O)[0]===g)?.[g];m&&N[g]?c[g]=`@media ${m} {
7
- ${N[g]}
8
- }`:c[g]=N[g]||""}});let f={configHash:Te,cssText:c,rulesSet:o,keys:Array.from(y.entries()),sizeLast:A};jt(f)},T.debounceMs))};if(h&&a&&C)try{let o=C.getItem($);if(o){let c=ft(o);c?c.configHash!==Te?C.removeItem($):(me=c,be=!0,se=c):lr(o)?le={raw:o}:C.removeItem($)}}catch(o){console.error(o)}a&&(G.root=new CSSStyleSheet);let Me=(o,c)=>{N[o]=c,a&&G[o]&&G[o].replaceSync(c)};Le.forEach(o=>{if(Z[o]=new Set,a){let c=Ge.find(f=>Object.keys(f)[0]==o)?.[o]||"";G[o]=new CSSStyleSheet({media:c})}N[o]="",Pt[o]=[],Dt[o]=!1}),Me("root",v);let et=()=>{if(!b)return;let o=b.querySelector(`style[id="${T.styleId}"]`);o&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.remove()})})},tt=o=>{o.keys&&ie(o.keys),I(o.sizeLast),["root",...Le].forEach(f=>{let g=Z[f]||new Set,m=o.rulesSet?.[f]||[],O=new Set([...m,...Array.from(g)]);if(Z[f]=O,f==="root"){let z=typeof o.cssText?.root=="string"?o.cssText.root:"",ee=vr(v,z);Me("root",ee);return}let _=Array.from(O).join(`
9
- `),j=typeof o.cssText?.[f]=="string"?Cr(f,o.cssText[f]):"";Me(f,_||j)}),se=o,et()};if(be&&me&&tt(me),a&&b?.adoptedStyleSheets){let o=b.adoptedStyleSheets,c=["root",...Le].map(f=>G[f]).filter(f=>f&&!o.includes(f));c.length>0&&(b.adoptedStyleSheets=[...o,...c])}h||et(),h&&a&&C&&le&&!be&&(async()=>{let o=await wr(le.raw);if(!o){Qe(le.raw);return}if(o.configHash!==Te){Qe(le.raw);return}be=!0,me=o,tt(o)})(),h&&a&&p?.addEventListener&&p.addEventListener("storage",o=>{if(o.key===L&&o.newValue)try{pe(ct(JSON.parse(o.newValue)))}catch{}});let Mt=(o,c,f)=>{try{o.insertRule(c,o.cssRules.length)}catch{try{o.replaceSync(f)}catch{}}},Kt=(o,c)=>{let{media:f,property:g,selector:m,layer:O,className:_}=c,j=N;O=Number(O)||0;let z=y.get(o),ee=z?`.${z}${m}`:`.${_}${m}`;var K=`@layer l${O}{${ee}{${g}}}`;Z[f]||(Z[f]=new Set);let nt=Z[f];nt.has(K)||(nt.add(K),j[f]+=(j[f]?`
10
- `:"")+K,a&&G[f]&&Mt(G[f],K,j[f]),je())},rt=o=>{o.forEach(c=>{let f=B(c),g=Ye(f);g&&Kt(f,g)})},Ke=o=>{if(o.length===0)return;let c=()=>rt(o);fe?c():Re.then(c)};return Oe.on("observeDom",Ke),{clsx:(...o)=>{let c=o.map(m=>Array.isArray(m)?m:[m]).flat(1/0).map(m=>typeof m=="string"?m.split(/(\s|\t)+/g):[]).flat(1/0);c=c.filter(m=>typeof m=="string"&&m.trim()),c=[...new Set(c)];let f=m=>{if(!Fe(m))return!1;if(fe)return!!Ye(m);let O=u?m.slice(u.length):m,_=ye(O);if(!_||!Ce(_.mq))return!1;let j=(_.selector||"").replace(/(';|;)/g,z=>z=="';"?";":" ");return j&&!Ie(j)?!1:_.prop.startsWith("[")?!!Je(_.prop+_.val):ve(_.prop)?(_.prop==="&",_.val.length>0):!1},g=c.map(m=>{let O=m;if(y.has(m))O=y.get(m);else if(f(m))if(h&&a)zt(m);else{let _=Ot(m);ae([m,_]),je(),O=_}return O});return!a||W?Oe.emit("observeDom",c):queueMicrotask(()=>Oe.emit("observeDom",c)),g.join(" ")},observe:()=>{!a||!b||(At(b,o=>{W?rt(o):Ke(o)}),W=!1)},getCssString:()=>Object.entries(N).map(([o,c])=>{if(!c)return"";if(o==="root"||o==="default")return c;let f=ge.find(g=>Object.keys(g)[0]===o)?.[o];return f?`@media ${f} {
11
- ${c}
12
- }`:c}).join(`
13
- `)}};function Je(i){let a=new RegExp("^(\\[(?<p>[a-zA-Z]+)\\])$"),{p=""}=a.exec(i)?.groups??{};if(p&&s[p]&&Array.isArray(s[p])){let w=s[p],E=[],h=!0,C=b=>{let v=b.trim();if(!v)return null;let y=v.endsWith(";")?v.slice(0,-1).trim():v,M=y.indexOf(":");if(M<=0||M>=y.length-1)return null;let R=y.slice(0,M).trim(),P=y.slice(M+1).trim();return!R||!P||!/^(?:--[a-zA-Z0-9-_]+|-?[a-zA-Z][a-zA-Z0-9-]*)$/.test(R)?null:`${R}:${P}`};for(let b of w){if(typeof b!="string"){h=!1;break}let v=C(b);if(v){if(typeof CSS<"u"&&!CSS.supports(v)){h=!1;break}E.push(v);continue}h=!1;break}if(E.length>0&&h)return E.join(";")}return null}function Ze(i,a){let p=Je(i+a);if(p)return p;if(!i||a===void 0)return null;let w=Y[i],E=w||i,h=a[0],C=!1,b=a;if(h==="!"&&(C=!0,b=b.substring(1),h=b[0]),b.startsWith("--"))b="var("+b+")";else if(h==="["&&b.endsWith("]"))b=b.substring(1,b.length-1);else if(b.length>0){let R=b[0].toLowerCase()+b.substring(1),P=ce[i]?.[R]||Ee[R];if(!P){let B=b.toLowerCase();P=ce[i]?.[B]||Ee[B]}b=P||b}if(b=b.replace(/(';|;)/g,R=>R=="';"?";":" "),!b)return null;let v=b+(C?" !important":""),y=[E+":"+v];switch(E){case"mx":y=[`margin-left:${v}`,`margin-right:${v}`];break;case"my":y=[`margin-top:${v}`,`margin-bottom:${v}`];break;case"px":y=[`padding-left:${v}`,`padding-right:${v}`];break;case"py":y=[`padding-top:${v}`,`padding-bottom:${v}`];break;case"bdx":y=[`border-left:${v}`,`border-right:${v}`];break;case"bdy":y=[`border-top:${v}`,`border-bottom:${v}`];break}return!(typeof CSS<"u")||y.every(R=>CSS.supports(R))?y.join(";"):null}let Rt=i=>{let a=0;for(let p=i.length-1;p>=0;p--){let w=i[p];if(w==="]"){a++;continue}if(w==="["){a>0&&a--;continue}if(w==="@"&&a===0)return{body:i.slice(0,p),selector:i.slice(p+1)}}return{body:i,selector:""}},It=i=>{let a=[],p=0,w=0;for(let E=0;E<i.length;E++){let h=i[E];if(h==="["){w++;continue}if(h==="]"){w>0&&w--;continue}h==="&"&&w===0&&(a.push(i.slice(p,E)),p=E+1)}return a.push(i.slice(p)),a},Ie=i=>{if(!i)return!0;let a=i.trim();if(!a)return!0;if(/[{}]/.test(a)||a==="#"||a==="("||a===")"||a===","||a===">"||a==="+"||a==="~"||a.startsWith("(")||a.startsWith(")"))return!1;let p=0;for(let w=0;w<a.length;w++){let E=a[w];if(E==="("){p++;continue}if(E===")"){if(p===0)return!1;p--}}return p===0};function Ye(i){if(!Fe(i))return null;let a=u?i.slice(u.length):i,p=typeof CSS<"u"?CSS.escape(i):_t(i);if(a.includes("&")&&!a.startsWith("&")){let{body:B,selector:oe}=Rt(a),ue=It(B).map(A=>A.trim()).filter(A=>A.length>0).map(A=>u&&A.startsWith(u)?A.slice(u.length):A);if(ue.length>1){let A="",U="",V=oe,H=!1,W=[];for(let q of ue){let J=V?`${q}@${V}`:q,I=ye(J);if(!I||!Ce(I.mq)||!I.prop.startsWith("[")&&!ve(I.prop))return null;H?(!I.mq&&A&&(I.mq=A),!I.layer&&U&&(I.layer=U)):(A=I.mq||"",U=I.layer||"",H=!0);let ie=I.mq||"",pe=I.layer||"",Ae=I.selector||"";if(ie!==A||pe!==U||Ae!==V)return null;let ae=Ze(I.prop,I.val);if(!ae)return null;W.push(ae)}if(W.length===0)return null;let F=V.replace(/(';|;)/g,q=>q=="';"?";":" "),Q=`selector(${p}${F})`;if(F){if(typeof CSS<"u"){if(!CSS.supports(Q))return null}else if(!Ie(F))return null}return{media:A||"default",layer:U||"0",className:p,property:W.join(";"),selector:F,cssRules:`.${p}${F}{${W.join(";")}}`}}}let w=ye(a);if(!w||!Ce(w.mq)||!w.prop.startsWith("[")&&!ve(w.prop))return null;let{mq:E="default",layer:h="0",prop:C,val:b,selector:v=""}=w,y=[],M=Ze(C,b);if(M&&y.push(M),y.length===0)return null;let R=v.replace(/(';|;)/g,B=>B=="';"?";":" "),P=`selector(${p}${R})`;if(R){if(typeof CSS<"u"){if(!CSS.supports(P))return null}else if(!Ie(R))return null}return{media:E||"default",layer:h||"0",className:p,property:y.join(";"),selector:R,cssRules:`.${p}${R}{${y.join(";")}}`}}let _t=i=>i.replace(/([^\w-])/g,"\\$1"),_e=i=>{var a=[...i?.classList||[]].filter(p=>{if(p){let w=p.charCodeAt(0)==45?p.charCodeAt(1):p.charCodeAt(0);return w>=97&&w<=122||w>=48&&w<=57}return!1});return i?.children?.length>0&&Array.from(i?.children).forEach(p=>{a.push(..._e(p))}),a.flat(1/0)},At=(i,a)=>{if(typeof a!="function")throw new Error("Callback is not a function");if(!i)return;let p;"documentElement"in i?p=i.documentElement:(i instanceof Element||"tagName"in i||"host"in i)&&(p=i),p&&(p instanceof Element&&a(_e(p)),typeof MutationObserver<"u"&&new MutationObserver(w=>{for(let E of w)if(E.type=="attributes"&&E.attributeName=="class"){if(E.target.nodeType==1){let h=String(E.target?.className??""),C=String(E?.oldValue??"");if(h||C){let b=h.split(" ").map(y=>y.trim()).filter(y=>y),v=C.split(" ").map(y=>y.trim()).filter(y=>y);b=b.filter(y=>!v.includes(y)),typeof a=="function"&&a([...new Set(b)])}}}else if(E.type=="childList"&&E.addedNodes.length>0){let h=[...E.addedNodes].filter(C=>C.nodeType==1).map(C=>_e(C)).flat(1/0);typeof a=="function"&&a([...new Set(h)])}}).observe(p,{attributes:!0,attributeOldValue:!0,attributeFilter:["class"],childList:!0,subtree:!0}))};return{buildCss:Et,exportCache:()=>!T.loadOnInit||typeof window>"u"||!window.localStorage?se:ft(window.localStorage.getItem($))||se,ready:Re}},kr=(e,t)=>{Ue(t).buildCss(e).observe()},Er=(e,t)=>Ue(t).buildCss(e).clsx,Ne={css:Ue,cssObserve:kr,clsx:Er};var Rr=(e,t)=>(e=e||"fwkui",t=t||"v1",`${e}_cache_${t}`),ht=(e="fwkui",t="v1",r)=>{let s=String(e||"").trim()||"fwkui",n=Rr(s,t),l=r?.loadOnInit??!0,d=JSON.stringify(s),u=JSON.stringify(n),x=`
1
+ "use strict";var Be=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var sn=Object.prototype.hasOwnProperty;var on=(e,t)=>{for(var n in t)Be(e,n,{get:t[n],enumerable:!0})},an=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of rn(t))!sn.call(e,s)&&s!==n&&Be(e,s,{get:()=>t[s],enumerable:!(r=nn(t,s))||r.enumerable});return e};var ln=e=>an(Be({},"__esModule",{value:!0}),e);var Lr={};on(Lr,{TAILWIND_COVERAGE_MATRIX:()=>Dt,assessTailwindMigrationReadiness:()=>wr,classifyTailwindToken:()=>$t,clsx:()=>Tr,convertTailwindClasses:()=>ke,convertTailwindToken:()=>zt,createSharedClsx:()=>Er,createSharedInstance:()=>kr,default:()=>Or,getBootloaderScript:()=>Rt,getCss:()=>Ar,getTailwindCoverageMatrix:()=>xr,observe:()=>Rr,ready:()=>_r,setClsxRoot:()=>Ir,tailwindToXcss:()=>hr});module.exports=ln(Lr);var gt=e=>(e=e||new Map,{all:e,on(t,n){let r=e.get(t);r?r.push(n):e.set(t,[n])},off(t,n){let r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit(t,n){let r=e.get(t);r&&r.slice().forEach(o=>{o(n)});let s=e.get("*");s&&s.slice().forEach(o=>{o(t,n)})}});function cn(e,t,n){let r=0;for(let s=t;s<n;s++){let o=e.charCodeAt(s);if(o===91){r++;continue}if(o===93){r>0&&r--;continue}if(o===58&&r===0)return s}return-1}function dn(e,t,n){let r=0;for(let s=n-1;s>=t;s--){let o=e.charCodeAt(s);if(o===93){r++;continue}if(o===91){r>0&&r--;continue}if(o===64&&r===0)return s}return-1}function un(e,t,n){let r=0;for(let s=t;s<n;s++){let o=e.charCodeAt(s);if(o===91){r++;continue}if(o===93){if(r===0)return!1;r--}}return r===0}function fn(e){return e>=97&&e<=122}function oe(e){if(!e||e.length<2||!un(e,0,e.length))return null;let t=0,n=e.length,r="",s=dn(e,t,n);s>t&&(r=e.substring(s+1,n),n=s);let o="",i="",c=cn(e,t,n);if(c>0&&c<n){let m=e.substring(t,c);t=c+1,o=m}let b=t;for(;b<n;){let m=e.charCodeAt(b);if(m>=48&&m<=57)b++;else break}if(b>t&&(i=e.substring(t,b),t=b),t>=n||e.charCodeAt(t)===38)return null;if(e.charCodeAt(t)===91){let m=e.indexOf("]",t);if(m>t)return{mq:o,layer:i,prop:e.substring(t,m+1),val:"",selector:r}}let w=t;for(;w<n;){let m=e.charCodeAt(w);if(m===45||m===46){if(w+1<n){let E=e.charCodeAt(w+1);if(m===45&&E===45&&w>t||E>=48&&E<=57)break}w++;continue}if(!fn(m))break;w++}if(w===t)return null;let j=e.substring(t,w),M=e.substring(w,n);return{mq:o,layer:i,prop:j,val:M,selector:r}}var mt={a:"all",ac:"align-content",acc:"accent-color",ai:"align-items",ani:"animation",anic:"animation-composition",anide:"animation-delay",anidi:"animation-direction",anidu:"animation-duration",anifm:"animation-fill-mode",aniic:"animation-iteration-count",anin:"animation-name",anips:"animation-play-state",anitf:"animation-timing-function",ap:"appearance",ar:"aspect-ratio",as:"align-self",b:"bottom",bd:"border",bda:"border-radius",bdb:"border-bottom",bdbc:"border-bottom-color",bdblc:"border-block-color",bdble:"border-block-end",bdblec:"border-block-end-color",bdbles:"border-block-end-style",bdblew:"border-block-end-width",bdblk:"border-block",bdblr:"border-bottom-left-radius",bdbls:"border-block-start",bdblsc:"border-block-start-color",bdblss:"border-block-start-style",bdblst:"border-block-style",bdblsw:"border-block-start-width",bdblwi:"border-block-width",bdbr:"box-decoration-break",bdbrr:"border-bottom-right-radius",bdbst:"border-bottom-style",bdbw:"border-bottom-width",bdc:"border-color",bdcl:"border-collapse",bdeer:"border-end-end-radius",bdesr:"border-end-start-radius",bdi:"border-inline",bdic:"border-inline-color",bdie:"border-inline-end",bdiec:"border-inline-end-color",bdies:"border-inline-end-style",bdiew:"border-inline-end-width",bdimg:"border-image",bdinw:"border-inline-width",bdio:"border-image-outset",bdir:"border-image-repeat",bdis:"border-image-slice",bdisc:"border-inline-start-color",bdisrc:"border-image-source",bdiss:"border-inline-start-style",bdista:"border-inline-start",bdistl:"border-inline-style",bdisw:"border-inline-start-width",bdiw:"border-image-width",bdl:"border-left",bdlc:"border-left-color",bdls:"border-left-style",bdlw:"border-left-width",bdr:"border-right",bdra:"border-radius",bdrc:"border-right-color",bdrs:"border-right-style",bdrw:"border-right-width",bds:"border-style",bdser:"border-start-end-radius",bdsp:"border-spacing",bdssr:"border-start-start-radius",bdt:"border-top",bdtc:"border-top-color",bdtlr:"border-top-left-radius",bdtrr:"border-top-right-radius",bdts:"border-top-style",bdtw:"border-top-width",bdw:"border-width",bg:"background",bga:"background-attachment",bgbm:"background-blend-mode",bgc:"background-color",bgcl:"background-clip",bgi:"background-image",bgo:"background-origin",bgp:"background-position",bgpx:"background-position-x",bgpy:"background-position-y",bgr:"background-repeat",bgs:"background-size",bkdf:"backdrop-filter",bkfv:"backface-visibility",blks:"block-size",brka:"break-after",brkb:"break-before",brki:"break-inside",bxsh:"box-shadow",bxshd:"box-shadow",bxsz:"box-sizing",c:"color",caps:"caption-side",cip:"color-interpolation",ciw:"contain-intrinsic-width",clpp:"clip-path",clr:"clear",cnt:"contain",cntibs:"contain-intrinsic-block-size",cntih:"contain-intrinsic-height",cntiis:"contain-intrinsic-inline-size",cntis:"contain-intrinsic-size",cntri:"counter-increment",cntrr:"counter-reset",cntrs:"counter-set",col:"columns",colc:"column-count",colf:"column-fill",colg:"column-gap",colr:"column-rule",colrc:"column-rule-color",colrs:"column-rule-style",colrw:"column-rule-width",cols:"column-span",colw:"column-width",cr:"cursor",crtc:"caret-color",csch:"color-scheme",ctr:"container",ctrn:"container-name",ctrt:"container-type",ctt:"content",d:"display",dir:"direction",empc:"empty-cells",fca:"forced-color-adjust",ff:"font-family",fl:"float",flt:"filter",fn:"font",fnf:"font-family",fnfs:"font-feature-settings",fnk:"font-kerning",fnlo:"font-language-override",fnos:"font-optical-sizing",fnp:"font-palette",fns:"font-size",fnsa:"font-size-adjust",fnsp:"font-synthesis-position",fnss:"font-synthesis-style",fnssc:"font-synthesis-small-caps",fnstr:"font-stretch",fnsty:"font-style",fnsw:"font-synthesis-weight",fnsyn:"font-synthesis",fnv:"font-variant",fnva:"font-variant-alternates",fnvc:"font-variant-caps",fnve:"font-variant-emoji",fnvea:"font-variant-east-asian",fnvl:"font-variant-ligatures",fnvn:"font-variant-numeric",fnvp:"font-variant-position",fnvs:"font-variation-settings",fnw:"font-weight",fw:"font-weight",fx:"flex",fxb:"flex-basis",fxd:"flex-direction",fxf:"flex-flow",fxg:"flex-grow",fxs:"flex-shrink",fxw:"flex-wrap",g:"grid",ga:"grid-area",gac:"grid-auto-columns",gaf:"grid-auto-flow",gap:"gap",gar:"grid-auto-rows",gc:"grid-column",gce:"grid-column-end",gcs:"grid-column-start",gr:"grid-row",gre:"grid-row-end",grs:"grid-row-start",gt:"grid-template",gta:"grid-template-areas",gtc:"grid-template-columns",gtr:"grid-template-rows",h:"height",hc:"hyphenate-character",hlc:"hyphenate-limit-chars",hp:"hanging-punctuation",hyp:"hyphens",i:"inset",ibe:"inset-block-end",iblk:"inset-block",ibsta:"inset-block-start",ii:"inset-inline",iie:"inset-inline-end",iis:"inset-inline-start",imgo:"image-orientation",imgr:"image-rendering",ins:"inline-size",is:"isolation",jc:"justify-content",ji:"justify-items",js:"justify-self",l:"left",lbrk:"line-break",lh:"line-height",lisp:"list-style-position",ls:"list-style",lsi:"list-style-image",lst:"list-style-type",lts:"letter-spacing",m:"margin",mb:"margin-bottom",mbd:"mix-blend-mode",mbe:"margin-block-end",mblk:"margin-block",mbs:"max-block-size",mbsta:"margin-block-start",mh:"max-height",mibs:"min-block-size",mie:"margin-inline-end",mih:"min-height",min:"margin-inline",mis:"max-inline-size",mista:"margin-inline-start",misz:"min-inline-size",miw:"min-width",ml:"margin-left",mr:"margin-right",msk:"mask",mskb:"mask-border",mskbm:"mask-border-mode",mskbo:"mask-border-outset",mskbr:"mask-border-repeat",mskbs:"mask-border-slice",mskbsrc:"mask-border-source",mskbw:"mask-border-width",mskc:"mask-clip",mskcp:"mask-composite",mski:"mask-image",mskm:"mask-mode",msko:"mask-origin",mskp:"mask-position",mskr:"mask-repeat",msks:"mask-size",mskt:"mask-type",mt:"margin-top",mtd:"math-depth",mts:"math-style",mw:"max-width",mxw:"max-width",of:"object-fit",ofa:"offset-anchor",ofd:"offset-distance",ofl:"overflow",ofla:"overflow-anchor",oflb:"overflow-block",oflcm:"overflow-clip-margin",ofli:"overflow-inline",oflw:"overflow-wrap",oflx:"overflow-x",ofly:"overflow-y",ofp:"offset-path",ofpo:"offset-position",ofr:"offset-rotate",ofs:"offset",olc:"outline-color",oli:"outline",olo:"outline-offset",ols:"outline-style",olw:"outline-width",op:"object-position",opc:"opacity",ord:"order",orp:"orphans",orsby:"overscroll-behavior-y",osrbb:"overscroll-behavior-block",osrbh:"overscroll-behavior",osrbi:"overscroll-behavior-inline",osrbx:"overscroll-behavior-x",p:"padding",pb:"padding-bottom",pbe:"padding-block-end",pblk:"padding-block",pbs:"padding-block-start",pe:"pointer-events",pg:"page",pgba:"page-break-after",pgbb:"page-break-before",pgbi:"page-break-inside",pi:"padding-inline",pie:"padding-inline-end",pis:"padding-inline-start",pl:"padding-left",plc:"place-content",pli:"place-items",pls:"place-self",pos:"position",pr:"padding-right",prca:"print-color-adjust",pso:"perspective-origin",psp:"perspective",pt:"padding-top",pto:"paint-order",qts:"quotes",r:"right",rbp:"ruby-position",rgap:"row-gap",rot:"rotate",rsz:"resize",s:"scale",sbc:"scrollbar-color",sbg:"scrollbar-gutter",sbw:"scrollbar-width",scrb:"scroll-behavior",scrm:"scroll-margin",scrmb:"scroll-margin-bottom",scrmbe:"scroll-margin-block-end",scrmblk:"scroll-margin-block",scrmbs:"scroll-margin-block-start",scrmi:"scroll-margin-inline",scrmie:"scroll-margin-inline-end",scrmis:"scroll-margin-inline-start",scrml:"scroll-margin-left",scrmr:"scroll-margin-right",scrmt:"scroll-margin-top",scrp:"scroll-padding",scrpb:"scroll-padding-bottom",scrpblk:"scroll-padding-block",scrpbs:"scroll-padding-block-start",scrpi:"scroll-padding-inline",scrpie:"scroll-padding-inline-end",scrpis:"scroll-padding-inline-start",scrpl:"scroll-padding-left",scrpr:"scroll-padding-right",scrpt:"scroll-padding-top",scrsa:"scroll-snap-align",scrss:"scroll-snap-stop",scrst:"scroll-snap-type",shit:"shape-image-threshold",shm:"shape-margin",sho:"shape-outside",srcpbe:"scroll-padding-block-end",t:"top",ta:"text-align",tal:"text-align-last",tbl:"table-layout",tbs:"tab-size",tcu:"text-combine-upright",td:"text-decoration",tdc:"text-decoration-color",tdl:"text-decoration-line",tds:"text-decoration-style",tdsi:"text-decoration-skip-ink",tdt:"text-decoration-thickness",tec:"text-emphasis-color",tep:"text-emphasis-position",teph:"text-emphasis",tes:"text-emphasis-style",ti:"text-indent",tj:"text-justify",toa:"touch-action",tol:"text-overflow",tor:"text-orientation",tra:"transform",trab:"transform-box",tran:"transition",tranb:"transition-behavior",trand:"transition-delay",trandur:"transition-duration",tranp:"transition-property",trantf:"transition-timing-function",trao:"transform-origin",tras:"transform-style",trd:"text-rendering",trl:"translate",tsh:"text-shadow",ttr:"text-transform",tuo:"text-underline-offset",tup:"text-underline-position",tw:"text-wrap",unib:"unicode-bidi",us:"user-select",v:"visibility",va:"vertical-align",w:"width",wc:"will-change",wd:"widows",wlc:"-webkit-line-clamp",wrb:"word-break",wrs:"word-spacing",wrtm:"writing-mode",ws:"white-space",wsc:"white-space-collapse",wtfc:"-webkit-text-fill-color",wts:"-webkit-text-stroke",wtsc:"-webkit-text-stroke-color",wtsw:"-webkit-text-stroke-width",z:"z-index",zo:"zoom"},bt={in:"inherit",ini:"initial",un:"unset",rv:"revert",n:"none",a:"auto",t:"top",b:"bottom",l:"left",r:"right",c:"center",m:"middle",j:"justify",s:"start",e:"end",tr:"transparent",cc:"currentColor",minc:"min-content",maxc:"max-content",fitc:"fit-content",sol:"solid",das:"dashed",dot:"dotted",dub:"double",vis:"visible",h:"hidden",col:"collapse"},N={ac:{s:"start",e:"end",fs:"flex-start",fe:"flex-end",n:"normal",b:"baseline",fb:"first baseline",lb:"last baseline",sp:"space-between",sa:"space-around",se:"space-evenly",st:"stretch",sc:"safe center",uc:"unsafe center"},acc:{u:"unset"},ai:{n:"normal",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",b:"baseline",fb:"first baseline",lb:"last baseline",sc:"safe center",uc:"unsafe center"},anic:{r:"replace",a:"add",ac:"accumulate",ra:"replace, add",aac:"add, accumulate",raac:"replace, add, accumulate"},anidi:{r:"reverse",a:"alternate",ar:"alternate-reverse",nr:"normal, reverse",arn:"alternate, reverse, normal"},anifm:{f:"forwards",b:"backwards",nb:"none, backwards",fbn:"both, forwards, none"},anin:{s:"slide"},anips:{p:"paused",r:"running"},anitf:{ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",ss:"step-start",se:"step-end"},ap:{mb:"menulist-button",tf:"textfield",b:"button",c:"checkbox"},ar:{s:"1 / 1",v:"16 / 9"},as:{n:"normal",c:"center",s:"start",e:"end",ss:"self-start",se:"self-end",fs:"flex-start",fe:"flex-end",b:"baseline",fb:"first baseline",lb:"last baseline",st:"stretch",sc:"safe center",uc:"unsafe center"},bd:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbles:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdblss:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdblst:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbr:{c:"clone",s:"slice"},bdbst:{d:"dotted",ds:"dashed",db:"double",g:"groove",r:"ridge",i:"inset",o:"outset"},bdbw:{t:"thin",m:"medium",th:"thick"},bdcl:{s:"separate",c:"collapse"},bdir:{st:"stretch",r:"repeat",rn:"round",s:"space"},bdlw:{t:"thin",m:"medium",th:"thick"},bdrs:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdrw:{t:"thin",m:"medium",th:"thick"},bds:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdts:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},bdtw:{t:"thin",m:"medium",th:"thick"},bdw:{t:"thin",m:"medium",th:"thick"},bga:{s:"scroll",f:"fixed",l:"local"},bgbm:{n:"normal",m:"multiply",s:"screen",o:"overlay",d:"darken",l:"lighten",cd:"color-dodge",i:"color-burn",hl:"hard-light",sl:"soft-light",di:"difference",e:"exclusion",h:"hue",sa:"saturation",c:"color",lu:"luminosity"},bgc:{t:"transparent",c:"currentcolor"},bgcl:{bb:"border-box",pb:"padding-box",cb:"content-box",t:"text"},bgo:{bb:"border-box",pb:"padding-box",cb:"content-box"},bgp:{t:"top",b:"bottom",l:"left",r:"right",c:"center",lt:"left top",ct:"center top",rt:"right top",lc:"left center",cc:"center center",rc:"right center",lb:"left bottom",cb:"center bottom",rb:"right bottom"},bgpx:{l:"left",r:"right",c:"center"},bgpy:{t:"top",b:"bottom",c:"center"},bgr:{r:"repeat",x:"repeat-x",y:"repeat-y",s:"space",rn:"round",n:"no-repeat",rs:"repeat space",rr:"repeat repeat",nr:"no-repeat round"},bgs:{c:"contain"},c:{i:"inherit",t:"transparent"},cr:{p:"pointer",d:"default",cm:"context-menu",h:"help",pg:"progress",w:"wait",c:"cell",t:"text",vt:"vertical-text",al:"alias",cp:"copy",mo:"move",nd:"no-drop",na:"not-allowed",gr:"grab",gb:"grabbing",as:"all-scroll",colr:"col-resize",rr:"row-resize",nr:"n-resize",er:"e-resize",sr:"s-resize",wr:"w-resize",ner:"ne-resize",ser:"se-resize",swr:"sw-resize",ewr:"ew-resize",nsr:"ns-resize",nesw:"nesw-resize",nwse:"nwse-resize",zi:"zoom-in",zo:"zoom-out"},d:{b:"block",ib:"inline-block",i:"inline",f:"flex",if:"inline-flex",t:"table",it:"inline-table",tcp:"table-caption",tcell:"table-cell",tcol:"table-column",tcolg:"table-column-group",tfg:"table-footer-group",thg:"table-header-group",trg:"table-row-group",tr:"table-row",fr:"flow-root",g:"grid",ig:"inline-grid",c:"contents",li:"list-item"},ff:{a:"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",s:"ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif",m:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"},fl:{is:"inline-start",ie:"inline-end",r:"right",l:"left"},fx:{i:"0 1 auto",a:"1 1 auto"},fxd:{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse"},fxw:{w:"wrap",wr:"wrap-reverse",n:"nowrap"},gac:{mic:"min-content",mac:"max-content",mm:"minmax(0, 1fr)"},gaf:{r:"row",c:"column",d:"dense",rd:"row dense",cd:"column dense"},gar:{mic:"min-content",mac:"max-content",mm:"minmax(0, 1fr)"},gc:{f:"1 / -1"},gr:{f:"1 / -1"},gtc:{s:"subgrid"},gtr:{s:"subgrid"},h:{mic:"min-content",mac:"max-content",fc:"fit-content"},hyp:{m:"manual"},is:{i:"isolate"},jc:{c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",l:"left",r:"right",n:"normal",sp:"space-between",sa:"space-around",se:"space-evenly",st:"stretch",sc:"safe center",uc:"unsafe center"},ji:{n:"normal",st:"stretch",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",l:"left",r:"right",b:"baseline",fb:"first baseline",lb:"last baseline",lr:"legacy right",ll:"legacy left",lc:"legacy center",sc:"safe center",uc:"unsafe center"},js:{n:"normal",st:"stretch",c:"center",s:"start",e:"end",fs:"flex-start",fe:"flex-end",ss:"self-start",se:"self-end",l:"left",r:"right",b:"baseline",sc:"safe center",uc:"unsafe center"},lisp:{i:"inside",o:"outside"},ls:{i:"inside",di:"disc",c:"circle",s:"square",de:"decimal",g:"georgian",tci:"trad-chinese-informal",k:"kannada"},lst:{di:"disc",c:"circle",s:"square",de:"decimal",g:"georgian",tci:"trad-chinese-informal",k:"kannada"},lts:{n:"normal"},mbd:{n:"normal",m:"multiply",s:"screen",o:"overlay",d:"darken",l:"lighten",cd:"color-dodge",i:"color-burn",hl:"hard-light",sl:"soft-light",di:"difference",e:"exclusion",h:"hue",sa:"saturation",c:"color",lu:"luminosity"},mih:{f:"100%",mic:"min-content",mac:"max-content",fc:"fit-content"},miw:{f:"100%",mic:"min-content",mac:"max-content",fc:"fit-content"},of:{c:"contain",cv:"cover",f:"fill",sd:"scale-down"},oflw:{c:"clip",s:"scroll"},oflx:{c:"clip",s:"scroll"},ofly:{c:"clip",s:"scroll"},olc:{i:"inherit",c:"currentColor",t:"transparent"},ols:{dt:"dotted",ds:"dashed",s:"solid",db:"double",g:"groove",r:"ridge",in:"inset",out:"outset"},olw:{t:"thin",m:"medium",th:"thick"},op:{b:"bottom",c:"center",l:"left",r:"right",t:"top",lb:"left bottom",lt:"left top",rb:"right bottom",rt:"right top"},orsby:{c:"contain"},osrbb:{c:"contain"},osrbh:{c:"contain"},osrbi:{c:"contain"},osrbx:{c:"contain"},pi:{s:"start",c:"center",e:"end",b:"baseline",st:"stretch"},pos:{s:"static",f:"fixed",a:"absolute",r:"relative",st:"sticky"},rsz:{b:"both",h:"horizontal",v:"vertical"},ta:{s:"start",e:"end",l:"left",r:"right",c:"center",j:"justify",mp:"match-parent",mc:"-moz-center",wc:"-webkit-center"},tal:{s:"start",e:"end",l:"left",r:"right",c:"center",j:"justify"},td:{u:"underline"},tdl:{u:"underline",o:"overline",lt:"line-through",b:"blink"},tds:{db:"double",dt:"dotted",ds:"dashed",w:"wavy"},tdt:{ff:"from-font"},tep:{or:"over right",ol:"over left",ur:"under right",ul:"under left",lo:"left over",ru:"right under",lu:"left under"},tj:{iw:"inter-word",ic:"inter-character",d:"distribute"},toa:{p:"pan-x",py:"pan-y",pm:"pan-x pan-y",pi:"pinch-zoom"},tol:{c:"clip",e:"ellipsis"},tor:{m:"mixed",u:"upright",sr:"sideways-right",sl:"sideways-left",s:"sideways",ugo:"use-glyph-orientation"},trd:{op:"optimizeSpeed",ol:"optimizeLegibility",g:"geometricPrecision"},ttr:{c:"capitalize",u:"uppercase",l:"lowercase",fw:"full-width",fsk:"full-size-kana"},tup:{u:"under",l:"left",r:"right",ul:"under left",ru:"right under"},tw:{w:"wrap",n:"nowrap",b:"balance",p:"pretty"},us:{t:"text",all:"all",c:"contain"},v:{c:"collapse"},va:{bl:"baseline",t:"top",m:"middle",b:"bottom",tt:"text-top",tb:"text-bottom",sb:"sub",sp:"super"},w:{mic:"min-content",mac:"max-content",fc:"fit-content",f:"100%"},wc:{sp:"scroll-position",c:"contents",t:"transform"},wtsw:{m:"medium",t:"thick"}};N.ji=N.jc;N.js=N.jc;N.pc=N.jc;N.pi=N.jc;N.ps=N.jc;var pn={SHORT_PROPERTIES:mt,COMMON_VALUES:bt,SPECIFIC_VALUES:N},vt=e=>{let t=typeof e?.styleId=="string"&&e.styleId.trim()?e.styleId.trim():"fwkui",n=typeof e?.version=="string"&&e.version.trim()?e.version.trim():"v1",r=e?.compression??!0,s=typeof e?.debounceMs=="number"&&e.debounceMs>=0?e.debounceMs:1e3,o=typeof e?.sizeLast=="number"&&Number.isFinite(e.sizeLast)&&e.sizeLast>=0?Math.floor(e.sizeLast):1e3,i=e?.loadOnInit??!1;return{styleId:t,version:n,compression:r,debounceMs:s,sizeLast:o,loadOnInit:i}},gn=e=>`${e.styleId}_cache_${e.version}`,mn=e=>`${e.styleId}_ks_${e.version}`,bn=e=>`${e.styleId}_bc_${e.version}`,hn=e=>`${e.styleId}_kr_${e.version}`,yn=e=>`${e.styleId}_kr_lock_${e.version}`,Fe=(e,t)=>{if(!e)return{sizeLast:0,entries:[]};try{let n=e.getItem(t);if(!n)return{sizeLast:0,entries:[]};let r=JSON.parse(n),s=typeof r.sizeLast=="number"?r.sizeLast:typeof r.s=="number"?r.s:0,i=(Array.isArray(r.entries)?r.entries:Array.isArray(r.e)?r.e:[]).filter(c=>Array.isArray(c)&&c.length===2&&typeof c[0]=="string"&&typeof c[1]=="string");return{sizeLast:Number.isFinite(s)&&s>=0?Math.floor(s):0,entries:i}}catch{return{sizeLast:0,entries:[]}}},ht=(e,t,n)=>{if(e)try{e.setItem(t,JSON.stringify({s:n.sizeLast,e:n.entries}))}catch{}},xn=()=>{if(typeof window>"u"||typeof window.localStorage>"u")return!1;try{let e="__xcss_cache_probe__";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),!0}catch{return!1}},wn=()=>typeof navigator<"u"&&typeof navigator.locks<"u"&&typeof navigator.locks.request=="function",Sn=()=>xn(),Ct=e=>{if(!e||typeof e!="object")return!1;let t=e;return t.__xcss_cache_v===2&&t.compressed===!0&&typeof t.payload=="string"},Ve=e=>{if(!e||typeof e!="object")return!1;let t=e;return t.__xcss_cache_v===3&&t.compressed===!0&&t.algorithm==="deflate-raw"&&t.encoding==="base64"&&typeof t.payload=="string"},kt=()=>typeof CompressionStream<"u"&&typeof Blob<"u"&&typeof Response<"u",Et=()=>typeof DecompressionStream<"u"&&typeof Blob<"u"&&typeof Response<"u",vn=e=>{if(typeof btoa=="function"){let n="";for(let s=0;s<e.length;s+=32768){let o=e.subarray(s,s+32768);for(let i=0;i<o.length;i++)n+=String.fromCharCode(o[i])}return btoa(n)}let t=globalThis.Buffer;if(typeof t<"u")return t.from(e).toString("base64");throw new Error("XCSS: base64 encoding is not supported in this runtime")},Cn=e=>{if(typeof atob=="function"){let n=atob(e),r=new Uint8Array(n.length);for(let s=0;s<n.length;s++)r[s]=n.charCodeAt(s);return r}let t=globalThis.Buffer;if(typeof t<"u")return new Uint8Array(t.from(e,"base64"));throw new Error("XCSS: base64 decoding is not supported in this runtime")},kn=async e=>{if(!kt())throw new Error("XCSS: CompressionStream is not supported");let t=new Blob([e]).stream().pipeThrough(new CompressionStream("deflate-raw")),n=await new Response(t).arrayBuffer();return vn(new Uint8Array(n))},En=async e=>{if(!Et())throw new Error("XCSS: DecompressionStream is not supported");let t=Cn(e),n=new Uint8Array(t.length);n.set(t);let r=new Blob([n.buffer]).stream().pipeThrough(new DecompressionStream("deflate-raw"));return await new Response(r).text()},Tn=e=>{try{let t=JSON.parse(e);return Ve(t)}catch{return!1}},Rn=e=>{if(!e)return"";let t=new Map,n=[],r=256;for(let o=0;o<256;o++)t.set(String.fromCharCode(o),o);let s=e[0];for(let o=1;o<e.length;o++){let i=e[o],c=s+i;t.has(c)?s=c:(n.push(t.get(s)),t.set(c,r++),s=i)}return n.push(t.get(s)),n.map(o=>String.fromCharCode(o)).join("")},Tt=e=>{if(!e)return"";let t=new Map,n=256,r="";for(let c=0;c<256;c++)t.set(c,String.fromCharCode(c));let s=e.split("").map(c=>c.charCodeAt(0)),o=s[0],i=t.get(o)||"";r=i;for(let c=1;c<s.length;c++){let b=s[c],w=t.get(b);w||(w=b===n?i+i[0]:""),r+=w,t.set(n++,i+w[0]),i=w}return r},yt=e=>{if(!e||typeof e!="object")return null;let t=e,n=t.default&&typeof t.default=="object"?t.default:t,r=n.SHORT_PROPERTIES,s=n.COMMON_VALUES,o=n.SPECIFIC_VALUES;return!r||!s||!o||typeof r!="object"||typeof s!="object"||typeof o!="object"?null:{SHORT_PROPERTIES:r,COMMON_VALUES:s,SPECIFIC_VALUES:o}},xt=e=>{if(!e||typeof e!="object")return null;let t=e,n=Array.isArray(t.entries)?t.entries:Array.isArray(t.k)?t.k:null;if(!n)return null;let r=n.filter(o=>Array.isArray(o)&&o.length===2&&typeof o[0]=="string"&&typeof o[1]=="string"),s=typeof t.sizeLast=="number"?t.sizeLast:typeof t.s=="number"?t.s:null;return s===null?null:{source:typeof t.source=="string"?t.source:"",sizeLast:s,entries:r}},In=(e,t)=>{let n=t;for(;n<e.length&&/\s/.test(e[n]);)n++;return n},An=(e,t)=>{let n=0,r=null,s=!1,o=!1,i=!1;for(let c=t;c<e.length;c++){let b=e[c],w=e[c+1];if(o){b===`
2
+ `&&(o=!1);continue}if(i){b==="*"&&w==="/"&&(i=!1,c++);continue}if(r){if(s){s=!1;continue}if(b==="\\"){s=!0;continue}b===r&&(r=null);continue}if(b==="/"&&w==="/"){o=!0,c++;continue}if(b==="/"&&w==="*"){i=!0,c++;continue}if(b==='"'||b==="'"||b==="`"){r=b;continue}if(b==="{"){n++;continue}if(b==="}"&&(n--,n===0))return c}return-1},Se=(e,t)=>{let n=e.indexOf(t);if(n===-1)return null;let r=In(e,n+t.length);if(e[r]!=="{")return null;let s=An(e,r);return s===-1?null:e.slice(r,s+1)},ae=(e,t)=>{let n=t;for(;n<e.length;){let r=e[n],s=e[n+1];if(/\s/.test(r)){n++;continue}if(r==="/"&&s==="/"){for(n+=2;n<e.length&&e[n]!==`
3
+ `;)n++;continue}if(r==="/"&&s==="*"){for(n+=2;n<e.length;){if(e[n]==="*"&&e[n+1]==="/"){n+=2;break}n++}continue}break}return n},wt=(e,t)=>{let n=e[t];if(n!=='"'&&n!=="'")return null;let r="",s=t+1;for(;s<e.length;){let o=e[s];if(o==="\\"){if(s++,s>=e.length)return null;let i=e[s];r+={n:`
4
+ `,r:"\r",t:" ",b:"\b",f:"\f",v:"\v","\\":"\\",'"':'"',"'":"'"}[i]??i,s++;continue}if(o===n)return{value:r,end:s+1};r+=o,s++}return null},_n=(e,t)=>{let n=e[t];if(!n||!/[A-Za-z_$]/.test(n))return null;let r=t+1;for(;r<e.length&&/[A-Za-z0-9_$]/.test(e[r]);)r++;return{value:e.slice(t,r),end:r}},ve=e=>{let t=(s,o)=>{let i=ae(s,o);return s[i]==="{"?n(s,i):wt(s,i)},n=(s,o)=>{let i=ae(s,o);if(s[i]!=="{")return null;i++;let c={};for(;i<s.length;){if(i=ae(s,i),s[i]==="}")return{value:c,end:i+1};let b=wt(s,i)||_n(s,i);if(!b||(i=ae(s,b.end),s[i]!==":"))return null;i++;let w=t(s,i);if(!w)return null;if(c[b.value]=w.value,i=ae(s,w.end),s[i]===","){i++;continue}return s[i]==="}"?{value:c,end:i+1}:null}return null},r=n(e,0);return r&&ae(e,r.end)===e.length?r.value:null},On=e=>{let t=Se(e,"export const SHORT_PROPERTIES ="),n=Se(e,"export const COMMON_VALUES ="),r=Se(e,"export const SPECIFIC_VALUES =");if(t&&n&&r)return yt({SHORT_PROPERTIES:ve(t),COMMON_VALUES:ve(n),SPECIFIC_VALUES:ve(r)});let s=Se(e,"export default");return s?yt(ve(s)):null},Ln=async e=>{let t=typeof process<"u"?process:null;if(!t||typeof t.getBuiltinModule!="function")return null;let n=e.startsWith("file:"),r=e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||/^[A-Za-z]:[\\/]/.test(e);if(!n&&!r)return null;let s=t.getBuiltinModule("node:fs/promises");return s?.readFile?s.readFile(n?new URL(e):e,"utf8"):null},jn=async e=>{let t=await Ln(e);if(typeof t=="string")return t;if(typeof fetch=="function"){let n=await fetch(e);if(!n.ok)throw new Error(`XCSS: Failed to fetch dictionary module: ${n.status}`);return n.text()}throw new Error("XCSS: fetch is not supported in this runtime")},$n=async e=>{let t=await jn(e),n=On(t);if(!n)throw new Error(zn);return n},zn="XCSS: dictionary module must export plain-object SHORT_PROPERTIES, COMMON_VALUES and SPECIFIC_VALUES",Dn=(e,t)=>{if(!e||typeof document>"u")return;t=t||"fwkui";let n=Array.from({length:24},(r,s)=>"l"+s);if(!e.querySelector('style[id="'+t+'"]')){let r=document.createElement("style");r.id=t;let s=`@layer ${n.join(", ")};`;if(r.textContent=s,!(e instanceof ShadowRoot))document.head.append(r);else try{e.prepend(r)}catch{e.appendChild(r)}}},Mn=e=>{let t=Array.isArray(e.excludes)?e.excludes:[],n=vt(e.cache),r=JSON.stringify({base:e.base||"",aliases:e.aliases||{},breakpoints:e.breakpoints||[],theme:e.theme||{},prefix:e.prefix||"",excludes:t,excludePrefixes:e.excludePrefixes||[],dictionaryImport:e.dictionaryImport??!0,cache:n}),s=0;if(r.length===0)return s.toString();for(let o=0;o<r.length;o++){let i=r.charCodeAt(o);s=(s<<5)-s+i,s|=0}return s.toString()},St=e=>{if(!e)return null;try{let t=JSON.parse(e);if(Ct(t)){let n=Tt(t.payload);return n?JSON.parse(n):null}return Ve(t)?null:t}catch{return null}},Pn=async e=>{if(!e)return null;try{let t=JSON.parse(e);if(Ct(t)){let n=Tt(t.payload);return n?JSON.parse(n):null}if(Ve(t)){let n=await En(t.payload);return n?JSON.parse(n):null}return t}catch{return null}},Wn=(e,t)=>{if(e==="root")return t;let n=/@media[^{]+\{\n?([\s\S]+)\n?\}/.exec(t);return n&&n[1]?n[1].trim():t},Nn=e=>Array.isArray(e)?e.join(`
5
+ `):e||"",Xn=(e,t)=>e?!t||t===e?e:t.startsWith(e)?t:`${e}
6
+ ${t}`:t,He=(e={base:"",aliases:{},excludes:[],excludePrefixes:[],breakpoints:[],theme:{},prefix:"",dictionaryImport:!0,cache:{styleId:"fwkui",version:"v1",compression:!0,debounceMs:1e3,sizeLast:1e3,loadOnInit:!1}})=>{let{base:t=null,breakpoints:n=[],aliases:r={},theme:s={},excludes:o=[],excludePrefixes:i=[],prefix:c="",dictionaryImport:b=!0,cache:w={}}=e||{};Array.isArray(n)||(n=[]),Array.isArray(o)||(o=[]),Array.isArray(i)||(i=[]),(!r||typeof r!="object")&&(r={}),(!s||typeof s!="object")&&(s={});let j=vt(w),M=gn(j),m=mn(j),E=bn(j),D=o,ce=i.filter(l=>typeof l=="string").map(l=>l.trim()).filter(l=>l.length>0),Ee=l=>{let d=l.replace(/[.+?^${}()|[\]\\]/g,"\\$&");return new RegExp("^"+d.replace(/\*/g,".*")+"$")},tt=D.filter(l=>typeof l=="string").map(l=>l.trim()).filter(l=>l.length>0).map(l=>{if(l.includes("*")){let d=Ee(l);return p=>d.test(p)}return d=>d===l}),Mt=l=>ce.some(d=>l.startsWith(d))?!0:tt.some(d=>d(l)),nt=l=>!(Mt(l)||c&&!l.startsWith(c)),Pt=["default","xs","sm","md","lg","xl","2xl","sma","mda","lga","xla"],Wt=n.filter(l=>!!l&&typeof l=="object"&&!Array.isArray(l)).map(l=>Object.keys(l)[0]).filter(l=>typeof l=="string"&&l.length>0),Nt=new Set([...Pt,...Wt]),Te=l=>!l||Nt.has(l),Xt=b!==!1,Ut=new Set(["mx","my","px","py","bdx","bdy"]),Re=new Set,Ie=l=>l?!Xt||!Q||Object.keys(Q).length===0?!0:!!Q[l]||Ut.has(l)||Re.has(l):!1,Q={},pe={},Ae={},_e={},rt=()=>{_e={...Ae,...s}},ge=l=>{if(!l){Q={},pe={},Ae={},Re=new Set,rt();return}Q=l.SHORT_PROPERTIES,pe=l.SPECIFIC_VALUES,Ae=l.COMMON_VALUES,Re=new Set(Object.values(Q)),rt()},me=!0,Oe=Promise.resolve();b===!1?ge(null):typeof b=="string"?(me=!1,ge(null),Oe=$n(b).then(l=>{ge(l)}).catch(l=>{console.warn("XCSS: Failed to import dictionary from URL",l)}).finally(()=>{me=!0})):ge(pn);let de=null,Kt=(l=typeof document<"u"?document:void 0)=>{let d=typeof window<"u"&&typeof document<"u",p=d?window:null,C=p?.localStorage||null,T=d&&Sn(),S=j.loadOnInit&&T,v=S?C:null,h=null,k=Nn(t);l&&(h="getRootNode"in l?l.getRootNode():l);let x=new Map,P=new Map,I=new Set,z=(a,u)=>{x.set(a,u),P.set(u,a),I.add(u)},B=a=>P.get(a)||a,ee=hn(j),be=yn(j),L=j.sizeLast,X=new Set,F=!1,V=null,H=!0,q=`xcss_${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`,ne=[],Z=!1,J=null,A=a=>{typeof a=="number"&&Number.isFinite(a)&&a>L&&(L=a)},re=a=>{a&&a.forEach(([u,f])=>{let g=x.get(u);g!==f&&(g||I.has(f)&&P.get(f)!==u||z(u,f))})};if(S){let a=Fe(v,ee);A(a.sizeLast),re(a.entries)}let he=a=>{a&&(a.source&&a.source===q||(A(a.sizeLast),a.entries.forEach(([u,f])=>{let g=x.get(u);g!==f&&(g||I.has(f)||z(u,f))})))},$e=()=>{if(Z=!1,!d||ne.length===0)return;let a={source:q,sizeLast:L,entries:ne.splice(0,ne.length)};if(J)try{J.postMessage(a);return}catch{J=null}if(v)try{v.setItem(m,JSON.stringify(a))}catch{}},se=a=>{!d||!S||(ne.push(a),!Z&&(Z=!0,queueMicrotask($e)))},at=a=>{let u;do u="D"+(L++).toString(32).toUpperCase();while(I.has(u));return z(a,u),u},qt=a=>{let u=x.get(a);if(u)return u;if(!S||!v)return at(a);let f=Fe(v,ee),g=new Map(f.entries),y=new Set(f.entries.map(([,$])=>$));A(f.sizeLast),re(f.entries);let _=g.get(a);if(_)return z(a,_),_;let R=Math.max(L,f.sizeLast,j.sizeLast),O;do O="D"+(R++).toString(32).toUpperCase();while(y.has(O)||I.has(O));return g.set(a,O),y.add(O),z(a,O),A(R),ht(v,ee,{sizeLast:R,entries:[...f.entries,[a,O]]}),se([a,O]),O},Zt=async a=>{if(!S||!v||a.length===0)return;let u=()=>{let g=Fe(v,ee),y=new Map(g.entries),_=new Set(g.entries.map(([,$])=>$));A(g.sizeLast),re(g.entries);let R=Math.max(L,g.sizeLast,j.sizeLast),O=[];return a.forEach($=>{if(x.has($))return;let ie=y.get($);if(ie){z($,ie);return}let W;do W="D"+(R++).toString(32).toUpperCase();while(_.has(W)||I.has(W));y.set($,W),_.add(W),O.push([$,W]),z($,W)}),A(R),O.length===0?[]:(ht(v,ee,{sizeLast:R,entries:[...g.entries,...O]}),O)},f=[];if(wn())try{await navigator.locks.request(be,async()=>{f=u()})}catch{f=u()}else f=u();f.length!==0&&(f.forEach(g=>se(g)),Ke(f.map(([g])=>g)),Xe())},Jt=async()=>{if(!(!S||!d))return V||(V=(async()=>{for(;X.size>0;){let a=Array.from(X);X.clear(),await Zt(a)}})().finally(()=>{V=null}),V)},$r=a=>{!S||!d||(X.add(a),!F&&(F=!0,queueMicrotask(()=>{F=!1,Jt()})))};if(d&&h&&Dn(h,j.styleId),S&&d&&typeof BroadcastChannel<"u")try{J=new BroadcastChannel(E),J.addEventListener("message",a=>{he(xt(a.data))})}catch{J=null}let ze=gt(),ye=[{default:""},{xs:"screen and (max-width: 575px)"},{sm:"screen and (min-width: 576px)"},{md:"screen and (min-width: 768px)"},{lg:"screen and (min-width: 992px)"},{xl:"screen and (min-width: 1200px)"},{"2xl":"screen and (min-width: 1400px)"},{sma:"screen and (max-width: 768px)"},{mda:"screen and (max-width: 992px)"},{lga:"screen and (max-width: 1200px)"},{xla:"screen and (max-width: 1400px)"},...n],lt=ye.filter((a,u)=>ye.findLastIndex(f=>Object.keys(f)[0]==Object.keys(a)[0])==u),De=lt.map(a=>Object.keys(a)[0]),G={},te={},U={root:""},Gt={root:[]},Yt={root:!1},Me=Mn(e),Pe=null,We=0,xe=!1,we=null,ue=null,Ne=a=>{try{v?.setItem(M,a)}catch(u){console.warn("XCSS: Failed to save cache",u)}},ct=a=>{!d||!v||typeof a=="string"&&v.getItem(M)!==a||(v.removeItem(M),v.removeItem(m))},Qt=a=>{if(!S||!d||!v)return;de=a;let u=++We;try{let f=JSON.stringify(a),g=()=>{let y={__xcss_cache_v:2,compressed:!0,payload:Rn(f)};Ne(JSON.stringify(y))};if(!j.compression){Ne(f);return}if(kt()&&Et()){kn(f).then(y=>{if(u!==We)return;Ne(JSON.stringify({__xcss_cache_v:3,compressed:!0,algorithm:"deflate-raw",encoding:"base64",payload:y}))}).catch(()=>{u===We&&g()});return}g()}catch(f){console.warn("XCSS: Failed to save cache",f)}},Xe=()=>{!d||!S||(Pe&&clearTimeout(Pe),Pe=setTimeout(()=>{let a={};for(let g in G)a[g]=Array.from(G[g]);let u={};Object.keys(U).forEach(g=>{if(g==="root")u[g]=U[g];else{let y=ye.find(_=>Object.keys(_)[0]===g)?.[g];y&&U[g]?u[g]=`@media ${y} {
7
+ ${U[g]}
8
+ }`:u[g]=U[g]||""}});let f={configHash:Me,cssText:u,rulesSet:a,keys:Array.from(x.entries()),sizeLast:L};Qt(f)},j.debounceMs))};if(S&&d&&v)try{let a=v.getItem(M);if(a){let u=St(a);u?u.configHash!==Me?v.removeItem(M):(we=u,xe=!0,de=u):Tn(a)?ue={raw:a}:v.removeItem(M)}}catch(a){console.error(a)}d&&(te.root=new CSSStyleSheet);let Ue=(a,u)=>{U[a]=u,d&&te[a]&&te[a].replaceSync(u)};De.forEach(a=>{if(G[a]=new Set,d){let u=lt.find(f=>Object.keys(f)[0]==a)?.[a]||"";te[a]=new CSSStyleSheet({media:u})}U[a]="",Gt[a]=[],Yt[a]=!1}),Ue("root",k);let dt=()=>{if(!h)return;let a=h.querySelector(`style[id="${j.styleId}"]`);if(a){let u=typeof requestAnimationFrame=="function"?requestAnimationFrame:f=>setTimeout(()=>f(Date.now()),0);u(()=>{u(()=>{a.remove()})})}},ut=a=>{a.keys&&re(a.keys),A(a.sizeLast),["root",...De].forEach(f=>{let g=G[f]||new Set,y=a.rulesSet?.[f]||[],_=new Set([...y,...Array.from(g)]);if(G[f]=_,f==="root"){let $=typeof a.cssText?.root=="string"?a.cssText.root:"",ie=Xn(k,$);Ue("root",ie);return}let R=Array.from(_).join(`
9
+ `),O=typeof a.cssText?.[f]=="string"?Wn(f,a.cssText[f]):"";Ue(f,R||O)}),de=a,dt()};if(xe&&we&&ut(we),d&&h?.adoptedStyleSheets){let a=h.adoptedStyleSheets,u=["root",...De].map(f=>te[f]).filter(f=>f&&!a.includes(f));u.length>0&&(h.adoptedStyleSheets=[...a,...u])}S||dt(),S&&d&&v&&ue&&!xe&&(async()=>{let a=await Pn(ue.raw);if(!a){ct(ue.raw);return}if(a.configHash!==Me){ct(ue.raw);return}xe=!0,we=a,ut(a)})(),S&&d&&p?.addEventListener&&p.addEventListener("storage",a=>{if(a.key===m&&a.newValue)try{he(xt(JSON.parse(a.newValue)))}catch{}});let en=(a,u,f)=>{try{a.insertRule(u,a.cssRules.length)}catch{try{a.replaceSync(f)}catch{}}},tn=(a,u)=>{let{media:f,property:g,selector:y,layer:_,className:R}=u,O=U;_=Number(_)||0;let $=x.get(a),ie=$?`.${$}${y}`:`.${R}${y}`;var W=`@layer l${_}{${ie}{${g}}}`;G[f]||(G[f]=new Set);let pt=G[f];pt.has(W)||(pt.add(W),O[f]+=(O[f]?`
10
+ `:"")+W,d&&te[f]&&en(te[f],W,O[f]),Xe())},ft=a=>{a.forEach(u=>{let f=B(u),g=ot(f);g&&tn(f,g)})},Ke=a=>{if(a.length===0)return;let u=()=>ft(a);me?u():Oe.then(u)};return ze.on("observeDom",Ke),{clsx:(...a)=>{let u=a.map(y=>Array.isArray(y)?y:[y]).flat(1/0).map(y=>typeof y=="string"?y.split(/(\s|\t)+/g):[]).flat(1/0);u=u.filter(y=>typeof y=="string"&&y.trim()),u=[...new Set(u)];let f=y=>{if(!nt(y))return!1;if(me)return!!ot(y);let _=c?y.slice(c.length):y,R=oe(_);if(!R||!Te(R.mq))return!1;let O=(R.selector||"").replace(/(';|;)/g,$=>$=="';"?";":" ");return O&&!Le(O)?!1:R.prop.startsWith("[")?!!st(R.prop+R.val):Ie(R.prop)?(R.prop==="&",R.val.length>0):!1},g=u.map(y=>{let _=y;if(x.has(y))_=x.get(y);else if(f(y))if(S&&d)_=qt(y);else{let R=at(y);se([y,R]),Xe(),_=R}return _});return!d||H?ze.emit("observeDom",u):queueMicrotask(()=>ze.emit("observeDom",u)),g.join(" ")},observe:()=>{!d||!h||(Ht(h,a=>{H?ft(a):Ke(a)}),H=!1)},getCssString:()=>Object.entries(U).map(([a,u])=>{if(!u)return"";if(a==="root"||a==="default")return u;let f=ye.find(g=>Object.keys(g)[0]===a)?.[a];return f?`@media ${f} {
11
+ ${u}
12
+ }`:u}).join(`
13
+ `)}};function st(l){let d=new RegExp("^(\\[(?<p>[a-zA-Z]+)\\])$"),{p=""}=d.exec(l)?.groups??{};if(p&&r[p]&&Array.isArray(r[p])){let C=r[p],T=[],S=!0,v=h=>{let k=h.trim();if(!k)return null;let x=k.endsWith(";")?k.slice(0,-1).trim():k,P=x.indexOf(":");if(P<=0||P>=x.length-1)return null;let I=x.slice(0,P).trim(),z=x.slice(P+1).trim();return!I||!z||!/^(?:--[a-zA-Z0-9-_]+|-?[a-zA-Z][a-zA-Z0-9-]*)$/.test(I)?null:`${I}:${z}`};for(let h of C){if(typeof h!="string"){S=!1;break}let k=v(h);if(k){if(typeof CSS<"u"&&!CSS.supports(k)){S=!1;break}T.push(k);continue}S=!1;break}if(T.length>0&&S)return T.join(";")}return null}function it(l,d){let p=st(l+d);if(p)return p;if(!l||d===void 0)return null;let C=Q[l],T=C||l,S=d[0],v=!1,h=d;if(S==="!"&&(v=!0,h=h.substring(1),S=h[0]),h.startsWith("--"))h="var("+h+")";else if(S==="["&&h.endsWith("]"))h=h.substring(1,h.length-1);else if(h.length>0){let I=h[0].toLowerCase()+h.substring(1),z=pe[l]?.[I]||_e[I];if(!z){let B=h.toLowerCase();z=pe[l]?.[B]||_e[B]}h=z||h}if(h=h.replace(/(';|;)/g,I=>I=="';"?";":" "),!h)return null;let k=h+(v?" !important":""),x=[T+":"+k];switch(T){case"mx":x=[`margin-left:${k}`,`margin-right:${k}`];break;case"my":x=[`margin-top:${k}`,`margin-bottom:${k}`];break;case"px":x=[`padding-left:${k}`,`padding-right:${k}`];break;case"py":x=[`padding-top:${k}`,`padding-bottom:${k}`];break;case"bdx":x=[`border-left:${k}`,`border-right:${k}`];break;case"bdy":x=[`border-top:${k}`,`border-bottom:${k}`];break}return!(typeof CSS<"u")||x.every(I=>CSS.supports(I))?x.join(";"):null}let Bt=l=>{let d=0;for(let p=l.length-1;p>=0;p--){let C=l[p];if(C==="]"){d++;continue}if(C==="["){d>0&&d--;continue}if(C==="@"&&d===0)return{body:l.slice(0,p),selector:l.slice(p+1)}}return{body:l,selector:""}},Ft=l=>{let d=[],p=0,C=0;for(let T=0;T<l.length;T++){let S=l[T];if(S==="["){C++;continue}if(S==="]"){C>0&&C--;continue}S==="&"&&C===0&&(d.push(l.slice(p,T)),p=T+1)}return d.push(l.slice(p)),d},Le=l=>{if(!l)return!0;let d=l.trim();if(!d)return!0;if(/[{}]/.test(d)||d==="#"||d==="("||d===")"||d===","||d===">"||d==="+"||d==="~"||d.startsWith("(")||d.startsWith(")"))return!1;let p=0;for(let C=0;C<d.length;C++){let T=d[C];if(T==="("){p++;continue}if(T===")"){if(p===0)return!1;p--}}return p===0};function ot(l){if(!nt(l))return null;let d=c?l.slice(c.length):l,p=typeof CSS<"u"?CSS.escape(l):Vt(l);if(d.includes("&")&&!d.startsWith("&")){let{body:B,selector:ee}=Bt(d),be=Ft(B).map(L=>L.trim()).filter(L=>L.length>0).map(L=>c&&L.startsWith(c)?L.slice(c.length):L);if(be.length>1){let L="",X="",F=ee,V=!1,H=[];for(let Z of be){let J=F?`${Z}@${F}`:Z,A=oe(J);if(!A||!Te(A.mq)||!A.prop.startsWith("[")&&!Ie(A.prop))return null;V?(!A.mq&&L&&(A.mq=L),!A.layer&&X&&(A.layer=X)):(L=A.mq||"",X=A.layer||"",V=!0);let re=A.mq||"",he=A.layer||"",$e=A.selector||"";if(re!==L||he!==X||$e!==F)return null;let se=it(A.prop,A.val);if(!se)return null;H.push(se)}if(H.length===0)return null;let q=F.replace(/(';|;)/g,Z=>Z=="';"?";":" "),ne=`selector(${p}${q})`;if(q){if(typeof CSS<"u"){if(!CSS.supports(ne))return null}else if(!Le(q))return null}return{media:L||"default",layer:X||"0",className:p,property:H.join(";"),selector:q,cssRules:`.${p}${q}{${H.join(";")}}`}}}let C=oe(d);if(!C||!Te(C.mq)||!C.prop.startsWith("[")&&!Ie(C.prop))return null;let{mq:T="default",layer:S="0",prop:v,val:h,selector:k=""}=C,x=[],P=it(v,h);if(P&&x.push(P),x.length===0)return null;let I=k.replace(/(';|;)/g,B=>B=="';"?";":" "),z=`selector(${p}${I})`;if(I){if(typeof CSS<"u"){if(!CSS.supports(z))return null}else if(!Le(I))return null}return{media:T||"default",layer:S||"0",className:p,property:x.join(";"),selector:I,cssRules:`.${p}${I}{${x.join(";")}}`}}let Vt=l=>l.replace(/([^\w-])/g,"\\$1"),je=l=>{var d=[...l?.classList||[]].filter(p=>{if(p){let C=p.charCodeAt(0)==45?p.charCodeAt(1):p.charCodeAt(0);return C>=97&&C<=122||C>=48&&C<=57}return!1});return l?.children?.length>0&&Array.from(l?.children).forEach(p=>{d.push(...je(p))}),d.flat(1/0)},Ht=(l,d)=>{if(typeof d!="function")throw new Error("Callback is not a function");if(!l)return;let p;"documentElement"in l?p=l.documentElement:(l instanceof Element||"tagName"in l||"host"in l)&&(p=l),p&&(p instanceof Element&&d(je(p)),typeof MutationObserver<"u"&&new MutationObserver(C=>{for(let T of C)if(T.type=="attributes"&&T.attributeName=="class"){if(T.target.nodeType==1){let S=String(T.target?.className??""),v=String(T?.oldValue??"");if(S||v){let h=S.split(" ").map(x=>x.trim()).filter(x=>x),k=v.split(" ").map(x=>x.trim()).filter(x=>x);h=h.filter(x=>!k.includes(x)),typeof d=="function"&&d([...new Set(h)])}}}else if(T.type=="childList"&&T.addedNodes.length>0){let S=[...T.addedNodes].filter(v=>v.nodeType==1).map(v=>je(v)).flat(1/0);typeof d=="function"&&d([...new Set(S)])}}).observe(p,{attributes:!0,attributeOldValue:!0,attributeFilter:["class"],childList:!0,subtree:!0}))};return{buildCss:Kt,exportCache:()=>!j.loadOnInit||typeof window>"u"||!window.localStorage?de:St(window.localStorage.getItem(M))||de,ready:Oe}},Un=(e,t)=>{He(t).buildCss(e).observe()},Kn=(e,t)=>He(t).buildCss(e).clsx,qe={css:He,cssObserve:Un,clsx:Kn};var Bn=(e,t)=>(e=e||"fwkui",t=t||"v1",`${e}_cache_${t}`),Rt=(e="fwkui",t="v1",n)=>{let r=String(e||"").trim()||"fwkui",s=Bn(r,t),o=n?.loadOnInit??!1,i=JSON.stringify(r),c=JSON.stringify(s),w=`
14
14
  (async function () {
15
15
  function canUseCacheRuntime() {
16
16
  if (typeof window === 'undefined' || !window.localStorage) return false;
17
- if (typeof navigator === 'undefined' || !navigator.locks || typeof navigator.locks.request !== 'function') return false;
18
17
  try {
19
18
  var probeKey = '__xcss_cache_probe__';
20
19
  localStorage.setItem(probeKey, '1');
@@ -107,11 +106,11 @@ ${c}
107
106
 
108
107
  try {
109
108
  if (typeof window === 'undefined' || !window.localStorage) return;
110
- if (!${JSON.stringify(l)}) return;
109
+ if (!${JSON.stringify(o)}) return;
111
110
  if (!canUseCacheRuntime()) return;
112
111
 
113
- var styleId = ${d};
114
- var key = ${u};
112
+ var styleId = ${i};
113
+ var key = ${c};
115
114
  var raw = localStorage.getItem(key);
116
115
  if (!raw) return;
117
116
  var payload=await parseCache(raw);
@@ -135,5 +134,5 @@ ${c}
135
134
  styleEl.textContent = css;
136
135
  } catch (_error) {}
137
136
  })();
138
- `.trim();return r?.compact?x.replace(/\s+/g," ").trim():x};var Be="__FWXCSS_SHARED__",Ir={base:"html,body{font-size:16px;padding:0;margin:0;}"},_r=e=>{if(!e)return!1;let t=typeof Document<"u",r=typeof ShadowRoot<"u",s=t&&e instanceof Document,n=r&&e instanceof ShadowRoot;return s||n},Ar=e=>{let t=[],r=s=>{if(s){if(typeof s=="string"||typeof s=="number"){t.push(String(s));return}if(Array.isArray(s)){s.forEach(r);return}typeof s=="object"&&Object.keys(s).forEach(n=>{s[n]&&t.push(n)})}};return e.forEach(r),t},He=e=>{let t=new WeakMap,r=null,s=e??Ir,n=typeof document<"u"?document:null,l=k=>{let D=Ne.css(s);return{...D.buildCss(k??void 0),ready:D.ready}},d=()=>(r||(r=l(null)),r),u=k=>{if(!k)return d();let D=t.get(k);return D||(D=l(k),t.set(k,D)),D};return{clsx:(...k)=>{let D,ne=k[k.length-1];_r(ne)&&(D=ne,k=k.slice(0,-1));let we=Ar(k);return u(D||n).clsx(we.join(" "))},observe:k=>{u(k||n).observe()},setClsxRoot:k=>{n=k||(typeof document<"u"?document:null)},getCss:k=>k?u(k).getCssString():n?u(n).getCssString():d().getCssString(),ready:k=>k?u(k).ready:n?u(n).ready:d().ready}},Or=e=>He(e),Lr=e=>He(e),Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:global,re=Ve[Be]||He();Ve[Be]||(Ve[Be]=re);var Tr=re.clsx,zr=re.observe,Pr=re.setClsxRoot,Dr=re.getCss,jr=re.ready;var Mr=Ne;0&&(module.exports={clsx,createSharedClsx,createSharedInstance,getBootloaderScript,getCss,observe,ready,setClsxRoot});
137
+ `.trim();return n?.compact?w.replace(/\s+/g," ").trim():w};var Fn={preserveUnknown:!0,mode:"legacy"},Vn=new Set(["xs","sm","md","lg","xl","2xl"]),_t={hover:":hover",focus:":focus",active:":active",visited:":visited",disabled:":disabled",checked:":checked","focus-within":":focus-within","focus-visible":":focus-visible",first:":first-child",last:":last-child",odd:":nth-child(odd)",even:":nth-child(even)",before:"::before",after:"::after",placeholder:"::placeholder",selection:"::selection"},Hn=new Set([...Object.keys(_t),"dark","group-hover","group-focus","group-focus-within","peer-hover","peer-focus","placeholder","before","after","selection"]),qn={0:"0",px:"1px","0.5":"2px",1:"4px","1.5":"6px",2:"8px","2.5":"10px",3:"12px","3.5":"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},K={none:"0",sm:"2px",DEFAULT:"4px",md:"6px",lg:"8px",xl:"12px","2xl":"16px","3xl":"24px",full:"9999px"},Zn={xs:"12px",sm:"14px",base:"16px",lg:"18px",xl:"20px","2xl":"24px","3xl":"30px","4xl":"36px","5xl":"48px","6xl":"60px","7xl":"72px","8xl":"96px","9xl":"128px"},Jn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Gn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:"12px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px"},Yn={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Y={sm:"[0;1px;2px;0;rgb(0 0 0 / 0.05)]",DEFAULT:"[0;1px;3px;0;rgb(0 0 0 / 0.1),0;1px;2px;-1px;rgb(0 0 0 / 0.1)]",md:"[0;4px;6px;-1px;rgb(0 0 0 / 0.1),0;2px;4px;-2px;rgb(0 0 0 / 0.1)]",lg:"[0;10px;15px;-3px;rgb(0 0 0 / 0.1),0;4px;6px;-4px;rgb(0 0 0 / 0.1)]",xl:"[0;20px;25px;-5px;rgb(0 0 0 / 0.1),0;8px;10px;-6px;rgb(0 0 0 / 0.1)]","2xl":"[0;25px;50px;-12px;rgb(0 0 0 / 0.25)]",none:"[none]"},Qn={auto:"auto",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"},er={auto:"auto",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},tr={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},nr=e=>`[${e.replace(/ /g,";")}]`,rr=e=>{if(!e||e.startsWith("[")&&e.endsWith("]"))return e;let t=e[0];return t==="#"||t==="!"||t==="-"||/[0-9]/.test(t)?e:/[(),/:]/.test(e)||/\s/.test(e)?nr(e):`${t.toUpperCase()}${e.slice(1)}`},Ot=(e,t)=>`${e}${rr(t)}`,It={transparent:"transparent",current:"currentColor",inherit:"inherit",white:"#ffffff",black:"#000000","slate-50":"#f8fafc","slate-100":"#f1f5f9","slate-200":"#e2e8f0","slate-300":"#cbd5e1","slate-400":"#94a3b8","slate-500":"#64748b","slate-600":"#475569","slate-700":"#334155","slate-800":"#1e293b","slate-900":"#0f172a","gray-50":"#f9fafb","gray-100":"#f3f4f6","gray-200":"#e5e7eb","gray-300":"#d1d5db","gray-400":"#9ca3af","gray-500":"#6b7280","gray-600":"#4b5563","gray-700":"#374151","gray-800":"#1f2937","gray-900":"#111827","red-50":"#fef2f2","red-100":"#fee2e2","red-200":"#fecaca","red-300":"#fca5a5","red-400":"#f87171","red-500":"#ef4444","red-600":"#dc2626","red-700":"#b91c1c","red-800":"#991b1b","red-900":"#7f1d1d","orange-50":"#fff7ed","orange-100":"#ffedd5","orange-200":"#fed7aa","orange-300":"#fdba74","orange-400":"#fb923c","orange-500":"#f97316","orange-600":"#ea580c","orange-700":"#c2410c","orange-800":"#9a3412","orange-900":"#7c2d12","amber-50":"#fffbeb","amber-100":"#fef3c7","amber-200":"#fde68a","amber-300":"#fcd34d","amber-400":"#fbbf24","amber-500":"#f59e0b","amber-600":"#d97706","amber-700":"#b45309","amber-800":"#92400e","amber-900":"#78350f","yellow-50":"#fefce8","yellow-100":"#fef9c3","yellow-200":"#fef08a","yellow-300":"#fde047","yellow-400":"#facc15","yellow-500":"#eab308","yellow-600":"#ca8a04","yellow-700":"#a16207","yellow-800":"#854d0e","yellow-900":"#713f12","green-50":"#f0fdf4","green-100":"#dcfce7","green-200":"#bbf7d0","green-300":"#86efac","green-400":"#4ade80","green-500":"#22c55e","green-600":"#16a34a","green-700":"#15803d","green-800":"#166534","green-900":"#14532d","emerald-50":"#ecfdf5","emerald-100":"#d1fae5","emerald-200":"#a7f3d0","emerald-300":"#6ee7b7","emerald-400":"#34d399","emerald-500":"#10b981","emerald-600":"#059669","emerald-700":"#047857","emerald-800":"#065f46","emerald-900":"#064e3b","blue-50":"#eff6ff","blue-100":"#dbeafe","blue-200":"#bfdbfe","blue-300":"#93c5fd","blue-400":"#60a5fa","blue-500":"#3b82f6","blue-600":"#2563eb","blue-700":"#1d4ed8","blue-800":"#1e40af","blue-900":"#1e3a8a","indigo-50":"#eef2ff","indigo-100":"#e0e7ff","indigo-200":"#c7d2fe","indigo-300":"#a5b4fc","indigo-400":"#818cf8","indigo-500":"#6366f1","indigo-600":"#4f46e5","indigo-700":"#4338ca","indigo-800":"#3730a3","indigo-900":"#312e81","violet-50":"#f5f3ff","violet-100":"#ede9fe","violet-200":"#ddd6fe","violet-300":"#c4b5fd","violet-400":"#a78bfa","violet-500":"#8b5cf6","violet-600":"#7c3aed","violet-700":"#6d28d9","violet-800":"#5b21b6","violet-900":"#4c1d95","purple-50":"#faf5ff","purple-100":"#f3e8ff","purple-200":"#e9d5ff","purple-300":"#d8b4fe","purple-400":"#c084fc","purple-500":"#a855f7","purple-600":"#9333ea","purple-700":"#7e22ce","purple-800":"#6b21a8","purple-900":"#581c87","pink-50":"#fdf2f8","pink-100":"#fce7f3","pink-200":"#fbcfe8","pink-300":"#f9a8d4","pink-400":"#f472b6","pink-500":"#ec4899","pink-600":"#db2777","pink-700":"#be185d","pink-800":"#9d174d","pink-900":"#831843","cyan-50":"#ecfeff","cyan-100":"#cffafe","cyan-200":"#a5f3fc","cyan-300":"#67e8f9","cyan-400":"#22d3ee","cyan-500":"#06b6d4","cyan-600":"#0891b2","cyan-700":"#0e7490","cyan-800":"#155e75","cyan-900":"#164e63"},Ze={flex:["dF"],"inline-flex":["dIf"],block:["dB"],"inline-block":["dIb"],inline:["dI"],hidden:["dN"],grid:["dG"],"inline-grid":["dIg"],contents:["dC"],relative:["posR"],absolute:["posA"],fixed:["posF"],sticky:["pos[sticky]"],static:["posS"],"flex-row":["fxd[row]"],"flex-col":["fxd[column]"],"flex-row-reverse":["fxd[row-reverse]"],"flex-col-reverse":["fxd[column-reverse]"],"flex-wrap":["fxw[wrap]"],"flex-nowrap":["fxw[nowrap]"],"items-start":["ai[start]"],"items-end":["ai[end]"],"items-center":["ai[center]"],"items-stretch":["ai[stretch]"],"items-baseline":["ai[baseline]"],"content-start":["ac[start]"],"content-end":["ac[end]"],"content-center":["ac[center]"],"content-between":["ac[space-between]"],"content-around":["ac[space-around]"],"content-evenly":["ac[space-evenly]"],"content-stretch":["ac[stretch]"],"content-baseline":["ac[baseline]"],"justify-start":["jc[start]"],"justify-end":["jc[end]"],"justify-center":["jc[center]"],"justify-between":["jc[space-between]"],"justify-around":["jc[space-around]"],"justify-evenly":["jc[space-evenly]"],"justify-items-start":["ji[start]"],"justify-items-end":["ji[end]"],"justify-items-center":["ji[center]"],"justify-items-stretch":["ji[stretch]"],"justify-items-baseline":["ji[baseline]"],"justify-self-auto":["js[auto]"],"justify-self-start":["js[start]"],"justify-self-end":["js[end]"],"justify-self-center":["js[center]"],"justify-self-stretch":["js[stretch]"],"place-items-start":["pli[start]"],"place-items-end":["pli[end]"],"place-items-center":["pli[center]"],"place-items-stretch":["pli[stretch]"],"place-content-start":["plc[start]"],"place-content-end":["plc[end]"],"place-content-center":["plc[center]"],"place-content-between":["plc[space-between]"],"place-content-around":["plc[space-around]"],"place-content-evenly":["plc[space-evenly]"],"place-content-stretch":["plc[stretch]"],"place-self-auto":["pls[auto]"],"place-self-start":["pls[start]"],"place-self-end":["pls[end]"],"place-self-center":["pls[center]"],"place-self-stretch":["pls[stretch]"],"self-auto":["as[auto]"],"self-start":["as[start]"],"self-end":["as[end]"],"self-center":["as[center]"],"self-stretch":["as[stretch]"],"appearance-none":["ap[none]"],"font-sans":["ffA"],"font-serif":["ffS"],"font-mono":["ffM"],italic:["fnsty[italic]"],"not-italic":["fnsty[normal]"],underline:["tdlU"],"line-through":["tdlLt"],uppercase:["ttrU"],lowercase:["ttrL"],capitalize:["ttrC"],truncate:["ofl[hidden]","tolE","ws[nowrap]"],"whitespace-normal":["ws[normal]"],"whitespace-nowrap":["ws[nowrap]"],"whitespace-pre":["ws[pre]"],"whitespace-pre-wrap":["ws[pre-wrap]"],"text-left":["taL"],"text-center":["taC"],"text-right":["taR"],"overflow-hidden":["ofl[hidden]"],"overflow-auto":["ofl[auto]"],"overflow-scroll":["ofl[scroll]"],"overflow-visible":["ofl[visible]"],"overflow-x-hidden":["oflx[hidden]"],"overflow-x-auto":["oflx[auto]"],"overflow-x-scroll":["oflx[scroll]"],"overflow-y-hidden":["ofly[hidden]"],"overflow-y-auto":["ofly[auto]"],"overflow-y-scroll":["ofly[scroll]"],"cursor-pointer":["crP"],"cursor-not-allowed":["crNa"],"cursor-default":["crD"],"select-none":["us[none]"],"rounded-none":["bdra0"],rounded:[`bdra${K.DEFAULT}`],"rounded-sm":[`bdra${K.sm}`],"rounded-md":[`bdra${K.md}`],"rounded-lg":[`bdra${K.lg}`],"rounded-xl":[`bdra${K.xl}`],"rounded-2xl":[`bdra${K["2xl"]}`],"rounded-3xl":[`bdra${K["3xl"]}`],"rounded-full":[`bdra${K.full}`],border:["bdw1px","bds[solid]",Ot("bdc","currentColor")],"border-0":["bdw0"],"border-2":["bdw2px"],"border-4":["bdw4px"],"border-8":["bdw8px"],"border-solid":["bds[solid]"],"border-dashed":["bds[dashed]"],"border-dotted":["bds[dotted]"],"shadow-sm":[`bxsh${Y.sm}`],shadow:[`bxsh${Y.DEFAULT}`],"shadow-md":[`bxsh${Y.md}`],"shadow-lg":[`bxsh${Y.lg}`],"shadow-xl":[`bxsh${Y.xl}`],"shadow-2xl":[`bxsh${Y["2xl"]}`],"shadow-none":[`bxsh${Y.none}`],"w-full":["w100%"],"w-screen":["w100vw"],"w-auto":["w[auto]"],"h-full":["h100%"],"h-screen":["h100vh"],"h-auto":["h[auto]"],"min-w-full":["miw100%"],"min-h-full":["mih100%"],"min-h-screen":["mih100vh"],"max-w-full":["mw100%"],"max-h-full":["mh100%"],"max-w-none":["mw[none]"],"max-h-none":["mh[none]"],"flex-1":["fx1"],"flex-auto":["fx[a]"],"flex-initial":["fx[i]"],"flex-none":["fx[none]"],grow:["fxg1"],"grow-0":["fxg0"],shrink:["fxs1"],"shrink-0":["fxs0"],"aspect-square":["ar1"],"aspect-video":["ar[16/9]"],"aspect-auto":["ar[auto]"],"object-contain":["of[contain]"],"object-cover":["of[cover]"],"object-fill":["of[fill]"],"object-none":["of[none]"],"object-scale-down":["of[scale-down]"],"object-center":["op[center]"],"object-top":["op[top]"],"object-right":["op[right]"],"object-bottom":["op[bottom]"],"object-left":["op[left]"]},Je={"rounded-t":["bdtlr4px","bdtrr4px"],"rounded-r":["bdtrr4px","bdbrr4px"],"rounded-b":["bdblr4px","bdbrr4px"],"rounded-l":["bdtlr4px","bdblr4px"]},At=new Set([...Object.keys(Ze),...Object.keys(Je),"appearance-none","transition"]),sr=["p-","px-","py-","pt-","pr-","pb-","pl-","m-","mx-","my-","mt-","mr-","mb-","ml-","gap-","gap-x-","gap-y-","top-","right-","bottom-","left-","inset-","inset-x-","inset-y-","w-","h-","min-w-","min-h-","max-w-","max-h-","size-","bg-","text-","border-","placeholder-","divide-","rounded-","font-","leading-","tracking-","opacity-","z-","shadow-","duration-","ease-","delay-","translate-","scale-","rotate-","skew-","ring-","outline-","from-","via-","to-","basis-","order-"],ir=new Set(["m","mx","my","mt","mr","mb","ml","top","right","bottom","left","inset","inset-x","inset-y"]),or=new Set(["m","mx","my","mt","mr","mb","ml","top","right","bottom","left","inset","inset-x","inset-y"]),ar=e=>{let t={...Fn,...e};return e?.preserveUnknown===void 0&&(t.preserveUnknown=t.mode==="legacy"),t},lr=(e,t)=>{let n=[],r=0,s="";for(let o of e){if(o==="["&&r++,o==="]"&&(r=Math.max(0,r-1)),o===t&&r===0){n.push(s),s="";continue}s+=o}return s&&n.push(s),n},cr=e=>{if(It[e])return It[e];if(/^\[(.+)\]$/.test(e)){let t=e.match(/^\[(.+)\]$/);if(!t)return null;let n=t[1].trim();if(n.startsWith("#")||n.startsWith("rgb")||n.startsWith("hsl")||n==="transparent"||n==="currentColor")return n}return null},fe=(e,t)=>{if(t[e]!==void 0)return t[e];if(/^\[(.+)\]$/.test(e)){let n=e.match(/^\[(.+)\]$/);return n?n[1]:null}return null},Ce=(e,t)=>{let n=!1,r=e;if(e.startsWith("-")){if(!t)return null;n=!0,r=e.slice(1)}if(r.startsWith("[")&&r.endsWith("]")){let o=r.slice(1,-1);return n?`-${o}`:o}let s=qn[r];return s?n&&s!=="0"?`-${s}`:s:null},Lt=e=>{let t=e.match(/^(\d+)\/(\d+)$/);if(!t)return null;let n=Number(t[1]),r=Number(t[2]);return r?`${n/r*100}%`:null},dr=(e,t)=>{let n=null,r=[],s=[];for(let i of t){if(Vn.has(i)){n=i;continue}let c=_t[i];if(c){r.push(c);continue}s.push({token:i,message:`unsupported Tailwind variant \`${i}\``})}let o=r.length>0?`@${r.join("")}`:"";return{tokens:e.map(i=>{let c=`${i}${o}`;return n?`${n}:${c}`:c}),warnings:s}},ur=(e,t)=>{let n=ir.has(e),r=t==="auto"&&or.has(e)?"auto":Ce(t,n);if(!r)return null;let o={p:["p"],px:["px"],py:["py"],pt:["pt"],pr:["pr"],pb:["pb"],pl:["pl"],m:["m"],mx:["mx"],my:["my"],mt:["mt"],mr:["mr"],mb:["mb"],ml:["ml"],gap:["gap"],"gap-x":["cgap"],"gap-y":["rgap"],top:["t"],right:["r"],bottom:["b"],left:["l"],inset:["i"],"inset-x":["l","r"],"inset-y":["t","b"]}[e];return o?r==="auto"?o.map(i=>`${i}[auto]`):o.map(i=>`${i}${r}`):null},fr=e=>fe(e,{auto:"auto",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"})??Lt(e)??Ce(e,!1),pr=e=>{if(e==="first")return"-9999";if(e==="last")return"9999";if(e==="none")return"0";if(/^-?\d+$/.test(e))return e;if(/^\[(.+)\]$/.test(e)){let t=e.match(/^\[(.+)\]$/);return t?t[1]:null}return null},gr=(e,t)=>{let r={w:"w",h:"h","min-w":"miw","min-h":"mih","max-w":"mw","max-h":"mh"}[e];if(!r)return null;let s=e==="h"||e==="min-h"||e==="max-h"?er:Qn,o=fe(t,e.startsWith("max-w")?{...tr,...s}:s)??Lt(t)??Ce(t,!1);return o?`${r}[${o}]`:null},mr=e=>{let t=[];if(Ze[e])return{input:e,outputs:Ze[e],status:"converted",exact:!0,warnings:t};if(Je[e])return{input:e,outputs:Je[e],status:"converted",exact:!0,warnings:t};let n=[[/^bg-(.+)$/,"bgc"],[/^text-(.+)$/,"c"],[/^border-(.+)$/,"bdc"]];for(let[o,i]of n){let c=e.match(o);if(!c)continue;let b=cr(c[1]);if(b)return{input:e,outputs:[Ot(i,b)],status:"converted",exact:!0,warnings:t}}let r=["p","px","py","pt","pr","pb","pl","m","mx","my","mt","mr","mb","ml","gap","gap-x","gap-y","top","right","bottom","left","inset","inset-x","inset-y"];for(let o of r){let i=e.startsWith("-")?e.slice(1):e;if(!i.startsWith(`${o}-`))continue;let c=e.startsWith("-")?`-${i.slice(o.length+1)}`:i.slice(o.length+1),b=ur(o,c);if(b)return{input:e,outputs:b,status:"converted",exact:!0,warnings:t}}let s=["w","h","min-w","min-h","max-w","max-h"];for(let o of s){if(!e.startsWith(`${o}-`))continue;let i=e.slice(o.length+1),c=gr(o,i);if(c)return{input:e,outputs:[c],status:"converted",exact:!0,warnings:t}}if(e.startsWith("size-")){let o=e.slice(5),i=Ce(o,!1);if(i)return{input:e,outputs:[`w${i}`,`h${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("rounded-")){let o=e.slice(8),i=fe(o,K);if(i)return{input:e,outputs:[`bdra${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("font-")){let o=e.slice(5),i=Jn[o];if(i)return{input:e,outputs:[`fw${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("text-")){let o=e.slice(5),i=Zn[o];if(i)return{input:e,outputs:[`fns${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("leading-")){let o=e.slice(8),i=fe(o,Gn);if(i)return{input:e,outputs:[`lh${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("tracking-")){let o=e.slice(9),i=fe(o,Yn);if(i)return{input:e,outputs:[`lts${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("opacity-")){let o=e.slice(8),i=Number(o);if(!Number.isNaN(i))return{input:e,outputs:[`opc${String(i/100)}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("z-")){let o=e.slice(2);if(/^-?\d+$/.test(o))return{input:e,outputs:[`z${o}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("shadow")){let o=e==="shadow"?"DEFAULT":e.slice(7),i=Y[o];if(i)return{input:e,outputs:[`bxsh${i}`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("basis-")){let o=e.slice(6),i=fr(o);if(i)return{input:e,outputs:[`fxb[${i}]`],status:"converted",exact:!0,warnings:t}}if(e.startsWith("order-")){let o=e.slice(6),i=pr(o);if(i)return{input:e,outputs:/^-?\d+$/.test(i)?[`ord${i}`]:[`ord[${i}]`],status:"converted",exact:!0,warnings:t}}return e.startsWith("transition")?(t.push({token:e,message:`Tailwind transition utility \`${e}\` converted approximately to 200ms transition`}),{input:e,outputs:["tran0.2s"],status:"converted",exact:!1,warnings:t}):e.startsWith("duration-")||e.startsWith("ease-")||e.startsWith("delay-")?(t.push({token:e,message:`Tailwind motion utility \`${e}\` requires manual review in x-css migration`}),{input:e,outputs:[],status:"unsupported",exact:!1,warnings:t}):(t.push({token:e,message:`Tailwind utility \`${e}\` is not mapped yet`}),{input:e,outputs:[],status:"unsupported",exact:!1,warnings:t})},jt=e=>{let t=lr(e,":");return t.length===1?{variants:[],base:e}:{variants:t.slice(0,-1),base:t[t.length-1]}},br=e=>{if(!e)return!1;if(At.has(e))return!0;let t=e.startsWith("-")?e.slice(1):e;return At.has(t)||sr.some(n=>t.startsWith(n))?!0:/^(?:[a-z0-9]+-)+\[[^\]]+\]$/i.test(t)},$t=e=>{let{variants:t,base:n}=jt(e),r=br(n)||t.some(c=>Hn.has(c)),s=oe(e),o=/[A-Z[#0-9!@]/.test(e)||e.includes("--")||s!==null&&(s.selector.length>0||s.layer.length>0||s.mq.length>0)||s!==null&&s.val.length>0,i=s!==null&&o;return r&&i?"ambiguous":r?"tailwind":i?"xcss":"unknown"},zt=(e,t)=>{let n=ar(t),r=$t(e);if(r==="xcss")return{input:e,outputs:[e],status:"passthrough",classification:r,exact:!0,warnings:[]};let{variants:s,base:o}=jt(e),i=mr(o);if(i.status==="converted"){let b=dr(i.outputs,s);if(b.warnings.length>0){let w=[{token:e,message:`Tailwind token \`${e}\` uses variants that are not mapped safely`},...i.warnings,...b.warnings];return n.preserveUnknown?{input:e,outputs:[e],status:"passthrough",classification:"ambiguous",exact:!1,warnings:w}:{input:e,outputs:[],status:"unsupported",classification:"ambiguous",exact:!1,warnings:w}}return{input:e,outputs:b.tokens,status:"converted",classification:r,exact:i.exact,warnings:i.warnings}}let c=[...i.warnings];return r==="ambiguous"&&c.unshift({token:e,message:`Tailwind token \`${e}\` is ambiguous with x-css syntax and requires review`}),r==="unknown"&&c.unshift({token:e,message:`Token \`${e}\` is neither recognized Tailwind nor confirmed x-css`}),n.preserveUnknown?{input:e,outputs:[e],status:"passthrough",classification:r,exact:!1,warnings:c}:{input:e,outputs:[],status:"unsupported",classification:r,exact:!1,warnings:c}},ke=(e,t)=>{let r=e.split(/\s+/).map(i=>i.trim()).filter(Boolean).map(i=>zt(i,t)),s=r.flatMap(i=>i.outputs),o=r.flatMap(i=>i.warnings);return{input:e,output:s.join(" "),details:r,converted:r.filter(i=>i.status==="converted").flatMap(i=>i.outputs),passthrough:r.filter(i=>i.status==="passthrough").flatMap(i=>i.outputs),unsupported:r.filter(i=>i.status==="unsupported").map(i=>i.input),ambiguous:r.filter(i=>i.classification==="ambiguous").map(i=>i.input),warnings:o}},hr=ke;var Dt=[{group:"layout-core",support:"exact",examples:["flex","inline-flex","grid","block","hidden","relative","absolute"],notes:"display, position, flex-direction, flex-wrap, and core layout helpers map 1:1 to x-css tokens."},{group:"spacing-size",support:"exact",examples:["p-4","gap-4","mx-auto","w-1/2","max-w-7xl","inset-x-4","inset-y-2"],notes:"spacing scale, fractions, width/height keywords, auto margins, and axis inset helpers are safe to auto-apply."},{group:"color-border-shadow",support:"exact",examples:["bg-white","text-slate-900","border","border-slate-200","shadow-lg"],notes:"core color, border, rounded, and shadow utilities are exact when the target token is supported in the built-in dictionary."},{group:"typography",support:"exact",examples:["font-semibold","text-sm","leading-6","tracking-wide","uppercase","truncate"],notes:"font family, weight, size, line-height, letter-spacing, casing, whitespace, and overflow text helpers are mapped directly."},{group:"alignment-placement",support:"exact",examples:["items-baseline","justify-between","place-items-center","content-between","justify-self-end"],notes:"align, justify, place, self, and content helpers are safe to auto-apply."},{group:"object-appearance",support:"exact",examples:["appearance-none","object-cover","object-center","aspect-video","basis-1/2","order-last"],notes:"appearance, object-fit/object-position, aspect-ratio, flex-basis, and order helpers are mapped exactly."},{group:"state-variants-safe",support:"exact",examples:["hover:bg-slate-50","focus:text-blue-600","before:bg-slate-50","placeholder:text-slate-400"],notes:"responsive variants and safe pseudo/pseudo-element variants are supported directly: hover, focus, active, visited, disabled, checked, before, after, placeholder, selection, first, last, odd, even."},{group:"motion-basic",support:"partial",examples:["transition"],notes:"transition currently degrades to a generic 200ms x-css transition and should be reviewed before release."},{group:"motion-detailed",support:"manual",examples:["duration-200","ease-out","delay-150"],notes:"timing-specific motion helpers are not auto-mapped safely and should block blind migration."},{group:"contextual-variants",support:"manual",examples:["group-hover:bg-slate-50","peer-focus:text-blue-600","dark:bg-slate-900"],notes:"group, peer, and dark-mode variants need product-specific rewrite strategy and should not be auto-applied."},{group:"generated-content-and-dividers",support:"manual",examples:["divide-x",'before:content-[""]'],notes:"divide helpers and arbitrary generated-content flows need manual implementation review."},{group:"transform-effects",support:"manual",examples:["translate-x-4","scale-95","rotate-45","ring-2","outline-none","bg-gradient-to-r"],notes:"transforms, rings, advanced outlines, and gradients are not mapped safely enough for production auto-migration."}],yr={mode:"safe",preserveUnknown:!1},Ge=e=>e.status==="converted"?e.exact:e.status==="passthrough"&&e.classification==="xcss",xr=()=>Dt,wr=(e,t)=>{let n={...yr,...t},r=ke(e,n),s=r.details.filter(m=>m.status==="converted"&&m.exact).flatMap(m=>m.outputs),o=r.details.filter(m=>m.status==="converted"&&!m.exact).flatMap(m=>m.outputs),i=r.details.filter(m=>m.status==="passthrough"&&m.classification==="xcss").flatMap(m=>m.outputs),c=r.details.filter(m=>!Ge(m)).map(m=>m.input),b=r.details.filter(m=>Ge(m)||m.status==="converted"?!1:m.status==="unsupported"||m.classification==="ambiguous"||m.classification==="unknown").map(m=>m.input),w=r.details.flatMap(m=>Ge(m)?m.outputs:[]).join(" "),j=c.length===0,M=b.length>0?"blocked":j?"safe":"review";return{input:e,conversion:r,autoApplyOutput:w,exactConverted:s,approximateConverted:o,passthroughXcss:i,reviewRequired:c,blocked:b,safeToAutoApply:j,releaseDecision:M}};var Ye="__FWXCSS_SHARED__",Sr={base:"html,body{font-size:16px;padding:0;margin:0;}"},vr=e=>{if(!e)return!1;let t=typeof Document<"u",n=typeof ShadowRoot<"u",r=t&&e instanceof Document,s=n&&e instanceof ShadowRoot;return r||s},Cr=e=>{let t=[],n=r=>{if(r){if(typeof r=="string"||typeof r=="number"){t.push(String(r));return}if(Array.isArray(r)){r.forEach(n);return}typeof r=="object"&&Object.keys(r).forEach(s=>{r[s]&&t.push(s)})}};return e.forEach(n),t},et=e=>{let t=new WeakMap,n=null,r=e??Sr,s=typeof document<"u"?document:null,o=E=>{let D=qe.css(r);return{...D.buildCss(E??void 0),ready:D.ready}},i=()=>(n||(n=o(null)),n),c=E=>{if(!E)return i();let D=t.get(E);return D||(D=o(E),t.set(E,D)),D};return{clsx:(...E)=>{let D,ce=E[E.length-1];vr(ce)&&(D=ce,E=E.slice(0,-1));let Ee=Cr(E);return c(D||s).clsx(Ee.join(" "))},observe:E=>{c(E||s).observe()},setClsxRoot:E=>{s=E||(typeof document<"u"?document:null)},getCss:E=>E?c(E).getCssString():s?c(s).getCssString():i().getCssString(),ready:E=>E?c(E).ready:s?c(s).ready:i().ready}},kr=e=>et(e),Er=e=>et(e),Qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:global,le=Qe[Ye]||et();Qe[Ye]||(Qe[Ye]=le);var Tr=le.clsx,Rr=le.observe,Ir=le.setClsxRoot,Ar=le.getCss,_r=le.ready;var Or=qe;0&&(module.exports={TAILWIND_COVERAGE_MATRIX,assessTailwindMigrationReadiness,classifyTailwindToken,clsx,convertTailwindClasses,convertTailwindToken,createSharedClsx,createSharedInstance,getBootloaderScript,getCss,getTailwindCoverageMatrix,observe,ready,setClsxRoot,tailwindToXcss});
139
138
  //# sourceMappingURL=index.js.map