@master/css 2.0.0-beta.201 → 2.0.0-beta.202

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.
@@ -1 +1 @@
1
- (()=>{function se(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function oe(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function le(e){let t=[];return e.forEach(function(i,n){typeof i=="object"&&i!==null?Array.isArray(i)?t[n]=le(i):se(i)?t[n]=oe(i):t[n]=X({},i):t[n]=i}),t}function ne(e,t){return t==="__proto__"?void 0:e[t]}function X(...e){let t={},i,n;return e.forEach(function(f){typeof f!="object"||f===null||Array.isArray(f)||Object.keys(f).forEach(function(a){if(n=ne(t,a),i=ne(f,a),i!==t)if(typeof i!="object"||i===null){t[a]=i;return}else if(Array.isArray(i)){t[a]=le(i);return}else if(se(i)){t[a]=oe(i);return}else if(typeof n!="object"||n===null||Array.isArray(n)){t[a]=X({},i);return}else{t[a]=X(n,i);return}})}),t}var F={"(":")","'":"'",'"':'"',"{":"}"};function G(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),i=t.length,n=-1,f="",a,s=t.charCodeAt(0);if(i==1&&s==45)return"\\"+t;for(;++n<i;){if(a=t.charCodeAt(n),a==0){f+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&s==45){f+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){f+=t.charAt(n);continue}f+="\\"+t.charAt(n)}return f}var ve=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,te=class{constructor(t,i={},n){this.className=t;this.definition=i;this.css=n;let{layer:f,unit:a,colored:s,analyze:u,transformValue:y,declare:p,transformValueComponents:d,create:b,order:g,id:c}=i;this.order=g,this.layer=f,i.unit||(i.unit=""),i.separators||(i.separators=[","]);let{scope:o,important:h,themeDriver:l}=n.config,{selectors:r,mediaQueries:m,stylesBy:N,animations:R}=n,w=N[t];b&&b.call(this,t),this.declarations=i.declarations;let C,v;if(this.colored=s,f===-8)C=t.slice(c.length-1);else{let k;if(u)[k,v]=u.call(this,t);else{let D=t.indexOf(":");this.prefix=t.slice(0,D+1),k=t.slice(D+1)}this.valueComponents=[],C=k.slice(this.parseValue(this.valueComponents,0,k,a))}C[0]==="!"&&(this.important=!0,C=C.slice(1)),this.stateToken=C;let S=(k,D)=>{let T=(x,j,V,M)=>{for(let[B,I]of j)if(B.test(x)){for(let L of I)T(x.replace(B,L),j,V,!0);return}M&&V.push(x)},P=x=>{let j=x.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((I,L)=>L%3?I:I.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),V=[],M="",B=0;for(let I=0;I<j.length;I++){let L=j[I];if(L==="\\"){M+=L+j[++I];continue}!B&&L===","?(V.push(M),M=""):(M+=L,B&&L===")"?B--:L==="("&&B++)}return M&&V.push(M),V},$=[];""in r?T(k,r[""],$,!0):$.push(k);let A={};for(let[x,j]of Object.entries(r)){if(!x)continue;let V=[];for(let M of $)T(M,j,V,!1);V.length&&(A[x]=V)}let U=(x,j)=>{let V=j.reduce((M,B)=>(M.push(...P(B)),M),[]);x in D?D[x].push(...V):D[x]=V},_=Object.keys(A);if(_.length)for(let x of _)U(x,A[x]);else U("",$)};v?(this.vendorPrefixSelectors={},S(v,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let O=C.split("@"),z=O[0];if(z){this.vendorSuffixSelectors={},S(z,this.vendorSuffixSelectors);for(let k of Object.values(this.vendorSuffixSelectors))for(let D of k){this.hasWhere!==!1&&(this.hasWhere=D.includes(":where("));let T=[":disabled",":active",":focus",":hover"];for(let P=0;P<T.length;P++)if(D.includes(T[P])){(this.priority===-1||this.priority>P)&&(this.priority=P);break}}}else this.vendorSuffixSelectors={"":[""]};let W={},be=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),ae=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(be)W[""]=ae?[""]:Object.keys(this.vendorSuffixSelectors);else if(ae)for(let k in this.vendorPrefixSelectors)W[k]=[""];else for(let k in this.vendorPrefixSelectors){let D=W[k]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,k))D.push(k);else for(let T in this.vendorSuffixSelectors)D.push(T)}for(let k=1;k<O.length;k++){let D=O[k];if(D)if(D==="rtl"||D==="ltr")this.direction=D;else{let T,P,$=ve.exec(D);if($)T=$[1],P=D.slice(T.length);else{this.media={token:D,features:{}};let A=[],U=x=>{if(x==="all"||x==="print"||x==="screen"||x==="speech")this.media.type=x;else if(x==="\u{1F5A8}")this.media.type="print";else if(x==="landscape"||x==="portrait")A.push("(orientation:"+x+")");else if(x==="motion"||x==="reduced-motion")A.push("(prefers-reduced-motion:"+(x==="motion"?"no-preference":"reduce")+")");else{let j=m[x];if(j&&typeof j=="string")A.push(j);else{let V="",M="",B=0;x.startsWith("<=")?(M="<=",V="max-width"):x.startsWith(">=")||j?(M=">=",V="min-width"):x.startsWith(">")?(M=">",V="min-width",B=.02):x.startsWith("<")&&(M="<",V="max-width",B=-.02);let I=M?x.replace(M,""):x,L=m[I];switch(V){case"max-width":case"min-width":let Q={};typeof L=="number"?Q={type:"number",value:L+B,unit:"px"}:(Q=this.parseValueComponent(I,"px"),Q.type==="number"&&Q.unit==="px"&&(Q.value+=B)),this.media.features[V]=Q,Q.type==="number"?A.push("("+V+":"+(Q.value+Q.unit)+")"):A.push("("+V+":"+Q.value+")");break}}}},_=D.includes("&");if(_){let x=D.split("&");for(let j of x)U(j)}else U(D);if(this.media.type&&(P=this.media.type),A.length&&(P=A.join(" and ")),P)T="media";else if(!_){this.theme=D;continue}}P&&(this.at[T]=(T in this.at?this.at[T]+" and ":"")+P.replace(/\|/g," "))}}let Z;if(this.valueComponents)if(d&&(this.valueComponents=d.call(this,this.valueComponents)),Z=this.resolveValue(this.valueComponents,a,[]),y&&(Z=y.call(this,Z,this.css.config)),p){let k,D;this.declarations=p.call(this,D?k:Z,D||"")}else c&&(this.declarations={[c]:Z});let ie=[];for(let k in this.declarations){let D=$=>{if(R&&($.startsWith("animation")||$.startsWith("animation-name"))){let A=$.split(":")[1].split("!important")[0].split(" ").filter(U=>U in this.css.animations&&(!this.animationNames||!this.animationNames.includes(U)));A.length&&(this.animationNames||(this.animationNames=[]),this.animationNames.push(...A))}ie.push($+((this.important||h)&&!$.endsWith("!important")?"!important":""))},T=k+":",P=this.declarations[k];if(typeof P=="object")for(let $ of P)D(T+$.toString());else D(T+P.toString())}if(ie.length)for(let k in W)for(let D of W[k]){let T="";this.direction&&(T+="[dir="+this.direction+"] ");let P=this.vendorPrefixSelectors[k],$=this.vendorSuffixSelectors[D],A=P.map(x=>x+T),U=x=>A.map(j=>(this.theme&&l!=="media"?l==="host"?`:host(.${this.theme}) `:`.${this.theme} `:"")+(o?o+" ":"")+j).reduce((j,V)=>(j.push($.reduce((M,B)=>(M.push(V+"."+G(x)+B),M),[]).join(",")),j),[]).join(","),_=U(t)+(w?w.reduce((x,j)=>x+","+U(j),""):"")+"{"+ie.join(";")+"}";for(let x of Object.keys(this.at).sort((j,V)=>V==="supports"?-1:1))_="@"+x+(x.includes(" ")?"":" ")+this.at[x]+"{"+_+"}";this.theme&&l==="media"&&(_=`@media(prefers-color-scheme:${this.theme}){`+_+"}"),this.natives.push({text:_})}}at={};priority=-1;natives=[];order=0;layer=0;stateToken;declarations;colored=!1;animationNames;variableNames;resolveValue=(t,i,n)=>{let{functions:f}=this.css.config,a="";for(let s of t)switch(s.type){case"function":let u=f&&f[s.name];if(u?.transform){let p=u.transform.call(this,this.resolveValue(s.children,u.unit??i,n),n);a+=typeof p=="string"?p:this.resolveValue(p,u?.unit??i,n)}else a+=s.name+s.symbol+this.resolveValue(s.children,u?.unit??i,n)+F[s.symbol];break;case"variable":let y=this.css.variables[s.name];if(y){let p=(d,b)=>{if(y.themes)if(this.theme){let g=y.themes[this.theme]??y;g?.value&&d(g)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(s.name)||this.variableNames.push(s.name),b();else d(y)};switch(y.type){case"string":p(b=>{let g=[];this.parseValue(g,0,b.value,i,void 0,void 0,[...n,s.name]),a+=this.resolveValue(g,i,[...n,s.name])},()=>{a+=`var(--${s.name})`});break;case"number":p(b=>{let g=this.parseValueComponent(b.value,i);a+=g.value+(g.unit??"")},()=>{a+=i?`calc(var(--${s.name}) / 16 * 1rem)`:`var(--${s.name})`});break;case"color":let d=s.alpha?"/"+s.alpha:"";p(b=>{a+=`${b.space}(${b.value}${d})`},()=>{a+=`${y.space}(var(--${s.name})${d})`});break}}else a+=`var(--${s.name}${s.fallback?","+s.fallback:""})`;break;case"separator":a+=s.text||s.value;break;case"number":a+=s.value+s.unit;break;default:a+=s.value;break}return a};get text(){return this.natives.map(t=>t.text).join("")}parseValue=(t,i,n,f,a,s=void 0,u=[])=>{let y=s===void 0,p=!y&&(s.endsWith("$")||s.endsWith("var")),b=(h=>h==="'"||h==='"')(a),g=[","];this.definition.separators.length&&g.push(...this.definition.separators);let c="",o=()=>{if(c){let h=!1;if(!p||t.length){let l=(r,m)=>{let N=Object.prototype.hasOwnProperty.call(this.definition.resolvedVariables,r)?this.definition.resolvedVariables[r]:Object.prototype.hasOwnProperty.call(this.css.variables,r)?this.css.variables[r]:void 0;if(N){let R=N.name??r;if(!u.includes(R)){h=!0;let w={type:"variable",name:R,variable:this.css.variables[R]};m&&(w.alpha=m),t.push(w)}}};if(l(c),!h&&this.colored){let[r,m]=c.split("/");l(r,m)}}h||t.push(this.parseValueComponent(c,f)),c=""}};for(;i<n.length;i++){let h=n[i];if(h===a){if(b){let l=0;for(let r=c.length-1;c[r]==="\\";r--)l++;if(l%2){c+=h;continue}else o()}else o();return i}else if(!b&&h in F){let l=c,r={type:"function",name:l,symbol:h,children:[]};t.push(r),c="";let m=h==="("&&this.css.config.functions?.[l];!this.colored&&m?.colored&&(this.colored=!0),i=this.parseValue(r.children,++i,n,m?.unit??f,F[h],l||s||"")}else if((h==="|"||h===" ")&&a!=="}"&&(!b||s==="path"))o(),t.push({type:"separator",value:" "});else{if(!b){if(h===".")if(isNaN(+n[i+1])){if(y)break}else n[i-1]==="-"&&(c+="0");else if(g.includes(h)){o(),t.push({type:"separator",value:h,text:(h===","?"":" ")+h+(h===","?"":" ")});continue}else if(y&&(h==="#"&&(c||t.length&&t[t.length-1].type!=="separator")||["!","*",">","+","~",":","[","@","_"].includes(h)))break}c+=h}}return o(),i};parseValueComponent(t,i=this.definition.unit){let n=i??this.definition.unit,f="",a;if(typeof t=="number")return n&&!f?((n==="rem"||n==="em")&&(a=t/this.css.config.rootSize),f=n||""):a=t,{value:a,unit:f,type:"number"};if(n){if(/^\d+\/\d+/.test(t)){let[u,y]=t.split("/");return{value:+u/+y*100,unit:"%",type:"number"}}let s=t.match(/^([+-.]?\d+(\.?\d+)?)(%|cm|mm|q|in|pt|pc|px|em|rem|ex|rex|cap|rcap|ch|rch|ic|ric|lh|rlh|vw|svw|lvw|dvw|vh|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax|cqw|cqh|cqi|cqb|cqmin|cqmax|deg|grad|rad|turn|s|ms|hz|khz|dpi|dpcm|dppx|x|fr|db|st)?$/);if(s)return a=+s[1],f=s[3]||"",f||((n==="rem"||n==="em")&&(a=a/this.css.config.rootSize),f=n||""),{value:a,unit:f,type:"number"}}return{value:t,type:"string"}}};var Re={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},ce=Re;var Ce={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child(",":only":":only-child"},fe=Ce;var xe={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"},fit:{width:"fit-content",height:"fit-content"}},ue=xe;var Se={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}},de=Se;function K(e){e.startsWith("#")&&(e=e.slice(1));let t,i,n,f;return e.length===3||e.length===4?(t=parseInt(e[0]+e[0],16),i=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),f=e.length===4?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1):(e.length===6||e.length===8)&&(t=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16),f=e.length===8?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,i,n,f]}function he(e,t,i){return((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)}function E(e){typeof e=="string"&&(e={"":e});let t=""in e,i=!1;for(let n in e)if(n&&+n>=100){i=!0;break}if(!i&&(!t||Object.keys(e).length>1)){let n=0,f="0"in e?K(e[0]):[0,0,0],a,s,u=[],y=()=>{let p=a-n,d=s.map((b,g)=>(b-f[g])/p);for(let b of u){let g=b-n,c=f.map((o,h)=>Math.round(o+d[h]*g));e[b]="#"+he.call(this,...c)}};for(let p=1;p<100;p++)p in e?(u.length?(a=p,s=K(e[p]),y(),u.length=0,f=s):f=K(e[p]),n=p):u.push(p);u.length&&(a=100,s="100"in e?K(e[100]):[255,255,255],y())}return t||(e[""]=e[i?"500":"50"]),e}var De={font:{family:{mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],serif:["ui-serif","Georgia","Cambria","Times New Roman","Times","serif"]},weight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},sizing:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560,full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},flex:{direction:{col:"column","col-reverse":"column-reverse"}},box:{sizing:{content:"content-box",border:"border-box"}},position:{abs:"absolute",rel:"relative"},transform:{box:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},animation:{direction:{alt:"alternate","alt-reverse":"alternate-reverse"}},background:{clip:{content:"content-box",border:"border-box",padding:"padding-box"},origin:{content:"content-box",border:"border-box",padding:"padding-box"}},order:{first:-999999,last:999999},shape:{outside:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},clip:{path:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box",black:"#000000"}},black:"#000000",white:"#ffffff",current:"currentColor",slate:E({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:E({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:E({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:E({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:E({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:E({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:E({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:E({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:E({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:E({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:E({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:E({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:E({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:E({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:E({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:E({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:E({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:E({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:E({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:E({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})},me=De;var Y=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],q=function(e){return e.length<2||e.find(i=>i.type==="string"&&Y.includes(i.value)||i.type==="variable"&&Y.includes(i.variable.value))||e.push({type:"separator",value:" "},{type:"string",value:"solid"}),e},Ne={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:-1,analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},i=y=>{let p=y.indexOf(":");p!==-1&&(t[y.slice(0,p)]=y.slice(p+1))},n=y=>{let p=d=>{let b=d.slice(G(y.className).length).match(/\{(.*)\}/)[1].split(";");for(let g of b)i(g)};for(let d of y.natives)p(d.text);if(y.animationNames){this.animationNames||(this.animationNames=[]);for(let d of y.animationNames)this.animationNames.includes(d)||this.animationNames.push(d)}if(y.variableNames){this.variableNames||(this.variableNames=[]);for(let d of y.variableNames)this.variableNames.includes(d)||this.variableNames.push(d)}},f=[],a="",s=()=>{a&&(f.push(a.replace(/ /g,"|")),a="")},u=1;(function y(p){for(;u<e.length;u++){let d=e[u];if(!p){if(d===";"){s();continue}if(d==="}")break}if(a+=d,p===d){if(p==="'"||p==='"'){let b=0;for(let g=a.length-2;a[g]==="\\";g--)b++;if(b%2)continue}break}else d in F&&p!=="'"&&p!=='"'&&(u++,y(F[d]))}})(void 0),s();for(let y of f){let p=this.css.create(y);if(p.length)for(let d of p)n(d);else i(y)}return t}},variable:{match:/^\$[\w-]+:/,colored:!0,layer:-1,declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},"font-size":{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:-3},"font-weight":{match:["f(?:ont)?",["bolder"]],layer:-3},"font-family":{match:["f(?:ont)?"],layer:-3},"font-smoothing":{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:-3,declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},"font-style":{match:["f(?:ont)?",["normal","italic","oblique"]],layer:-3,unit:"deg"},"font-variant-numeric":{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:-3},"font-variant":{layer:-7},"font-feature-settings":{match:/^font-feature:/,layer:-3},font:{match:/^f:/,layer:-7,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},color:{match:/^(?:color|fg|foreground):/,layer:-3,colored:!0},"margin-left":{match:/^ml:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-right":{match:/^mr:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-top":{match:/^mt:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-bottom":{match:/^mb:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-x":{match:/^(?:mx|margin-x):/,unit:"rem",layer:-5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}},variables:["spacing"]},"margin-y":{match:/^(?:my|margin-y):/,unit:"rem",layer:-5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}},variables:["spacing"]},margin:{match:/^m:/,unit:"rem",layer:-7,variables:["spacing"]},"margin-inline-start":{match:/^mis:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-inline-end":{match:/^mie:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-inline":{match:/^mi:/,unit:"rem",layer:-7,variables:["spacing"]},"padding-left":{match:/^pl:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-right":{match:/^pr:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-top":{match:/^pt:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-bottom":{match:/^pb:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-x":{match:/^(?:px|padding-x):/,unit:"rem",layer:-5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}},variables:["spacing"]},"padding-y":{match:/^(?:py|padding-y):/,unit:"rem",layer:-5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}},variables:["spacing"]},padding:{match:/^p:/,unit:"rem",layer:-7,variables:["spacing"]},"padding-inline-start":{match:/^pis:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-inline-end":{match:/^pie:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-inline":{match:/^pi:/,unit:"rem",layer:-7,variables:["spacing"]},"flex-basis":{variables:["sizing"],unit:"rem",layer:-3},"flex-wrap":{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:-3},"flex-grow":{layer:-3},"flex-shrink":{layer:-3},"flex-direction":{match:["flex",["row","row-reverse","column","column-reverse"]],layer:-3},flex:{layer:-7},display:{match:/^d:/,layer:-3},width:{match:/^w:/,unit:"rem",layer:-3,variables:["sizing"]},height:{match:/^h:/,unit:"rem",layer:-3,variables:["sizing"]},"min-width":{match:/^min-w:/,unit:"rem",layer:-3,variables:["sizing"]},"min-height":{match:/^min-h:/,unit:"rem",layer:-3,variables:["sizing"]},box:{match:/^(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,i]=e.split(" x ");return{width:t,height:i}}},"min-box":{match:/^min:/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"min-width":t,"min-height":i}}},"max-box":{match:/^max:/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"max-width":t,"max-height":i}}},"box-sizing":{match:/^box:/,layer:-3},"box-decoration-break":{match:["sizing",["slice","clone"]],layer:-3,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},contain:{layer:-3},content:{layer:-3},"counter-increment":{layer:-3},"counter-reset":{layer:-3},"letter-spacing":{match:/^ls:/,layer:-3,unit:"em"},"line-height":{match:/^lh:/,layer:-3},"object-fit":{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:-3},"object-position":{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:-3},"text-align":{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:-3},"text-decoration-color":{match:["text-decoration"],layer:-3,colored:!0},"text-decoration-style":{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:-3},"text-decoration-thickness":{match:["text-decoration",["from-font"]],numeric:!0,layer:-3,unit:"em"},"text-decoration-line":{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:-3},"text-decoration":{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:-7},"text-underline-offset":{unit:"rem",layer:-3,variables:["spacing"]},"text-overflow":{match:["t(?:ext)?",["ellipsis","clip"]],layer:-3},"text-orientation":{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:-3},"text-transform":{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:-3},"text-rendering":{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:-3},"text-indent":{unit:"rem",layer:-3},"vertical-align":{match:/^(?:v|vertical):/,layer:-3},columns:{match:/^(?:columns|cols):/,layer:-7},"white-space":{layer:-3},top:{layer:-3,unit:"rem",variables:["spacing"]},bottom:{layer:-3,unit:"rem",variables:["spacing"]},left:{layer:-3,unit:"rem",variables:["spacing"]},right:{layer:-3,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:-7,variables:["spacing"]},lines:{match:/^lines:/,declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},"max-height":{match:/^max-h:/,unit:"rem",layer:-3,variables:["sizing"]},"max-width":{match:/^max-w:/,unit:"rem",layer:-3,variables:["sizing"]},opacity:{layer:-3},visibility:{layer:-3},clear:{layer:-3},float:{layer:-3},isolation:{layer:-3},"overflow-x":{layer:-3,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},"overflow-y":{layer:-3,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{layer:-7,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},"overscroll-behavior-x":{layer:-3},"overscroll-behavior-y":{layer:-3},"overscroll-behavior":{layer:-7},"z-index":{match:/^z:/,layer:-3},position:{layer:-3},cursor:{layer:-3},"pointer-events":{layer:-3},resize:{layer:-3},"touch-action":{layer:-3},"word-break":{layer:-3},"word-spacing":{layer:-3,unit:"em"},"user-drag":{layer:-3,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},"user-select":{layer:-3,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},"text-shadow":{unit:"rem",layer:-3,colored:!0},"text-size":{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},"text-fill-color":{match:["(?:text-fill|text|t)"],layer:-3,colored:!0,declare(e,t){return{"-webkit-text-fill-color":e+t}}},"text-stroke-width":{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:-3,declare(e,t){return{"-webkit-text-stroke-width":e+t}}},"text-stroke-color":{match:["text-stroke"],layer:-3,colored:!0,declare(e,t){return{"-webkit-text-stroke-color":e+t}}},"text-stroke":{unit:"rem",layer:-3,declare(e,t){return{"-webkit-text-stroke":e+t}}},"box-shadow":{match:/^s(?:hadow)?:/,unit:"rem",layer:-3,colored:!0},"table-layout":{layer:-3},"transform-box":{match:["transform"],layer:-3},"transform-style":{match:["transform",["flat","preserve-3d"]],layer:-3},"transform-origin":{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:-3},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:-3,analyze(e){return[e.startsWith("transform")?e.slice(10):e]},variables:["spacing"]},"transition-property":{match:/^~property:/,layer:-3},"transitionTiming-function":{match:/^~easing:/,layer:-3},"transition-duration":{match:/^~duration:/,layer:-3,unit:"ms"},"transition-delay":{match:/^~delay:/,layer:-3,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},layer:-7},"animation-delay":{match:/^@delay:/,layer:-3,unit:"ms"},"animation-direction":{match:/^@direction:/,layer:-3},"animation-duration":{match:/^@duration:/,layer:-3,unit:"ms"},"animation-fill-mode":{match:/^@fill:/,layer:-3},"animation-iteration-count":{match:/^@iteration:/,layer:-3},"animation-name":{match:/^@name:/,layer:-3},"animation-play-state":{match:/^@play:/,layer:-3},"animation-timing-function":{match:/^@easing:/,layer:-3},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:-7,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{match:["b(?:order)?",["collapse","separate"]],layer:-3},"border-spacing":{unit:"rem",layer:-3},"border-top-color":{match:["b(?:t|order-top(?:-color)?)"],layer:-3,colored:!0},"border-bottom-color":{match:["b(?:b|order-bottom(?:-color)?)"],layer:-3,colored:!0},"border-left-color":{match:["b(?:l|order-left(?:-color)?)"],layer:-3,colored:!0},"border-right-color":{match:["b(?:r|order-right(?:-color)?)"],layer:-3,colored:!0},"border-x-color":{match:["b(?:x|order-x(?:-color)?)"],layer:-5,colored:!0,declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},"border-y-color":{match:["b(?:y|order-y(?:-color)?)"],layer:-5,colored:!0,declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},"border-color":{match:["b(?:order)?(?:-color)?"],layer:-7,colored:!0},"border-top-left-radius":{match:/^r(?:tl|lt):/,unit:"rem",layer:-3},"border-top-right-radius":{match:/^r(?:tr|rt):/,unit:"rem",layer:-3},"border-bottom-left-radius":{match:/^r(?:bl|lb):/,unit:"rem",layer:-3},"border-bottom-right-radius":{match:/^r(?:br|rb):/,unit:"rem",layer:-3},"border-top-radius":{match:/^rt:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},"border-bottom-radius":{match:/^rb:/,unit:"rem",layer:-5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},"border-left-radius":{match:/^rl:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},"border-right-radius":{match:/^rr:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},"border-radius":{match:/^r:/,unit:"rem",layer:-7},"border-top-style":{match:["b(?:t|order-top(?:-style)?)",Y],layer:-3},"border-bottom-style":{match:["b(?:b|order-bottom(?:-style)?)",Y],layer:-3},"border-left-style":{match:["b(?:l|order-left(?:-style)?)",Y],layer:-3},"border-right-style":{match:["b(?:r|order-right(?:-style)?)",Y],layer:-3},"border-x-style":{match:["b(?:x|order-x(?:-style)?)",Y],layer:-5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},"border-y-style":{match:["b(?:y|order-y(?:-style)?)",Y],layer:-5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},"border-style":{match:["b(?:order)?(?:-style)?",Y],layer:-7},"border-top-width":{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-bottom-width":{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-left-width":{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-right-width":{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-x-width":{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:-5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},"border-y-width":{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:-5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},"border-width":{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:-7},"border-image-outset":{unit:"rem",layer:-3},"border-image-repeat":{match:["border-image",["stretch","repeat","round","space"]],layer:-3},"border-image-slice":{layer:-3},"border-image-source":{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:-3},"border-image-width":{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:-3},"border-image":{layer:-7},"border-top":{match:/^bt:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-bottom":{match:/^bb:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-left":{match:/^bl:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-right":{match:/^br:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-x":{match:/^(?:bx|border-x):/,unit:"rem",colored:!0,layer:-5,transformValueComponents:q,declare(e){return{"border-left":e,"border-right":e}}},"border-y":{match:/^(?:by|border-y):/,unit:"rem",colored:!0,layer:-5,transformValueComponents:q,declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:/^b:/,unit:"rem",colored:!0,layer:-7,transformValueComponents:q},"background-attachment":{match:["(?:bg|background)",["fixed","local","scroll"]],layer:-3},"background-blend-mode":{layer:-3},"background-color":{match:["(?:bg|background)"],layer:-3,colored:!0},"background-clip":{match:["(?:bg|background)",["text"]],layer:-3,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}}},"background-origin":{match:["(?:bg|background)"],layer:-3},"background-position":{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:-3,unit:"px"},"background-repeat":{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:-3},"background-size":{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:-3},"background-image":{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-3},background:{match:/^bg:/,colored:!0,layer:-7},gradient:{match:/^gradient\(/,layer:-3,colored:!0,declare(e){return{"background-image":"linear-"+e}}},"mix-blend-mode":{match:/^blend:/,layer:-3},"backdrop-filter":{match:/^bd:/,layer:-3,colored:!0,declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:-3,colored:!0},fill:{match:/^fill:/,layer:-3,colored:!0},"stroke-dasharray":{layer:-3},"stroke-dashoffset":{layer:-3,variables:["spacing"]},"stroke-width":{match:["stroke(?:-width)?"],numeric:!0,layer:-3},stroke:{match:["stroke"],layer:-3,colored:!0},x:{layer:-3,variables:["spacing"]},y:{layer:-3,variables:["spacing"]},cx:{layer:-3,variables:["spacing"]},cy:{layer:-3,variables:["spacing"]},rx:{layer:-3},ry:{layer:-3},"grid-column-start":{match:/^grid-col-start:/,layer:-3},"grid-column-end":{match:/^grid-col-end:/,layer:-3},"grid-column":{match:/^grid-col(?:umn)?(?:-span)?:/,layer:-7,transformValue(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},"grid-columns":{match:/^grid-cols:/,declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}},layer:-1},"grid-row-start":{layer:-3},"grid-row-end":{layer:-3},"grid-row":{match:/^grid-row-span:/,layer:-7,transformValue(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},"grid-rows":{match:/^grid-rows:/,declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}},layer:-1},"grid-auto-columns":{match:/^grid-auto-cols:/,layer:-3,variables:["sizing"]},"grid-auto-flow":{match:/^grid-flow:/,layer:-3},"grid-auto-rows":{layer:-3,variables:["sizing"]},"grid-template-areas":{layer:-3},"grid-template-columns":{match:/^grid-template-cols:/,layer:-3,unit:"rem",variables:["sizing"]},"grid-template-rows":{layer:-3,unit:"rem",variables:["sizing"]},"grid-template":{layer:-7},"grid-area":{layer:-7},grid:{layer:-7},"column-gap":{match:/^gap-x:/,unit:"rem",layer:-3,variables:["spacing"]},"row-gap":{match:/^gap-y:/,unit:"rem",layer:-3,variables:["spacing"]},gap:{unit:"rem",layer:-7,variables:["spacing"]},order:{match:/^o:/,layer:-3},"break-inside":{layer:-3},"break-before":{layer:-3},"break-after":{layer:-3},"aspect-ratio":{match:/^aspect:/,layer:-3},"column-span":{match:/^col-span:/,layer:-3},"align-content":{match:/^ac:/,layer:-3},"align-items":{match:/^ai:/,layer:-3},"align-self":{match:/^as:/,layer:-3},"justify-content":{match:/^jc:/,layer:-3},"justify-items":{match:/^ji:/,layer:-3},"justify-self":{match:/^js:/,layer:-3},"place-content":{layer:-7},"place-items":{layer:-7},"place-self":{layer:-7},"list-style-position":{match:["list-style",["inside","outside"]],layer:-3},"list-style-type":{match:["list-style",["disc","decimal"]],layer:-3},"list-style-image":{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-3},"list-style":{layer:-7},"outline-color":{match:["outline"],layer:-3,colored:!0},"outline-offset":{unit:"rem",layer:-3,variables:["spacing"]},"outline-style":{match:["outline",Y],layer:-3},"outline-width":{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:-3},outline:{unit:"rem",layer:-7,colored:!0,variables:["outline-width","outline-style","outline-offset","outline-color"],transformValueComponents:q},"accent-color":{match:/^accent:/,layer:-3,colored:!0},appearance:{layer:-3},"caret-color":{match:/^caret:/,layer:-3,colored:!0},"scroll-behavior":{layer:-3},"scroll-margin-left":{match:/^scroll-ml:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-right":{match:/^scroll-mr:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-top":{match:/^scroll-mt:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{match:/^scroll-mb:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-x":{match:/^(?:scroll-margin-x|scroll-mx):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}},variables:["spacing"]},"scroll-margin-y":{match:/^(?:scroll-margin-y|scroll-my):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}},variables:["spacing"]},"scroll-margin":{match:/^scroll-m:/,unit:"rem",layer:-7,variables:["spacing"]},"scroll-padding-left":{match:/^scroll-pl:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-right":{match:/^scroll-pr:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-top":{match:/^scroll-pt:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{match:/^scroll-pb:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-x":{match:/^(?:scroll-padding-x|scroll-px):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}},variables:["spacing"]},"scroll-padding-y":{match:/^(?:scroll-padding-y|scroll-py):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}},variables:["spacing"]},"scroll-padding":{match:/^scroll-p:/,unit:"rem",layer:-7,variables:["spacing"]},"scroll-snap-align":{match:["scroll-snap",["start","end","center"]],layer:-3},"scroll-snap-stop":{match:["scroll-snap",["normal","always"]],layer:-3},"scroll-snap-type":{match:["scroll-snap",["x","y","block","inline","both"]],layer:-3},"will-change":{layer:-3},"writing-mode":{match:/^writing:/,layer:-3},direction:{layer:-3},"shape-outside":{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:-3},"shape-margin":{match:["shape"],numeric:!0,unit:"rem",layer:-3,variables:["spacing"]},"shape-image-threshold":{layer:-3},"clip-path":{match:/^clip:/,layer:-3},quotes:{layer:-3},"mask-image":{layer:-3,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},pe=Ne;var we={$:{colored:!0,transform(e){let t,i,n=e.indexOf(",");return n!==-1?(t=e.slice(0,n),i=e.slice(n+1)):t=e,[{type:"variable",name:t,fallback:i}]}},calc:{transform(e,t){let i=[],n=this.css.config.functions,f=0,a=(s,u,y)=>{let p=!1,d="",b=(g,c="",o="")=>{d&&(!p&&!y?s.push(this.parseValueComponent(d,n.calc.unit)):s.push({type:"string",value:d}),d=""),g&&(c&&e[f-1]===" "&&(c=""),o&&e[f+1]===" "&&(o=""),u?s.push({type:"separator",value:g,text:g}):s.push({type:"separator",value:g,text:c+g+o})),p=!1};for(;f<e.length;f++){let g=e[f];if(g==="("){let c=/^([+-])/.exec(d);c&&s.push({type:"string",value:c[1]});let o=c?d.slice(1):d,h={type:"function",name:o,symbol:g,children:[]};s.push(h),d="",f++;let l=h.name==="$"||h.name==="var";a(h.children,o!==""&&o!=="calc"&&(l||Object.prototype.hasOwnProperty.call(n,o)),p||l)}else if(g===")"){b("");break}else if(g===",")b(g,""," ");else if(g===" ")b(g);else{let c=e[f-1];switch(g){case"+":!d&&c!==")"?d+=g:b(g," "," ");break;case"-":!d&&c!==")"?d+=g:b(g," "," ");break;case"*":b(g," "," ");break;case"/":b(g," "," "),p=!0;break;default:d+=g;break}}}b("")};return a(i,!1,!1),"calc("+this.resolveValue(i,n.calc.unit??this.definition.unit,t)+")"}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},color:{unit:"",colored:!0},"color-contrast":{unit:"",colored:!0},"color-mix":{unit:"",colored:!0},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{colored:!0},"radial-gradient":{colored:!0},"conic-gradient":{colored:!0},"repeating-linear-gradient":{colored:!0},"repeating-radial-gradient":{colored:!0},"repeating-conic-gradient":{colored:!0}},ge=we;var H={mediaQueries:ce,selectors:fe,semantics:ue,rules:pe,functions:ge,animations:de,variables:me,scope:"",rootSize:16,override:!1,important:!1,themeDriver:"class"};var J=class e{constructor(t=H){this.customConfig=t;t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(H,t),this.resolve(),this.constructor===e&&globalThis.masterCSSs.push(this)}static config=H;static refresh=t=>{for(let i of globalThis.masterCSSs)i.refresh(t)};rules=[];ruleBy={};classesUsage={};config;semanticRuleOptions=[];ruleOptions=[];resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.ruleOptions.length=0,this.semanticRuleOptions.length=0,this.variablesNativeRules=void 0,this.hasKeyframesRule=!1;let t={current:void 0,currentColor:void 0,transparent:void 0},{styles:i,selectors:n,variables:f,semantics:a,mediaQueries:s,rules:u,animations:y}=this.config;function p(o){return o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function d(o,h,l="",r={}){let m=C=>C?(l?l+"-":"")+C:l,N=Object.entries(o),R=[],w=[];for(let C of N){let v=C[1];(typeof v=="object"&&!Array.isArray(v)?R:w).push(C)}for(let[C,v]of R)d(v,h,m(C),r);if(h&&l)w.length&&(r[l]=w.reduce((C,[v,S])=>(C[v]=S,C),{}));else for(let[C,v]of w)r[m(C)]=v;return r}if(n)for(let[o,h]of Object.entries(d(n,!1))){let l=new RegExp(p(o)+"(?![a-z-])");for(let r of Array.isArray(h)?h:[h]){let m=r.match(/^::-[a-z]+-/m)?.[0]??"",N=this.selectors[m];N||(N=this.selectors[m]=[]);let R=N.find(([w])=>w===l);R||(R=[l,[]],N.push(R)),R[1].push(r)}}if(f){let o={};for(let h in f){let l=(r,m,N=void 0)=>{if(!r)return;let R=(C,v,S=void 0,O=void 0)=>{if(v===void 0)return;if(v.type==="color"){if(O){let W=v.value.indexOf("/");v={...v,value:W===-1?v.value+" / "+(O.startsWith("0.")?O.slice(1):O):v.value.slice(0,W+2)+(+v.value.slice(W+2)*+O).toString().slice(1)}}t[C]=void 0}let z=S??N;if(z!==void 0)if(Object.prototype.hasOwnProperty.call(this.variables,C)){let W=this.variables[C];z?(W.themes||(W.themes={}),W.themes[z]=v):(W.value=v.value,W.space=v.space)}else z?this.variables[C]={type:v.type,space:v.space,themes:{[z]:v}}:this.variables[C]=v;else this.variables[C]=v},w=typeof r;if(w==="object")if(Array.isArray(r))R(m,{type:"string",value:r.join(",")});else{let C=Object.keys(r);for(let v of C)v===""||v.startsWith("@")?l(r[v],m,v||C.some(S=>S.startsWith("@"))?v.slice(1):void 0):l(r[v],m+"-"+v)}else if(w==="number")R(m,{type:"number",value:r}),R("-"+m,{type:"number",value:r*-1});else if(w==="string"){let C=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(r);if(C)Object.prototype.hasOwnProperty.call(o,m)||(o[m]={}),o[m][N]=()=>{delete o[m][N];let[v,S]=C[1].split("@");if(v){if(Object.prototype.hasOwnProperty.call(o,v))for(let z of Object.keys(o[v]))o[v][z]?.();let O=this.variables[v];if(O)if(S===void 0&&O.themes){R(m,{type:O.type,value:O.value,space:O.space},"",C[2]);for(let z in O.themes)R(m,O.themes[z],z,C[2])}else{let z=S!==void 0?O.themes?.[S]:O;z&&R(m,{type:z.type,value:z.value,space:z.space},void 0,C[2])}}};else{let v=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(r);if(v){let[S,O,z,W]=K(v[1]);R(m,{type:"color",value:`${S} ${O} ${z}${W===1?"":" / "+W}`,space:"rgb"})}else{let S=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(r);if(S)R(m,{type:"color",value:S[1]+" "+S[2]+" "+S[3]+(S[4]?" / "+(S[4].startsWith("0.")?S[4].slice(1):S[4]):""),space:"rgb"});else{let O=/^hsl\((.*?)\)$/.exec(r);O?R(m,{type:"color",value:O[1],space:"hsl"}):R(m,{type:"string",value:r})}}}}};l(f[h],h)}for(let h of Object.keys(o))for(let l of Object.keys(o[h]))o[h][l]?.()}if(s&&(this.mediaQueries=d(s,!1)),y)for(let o in y){let h=this.animations[o]={},l=y[o];for(let r in l){let m=h[r]={},N=l[r];for(let R in N)m[R]=N[R]}}let b=i?d(i,!1):{},g=Object.keys(b),c=o=>{if(Object.prototype.hasOwnProperty.call(this.styles,o))return;let h=this.styles[o]=[],l=b[o];if(!l)return;let r=l.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let m of r){let N=R=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,R)){let w=this.stylesBy[R];w.includes(o)||w.push(o)}else this.stylesBy[R]=[o];h.includes(R)||h.push(R)};if(g.includes(m)){c(m);for(let R of this.styles[m])N(R)}else N(m)}};for(let o of g)c(o);if(a&&Object.entries(a).sort((o,h)=>o[0].localeCompare(h[0])).forEach(([o,h],l)=>{this.semanticRuleOptions.push({id:"."+o,resolvedMatch:new RegExp("^"+p(o)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:l,declarations:h,layer:-8})}),u){let o=Object.entries(u).sort((r,m)=>r[1].layer!==m[1].layer?(m[1].layer||0)-(r[1].layer||0):m[0].localeCompare(r[0])),h=o.length,l=Object.keys(t);o.forEach(([r,m],N)=>{this.ruleOptions.push(m),m.order=this.semanticRuleOptions.length+h-1-N;let R=m.match;m.id=r,m.resolvedVariables={};let w=C=>{Object.assign(m.resolvedVariables,Object.keys(this.variables).filter(v=>v.startsWith(C+"-")||v.startsWith("-"+C+"-")).reduce((v,S)=>(v[S.slice(C.length+(C.startsWith("-")?0:1))]={...this.variables[S],name:S},v),{}))};if(m.variables)for(let C of m.variables)w(C);if(w(r),R)if(Array.isArray(R)){let[C,v=[]]=R,S=[];v.length&&S.push(`(?:${v.join("|")})(?![a-zA-Z0-9-])`),Object.keys(m.resolvedVariables).length&&S.push(`(?:${Object.keys(m.resolvedVariables).join("|")})(?![a-zA-Z0-9-])`),m.colored&&S.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${l.join("|")})(?![a-zA-Z0-9-])`),m.numeric&&S.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),S.length&&(m.resolvedMatch=new RegExp(`^${C}:(?:${S.join("|")})[^|]*?(?:@|$)`))}else m.resolvedMatch=R})}}match(t){for(let i of this.ruleOptions)if(i.resolvedMatch&&i.resolvedMatch.test(t)||(i.layer===-2||i.layer===-6||i.layer===-3||i.layer===-7)&&t.startsWith(i.id+":"))return i;for(let i of this.semanticRuleOptions)if(i.resolvedMatch.test(t))return i}create(t){let i=n=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,n))return this.ruleBy[n];let f=this.match(n);if(f)return new te(n,f,this)};return(Object.prototype.hasOwnProperty.call(this.styles,t)?this.styles[t].map(n=>i(n)):[i(t)]).filter(n=>n&&n.text)}refresh(t=this.customConfig){if(t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(H,t),this.resolve(),!this.style)return;let i=document.createElement("style");i.id="master",this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let n in this.classesUsage)this.insert(n)}reset(){this.ruleBy={},this.classesUsage={},this.rules.length=0,this.hasKeyframesRule=!1,this.variablesNativeRules=void 0;for(let i in this.animations){let n=this.animations[i];n.usage=void 0,n.native=void 0}for(let i in this.variables){let n=this.variables[i];n.usage=void 0}let t=this.style?.sheet;if(t?.cssRules)for(let i=t.cssRules.length-1;i>=0;i--)t.deleteRule(i);this.style?.remove(),this.style=null}destroy(){this.reset(),globalThis.masterCSSs.splice(globalThis.masterCSSs.indexOf(this),1)}delete(t){let i=this.style?.sheet,n=f=>{let a=this.ruleBy[f];if(!(!a||Object.prototype.hasOwnProperty.call(this.stylesBy,f)&&this.stylesBy[f].some(s=>Object.prototype.hasOwnProperty.call(this.classesUsage,s)))){if(i&&a.natives.length){let s=a.natives[0];for(let u=0;u<i.cssRules.length;u++)if(i.cssRules[u]===s.cssRule){for(let p=0;p<a.natives.length;p++)i.deleteRule(u);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[f],a.variableNames)for(let s of a.variableNames){let u=this.variables[s];if(!--u.usage){let y=p=>{let d=this.variablesNativeRules[p];if(d.cssRule.style.removeProperty("--"+s),!d.cssRule.style.length){let b=this.rules[0],g=b.natives.indexOf(d);i?.deleteRule(g),b.natives.splice(g,1),delete this.variablesNativeRules[p],b.natives.length||(this.rules.splice(0,1),this.variablesNativeRules=void 0)}};if(u.value&&y(""),u.themes)for(let p in u.themes)y(p)}}if(a.animationNames){let s=this.variablesNativeRules?1:0,u=this.rules[s];for(let y of a.animationNames){let p=this.animations[y];if(!--p.usage){let d=u.natives.indexOf(p.native);this.style.sheet.deleteRule((this.variablesNativeRules?Object.keys(this.variablesNativeRules).length:0)+d),u.natives.splice(d,1),p.native=void 0}}u.natives.length||(this.rules.splice(s,1),this.hasKeyframesRule=!1)}a.definition.delete?.call(a,f)}};if(Object.prototype.hasOwnProperty.call(this.styles,t)){for(let f of this.styles[t])Object.prototype.hasOwnProperty.call(this.classesUsage,f)||n(f);delete this.ruleBy[t]}else n(t)}insert(t){let i=this.create(t);return i.length?(this.render(i),!0):!1}render(t){for(let i of t){if(this.ruleBy[i.className])continue;let n,f=this.rules.length-1,{media:a,order:s,priority:u,hasWhere:y,className:p}=i,d=(c,o,h)=>{let l=c;for(;l<=f;l++){let r=this.rules[l];if(o?.(r))return h?-1:l-1;if(h?.(r))return l}return h?-1:l-1},b,g;if(a){let c=this.rules.findIndex(o=>o.media);if(c===-1)n=f+1;else{let{"max-width":o,"min-width":h}=a.features;if(o||h){let l=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(l===-1)n=f+1;else if(o&&h){if(u===-1?(b=d(l,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),g=d(l,r=>r.priority!==-1)):(b=d(l,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),g=f),b!==-1){let r=o.value-h.value,m=g,N=b;for(b=void 0;m>=N;m--){let{"max-width":R,"min-width":w}=this.rules[m].media.features,C=R.value-w.value;if(C<r)g=m-1;else if(C===r)b=m;else break}}if(b!==-1){let r=o.value-h.value;for(let m=g;m>=b;m--){let{"max-width":N,"min-width":R}=this.rules[m].media.features,w=N.value-R.value;if(w<r)g=m-1;else if(w>r){b=m+1;break}}}}else if(h){if(u===-1?(b=d(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),g=d(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(b=d(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),g=d(l,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),b!==-1)for(let r=g;r>=b;r--){let m=this.rules[r].media.features["min-width"].value;if(m>h.value)g=r-1;else if(m<h.value){b=r+1;break}}}else if(u===-1?(b=d(l,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),g=d(l,r=>r.media.features["min-width"]||r.priority!==-1)):(b=d(l,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),g=d(l,r=>r.media.features["min-width"]&&r.priority!==-1)),b!==-1)for(let r=g;r>=b;r--){let m=this.rules[r].media.features["max-width"].value;if(m<o.value)g=r-1;else if(m>o.value){b=r+1;break}}}else u===-1?(b=c,g=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"]||l.priority!==-1)):(b=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"],l=>l.priority!==-1),g=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"]))}}else{let c=this.variablesNativeRules?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;u===-1?(b=c,g=d(c,o=>o.media||o.priority!==-1)):(b=d(c,o=>o.media,o=>o.priority!==-1),g=d(c,o=>o.media))}if(n===void 0)if(b===-1)n=g+1;else{if(u===-1)for(let c=b;c<=g;c++){let o=this.rules[c];if(!(!y&&o.hasWhere)&&(y&&!o.hasWhere||o.order>=s)){n=c;break}}else for(let c=b;c<=g;c++){let o=this.rules[c];if(!(!y&&o.hasWhere)){if(y&&!o.hasWhere){n=c;break}if(o.priority<u){n=c;break}else if(o.priority===u){if(o.order>=s){n=c;break}}else n=c+1}}n===void 0&&(n=g+1)}if(this.rules.splice(n,0,i),this.ruleBy[p]=i,this.style){let c=this.style.sheet,o=0,h=l=>{let r=this.rules[l];if(r){if(!r.natives.length)return h(l-1);let m=r.natives[r.natives.length-1],N=m.cssRule.parentRule??m.cssRule;for(let R=0;R<c.cssRules.length;R++)if(c.cssRules[R]===N){o=R+1;break}}};h(n-1);for(let l=0;l<i.natives.length;)try{let r=i.natives[l];c.insertRule(r.text,o),r.cssRule=c.cssRules[o++],l++}catch(r){console.error(r),i.natives.splice(l,1)}}this.handleRuleWithVariableNames(i),this.handleRuleWithAnimationNames(i),i.definition.insert?.call(i)}}get text(){return this.rules.map(t=>t.text).join("")}getExtendedConfig(...t){let i=a=>{let s=X({},a),u=y=>{for(let p in y){let d=y[p];typeof d=="object"&&!Array.isArray(d)?u(d):p&&!p.startsWith("@")&&(y[p]={"":d})}};return s.styles?u(s.styles):s.styles={},s.mediaQueries?u(s.mediaQueries):s.mediaQueries={},s.variables?u(s.variables):s.variables={},s},n=[];for(let a of t)(function s(u){if(u.extends?.length)for(let y of u.extends)s("config"in y?y.config:y);n.push(i(u))})(a);let f=n[0];for(let a=1;a<n.length;a++){let s=n[a];f=X(f,s),Object.prototype.hasOwnProperty.call(s,"animations")&&Object.assign(f.animations,s.animations)}return f}handleRuleWithAnimationNames(t,i=!1){if(t.animationNames){let n=this.style?.sheet;for(let f of t.animationNames){let a=this.animations[f];if(a.usage)a.usage++;else{let s={text:`@keyframes ${f}{`+Object.entries(a).filter(([p])=>p!=="usage"&&p!=="native").map(([p,d])=>`${p}{${Object.entries(d).map(([b,g])=>b+":"+g).join(";")}}`).join("")+"}"},u=this.variablesNativeRules?1:0,y;if(this.hasKeyframesRule?(y=this.rules[u]).natives.push(s):(this.rules.splice(u,0,y={natives:[s],get text(){return this.natives.map(p=>p.text).join("")}}),this.hasKeyframesRule=!0),n){let p;if(i)for(let d=0;d<n.cssRules.length;d++){let b=n.cssRules[d];if(b.constructor.name==="CSSKeyframesRule"&&b.name===f){p=b;break}}if(p)s.cssRule=p;else{let d=(this.variablesNativeRules?Object.keys(this.variablesNativeRules).length:0)+y.natives.length-1;n.insertRule(s.text,d),s.cssRule=n.cssRules[d]}}a.usage=1,a.native=s}}}}handleRuleWithVariableNames(t,i=!1){if(t.variableNames){let n=this.style?.sheet;for(let f of t.variableNames){let a=this.variables[f];if(a.usage)a.usage++;else{let s=(u,y)=>{let p=this.variablesNativeRules?.[u];if(!p){let b,g,c;if(u)switch(this.config.themeDriver){case"media":g=`@media(prefers-color-scheme:${u})`,c=":root";break;case"host":c=`:host(.${u})`;break;default:c=`.${u}`;break}else c=":root";if(n){let o=this.variablesNativeRules?this.rules[0].natives.length:0;n.insertRule((g?g+"{":"")+c+"{}"+(g?g+"}":""),o),b=g?n.cssRules[o].cssRules[0]:n.cssRules[o]}else{let o=new Map,h=Object.defineProperties({},{getPropertyValue:{value:l=>o.get(l)},removeProperty:{value:l=>{o.delete(l);for(let r=0;r<h.length;r++)h[r]===l&&delete h[r]}},setProperty:{value:(l,r)=>{h[h.length]=l,o.set(l,r)}},length:{get(){return Object.keys(h).length}}});b={selectorText:c,style:h,styleMap:o},g&&(b.parentRule={conditionText:g})}p=this.pushVariableNativeRule(u,b)}let d="--"+f;(!i||!p.cssRule.style.getPropertyValue(d))&&p.cssRule.style.setProperty(d,y.value.toString())};if(a.value&&s("",a),a.themes)for(let u in a.themes)s(u,a.themes[u]);a.usage=1}}}}pushVariableNativeRule(t,i){this.variablesNativeRules||(this.variablesNativeRules={},this.rules.splice(0,0,{natives:[],get text(){return this.natives.map(s=>s.text).join("")}}));let n="",f="}";i.parentRule&&(n+=i.parentRule.conditionText.replace(/ /g,"")+"{",f+="}"),n+=i.selectorText+"{";let a={cssRule:i,get text(){let s=[];for(let u=0;u<i.style.length;u++){let y=i.style[u];s.push(y+":"+i.style.getPropertyValue(y))}return n+s.join(";")+f}};return this.rules[0].natives.push(this.variablesNativeRules[t]=a),a}};globalThis.MasterCSS=J,globalThis.masterCSSs||(globalThis.masterCSSs=[]);var ye=[",",".","#","[","!","*",">","+","~",":","@"];var ee=class extends J{constructor(i=document,n=H){super(n);this.root=i;this.customConfig=n;i||(this.root=document),this.root===document?(globalThis.runtimeCSS=this,this.container=document.head,this.host=document.documentElement):(this.container=this.root,this.host=this.root.host,this.styleSheets=this.root.styleSheets),this.styleSheets=this.root.styleSheets,globalThis.runtimeCSSs.push(this)}host;observing=!1;container;styleSheets;static refresh=i=>{for(let n of globalThis.runtimeCSSs)n.refresh(i)};observer;observe(i={subtree:!0,childList:!0}){if(this.observing)return;if(globalThis.runtimeCSSs.find(f=>f!==this&&f.root===this.root)){console.warn("Cannot observe the same root element repeatedly.");return}for(let f of this.styleSheets){let{ownerNode:a}=f;if(a&&a.id==="master"){this.style=a;break}}if(this.style){let f=0;for(;f<this.style.sheet.cssRules.length;f++){let a=this.style.sheet.cssRules[f];switch(a.constructor.name){case"CSSKeyframesRule":continue;case"CSSMeidaRule":if(this.config.themeDriver==="media"){let u=/\(prefers-color-scheme: (.*?)\)/.exec(a.conditionText);if(u){let y=a.cssRules[0];if(y?.constructor.name==="CSSStyleRule"&&y.selectorText===":root"){this.pushVariableNativeRule(u[1],y);continue}}}break;case"CSSStyleRule":let s=a.selectorText;if(a.style.length){let u=!0;for(let y=0;y<a.style.length;y++)if(!a.style[y]?.startsWith("--")){u=!1;break}if(u){if(s===":root"){this.pushVariableNativeRule("",a);continue}else if(this.config.themeDriver==="host"){let y=/:host(.*?)/.exec(s);if(y){this.pushVariableNativeRule(y[1],a);continue}}else if(!s.startsWith(".\\$")){this.pushVariableNativeRule(s.slice(1),a);continue}}}break}break}for(;f<this.style.sheet.cssRules.length;f++){let a=u=>{if(u.selectorText){let p=u.selectorText.split(", ")[0].split(" ");for(let d=0;d<p.length;d++){let b=p[d];if(b[0]==="."){let g=b.slice(1),c="";for(let o=0;o<g.length;o++){let h=g[o],l=g[o+1];if(h==="\\"){if(o++,l!=="\\"){c+=l;continue}}else if(ye.includes(h))break;c+=h}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,c)&&!Object.prototype.hasOwnProperty.call(this.styles,c)){let o=this.create(c)[0];if(o)return o}}}}else if(u.cssRules)for(let y=0;y<u.cssRules.length;y++){let p=a(u.cssRules[y]);if(p)return p}},s=a(this.style.sheet.cssRules[f]);if(s){this.rules.push(s),this.ruleBy[s.className]=s;for(let u=0;u<s.natives.length;u++)s.natives[u].cssRule=this.style.sheet.cssRules[f+u];f+=s.natives.length-1,this.handleRuleWithVariableNames(s,!0),this.handleRuleWithAnimationNames(s,!0),s.definition.insert?.call(s)}}}else this.style=document.createElement("style"),this.style.id="master",this.container.append(this.style);let n=f=>{f.forEach(a=>{Object.prototype.hasOwnProperty.call(this.classesUsage,a)?this.classesUsage[a]++:(this.classesUsage[a]=1,this.insert(a))})};return n(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(f=>n(f.classList)),this.observer=new MutationObserver(f=>{let a={},s=[],u=[],y=[],p=(c,o)=>{o?c.classList.forEach(b):c.classList.forEach(d);let h=c.children;for(let l=0;l<h.length;l++){let r=h[l];r.classList&&(u.push(r),p(r,o))}},d=c=>{Object.prototype.hasOwnProperty.call(a,c)?a[c]++:a[c]=1},b=c=>{Object.prototype.hasOwnProperty.call(a,c)?a[c]--:Object.prototype.hasOwnProperty.call(this.classesUsage,c)&&(a[c]=-1)},g=(c,o)=>{for(let h=0;h<c.length;h++){let l=c[h];l.classList&&!u.includes(l)&&!y.includes(l)&&(l.isConnected!==o?(u.push(l),p(l,o)):y.push(l))}};for(let c=0;c<f.length;c++){let o=f[c],{addedNodes:h,removedNodes:l,type:r,target:m}=o;if(r==="attributes"){if(s.find(N=>N.target===m))continue;s.push(o)}else g(h,!1),(!m.isConnected||!u.includes(m))&&g(l,!0)}if(!(!s.length&&!Object.keys(a).length)){for(let{oldValue:c,target:o}of s){let h=u.includes(o),l=o.classList,r=c?c.split(" "):[];if(h){if(o.isConnected)continue;for(let m of r)l.contains(m)||b(m)}else if(o.isConnected){l.forEach(m=>{r.includes(m)||d(m)});for(let m of r)l.contains(m)||b(m)}}for(let c in a){let o=a[c],h=(this.classesUsage[c]||0)+o;h===0?(delete this.classesUsage[c],this.delete(c)):(Object.prototype.hasOwnProperty.call(this.classesUsage,c)||this.insert(c),this.classesUsage[c]=h)}}}),this.observer.observe(this.root,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0,this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.reset()}destroy(){this.disconnect(),globalThis.runtimeCSSs.splice(globalThis.runtimeCSSs.indexOf(this),1)}};globalThis.RuntimeCSS=ee,globalThis.runtimeCSSs||(globalThis.runtimeCSSs=[]);function re(e){return new ee(document,e).observe()}re(window.masterCSSConfig);})();
1
+ (()=>{function se(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function oe(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function le(e){let t=[];return e.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?t[n]=le(r):se(r)?t[n]=oe(r):t[n]=X({},r):t[n]=r}),t}function ne(e,t){return t==="__proto__"?void 0:e[t]}function X(...e){let t={},r,n;return e.forEach(function(f){typeof f!="object"||f===null||Array.isArray(f)||Object.keys(f).forEach(function(a){if(n=ne(t,a),r=ne(f,a),r!==t)if(typeof r!="object"||r===null){t[a]=r;return}else if(Array.isArray(r)){t[a]=le(r);return}else if(se(r)){t[a]=oe(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){t[a]=X({},r);return}else{t[a]=X(n,r);return}})}),t}var F={"(":")","'":"'",'"':'"',"{":"}"};function G(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),r=t.length,n=-1,f="",a,s=t.charCodeAt(0);if(r==1&&s==45)return"\\"+t;for(;++n<r;){if(a=t.charCodeAt(n),a==0){f+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&s==45){f+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){f+=t.charAt(n);continue}f+="\\"+t.charAt(n)}return f}var ve=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,te=class{constructor(t,r={},n){this.className=t;this.definition=r;this.css=n;let{layer:f,unit:a,colored:s,analyze:u,transformValue:y,declare:p,transformValueComponents:d,create:b,order:g,id:c}=r;this.order=g,this.layer=f,r.unit||(r.unit=""),r.separators||(r.separators=[","]);let{scope:o,important:h,themeDriver:l}=n.config,{selectors:i,mediaQueries:m,stylesBy:N,animations:R}=n,w=N[t];b&&b.call(this,t),this.declarations=r.declarations;let C,v;if(this.colored=s,f===-8)C=t.slice(c.length-1);else{let k;if(u)[k,v]=u.call(this,t);else{let D=t.indexOf(":");this.prefix=t.slice(0,D+1),k=t.slice(D+1)}this.valueComponents=[],C=k.slice(this.parseValue(this.valueComponents,0,k,a))}C[0]==="!"&&(this.important=!0,C=C.slice(1)),this.stateToken=C;let S=(k,D)=>{let z=(x,j,V,M)=>{for(let[B,I]of j)if(B.test(x)){for(let L of I)z(x.replace(B,L),j,V,!0);return}M&&V.push(x)},P=x=>{let j=x.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((I,L)=>L%3?I:I.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),V=[],M="",B=0;for(let I=0;I<j.length;I++){let L=j[I];if(L==="\\"){M+=L+j[++I];continue}!B&&L===","?(V.push(M),M=""):(M+=L,B&&L===")"?B--:L==="("&&B++)}return M&&V.push(M),V},$=[];""in i?z(k,i[""],$,!0):$.push(k);let A={};for(let[x,j]of Object.entries(i)){if(!x)continue;let V=[];for(let M of $)z(M,j,V,!1);V.length&&(A[x]=V)}let U=(x,j)=>{let V=j.reduce((M,B)=>(M.push(...P(B)),M),[]);x in D?D[x].push(...V):D[x]=V},_=Object.keys(A);if(_.length)for(let x of _)U(x,A[x]);else U("",$)};v?(this.vendorPrefixSelectors={},S(v,this.vendorPrefixSelectors)):this.vendorPrefixSelectors={"":[""]};let O=C.split("@"),T=O[0];if(T){this.vendorSuffixSelectors={},S(T,this.vendorSuffixSelectors);for(let k of Object.values(this.vendorSuffixSelectors))for(let D of k){this.hasWhere!==!1&&(this.hasWhere=D.includes(":where("));let z=[":disabled",":active",":focus",":hover"];for(let P=0;P<z.length;P++)if(D.includes(z[P])){(this.priority===-1||this.priority>P)&&(this.priority=P);break}}}else this.vendorSuffixSelectors={"":[""]};let W={},be=Object.prototype.hasOwnProperty.call(this.vendorPrefixSelectors,""),ae=Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,"");if(be)W[""]=ae?[""]:Object.keys(this.vendorSuffixSelectors);else if(ae)for(let k in this.vendorPrefixSelectors)W[k]=[""];else for(let k in this.vendorPrefixSelectors){let D=W[k]=[];if(Object.prototype.hasOwnProperty.call(this.vendorSuffixSelectors,k))D.push(k);else for(let z in this.vendorSuffixSelectors)D.push(z)}for(let k=1;k<O.length;k++){let D=O[k];if(D)if(D==="rtl"||D==="ltr")this.direction=D;else{let z,P,$=ve.exec(D);if($)z=$[1],P=D.slice(z.length);else{this.media={token:D,features:{}};let A=[],U=x=>{if(x==="all"||x==="print"||x==="screen"||x==="speech")this.media.type=x;else if(x==="\u{1F5A8}")this.media.type="print";else if(x==="landscape"||x==="portrait")A.push("(orientation:"+x+")");else if(x==="motion"||x==="reduced-motion")A.push("(prefers-reduced-motion:"+(x==="motion"?"no-preference":"reduce")+")");else{let j=m[x];if(j&&typeof j=="string")A.push(j);else{let V="",M="",B=0;x.startsWith("<=")?(M="<=",V="max-width"):x.startsWith(">=")||j?(M=">=",V="min-width"):x.startsWith(">")?(M=">",V="min-width",B=.02):x.startsWith("<")&&(M="<",V="max-width",B=-.02);let I=M?x.replace(M,""):x,L=m[I];switch(V){case"max-width":case"min-width":let Q={};typeof L=="number"?Q={type:"number",value:L+B,unit:"px"}:(Q=this.parseValueComponent(I,"px"),Q.type==="number"&&Q.unit==="px"&&(Q.value+=B)),this.media.features[V]=Q,Q.type==="number"?A.push("("+V+":"+(Q.value+Q.unit)+")"):A.push("("+V+":"+Q.value+")");break}}}},_=D.includes("&");if(_){let x=D.split("&");for(let j of x)U(j)}else U(D);if(this.media.type&&(P=this.media.type),A.length&&(P=A.join(" and ")),P)z="media";else if(!_){this.theme=D;continue}}P&&(this.at[z]=(z in this.at?this.at[z]+" and ":"")+P.replace(/\|/g," "))}}let Z;if(this.valueComponents)if(d&&(this.valueComponents=d.call(this,this.valueComponents)),Z=this.resolveValue(this.valueComponents,a,[]),y&&(Z=y.call(this,Z,this.css.config)),p){let k,D;this.declarations=p.call(this,D?k:Z,D||"")}else c&&(this.declarations={[c]:Z});let ie=[];for(let k in this.declarations){let D=$=>{if(R&&($.startsWith("animation")||$.startsWith("animation-name"))){let A=$.split(":")[1].split("!important")[0].split(" ").filter(U=>U in this.css.animations&&(!this.animationNames||!this.animationNames.includes(U)));A.length&&(this.animationNames||(this.animationNames=[]),this.animationNames.push(...A))}ie.push($+((this.important||h)&&!$.endsWith("!important")?"!important":""))},z=k+":",P=this.declarations[k];if(typeof P=="object")for(let $ of P)D(z+$.toString());else D(z+P.toString())}if(ie.length)for(let k in W)for(let D of W[k]){let z="";this.direction&&(z+="[dir="+this.direction+"] ");let P=this.vendorPrefixSelectors[k],$=this.vendorSuffixSelectors[D],A=P.map(x=>x+z),U=x=>A.map(j=>(this.theme&&l!=="media"?l==="host"?`:host(.${this.theme}) `:`.${this.theme} `:"")+(o?o+" ":"")+j).reduce((j,V)=>(j.push($.reduce((M,B)=>(M.push(V+"."+G(x)+B),M),[]).join(",")),j),[]).join(","),_=U(t)+(w?w.reduce((x,j)=>x+","+U(j),""):"")+"{"+ie.join(";")+"}";for(let x of Object.keys(this.at).sort((j,V)=>V==="supports"?-1:1))_="@"+x+(x.includes(" ")?"":" ")+this.at[x]+"{"+_+"}";this.theme&&l==="media"&&(_=`@media(prefers-color-scheme:${this.theme}){`+_+"}"),this.natives.push({text:_})}}at={};priority=-1;natives=[];order=0;layer=0;stateToken;declarations;colored=!1;animationNames;variableNames;resolveValue=(t,r,n)=>{let{functions:f}=this.css.config,a="";for(let s of t)switch(s.type){case"function":let u=f&&f[s.name];if(u?.transform){let p=u.transform.call(this,this.resolveValue(s.children,u.unit??r,n),n);a+=typeof p=="string"?p:this.resolveValue(p,u?.unit??r,n)}else a+=s.name+s.symbol+this.resolveValue(s.children,u?.unit??r,n)+F[s.symbol];break;case"variable":let y=this.css.variables[s.name];if(y){let p=(d,b)=>{if(y.themes)if(this.theme){let g=y.themes[this.theme]??y;g?.value&&d(g)}else this.variableNames||(this.variableNames=[]),this.variableNames.includes(s.name)||this.variableNames.push(s.name),b();else d(y)};switch(y.type){case"string":p(b=>{let g=[];this.parseValue(g,0,b.value,r,void 0,void 0,[...n,s.name]),a+=this.resolveValue(g,r,[...n,s.name])},()=>{a+=`var(--${s.name})`});break;case"number":p(b=>{let g=this.parseValueComponent(b.value,r);a+=g.value+(g.unit??"")},()=>{a+=r?`calc(var(--${s.name}) / 16 * 1rem)`:`var(--${s.name})`});break;case"color":let d=s.alpha?"/"+s.alpha:"";p(b=>{a+=`${b.space}(${b.value}${d})`},()=>{a+=`${y.space}(var(--${s.name})${d})`});break}}else a+=`var(--${s.name}${s.fallback?","+s.fallback:""})`;break;case"separator":a+=s.text||s.value;break;case"number":a+=s.value+s.unit;break;default:a+=s.value;break}return a};get text(){return this.natives.map(t=>t.text).join("")}parseValue=(t,r,n,f,a,s=void 0,u=[])=>{let y=s===void 0,p=!y&&(s.endsWith("$")||s.endsWith("var")),b=(h=>h==="'"||h==='"')(a),g=[","];this.definition.separators.length&&g.push(...this.definition.separators);let c="",o=()=>{if(c){let h=!1;if(!p||t.length){let l=(i,m)=>{let N=Object.prototype.hasOwnProperty.call(this.definition.resolvedVariables,i)?this.definition.resolvedVariables[i]:Object.prototype.hasOwnProperty.call(this.css.variables,i)?this.css.variables[i]:void 0;if(N){let R=N.name??i;if(!u.includes(R)){h=!0;let w={type:"variable",name:R,variable:this.css.variables[R]};m&&(w.alpha=m),t.push(w)}}};if(l(c),!h&&this.colored){let[i,m]=c.split("/");l(i,m)}}h||t.push(this.parseValueComponent(c,f)),c=""}};for(;r<n.length;r++){let h=n[r];if(h===a){if(b){let l=0;for(let i=c.length-1;c[i]==="\\";i--)l++;if(l%2){c+=h;continue}else o()}else o();return r}else if(!b&&h in F){let l=c,i={type:"function",name:l,symbol:h,children:[]};t.push(i),c="";let m=h==="("&&this.css.config.functions?.[l];!this.colored&&m?.colored&&(this.colored=!0),r=this.parseValue(i.children,++r,n,m?.unit??f,F[h],l||s||"")}else if((h==="|"||h===" ")&&a!=="}"&&(!b||s==="path"))o(),t.push({type:"separator",value:" "});else{if(!b){if(h===".")if(isNaN(+n[r+1])){if(y)break}else n[r-1]==="-"&&(c+="0");else if(g.includes(h)){o(),t.push({type:"separator",value:h,text:(h===","?"":" ")+h+(h===","?"":" ")});continue}else if(y&&(h==="#"&&(c||t.length&&t[t.length-1].type!=="separator")||["!","*",">","+","~",":","[","@","_"].includes(h)))break}c+=h}}return o(),r};parseValueComponent(t,r=this.definition.unit){let n=r??this.definition.unit,f="",a;if(typeof t=="number")return n&&!f?((n==="rem"||n==="em")&&(a=t/this.css.config.rootSize),f=n||""):a=t,{value:a,unit:f,type:"number"};if(n){if(/^\d+\/\d+/.test(t)){let[u,y]=t.split("/");return{value:+u/+y*100,unit:"%",type:"number"}}let s=t.match(/^([+-.]?\d+(\.?\d+)?)(%|cm|mm|q|in|pt|pc|px|em|rem|ex|rex|cap|rcap|ch|rch|ic|ric|lh|rlh|vw|svw|lvw|dvw|vh|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax|cqw|cqh|cqi|cqb|cqmin|cqmax|deg|grad|rad|turn|s|ms|hz|khz|dpi|dpcm|dppx|x|fr|db|st)?$/);if(s)return a=+s[1],f=s[3]||"",f||((n==="rem"||n==="em")&&(a=a/this.css.config.rootSize),f=n||""),{value:a,unit:f,type:"number"}}return{value:t,type:"string"}}};var Re={"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},ce=Re;var Ce={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child(",":only":":only-child"},fe=Ce;var xe={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"},fit:{width:"fit-content",height:"fit-content"}},ue=xe;var Se={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}},de=Se;function K(e){e.startsWith("#")&&(e=e.slice(1));let t,r,n,f;return e.length===3||e.length===4?(t=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),f=e.length===4?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1):(e.length===6||e.length===8)&&(t=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16),f=e.length===8?Math.round(parseInt(e.slice(6,8),16)/255*100)/100:1),[t,r,n,f]}function he(e,t,r){return((1<<24)+(e<<16)+(t<<8)+r).toString(16).slice(1)}function E(e){typeof e=="string"&&(e={"":e});let t=""in e,r=!1;for(let n in e)if(n&&+n>=100){r=!0;break}if(!r&&(!t||Object.keys(e).length>1)){let n=0,f="0"in e?K(e[0]):[0,0,0],a,s,u=[],y=()=>{let p=a-n,d=s.map((b,g)=>(b-f[g])/p);for(let b of u){let g=b-n,c=f.map((o,h)=>Math.round(o+d[h]*g));e[b]="#"+he.call(this,...c)}};for(let p=1;p<100;p++)p in e?(u.length?(a=p,s=K(e[p]),y(),u.length=0,f=s):f=K(e[p]),n=p):u.push(p);u.length&&(a=100,s="100"in e?K(e[100]):[255,255,255],y())}return t||(e[""]=e[r?"500":"50"]),e}var De={font:{family:{mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],serif:["ui-serif","Georgia","Cambria","Times New Roman","Times","serif"]},weight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},sizing:{"4xs":360,"3xs":480,"2xs":600,xs:768,sm:834,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560,full:"100%",fit:"fit-content",max:"max-content",min:"min-content"},flex:{direction:{col:"column","col-reverse":"column-reverse"}},box:{sizing:{content:"content-box",border:"border-box"}},position:{abs:"absolute",rel:"relative"},transform:{box:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},animation:{direction:{alt:"alternate","alt-reverse":"alternate-reverse"}},background:{clip:{content:"content-box",border:"border-box",padding:"padding-box"},origin:{content:"content-box",border:"border-box",padding:"padding-box"}},order:{first:-999999,last:999999},shape:{outside:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},clip:{path:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box",black:"#000000"}},black:"#000000",white:"#ffffff",current:"currentColor",slate:E({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:E({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:E({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:E({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:E({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:E({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:E({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:E({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:E({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:E({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:E({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:E({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:E({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:E({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:E({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:E({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:E({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:E({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:E({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:E({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})},me=De;var Y=["none","auto","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"],q=function(e){return e.length<2||e.find(r=>r.type==="string"&&Y.includes(r.value)||r.type==="variable"&&Y.includes(r.variable.value))||e.push({type:"separator",value:" "},{type:"string",value:"solid"}),e},Ne={group:{match:/^(?:.+?[*_>~+])?\{.+?\}/,layer:-1,analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},r=y=>{let p=y.indexOf(":");p!==-1&&(t[y.slice(0,p)]=y.slice(p+1))},n=y=>{let p=d=>{let b=d.slice(G(y.className).length).match(/\{(.*)\}/)[1].split(";");for(let g of b)r(g)};for(let d of y.natives)p(d.text);if(y.animationNames){this.animationNames||(this.animationNames=[]);for(let d of y.animationNames)this.animationNames.includes(d)||this.animationNames.push(d)}if(y.variableNames){this.variableNames||(this.variableNames=[]);for(let d of y.variableNames)this.variableNames.includes(d)||this.variableNames.push(d)}},f=[],a="",s=()=>{a&&(f.push(a.replace(/ /g,"|")),a="")},u=1;(function y(p){for(;u<e.length;u++){let d=e[u];if(!p){if(d===";"){s();continue}if(d==="}")break}if(a+=d,p===d){if(p==="'"||p==='"'){let b=0;for(let g=a.length-2;a[g]==="\\";g--)b++;if(b%2)continue}break}else d in F&&p!=="'"&&p!=='"'&&(u++,y(F[d]))}})(void 0),s();for(let y of f){let p=this.css.create(y);if(p.length)for(let d of p)n(d);else r(y)}return t}},variable:{match:/^\$[\w-]+:/,colored:!0,layer:-1,declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},"font-size":{match:["f(?:ont)?"],numeric:!0,unit:"rem",layer:-3},"font-weight":{match:["f(?:ont)?",["bolder"]],layer:-3},"font-family":{match:["f(?:ont)?"],layer:-3},"font-smoothing":{match:["f(?:ont)?",["antialiased","subpixel-antialiased"]],layer:-3,declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},"font-style":{match:["f(?:ont)?",["normal","italic","oblique"]],layer:-3,unit:"deg"},"font-variant-numeric":{match:["f(?:ont)?",["ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]],layer:-3},"font-variant":{layer:-7},"font-feature-settings":{match:/^font-feature:/,layer:-3},font:{match:/^f:/,layer:-7,variables:["font-family","font-variant","font-weight","font-size","font-style","line-height"]},color:{match:/^(?:color|fg|foreground):/,layer:-3,colored:!0},"margin-left":{match:/^ml:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-right":{match:/^mr:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-top":{match:/^mt:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-bottom":{match:/^mb:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-x":{match:/^(?:mx|margin-x):/,unit:"rem",layer:-5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}},variables:["spacing"]},"margin-y":{match:/^(?:my|margin-y):/,unit:"rem",layer:-5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}},variables:["spacing"]},margin:{match:/^m:/,unit:"rem",layer:-7,variables:["spacing"]},"margin-inline-start":{match:/^mis:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-inline-end":{match:/^mie:/,layer:-3,unit:"rem",variables:["spacing"]},"margin-inline":{match:/^mi:/,unit:"rem",layer:-7,variables:["spacing"]},"padding-left":{match:/^pl:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-right":{match:/^pr:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-top":{match:/^pt:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-bottom":{match:/^pb:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-x":{match:/^(?:px|padding-x):/,unit:"rem",layer:-5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}},variables:["spacing"]},"padding-y":{match:/^(?:py|padding-y):/,unit:"rem",layer:-5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}},variables:["spacing"]},padding:{match:/^p:/,unit:"rem",layer:-7,variables:["spacing"]},"padding-inline-start":{match:/^pis:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-inline-end":{match:/^pie:/,layer:-3,unit:"rem",variables:["spacing"]},"padding-inline":{match:/^pi:/,unit:"rem",layer:-7,variables:["spacing"]},"flex-basis":{variables:["sizing"],unit:"rem",layer:-3},"flex-wrap":{match:["flex",["wrap","nowrap","wrap-reverse"]],layer:-3},"flex-grow":{layer:-3},"flex-shrink":{layer:-3},"flex-direction":{match:["flex",["row","row-reverse","column","column-reverse"]],layer:-3},flex:{layer:-7},display:{match:/^d:/,layer:-3},width:{match:/^w:/,unit:"rem",layer:-3,variables:["sizing"]},height:{match:/^h:/,unit:"rem",layer:-3,variables:["sizing"]},"min-width":{match:/^min-w:/,unit:"rem",layer:-3,variables:["sizing"]},"min-height":{match:/^min-h:/,unit:"rem",layer:-3,variables:["sizing"]},box:{match:/^(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\(.+\)|[0-9]+[a-z]*?)/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,r]=e.split(" x ");return{width:t,height:r}}},"min-box":{match:/^min:/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,r]=e.split(" x ");return{"min-width":t,"min-height":r}}},"max-box":{match:/^max:/,layer:-5,unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,r]=e.split(" x ");return{"max-width":t,"max-height":r}}},"box-sizing":{match:/^box:/,layer:-3},"box-decoration-break":{match:["sizing",["slice","clone"]],layer:-3,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},contain:{layer:-3},content:{layer:-3},"counter-increment":{layer:-3},"counter-reset":{layer:-3},"letter-spacing":{match:/^ls:/,layer:-3,unit:"em"},"line-height":{match:/^lh:/,layer:-3},"object-fit":{match:["(?:object|obj)",["contain","cover","fill","scale-down"]],layer:-3},"object-position":{match:["(?:object|obj)",["top","bottom","right","left","center"]],layer:-3},"text-align":{match:["t(?:ext)?",["justify","center","left","right","start","end"]],layer:-3},"text-decoration-color":{match:["text-decoration"],layer:-3,colored:!0},"text-decoration-style":{match:["t(?:ext)?",["solid","double","dotted","dashed","wavy"]],layer:-3},"text-decoration-thickness":{match:["text-decoration",["from-font"]],numeric:!0,layer:-3,unit:"em"},"text-decoration-line":{match:["t(?:ext)?",["none","underline","overline","line-through"]],layer:-3},"text-decoration":{match:["t(?:ext)?",["underline","overline","line-through"]],unit:"rem",colored:!0,layer:-7},"text-underline-offset":{unit:"rem",layer:-3,variables:["spacing"]},"text-overflow":{match:["t(?:ext)?",["ellipsis","clip"]],layer:-3},"text-orientation":{match:["t(?:ext)?",["mixed","upright","sideways-right","sideways","use-glyph-orientation"]],layer:-3},"text-transform":{match:["t(?:ext)?",["uppercase","lowercase","capitalize"]],layer:-3},"text-rendering":{match:["t(?:ext)?",["optimizeSpeed","optimizeLegibility","geometricPrecision"]],layer:-3},"text-indent":{unit:"rem",layer:-3},"vertical-align":{match:/^(?:v|vertical):/,layer:-3},columns:{match:/^(?:columns|cols):/,layer:-7},"white-space":{layer:-3},top:{layer:-3,unit:"rem",variables:["spacing"]},bottom:{layer:-3,unit:"rem",variables:["spacing"]},left:{layer:-3,unit:"rem",variables:["spacing"]},right:{layer:-3,unit:"rem",variables:["spacing"]},inset:{unit:"rem",layer:-7,variables:["spacing"]},lines:{match:/^lines:/,declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},"max-height":{match:/^max-h:/,unit:"rem",layer:-3,variables:["sizing"]},"max-width":{match:/^max-w:/,unit:"rem",layer:-3,variables:["sizing"]},opacity:{layer:-3},visibility:{layer:-3},clear:{layer:-3},float:{layer:-3},isolation:{layer:-3},"overflow-x":{layer:-3,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},"overflow-y":{layer:-3,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{layer:-7,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},"overscroll-behavior-x":{layer:-3},"overscroll-behavior-y":{layer:-3},"overscroll-behavior":{layer:-7},"z-index":{match:/^z:/,layer:-3},position:{layer:-3},cursor:{layer:-3},"pointer-events":{layer:-3},resize:{layer:-3},"touch-action":{layer:-3},"word-break":{layer:-3},"word-spacing":{layer:-3,unit:"em"},"user-drag":{layer:-3,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},"user-select":{layer:-3,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},"text-shadow":{unit:"rem",layer:-3,colored:!0},"text-size":{match:["t(?:ext)?"],numeric:!0,unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},"text-fill-color":{match:["(?:text-fill|text|t)"],layer:-3,colored:!0,declare(e,t){return{"-webkit-text-fill-color":e+t}}},"text-stroke-width":{match:["text-stroke",["thin","medium","thick"]],numeric:!0,unit:"rem",layer:-3,declare(e,t){return{"-webkit-text-stroke-width":e+t}}},"text-stroke-color":{match:["text-stroke"],layer:-3,colored:!0,declare(e,t){return{"-webkit-text-stroke-color":e+t}}},"text-stroke":{unit:"rem",layer:-3,declare(e,t){return{"-webkit-text-stroke":e+t}}},"box-shadow":{match:/^s(?:hadow)?:/,unit:"rem",layer:-3,colored:!0},"table-layout":{layer:-3},"transform-box":{match:["transform"],layer:-3},"transform-style":{match:["transform",["flat","preserve-3d"]],layer:-3},"transform-origin":{match:["transform",["top","bottom","right","left","center"]],numeric:!0,unit:"px",layer:-3},transform:{match:/^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\(/,layer:-3,analyze(e){return[e.startsWith("transform")?e.slice(10):e]},variables:["spacing"]},"transition-property":{match:/^~property:/,layer:-3},"transitionTiming-function":{match:/^~easing:/,layer:-3},"transition-duration":{match:/^~duration:/,layer:-3,unit:"ms"},"transition-delay":{match:/^~delay:/,layer:-3,unit:"ms"},transition:{match:/^~[^!*>+~:[@_]+\|/,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},layer:-7},"animation-delay":{match:/^@delay:/,layer:-3,unit:"ms"},"animation-direction":{match:/^@direction:/,layer:-3},"animation-duration":{match:/^@duration:/,layer:-3,unit:"ms"},"animation-fill-mode":{match:/^@fill:/,layer:-3},"animation-iteration-count":{match:/^@iteration:/,layer:-3},"animation-name":{match:/^@name:/,layer:-3},"animation-play-state":{match:/^@play:/,layer:-3},"animation-timing-function":{match:/^@easing:/,layer:-3},animation:{match:/^@[^!*>+~:[@_]+\|/,layer:-7,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},"border-collapse":{match:["b(?:order)?",["collapse","separate"]],layer:-3},"border-spacing":{unit:"rem",layer:-3},"border-top-color":{match:["b(?:t|order-top(?:-color)?)"],layer:-3,colored:!0},"border-bottom-color":{match:["b(?:b|order-bottom(?:-color)?)"],layer:-3,colored:!0},"border-left-color":{match:["b(?:l|order-left(?:-color)?)"],layer:-3,colored:!0},"border-right-color":{match:["b(?:r|order-right(?:-color)?)"],layer:-3,colored:!0},"border-x-color":{match:["b(?:x|order-x(?:-color)?)"],layer:-5,colored:!0,declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},"border-y-color":{match:["b(?:y|order-y(?:-color)?)"],layer:-5,colored:!0,declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},"border-color":{match:["b(?:order)?(?:-color)?"],layer:-7,colored:!0},"border-top-left-radius":{match:/^r(?:tl|lt):/,unit:"rem",layer:-3},"border-top-right-radius":{match:/^r(?:tr|rt):/,unit:"rem",layer:-3},"border-bottom-left-radius":{match:/^r(?:bl|lb):/,unit:"rem",layer:-3},"border-bottom-right-radius":{match:/^r(?:br|rb):/,unit:"rem",layer:-3},"border-top-radius":{match:/^rt:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},"border-bottom-radius":{match:/^rb:/,unit:"rem",layer:-5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},"border-left-radius":{match:/^rl:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},"border-right-radius":{match:/^rr:/,unit:"rem",layer:-5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},"border-radius":{match:/^r:/,unit:"rem",layer:-7},"border-top-style":{match:["b(?:t|order-top(?:-style)?)",Y],layer:-3},"border-bottom-style":{match:["b(?:b|order-bottom(?:-style)?)",Y],layer:-3},"border-left-style":{match:["b(?:l|order-left(?:-style)?)",Y],layer:-3},"border-right-style":{match:["b(?:r|order-right(?:-style)?)",Y],layer:-3},"border-x-style":{match:["b(?:x|order-x(?:-style)?)",Y],layer:-5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},"border-y-style":{match:["b(?:y|order-y(?:-style)?)",Y],layer:-5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},"border-style":{match:["b(?:order)?(?:-style)?",Y],layer:-7},"border-top-width":{match:["b(?:t|order-top(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-bottom-width":{match:["b(?:b|order-bottom(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-left-width":{match:["b(?:l|order-left(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-right-width":{match:["b(?:r|order-right(?:-width)?)"],numeric:!0,unit:"rem",layer:-3},"border-x-width":{match:["b(?:x|order-x(?:-width)?)"],numeric:!0,unit:"rem",layer:-5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},"border-y-width":{match:["b(?:y|order-y(?:-width)?)"],numeric:!0,unit:"rem",layer:-5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},"border-width":{match:["b(?:order)?(?:-width)?"],numeric:!0,unit:"rem",layer:-7},"border-image-outset":{unit:"rem",layer:-3},"border-image-repeat":{match:["border-image",["stretch","repeat","round","space"]],layer:-3},"border-image-slice":{layer:-3},"border-image-source":{match:["border-image",["url","linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]],layer:-3},"border-image-width":{match:["border-image",["auto"]],numeric:!0,unit:"rem",layer:-3},"border-image":{layer:-7},"border-top":{match:/^bt:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-bottom":{match:/^bb:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-left":{match:/^bl:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-right":{match:/^br:/,layer:-7,unit:"rem",colored:!0,transformValueComponents:q},"border-x":{match:/^(?:bx|border-x):/,unit:"rem",colored:!0,layer:-5,transformValueComponents:q,declare(e){return{"border-left":e,"border-right":e}}},"border-y":{match:/^(?:by|border-y):/,unit:"rem",colored:!0,layer:-5,transformValueComponents:q,declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:/^b:/,unit:"rem",colored:!0,layer:-7,transformValueComponents:q},"background-attachment":{match:["(?:bg|background)",["fixed","local","scroll"]],layer:-3},"background-blend-mode":{layer:-3},"background-color":{match:["(?:bg|background)"],layer:-3,colored:!0},"background-clip":{match:["(?:bg|background)",["text"]],layer:-3,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}}},"background-origin":{match:["(?:bg|background)"],layer:-3},"background-position":{match:["(?:bg|background)",["top","bottom","right","left","center"]],layer:-3,unit:"px"},"background-repeat":{match:["(?:bg|background)",["space","round","repeat","no-repeat","repeat-x","repeat-y"]],layer:-3},"background-size":{match:["(?:bg|background)",["auto","cover","contain"]],numeric:!0,unit:"rem",layer:-3},"background-image":{match:["(?:bg|background)",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-3},background:{match:/^bg:/,colored:!0,layer:-7},gradient:{match:/^gradient\(/,layer:-3,colored:!0,declare(e){return{"background-image":"linear-"+e}}},"mix-blend-mode":{match:/^blend:/,layer:-3},"backdrop-filter":{match:/^bd:/,layer:-3,colored:!0,declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:/^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,layer:-3,colored:!0},fill:{match:/^fill:/,layer:-3,colored:!0},"stroke-dasharray":{layer:-3},"stroke-dashoffset":{layer:-3,variables:["spacing"]},"stroke-width":{match:["stroke(?:-width)?"],numeric:!0,layer:-3},stroke:{match:["stroke"],layer:-3,colored:!0},x:{layer:-3,variables:["spacing"]},y:{layer:-3,variables:["spacing"]},cx:{layer:-3,variables:["spacing"]},cy:{layer:-3,variables:["spacing"]},rx:{layer:-3},ry:{layer:-3},"grid-column-start":{match:/^grid-col-start:/,layer:-3},"grid-column-end":{match:/^grid-col-end:/,layer:-3},"grid-column":{match:/^grid-col(?:umn)?(?:-span)?:/,layer:-7,transformValue(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},"grid-columns":{match:/^grid-cols:/,declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}},layer:-1},"grid-row-start":{layer:-3},"grid-row-end":{layer:-3},"grid-row":{match:/^grid-row-span:/,layer:-7,transformValue(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},"grid-rows":{match:/^grid-rows:/,declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}},layer:-1},"grid-auto-columns":{match:/^grid-auto-cols:/,layer:-3,variables:["sizing"]},"grid-auto-flow":{match:/^grid-flow:/,layer:-3},"grid-auto-rows":{layer:-3,variables:["sizing"]},"grid-template-areas":{layer:-3},"grid-template-columns":{match:/^grid-template-cols:/,layer:-3,unit:"rem",variables:["sizing"]},"grid-template-rows":{layer:-3,unit:"rem",variables:["sizing"]},"grid-template":{layer:-7},"grid-area":{layer:-7},grid:{layer:-7},"column-gap":{match:/^gap-x:/,unit:"rem",layer:-3,variables:["spacing"]},"row-gap":{match:/^gap-y:/,unit:"rem",layer:-3,variables:["spacing"]},gap:{unit:"rem",layer:-7,variables:["spacing"]},order:{match:/^o:/,layer:-3},"break-inside":{layer:-3},"break-before":{layer:-3},"break-after":{layer:-3},"aspect-ratio":{match:/^aspect:/,layer:-3},"column-span":{match:/^col-span:/,layer:-3},"align-content":{match:/^ac:/,layer:-3},"align-items":{match:/^ai:/,layer:-3},"align-self":{match:/^as:/,layer:-3},"justify-content":{match:/^jc:/,layer:-3},"justify-items":{match:/^ji:/,layer:-3},"justify-self":{match:/^js:/,layer:-3},"place-content":{layer:-7},"place-items":{layer:-7},"place-self":{layer:-7},"list-style-position":{match:["list-style",["inside","outside"]],layer:-3},"list-style-type":{match:["list-style",["disc","decimal"]],layer:-3},"list-style-image":{match:["list-style",["(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)"]],layer:-3},"list-style":{layer:-7},"outline-color":{match:["outline"],layer:-3,colored:!0},"outline-offset":{unit:"rem",layer:-3,variables:["spacing"]},"outline-style":{match:["outline",Y],layer:-3},"outline-width":{match:["outline",["medium","thick","thin"]],numeric:!0,unit:"rem",layer:-3},outline:{unit:"rem",layer:-7,colored:!0,variables:["outline-width","outline-style","outline-offset","outline-color"],transformValueComponents:q},"accent-color":{match:/^accent:/,layer:-3,colored:!0},appearance:{layer:-3},"caret-color":{match:/^caret:/,layer:-3,colored:!0},"scroll-behavior":{layer:-3},"scroll-margin-left":{match:/^scroll-ml:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-right":{match:/^scroll-mr:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-top":{match:/^scroll-mt:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-bottom":{match:/^scroll-mb:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-margin-x":{match:/^(?:scroll-margin-x|scroll-mx):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}},variables:["spacing"]},"scroll-margin-y":{match:/^(?:scroll-margin-y|scroll-my):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}},variables:["spacing"]},"scroll-margin":{match:/^scroll-m:/,unit:"rem",layer:-7,variables:["spacing"]},"scroll-padding-left":{match:/^scroll-pl:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-right":{match:/^scroll-pr:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-top":{match:/^scroll-pt:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-bottom":{match:/^scroll-pb:/,layer:-3,unit:"rem",variables:["spacing"]},"scroll-padding-x":{match:/^(?:scroll-padding-x|scroll-px):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}},variables:["spacing"]},"scroll-padding-y":{match:/^(?:scroll-padding-y|scroll-py):/,unit:"rem",layer:-5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}},variables:["spacing"]},"scroll-padding":{match:/^scroll-p:/,unit:"rem",layer:-7,variables:["spacing"]},"scroll-snap-align":{match:["scroll-snap",["start","end","center"]],layer:-3},"scroll-snap-stop":{match:["scroll-snap",["normal","always"]],layer:-3},"scroll-snap-type":{match:["scroll-snap",["x","y","block","inline","both"]],layer:-3},"will-change":{layer:-3},"writing-mode":{match:/^writing:/,layer:-3},direction:{layer:-3},"shape-outside":{match:["shape",["(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)"]],layer:-3},"shape-margin":{match:["shape"],numeric:!0,unit:"rem",layer:-3,variables:["spacing"]},"shape-image-threshold":{layer:-3},"clip-path":{match:/^clip:/,layer:-3},quotes:{layer:-3},"mask-image":{layer:-3,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},pe=Ne;var we={$:{colored:!0,transform(e){let t,r,n=e.indexOf(",");return n!==-1?(t=e.slice(0,n),r=e.slice(n+1)):t=e,[{type:"variable",name:t,fallback:r}]}},calc:{transform(e,t){let r=[],n=this.css.config.functions,f=0,a=(s,u,y)=>{let p=!1,d="",b=(g,c="",o="")=>{d&&(!p&&!y?s.push(this.parseValueComponent(d,n.calc.unit)):s.push({type:"string",value:d}),d=""),g&&(c&&e[f-1]===" "&&(c=""),o&&e[f+1]===" "&&(o=""),u?s.push({type:"separator",value:g,text:g}):s.push({type:"separator",value:g,text:c+g+o})),p=!1};for(;f<e.length;f++){let g=e[f];if(g==="("){let c=/^([+-])/.exec(d);c&&s.push({type:"string",value:c[1]});let o=c?d.slice(1):d,h={type:"function",name:o,symbol:g,children:[]};s.push(h),d="",f++;let l=h.name==="$"||h.name==="var";a(h.children,o!==""&&o!=="calc"&&(l||Object.prototype.hasOwnProperty.call(n,o)),p||l)}else if(g===")"){b("");break}else if(g===",")b(g,""," ");else if(g===" ")b(g);else{let c=e[f-1];switch(g){case"+":!d&&c!==")"?d+=g:b(g," "," ");break;case"-":!d&&c!==")"?d+=g:b(g," "," ");break;case"*":b(g," "," ");break;case"/":b(g," "," "),p=!0;break;default:d+=g;break}}}b("")};return a(r,!1,!1),"calc("+this.resolveValue(r,n.calc.unit??this.definition.unit,t)+")"}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},color:{unit:"",colored:!0},"color-contrast":{unit:"",colored:!0},"color-mix":{unit:"",colored:!0},hwb:{unit:""},lab:{unit:""},lch:{unit:""},oklab:{unit:""},oklch:{unit:""},clamp:{unit:""},repeat:{unit:""},"linear-gradient":{colored:!0},"radial-gradient":{colored:!0},"conic-gradient":{colored:!0},"repeating-linear-gradient":{colored:!0},"repeating-radial-gradient":{colored:!0},"repeating-conic-gradient":{colored:!0}},ge=we;var H={mediaQueries:ce,selectors:fe,semantics:ue,rules:pe,functions:ge,animations:de,variables:me,scope:"",rootSize:16,override:!1,important:!1,themeDriver:"class"};var J=class e{constructor(t=H){this.customConfig=t;t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(H,t),this.resolve(),this.constructor===e&&globalThis.masterCSSs.push(this)}static config=H;rules=[];ruleBy={};classesUsage={};config;semanticRuleOptions=[];ruleOptions=[];resolve(){this.styles={},this.stylesBy={},this.selectors={},this.variables={},this.mediaQueries={},this.animations={},this.ruleOptions.length=0,this.semanticRuleOptions.length=0,this.variablesNativeRules=void 0,this.hasKeyframesRule=!1;let t={current:void 0,currentColor:void 0,transparent:void 0},{styles:r,selectors:n,variables:f,semantics:a,mediaQueries:s,rules:u,animations:y}=this.config;function p(o){return o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function d(o,h,l="",i={}){let m=C=>C?(l?l+"-":"")+C:l,N=Object.entries(o),R=[],w=[];for(let C of N){let v=C[1];(typeof v=="object"&&!Array.isArray(v)?R:w).push(C)}for(let[C,v]of R)d(v,h,m(C),i);if(h&&l)w.length&&(i[l]=w.reduce((C,[v,S])=>(C[v]=S,C),{}));else for(let[C,v]of w)i[m(C)]=v;return i}if(n)for(let[o,h]of Object.entries(d(n,!1))){let l=new RegExp(p(o)+"(?![a-z-])");for(let i of Array.isArray(h)?h:[h]){let m=i.match(/^::-[a-z]+-/m)?.[0]??"",N=this.selectors[m];N||(N=this.selectors[m]=[]);let R=N.find(([w])=>w===l);R||(R=[l,[]],N.push(R)),R[1].push(i)}}if(f){let o={};for(let h in f){let l=(i,m,N=void 0)=>{if(!i)return;let R=(C,v,S=void 0,O=void 0)=>{if(v===void 0)return;if(v.type==="color"){if(O){let W=v.value.indexOf("/");v={...v,value:W===-1?v.value+" / "+(O.startsWith("0.")?O.slice(1):O):v.value.slice(0,W+2)+(+v.value.slice(W+2)*+O).toString().slice(1)}}t[C]=void 0}let T=S??N;if(T!==void 0)if(Object.prototype.hasOwnProperty.call(this.variables,C)){let W=this.variables[C];T?(W.themes||(W.themes={}),W.themes[T]=v):(W.value=v.value,W.space=v.space)}else T?this.variables[C]={type:v.type,space:v.space,themes:{[T]:v}}:this.variables[C]=v;else this.variables[C]=v},w=typeof i;if(w==="object")if(Array.isArray(i))R(m,{type:"string",value:i.join(",")});else{let C=Object.keys(i);for(let v of C)v===""||v.startsWith("@")?l(i[v],m,v||C.some(S=>S.startsWith("@"))?v.slice(1):void 0):l(i[v],m+"-"+v)}else if(w==="number")R(m,{type:"number",value:i}),R("-"+m,{type:"number",value:i*-1});else if(w==="string"){let C=/^\$\((.*?)\)(?: ?\/ ?(.+?))?$/.exec(i);if(C)Object.prototype.hasOwnProperty.call(o,m)||(o[m]={}),o[m][N]=()=>{delete o[m][N];let[v,S]=C[1].split("@");if(v){if(Object.prototype.hasOwnProperty.call(o,v))for(let T of Object.keys(o[v]))o[v][T]?.();let O=this.variables[v];if(O)if(S===void 0&&O.themes){R(m,{type:O.type,value:O.value,space:O.space},"",C[2]);for(let T in O.themes)R(m,O.themes[T],T,C[2])}else{let T=S!==void 0?O.themes?.[S]:O;T&&R(m,{type:T.type,value:T.value,space:T.space},void 0,C[2])}}};else{let v=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.exec(i);if(v){let[S,O,T,W]=K(v[1]);R(m,{type:"color",value:`${S} ${O} ${T}${W===1?"":" / "+W}`,space:"rgb"})}else{let S=/^rgb\( *([0-9]{1,3})(?: *, *| +)([0-9]{1,3})(?: *, *| +)([0-9]{1,3}) *(?:(?:,|\/) *(.*?) *)?\)$/.exec(i);if(S)R(m,{type:"color",value:S[1]+" "+S[2]+" "+S[3]+(S[4]?" / "+(S[4].startsWith("0.")?S[4].slice(1):S[4]):""),space:"rgb"});else{let O=/^hsl\((.*?)\)$/.exec(i);O?R(m,{type:"color",value:O[1],space:"hsl"}):R(m,{type:"string",value:i})}}}}};l(f[h],h)}for(let h of Object.keys(o))for(let l of Object.keys(o[h]))o[h][l]?.()}if(s&&(this.mediaQueries=d(s,!1)),y)for(let o in y){let h=this.animations[o]={},l=y[o];for(let i in l){let m=h[i]={},N=l[i];for(let R in N)m[R]=N[R]}}let b=r?d(r,!1):{},g=Object.keys(b),c=o=>{if(Object.prototype.hasOwnProperty.call(this.styles,o))return;let h=this.styles[o]=[],l=b[o];if(!l)return;let i=l.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let m of i){let N=R=>{if(Object.prototype.hasOwnProperty.call(this.stylesBy,R)){let w=this.stylesBy[R];w.includes(o)||w.push(o)}else this.stylesBy[R]=[o];h.includes(R)||h.push(R)};if(g.includes(m)){c(m);for(let R of this.styles[m])N(R)}else N(m)}};for(let o of g)c(o);if(a&&Object.entries(a).sort((o,h)=>o[0].localeCompare(h[0])).forEach(([o,h],l)=>{this.semanticRuleOptions.push({id:"."+o,resolvedMatch:new RegExp("^"+p(o)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),order:l,declarations:h,layer:-8})}),u){let o=Object.entries(u).sort((i,m)=>i[1].layer!==m[1].layer?(m[1].layer||0)-(i[1].layer||0):m[0].localeCompare(i[0])),h=o.length,l=Object.keys(t);o.forEach(([i,m],N)=>{this.ruleOptions.push(m),m.order=this.semanticRuleOptions.length+h-1-N;let R=m.match;m.id=i,m.resolvedVariables={};let w=C=>{Object.assign(m.resolvedVariables,Object.keys(this.variables).filter(v=>v.startsWith(C+"-")||v.startsWith("-"+C+"-")).reduce((v,S)=>(v[S.slice(C.length+(C.startsWith("-")?0:1))]={...this.variables[S],name:S},v),{}))};if(m.variables)for(let C of m.variables)w(C);if(w(i),R)if(Array.isArray(R)){let[C,v=[]]=R,S=[];v.length&&S.push(`(?:${v.join("|")})(?![a-zA-Z0-9-])`),Object.keys(m.resolvedVariables).length&&S.push(`(?:${Object.keys(m.resolvedVariables).join("|")})(?![a-zA-Z0-9-])`),m.colored&&S.push("#","(?:color|color-contrast|color-mix|hwb|lab|lch|oklab|oklch|rgb|rgba|hsl|hsla)\\(.*\\)",`(?:${l.join("|")})(?![a-zA-Z0-9-])`),m.numeric&&S.push("[\\d\\.]","(?:max|min|calc|clamp)\\(.*\\)"),S.length&&(m.resolvedMatch=new RegExp(`^${C}:(?:${S.join("|")})[^|]*?(?:@|$)`))}else m.resolvedMatch=R})}}match(t){for(let r of this.ruleOptions)if(r.resolvedMatch&&r.resolvedMatch.test(t)||(r.layer===-2||r.layer===-6||r.layer===-3||r.layer===-7)&&t.startsWith(r.id+":"))return r;for(let r of this.semanticRuleOptions)if(r.resolvedMatch.test(t))return r}create(t){let r=n=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,n))return this.ruleBy[n];let f=this.match(n);if(f)return new te(n,f,this)};return(Object.prototype.hasOwnProperty.call(this.styles,t)?this.styles[t].map(n=>r(n)):[r(t)]).filter(n=>n&&n.text)}refresh(t=this.customConfig){t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(H,t),this.resolve(),this.rules.length=0,this.ruleBy={};for(let r in this.classesUsage)this.add(r);return this}reset(){this.ruleBy={},this.classesUsage={},this.rules.length=0,this.hasKeyframesRule=!1,this.variablesNativeRules=void 0;for(let t in this.animations){let r=this.animations[t];r.usage=void 0,r.native=void 0}for(let t in this.variables){let r=this.variables[t];r.usage=void 0}return this}destroy(){return this.reset(),globalThis.masterCSSs.splice(globalThis.masterCSSs.indexOf(this),1),this}add(t){let r=this.create(t);return r.length?(this.insert(r),!0):!1}delete(t){let r=this.style?.sheet,n=f=>{let a=this.ruleBy[f];if(!(!a||Object.prototype.hasOwnProperty.call(this.stylesBy,f)&&this.stylesBy[f].some(s=>Object.prototype.hasOwnProperty.call(this.classesUsage,s)))){if(r&&a.natives.length){let s=a.natives[0];for(let u=0;u<r.cssRules.length;u++)if(r.cssRules[u]===s.cssRule){for(let p=0;p<a.natives.length;p++)r.deleteRule(u);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[f],a.variableNames)for(let s of a.variableNames){let u=this.variables[s];if(!--u.usage){let y=p=>{let d=this.variablesNativeRules[p];if(d.cssRule.style.removeProperty("--"+s),!d.cssRule.style.length){let b=this.rules[0],g=b.natives.indexOf(d);r?.deleteRule(g),b.natives.splice(g,1),delete this.variablesNativeRules[p],b.natives.length||(this.rules.splice(0,1),this.variablesNativeRules=void 0)}};if(u.value&&y(""),u.themes)for(let p in u.themes)y(p)}}if(a.animationNames){let s=this.variablesNativeRules?1:0,u=this.rules[s];for(let y of a.animationNames){let p=this.animations[y];if(!--p.usage){let d=u.natives.indexOf(p.native);this.style.sheet.deleteRule((this.variablesNativeRules?Object.keys(this.variablesNativeRules).length:0)+d),u.natives.splice(d,1),p.native=void 0}}u.natives.length||(this.rules.splice(s,1),this.hasKeyframesRule=!1)}a.definition.delete?.call(a,f)}};if(Object.prototype.hasOwnProperty.call(this.styles,t)){for(let f of this.styles[t])Object.prototype.hasOwnProperty.call(this.classesUsage,f)||n(f);delete this.ruleBy[t]}else n(t)}insert(t){for(let r of t){if(this.ruleBy[r.className])continue;let n,f=this.rules.length-1,{media:a,order:s,priority:u,hasWhere:y,className:p}=r,d=(c,o,h)=>{let l=c;for(;l<=f;l++){let i=this.rules[l];if(o?.(i))return h?-1:l-1;if(h?.(i))return l}return h?-1:l-1},b,g;if(a){let c=this.rules.findIndex(o=>o.media);if(c===-1)n=f+1;else{let{"max-width":o,"min-width":h}=a.features;if(o||h){let l=this.rules.findIndex(i=>i.media?.features["max-width"]||i.media?.features["min-width"]);if(l===-1)n=f+1;else if(o&&h){if(u===-1?(b=d(l,i=>i.priority!==-1,i=>i.media.features["max-width"]&&i.media.features["min-width"]),g=d(l,i=>i.priority!==-1)):(b=d(l,void 0,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),g=f),b!==-1){let i=o.value-h.value,m=g,N=b;for(b=void 0;m>=N;m--){let{"max-width":R,"min-width":w}=this.rules[m].media.features,C=R.value-w.value;if(C<i)g=m-1;else if(C===i)b=m;else break}}if(b!==-1){let i=o.value-h.value;for(let m=g;m>=b;m--){let{"max-width":N,"min-width":R}=this.rules[m].media.features,w=N.value-R.value;if(w<i)g=m-1;else if(w>i){b=m+1;break}}}}else if(h){if(u===-1?(b=d(l,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]),g=d(l,i=>i.media.features["max-width"]&&i.media.features["min-width"]||i.priority!==-1)):(b=d(l,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1,i=>!i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1),g=d(l,i=>i.media.features["max-width"]&&i.media.features["min-width"]&&i.priority!==-1)),b!==-1)for(let i=g;i>=b;i--){let m=this.rules[i].media.features["min-width"].value;if(m>h.value)g=i-1;else if(m<h.value){b=i+1;break}}}else if(u===-1?(b=d(l,i=>i.media.features["min-width"]||i.priority!==-1,i=>i.media.features["max-width"]),g=d(l,i=>i.media.features["min-width"]||i.priority!==-1)):(b=d(l,i=>i.media.features["min-width"]&&i.priority!==-1,i=>i.media.features["max-width"]&&i.priority!==-1),g=d(l,i=>i.media.features["min-width"]&&i.priority!==-1)),b!==-1)for(let i=g;i>=b;i--){let m=this.rules[i].media.features["max-width"].value;if(m<o.value)g=i-1;else if(m>o.value){b=i+1;break}}}else u===-1?(b=c,g=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"]||l.priority!==-1)):(b=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"],l=>l.priority!==-1),g=d(c,l=>l.media?.features["max-width"]||l.media?.features["min-width"]))}}else{let c=this.variablesNativeRules?this.hasKeyframesRule?2:1:this.hasKeyframesRule?1:0;u===-1?(b=c,g=d(c,o=>o.media||o.priority!==-1)):(b=d(c,o=>o.media,o=>o.priority!==-1),g=d(c,o=>o.media))}if(n===void 0)if(b===-1)n=g+1;else{if(u===-1)for(let c=b;c<=g;c++){let o=this.rules[c];if(!(!y&&o.hasWhere)&&(y&&!o.hasWhere||o.order>=s)){n=c;break}}else for(let c=b;c<=g;c++){let o=this.rules[c];if(!(!y&&o.hasWhere)){if(y&&!o.hasWhere){n=c;break}if(o.priority<u){n=c;break}else if(o.priority===u){if(o.order>=s){n=c;break}}else n=c+1}}n===void 0&&(n=g+1)}if(this.rules.splice(n,0,r),this.ruleBy[p]=r,this.style){let c=this.style.sheet,o=0,h=l=>{let i=this.rules[l];if(i){if(!i.natives.length)return h(l-1);let m=i.natives[i.natives.length-1],N=m.cssRule.parentRule??m.cssRule;for(let R=0;R<c.cssRules.length;R++)if(c.cssRules[R]===N){o=R+1;break}}};h(n-1);for(let l=0;l<r.natives.length;)try{let i=r.natives[l];c.insertRule(i.text,o),i.cssRule=c.cssRules[o++],l++}catch(i){console.error(i),r.natives.splice(l,1)}}this.handleRuleWithVariableNames(r),this.handleRuleWithAnimationNames(r),r.definition.insert?.call(r)}}get text(){return this.rules.map(t=>t.text).join("")}getExtendedConfig(...t){let r=a=>{let s=X({},a),u=y=>{for(let p in y){let d=y[p];typeof d=="object"&&!Array.isArray(d)?u(d):p&&!p.startsWith("@")&&(y[p]={"":d})}};return s.styles?u(s.styles):s.styles={},s.mediaQueries?u(s.mediaQueries):s.mediaQueries={},s.variables?u(s.variables):s.variables={},s},n=[];for(let a of t)(function s(u){if(u.extends?.length)for(let y of u.extends)s("config"in y?y.config:y);n.push(r(u))})(a);let f=n[0];for(let a=1;a<n.length;a++){let s=n[a];f=X(f,s),Object.prototype.hasOwnProperty.call(s,"animations")&&Object.assign(f.animations,s.animations)}return f}handleRuleWithAnimationNames(t,r=!1){if(t.animationNames){let n=this.style?.sheet;for(let f of t.animationNames){let a=this.animations[f];if(a.usage)a.usage++;else{let s={text:`@keyframes ${f}{`+Object.entries(a).filter(([p])=>p!=="usage"&&p!=="native").map(([p,d])=>`${p}{${Object.entries(d).map(([b,g])=>b+":"+g).join(";")}}`).join("")+"}"},u=this.variablesNativeRules?1:0,y;if(this.hasKeyframesRule?(y=this.rules[u]).natives.push(s):(this.rules.splice(u,0,y={natives:[s],get text(){return this.natives.map(p=>p.text).join("")}}),this.hasKeyframesRule=!0),n){let p;if(r)for(let d=0;d<n.cssRules.length;d++){let b=n.cssRules[d];if(b.constructor.name==="CSSKeyframesRule"&&b.name===f){p=b;break}}if(p)s.cssRule=p;else{let d=(this.variablesNativeRules?Object.keys(this.variablesNativeRules).length:0)+y.natives.length-1;n.insertRule(s.text,d),s.cssRule=n.cssRules[d]}}a.usage=1,a.native=s}}}}handleRuleWithVariableNames(t,r=!1){if(t.variableNames){let n=this.style?.sheet;for(let f of t.variableNames){let a=this.variables[f];if(a.usage)a.usage++;else{let s=(u,y)=>{let p=this.variablesNativeRules?.[u];if(!p){let b,g,c;if(u)switch(this.config.themeDriver){case"media":g=`@media(prefers-color-scheme:${u})`,c=":root";break;case"host":c=`:host(.${u})`;break;default:c=`.${u}`;break}else c=":root";if(n){let o=this.variablesNativeRules?this.rules[0].natives.length:0;n.insertRule((g?g+"{":"")+c+"{}"+(g?g+"}":""),o),b=g?n.cssRules[o].cssRules[0]:n.cssRules[o]}else{let o=new Map,h=Object.defineProperties({},{getPropertyValue:{value:l=>o.get(l)},removeProperty:{value:l=>{o.delete(l);for(let i=0;i<h.length;i++)h[i]===l&&delete h[i]}},setProperty:{value:(l,i)=>{h[h.length]=l,o.set(l,i)}},length:{get(){return Object.keys(h).length}}});b={selectorText:c,style:h,styleMap:o},g&&(b.parentRule={conditionText:g})}p=this.pushVariableNativeRule(u,b)}let d="--"+f;(!r||!p.cssRule.style.getPropertyValue(d))&&p.cssRule.style.setProperty(d,y.value.toString())};if(a.value&&s("",a),a.themes)for(let u in a.themes)s(u,a.themes[u]);a.usage=1}}}}pushVariableNativeRule(t,r){this.variablesNativeRules||(this.variablesNativeRules={},this.rules.splice(0,0,{natives:[],get text(){return this.natives.map(s=>s.text).join("")}}));let n="",f="}";r.parentRule&&(n+=r.parentRule.conditionText.replace(/ /g,"")+"{",f+="}"),n+=r.selectorText+"{";let a={cssRule:r,get text(){let s=[];for(let u=0;u<r.style.length;u++){let y=r.style[u];s.push(y+":"+r.style.getPropertyValue(y))}return n+s.join(";")+f}};return this.rules[0].natives.push(this.variablesNativeRules[t]=a),a}};globalThis.MasterCSS=J,globalThis.masterCSSs||(globalThis.masterCSSs=[]);var ye=[",",".","#","[","!","*",">","+","~",":","@"];var ee=class extends J{constructor(r=document,n=H){super(n);this.root=r;this.customConfig=n;r||(this.root=document),this.root===document?(globalThis.runtimeCSS=this,this.container=document.head,this.host=document.documentElement):(this.container=this.root,this.host=this.root.host,this.styleSheets=this.root.styleSheets),this.styleSheets=this.root.styleSheets,globalThis.runtimeCSSs.push(this)}host;observing=!1;container;styleSheets;observer;observe(r={subtree:!0,childList:!0}){if(this.observing)return;if(globalThis.runtimeCSSs.find(f=>f!==this&&f.root===this.root)){console.warn("Cannot observe the same root element repeatedly.");return}for(let f of this.styleSheets){let{ownerNode:a}=f;if(a&&a.id==="master"){this.style=a;break}}if(this.style){let f=0;for(;f<this.style.sheet.cssRules.length;f++){let a=this.style.sheet.cssRules[f];switch(a.constructor.name){case"CSSKeyframesRule":continue;case"CSSMeidaRule":if(this.config.themeDriver==="media"){let u=/\(prefers-color-scheme: (.*?)\)/.exec(a.conditionText);if(u){let y=a.cssRules[0];if(y?.constructor.name==="CSSStyleRule"&&y.selectorText===":root"){this.pushVariableNativeRule(u[1],y);continue}}}break;case"CSSStyleRule":let s=a.selectorText;if(a.style.length){let u=!0;for(let y=0;y<a.style.length;y++)if(!a.style[y]?.startsWith("--")){u=!1;break}if(u){if(s===":root"){this.pushVariableNativeRule("",a);continue}else if(this.config.themeDriver==="host"){let y=/:host(.*?)/.exec(s);if(y){this.pushVariableNativeRule(y[1],a);continue}}else if(!s.startsWith(".\\$")){this.pushVariableNativeRule(s.slice(1),a);continue}}}break}break}for(;f<this.style.sheet.cssRules.length;f++){let a=u=>{if(u.selectorText){let p=u.selectorText.split(", ")[0].split(" ");for(let d=0;d<p.length;d++){let b=p[d];if(b[0]==="."){let g=b.slice(1),c="";for(let o=0;o<g.length;o++){let h=g[o],l=g[o+1];if(h==="\\"){if(o++,l!=="\\"){c+=l;continue}}else if(ye.includes(h))break;c+=h}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,c)&&!Object.prototype.hasOwnProperty.call(this.styles,c)){let o=this.create(c)[0];if(o)return o}}}}else if(u.cssRules)for(let y=0;y<u.cssRules.length;y++){let p=a(u.cssRules[y]);if(p)return p}},s=a(this.style.sheet.cssRules[f]);if(s){this.rules.push(s),this.ruleBy[s.className]=s;for(let u=0;u<s.natives.length;u++)s.natives[u].cssRule=this.style.sheet.cssRules[f+u];f+=s.natives.length-1,this.handleRuleWithVariableNames(s,!0),this.handleRuleWithAnimationNames(s,!0),s.definition.insert?.call(s)}}}else this.style=document.createElement("style"),this.style.id="master",this.container.append(this.style);let n=f=>{f.forEach(a=>{Object.prototype.hasOwnProperty.call(this.classesUsage,a)?this.classesUsage[a]++:(this.classesUsage[a]=1,this.add(a))})};return n(this.host.classList),r.subtree&&this.host.querySelectorAll("[class]").forEach(f=>n(f.classList)),this.observer=new MutationObserver(f=>{let a={},s=[],u=[],y=[],p=(c,o)=>{o?c.classList.forEach(b):c.classList.forEach(d);let h=c.children;for(let l=0;l<h.length;l++){let i=h[l];i.classList&&(u.push(i),p(i,o))}},d=c=>{Object.prototype.hasOwnProperty.call(a,c)?a[c]++:a[c]=1},b=c=>{Object.prototype.hasOwnProperty.call(a,c)?a[c]--:Object.prototype.hasOwnProperty.call(this.classesUsage,c)&&(a[c]=-1)},g=(c,o)=>{for(let h=0;h<c.length;h++){let l=c[h];l.classList&&!u.includes(l)&&!y.includes(l)&&(l.isConnected!==o?(u.push(l),p(l,o)):y.push(l))}};for(let c=0;c<f.length;c++){let o=f[c],{addedNodes:h,removedNodes:l,type:i,target:m}=o;if(i==="attributes"){if(s.find(N=>N.target===m))continue;s.push(o)}else g(h,!1),(!m.isConnected||!u.includes(m))&&g(l,!0)}if(!(!s.length&&!Object.keys(a).length)){for(let{oldValue:c,target:o}of s){let h=u.includes(o),l=o.classList,i=c?c.split(" "):[];if(h){if(o.isConnected)continue;for(let m of i)l.contains(m)||b(m)}else if(o.isConnected){l.forEach(m=>{i.includes(m)||d(m)});for(let m of i)l.contains(m)||b(m)}}for(let c in a){let o=a[c],h=(this.classesUsage[c]||0)+o;h===0?(delete this.classesUsage[c],this.delete(c)):(Object.prototype.hasOwnProperty.call(this.classesUsage,c)||this.add(c),this.classesUsage[c]=h)}}}),this.observer.observe(this.root,{...r,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0,this}refresh(r=this.customConfig){let n=document.createElement("style");return n.id="master",this.style.replaceWith(n),this.style=n,super.refresh(r),this}reset(){super.reset();let r=this.style?.sheet;if(r?.cssRules)for(let n=r.cssRules.length-1;n>=0;n--)r.deleteRule(n);return this.style?.remove(),this.style=null,this}disconnect(){return this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.reset(),this}destroy(){return this.disconnect(),globalThis.runtimeCSSs.splice(globalThis.runtimeCSSs.indexOf(this),1),this}};globalThis.RuntimeCSS=ee,globalThis.runtimeCSSs||(globalThis.runtimeCSSs=[]);function re(e){return new ee(document,e).observe()}re(window.masterCSSConfig);})();
package/dist/runtime.d.ts CHANGED
@@ -7,7 +7,6 @@ export declare class RuntimeCSS extends MasterCSS {
7
7
  readonly observing = false;
8
8
  readonly container: HTMLElement | ShadowRoot;
9
9
  readonly styleSheets: StyleSheetList;
10
- static refresh: (customConfig: Config) => void;
11
10
  observer: MutationObserver;
12
11
  constructor(root?: Document | ShadowRoot | undefined, customConfig?: Config);
13
12
  /**
@@ -16,8 +15,10 @@ export declare class RuntimeCSS extends MasterCSS {
16
15
  * @returns this
17
16
  */
18
17
  observe(options?: MutationObserverInit): this;
19
- disconnect(): void;
20
- destroy(): void;
18
+ refresh(customConfig?: Config): this;
19
+ reset(): this;
20
+ disconnect(): this;
21
+ destroy(): this;
21
22
  }
22
23
  declare global {
23
24
  interface Window {
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/runtime.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/runtime.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.201","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.201","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.201"}
1
+ {"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"pnpm run build --watch --no-declare","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/runtime.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/runtime.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.202","@techor/fs":"^2.5.4","@techor/log":"^2.5.4","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.5.4","@techor/pack":"^2.5.4","css-shared":"^2.0.0-beta.202","csstype":"^3.1.2","puppeteer":"^21.0.1","vite":"^4.2.1"},"version":"2.0.0-beta.202"}