@master/css 2.0.0-beta.23 → 2.0.0-beta.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- var $i=Object.defineProperty;var zo=Object.getOwnPropertyDescriptor;var _o=Object.getOwnPropertyNames;var Ho=Object.prototype.hasOwnProperty;var Vo=(r,o,i)=>o in r?$i(r,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[o]=i;var $o=(r,o)=>{for(var i in o)$i(r,i,{get:o[i],enumerable:!0})},Uo=(r,o,i,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of _o(o))!Ho.call(r,s)&&s!==i&&$i(r,s,{get:()=>o[s],enumerable:!(n=zo(o,s))||n.enumerable});return r};var Qo=r=>Uo($i({},"__esModule",{value:!0}),r);var e=(r,o,i)=>(Vo(r,typeof o!="symbol"?o+"":o,i),i),Mo=(r,o,i)=>{if(!o.has(r))throw TypeError("Cannot "+i)};var De=(r,o,i)=>(Mo(r,o,"read from private field"),i?i.call(r):o.get(r)),uo=(r,o,i)=>{if(o.has(r))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(r):o.set(r,i)},ho=(r,o,i,n)=>(Mo(r,o,"write to private field"),n?n.call(r,i):o.set(r,i),i);var vs={};$o(vs,{DefaultRules:()=>co,MasterCSSRule:()=>t,default:()=>z,defaultBreakpoints:()=>Ee,defaultColors:()=>Ui,defaultConfig:()=>Pi,defaultRootSize:()=>Qi,defaultScheme:()=>Zi,defaultSelectors:()=>Yi,defaultSemantics:()=>qi,defaultThemes:()=>Xi,defaultValues:()=>Ki,extend:()=>Fi,fillColorScale:()=>D,render:()=>yo,renderFromHTML:()=>_i,renderIntoHTML:()=>Co,root:()=>xs});module.exports=Qo(vs);var Yo={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},Ee=Yo;function Ei(r){r.startsWith("#")&&(r=r.slice(1));let o=r.match(/.{1,2}/g);return[parseInt(o[0],16),parseInt(o[1],16),parseInt(o[2],16)]}function No(r,o,i){return((1<<24)+(r<<16)+(o<<8)+i).toString(16).slice(1)}function D(r){typeof r=="string"&&(r={"":r});let o=""in r,i=!1;for(let n in r)if(n&&+n>=100){i=!0;break}if(!i&&(!o||Object.keys(r).length>1)){let n=0,s="0"in r?Ei(r[0]):[0,0,0],m,p,h=[],c=()=>{let f=m-n,g=p.map((x,a)=>(x-s[a])/f);for(let x of h){let a=x-n,l=s.map((S,d)=>Math.round(S+g[d]*a));r[x]="#"+No.call(this,...l)}};for(let f=1;f<100;f++)f in r?(h.length?(m=f,p=Ei(r[f]),c(),h.length=0,s=p):s=Ei(r[f]),n=f):h.push(f);h.length&&(m=100,p="100"in r?Ei(r[100]):[255,255,255],c())}return o||(r[""]=r[i?"500":"50"]),r}var qo={slate:D({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:D({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:D({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:D({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:D({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:D({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:D({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:D({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:D({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:D({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:D({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:D({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:D({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:D({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:D({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:D({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:D({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:D({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:D({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:D({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},Ui=qo;var Qi=16;var Xo={"::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("},Yi=Xo;var Zo={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",overflow:"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","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"}},qi=Zo;var Jo=["dark","light"],Xi=Jo;var Ko={storage:{sync:!0,key:"scheme"}},Zi=Ko;var Wi={content:"content-box",border:"border-box",padding:"padding-box"},Ji={min:"min-content",max:"max-content"},q={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let r in Ee)q[r]=Ee[r]/16+"rem";var es={BackgroundClip:Wi,BackgroundOrigin:Wi,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...Wi,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{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"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:Ji,GridAutoRows:Ji,GridTemplateColumns:Ji,GridTemplateRows:Ji,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...Wi,margin:"margin-box"},TransformBox:{...Wi,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:q,MinWidth:q,MinHeight:q,MaxWidth:q,MaxHeight:q,Height:q,FlexBasis:q},Ki=es;function eo(r,o){return(r?r+":":"")+(o.unit?o.value+o.unit:o.value)+(o.important?"!important":"")}function ko(r){let o=h=>h==="+"||h==="-"||h==="*"||h==="/",i="",n,s="",m=!1;function p(){n=null,s=""}for(let h=0;h<r.length;h++){let c=r[h];if(c==="("||c===")")m=c===")",i+=s+c,p();else if(c===",")i+=s+c+" ",p();else{switch(n){case 1:break;case 2:if(o(c)){i+=s+" "+c+" ",p();continue}break;default:m&&(s+=" "),isNaN(+c)?o(c)||(n=1):n=2;break}s+=c}}return s&&(i+=s),i}var ts=/^([+-.]?\d+(\.?\d+)?)(.*)?/,rs="var(--";function to(r,o,i,n,s,m,p){let h="",c="",f="",g;if(n&&r in n)return{value:n[r].toString(),unit:c,unitToken:f};if(s&&r in s)return{value:s[r].toString(),unit:c,unitToken:f};if(typeof r=="number")h=r,c=o||"";else{if(i){let x=Object.keys(i),a=!1,l=!1;r=r.replace(new RegExp(`(^|,| |\\()(${x.join("|")})(?:-([0-9A-Za-z]+))?(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(S,d,u,v,M)=>{l=!0;let k=i[u]?.[v||""];if(k){let T;for(let C of p)if(T=k[C])break;if(T){a=!0;let C=T;if(M){let j=M.endsWith("%")?parseFloat(M)/100:+M;j=isNaN(j)?1:Math.min(Math.max(j,0),1),C+=Math.round(j*255).toString(16).toUpperCase().padStart(2,"0")}return d+C}}return S}),l&&(g=a)}if(o){let x=r.match(ts);if(x)if(r.includes("/")){let a=r.split("/");return{value:+a[0]/+a[1]*100+"%",unit:c,unitToken:f}}else return h=+x[1],c=f=x[3]||"",c||((o==="rem"||o==="em")&&(h=h/m),c=o||""),{value:h,unit:c,unitToken:f}}h=(r.indexOf("calc(")===-1?r:ko(r)).replace(/\$\(((\w|-)+)\)/g,rs+"$1)")}return{value:h,unit:c,unitToken:f,colorMatched:g}}var Or={"(":")","'":"'","{":"}"};var To=[":disabled",":active",":focus",":hover"],ro="matches",is="semantics",wo="symbol",Ao="width",go="max-"+Ao,xo="min-"+Ao,So="motion",Io="reduce",Oo=Io+"d-"+So,vo="px",os="rem",ss=["!","*",">","+","~",":","[","@","_"],as=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,ns=r=>r.split(as).map((o,i)=>i%3?o:o.replace(/_/g," ")).join(""),t=class{constructor(o,i,n){this.className=o;this.matching=i;this.css=n;let s=this.constructor,{id:m,unit:p,propName:h,colorful:c}=s,{breakpoints:f,mediaQueries:g,semantics:x,rootSize:a}=n.config,{themeNames:l,colorsThemesMap:S,selectors:d,globalValues:u}=n,v=n.values[m],M=n.relationThemesMap[o],k=o,T,C,j,B;if(i.origin===is)j=k.slice(i.value.length),T=x[i.value];else{let F;if(i.origin===ro)if(m==="Group"){let w=0;for(;w<k.length&&!(k[w]==="{"&&k[w-1]!=="\\");w++);C=k.slice(0,w),F=k.slice(w)}else{let w=k.indexOf(":");this.prefix=k.slice(0,w+1),this.prefix.includes("(")?(this.prefix=void 0,F=k):F=k.slice(w+1)}else i.origin===wo&&(this.symbol=k[0],F=k.slice(1));B=[];let y="",R=0;(function w(E,N,O=""){let b,A=!1;for(E&&(E===")"&&y.slice(-1)==="$"?b=y.length-1:E==="'"&&(A=!0),y+=F[R++]);R<F.length;R++){let I=F[R];if(I===E){if(y+=I,A){let W=0;for(let _=y.length-2;y[_]==="\\";_--)W++;if(W%2)continue}b!==void 0&&(y=y.slice(0,b)+y.slice(b).replace(/\$\((.*)\)/,"var(--$1)")),N||(A?B.push(y):B.push({value:y}),O="",y="");break}else if(!A&&I in Or)w(Or[I],N===void 0?0:N+1,O);else if(I==="|"&&E!=="}"&&(!A||O==="path"))E?y+=" ":(B.push({value:y}),y="");else{if(!E){if(I==="."){if(isNaN(+F[R+1]))break;F[R-1]==="-"&&(y+="0")}else if(I===","){B.push({value:y},","),y="";continue}else if(I==="#"&&(y||B.length&&F[R-1]!=="|")||ss.includes(I))break;O+=I}y+=I}}})(),y&&B.push({value:y}),j=F.slice(R)}j[0]==="!"&&(this.important=!0,j=j.slice(1));let H=F=>{let y=ns(F),R=[],w="",E=0;for(let N=0;N<y.length;N++){let O=y[N];if(O==="\\"){w+=O+y[++N];continue}!E&&O===","?(R.push(w),w=""):(w+=O,E&&O===")"?E--:O==="("&&E++)}return w&&R.push(w),R};this.prefixSelectors=C?H(C):[""];let V=j.split("@"),$=V[0];if($){this.vendorSuffixSelectors={};let F=(N,O,b,A)=>{for(let[I,W]of O)if(I.test(N)){for(let _ of W)F(N.replace(I,_),O,b,!0);return}A&&b.push(N)},y=[];""in d?F($,d[""],y,!0):y.push($);let R={};for(let[N,O]of Object.entries(d)){if(!N)continue;let b=[];for(let A of y)F(A,O,b,!1);b.length&&(R[N]=b)}let w=(N,O)=>{let b=O.reduce((A,I)=>(A.push(...H(I)),A),[]);N in this.vendorSuffixSelectors?this.vendorSuffixSelectors[N].push(...b):this.vendorSuffixSelectors[N]=b},E=Object.keys(R);if(E.length)for(let N of E)w(N,R[N]);else w("",y);for(let N of Object.values(this.vendorSuffixSelectors))for(let O of N){this.hasWhere!==!1&&(this.hasWhere=O.includes(":where("));for(let b=0;b<To.length;b++)if(O.includes(To[b])){(this.prioritySelectorIndex===-1||this.prioritySelectorIndex>b)&&(this.prioritySelectorIndex=b);break}}}else this.vendorSuffixSelectors={"":[""]};for(let F=1;F<V.length;F++){let y=V[F];if(y)if(l.includes(y))this.themeName=y;else if(y==="rtl"||y==="ltr")this.direction=y;else{let R,w,E=y.indexOf("_");if(E!==-1)R=y.slice(0,E),w=y.slice(E);else{let N=y.indexOf("(");N!==-1&&(R=y.slice(0,N),w=y.slice(N))}if(!R){R="media";let N=[];this.media={token:y,features:{}};let O=y.split("&");for(let b of O)if(b==="all"||b==="print"||b==="screen"||b==="speech")this.media.type=b;else if(b==="\u{1F5A8}")this.media.type="print";else if(b==="landscape"||b==="portrait")N.push("(orientation:"+b+")");else if(b===So||b===Oo)N.push("(prefers-"+Oo+":"+(b===So?"no-preference":Io)+")");else if(g&&b in g)N.push(g[b]);else{let A={token:b},I="",W="",_=0;b.startsWith("<=")?(W="<=",I=go):b.startsWith(">=")||f[b]?(W=">=",I=xo):b.startsWith(">")?(W=">",I=xo,_=.02):b.startsWith("<")&&(W="<",I=go,_=-.02);let Y=W?b.replace(W,""):b,P=f[Y];switch(I){case go:case xo:P?Object.assign(A,to(P,vo)):Object.assign(A,to(Y,vo)),A.unit===vo&&(A.value+=_),this.media.features[I]=A,N.push("("+I+":"+(A.value+A.unit)+")");break}}w="",this.media.type&&(w=this.media.type),N.length&&(w+=(w?" and ":"")+N.join(" and "))}w&&(this.at[R]=(R in this.at?this.at[R]+" and ":"")+w.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let je=(F,y)=>{let R,w,E=(O,b,A)=>{let I="";this.direction&&(I+="[dir="+this.direction+"] ");let W=this.prefixSelectors.map(P=>P+I),_=(P,Hi)=>{let Di=P?"."+P+" ":"",po="."+CSS.escape(Hi);return W.map(Vi=>Di+Vi).reduce((Vi,Lo)=>(Vi.push(A.reduce((Ro,Go)=>(Ro.push(Lo+po+Go),Ro),[]).join(",")),Vi),[]).join(",")},Y=_(b,o)+(M?Object.entries(M).filter(([P])=>this.themeName||!c||!b||!P||P===b).map(([P,Hi])=>Hi.reduce((Di,po)=>Di+","+_(this.themeName??(c&&b||P),po),"")).join(""):"")+"{"+O+"}";for(let P of Object.keys(this.at).sort((Hi,Di)=>Di==="supports"?-1:1))Y="@"+P+" "+this.at[P]+"{"+Y+"}";return Y},N=[];if(B){let O,b;for(let A of B)typeof A=="string"?N.push(A):(O=to(A.value,p,c&&S,v,u,a,this.themeName?[this.themeName,""]:[F]),O.colorMatched!==void 0&&b!==!0&&(b=O.colorMatched),N.push(O.value+O.unit));if(y&&(b===void 0?F:!b))return;if(N.length===1?O?(R=O.value,w=O.unit):R=N[0]:R=N.reduce((A,I,W)=>A+I+(I===","||B[W+1]===","||W===B.length-1?"":" "),""),typeof R!="object"){this.parseValue&&(R=this.parseValue(R,this.css.config)),c&&R==="current"?R="currentColor":v&&R in v?R=v[R].toString():R in u&&(R=u[R].toString());let A={unit:w,value:R,important:this.important};if(this.getThemeProps){let I=this.getThemeProps(A,n);for(let W in I)for(let _ of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:w,value:R,text:E(Object.entries(I[W]).map(([Y,P])=>eo(Y,{important:this.important,unit:"",value:P})).join(";"),W,_),themeName:W});return}else this.get&&(R=this.get(A))}}else R=T;for(let O of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:w,value:R,text:E(typeof R=="object"?Object.entries(R).map(([b,A])=>eo(b,{...typeof A=="object"?A:{unit:"",value:A},important:this.important})).join(";"):eo(h,{unit:w,value:R,important:this.important}),F,O),themeName:F})};if(this.getThemeProps)je(void 0,!1);else if(this.themeName)je(this.themeName,!1);else if(c)for(let F of l)je(F,!0);else je("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;themeName;unitToken;hasWhere;prioritySelectorIndex=-1;natives=[];static match(o,i){if(this.matches&&this.matches.test(o))return{origin:ro};if(this.colorStarts&&(o.match("^"+this.colorStarts+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current))")||i.length&&o.match("^"+this.colorStarts+"("+i.join("|")+")")&&o.indexOf("|")===-1))return{origin:ro};if(this.symbol&&o.startsWith(this.symbol))return{origin:wo};if(this.propName&&o.startsWith(this.propName+":"))return{origin:ro}}};e(t,"id"),e(t,"propName"),e(t,"matches"),e(t,"colorStarts"),e(t,"symbol"),e(t,"unit",os),e(t,"colorful");var X=class extends t{};e(X,"id","FontWeight"),e(X,"matches",/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/),e(X,"propName","font-weight"),e(X,"unit","");var We=class extends t{};e(We,"id","FontFamily"),e(We,"matches",/^f(ont)?:(mono|sans|serif)(?!\|)/),e(We,"propName","font-family");var Pe=class extends t{};e(Pe,"id","FontSize"),e(Pe,"matches",/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Pe,"propName","font-size");var Ar=class extends t{get(r){let i=this.prefix[0]==="m"?"margin":"padding",n=i+"-left",s=i+"-right",m=i+"-top",p=i+"-bottom";switch(this.prefix[1]){case"x":return{[n]:r,[s]:r};case"y":return{[m]:r,[p]:r};case"l":return{[n]:r};case"r":return{[s]:r};case"t":return{[m]:r};case"b":return{[p]:r};default:return{[i]:r}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};e(Ar,"id","Spacing"),e(Ar,"matches",/^[pm][xytblr]?:./);var Le=class extends t{};e(Le,"id","Width"),e(Le,"matches",/^w:./),e(Le,"propName","width");var Ge=class extends t{};e(Ge,"id","Height"),e(Ge,"matches",/^h:./),e(Ge,"propName","height");var ze=class extends t{};e(ze,"id","MinWidth"),e(ze,"matches",/^min-w:./),e(ze,"propName","min-width");var _e=class extends t{};e(_e,"id","MinHeight"),e(_e,"matches",/^min-h:./),e(_e,"propName","min-height");var Z=class extends t{};e(Z,"id","LetterSpacing"),e(Z,"matches",/^ls:./),e(Z,"propName","letter-spacing"),e(Z,"unit","em");var ls="subpixel-antialiased",Bo="-webkit-font-smoothing",Fo="-moz-osx-font-smoothing",He=class extends t{get(r){let o={};switch(r.value){case ls:o[Bo]=o[Fo]={...r,value:"auto"};break;case"antialiased":o[Bo]={...r,value:"antialiased"},o[Fo]={...r,value:"grayscale"};break}return o}};e(He,"id","FontSmoothing"),e(He,"matches",/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/),e(He,"unit","");var J=class extends t{};e(J,"id","FontStyle"),e(J,"matches",/^f(ont)?:(normal|italic|oblique)(?!\|)/),e(J,"propName","font-style"),e(J,"unit","deg");var Ve=class extends t{};e(Ve,"id","FontVariantNumeric"),e(Ve,"matches",/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/),e(Ve,"propName","font-variant-numeric");var K=class extends t{};e(K,"id","LineHeight"),e(K,"matches",/^lh:./),e(K,"propName","line-height"),e(K,"unit","");var $e=class extends t{};e($e,"id","ObjectFit"),e($e,"matches",/^(object|obj):(contain|cover|fill|scale-down)/),e($e,"propName","object-fit");var Ue=class extends t{};e(Ue,"id","ObjectPosition"),e(Ue,"matches",/^(object|obj):(top|bottom|right|left|center)/),e(Ue,"propName","object-position");var Qe=class extends t{};e(Qe,"id","TextAlign"),e(Qe,"matches",/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/),e(Qe,"propName","text-align");var ee=class extends t{order=-1};e(ee,"id","TextDecoration"),e(ee,"matches",/^t(ext)?:(underline|line-through|overline)/),e(ee,"propName","text-decoration"),e(ee,"colorful",!0);var Ye=class extends t{};e(Ye,"id","TextTransform"),e(Ye,"matches",/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/),e(Ye,"propName","text-transform");var qe=class extends t{};e(qe,"id","VerticalAlign"),e(qe,"matches",/^(?:v|vertical):./),e(qe,"propName","vertical-align");var Xe=class extends t{get(r){return{overflow:{...r,value:"hidden"},display:{...r,value:"-webkit-box"},"overflow-wrap":{...r,value:"break-word"},"text-overflow":{...r,value:"ellipsis"},"-webkit-box-orient":{...r,value:"vertical"},"-webkit-line-clamp":r}}};e(Xe,"id","Lines"),e(Xe,"matches",/^lines:./),e(Xe,"unit","");var te=class extends t{};e(te,"id","TransformOrigin"),e(te,"matches",/^transform:((top|bottom|right|left|center)|\d)/),e(te,"propName","transform-origin"),e(te,"unit","px");var Ze=class extends t{};e(Ze,"id","TransformStyle"),e(Ze,"matches",/^transform:(flat|preserve-3d)(?!\|)/),e(Ze,"propName","transform-style");var Je=class extends t{};e(Je,"id","TransformBox"),e(Je,"matches",/^transform:(content|border|fill|stroke|view)(?!\|)/),e(Je,"propName","transform-box");var re=class extends t{parseValue(r,{rootSize:o}){return r.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(i,n,s,m)=>{let p,h;switch(n){case"translate":p="rem";break;case"skew":p="deg";break;case"rotate":s==="3d"&&(h=!0),p="deg";break;default:return i}let c=m.split(",");return i.replace(m,c.map((f,g)=>!h||c.length-1===g?Number.isNaN(+f)?f:f/(p==="rem"?o:1)+p:f).join(","))})}};e(re,"id","Transform"),e(re,"matches",/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/),e(re,"propName","transform"),e(re,"unit","");var Ke=class extends t{order=-1};e(Ke,"id","Transition"),e(Ke,"symbol","~"),e(Ke,"propName","transition");var ie=class extends t{};e(ie,"id","TransitionDelay"),e(ie,"matches",/^~delay:./),e(ie,"propName","transition-delay"),e(ie,"unit","ms");var oe=class extends t{};e(oe,"id","TransitionDuration"),e(oe,"matches",/^~duration:./),e(oe,"propName","transition-duration"),e(oe,"unit","ms");var et=class extends t{};e(et,"id","TransitionProperty"),e(et,"matches",/^~property:./),e(et,"propName","transition-property");var tt=class extends t{};e(tt,"id","TransitionTimingFunction"),e(tt,"matches",/^~easing:./),e(tt,"propName","transition-timing-function");var rt=class extends t{};e(rt,"id","MaxHeight"),e(rt,"matches",/^max-h:./),e(rt,"propName","max-height");var it=class extends t{};e(it,"id","MaxWidth"),e(it,"matches",/^max-w:./),e(it,"propName","max-width");var ot=class extends t{};e(ot,"id","Display"),e(ot,"matches",/^d:./),e(ot,"propName","display");var st=class extends t{};e(st,"id","BoxSizing"),e(st,"matches",/^box:(content|border)(?!\|)/),e(st,"propName","box-sizing");var at=class extends t{};e(at,"id","Opacity"),e(at,"propName","opacity"),e(at,"unit","");var Ir=class extends t{};e(Ir,"id","Visibility"),e(Ir,"propName","visibility");var Br=class extends t{};e(Br,"id","Clear"),e(Br,"propName","clear");var Fr=class extends t{};e(Fr,"id","Float"),e(Fr,"propName","float");var jr=class extends t{};e(jr,"id","Isolation"),e(jr,"propName","isolation");var Dr=class extends t{get(r){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":r};case"y":return{"overflow-y":r}}return{overflow:r}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};e(Dr,"id","Overflow"),e(Dr,"matches",/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/);var Er=class extends t{get(r){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":r};case"y":return{"overscroll-behavior-y":r};default:return{"overscroll-behavior":r}}}};e(Er,"id","OverscrollBehavior"),e(Er,"matches",/^overscroll-behavior(?:-[xy])?:/);var se=class extends t{};e(se,"id","ZIndex"),e(se,"matches",/^z:./),e(se,"propName","z-index"),e(se,"unit","");var ae=class extends t{};e(ae,"id","AnimationDelay"),e(ae,"matches",/^@delay:./),e(ae,"propName","animation-delay"),e(ae,"unit","ms");var nt=class extends t{};e(nt,"id","AnimationDirection"),e(nt,"matches",/^@direction:./),e(nt,"propName","animation-direction");var lt=class extends t{};e(lt,"id","AnimationFillMode"),e(lt,"matches",/^@fill-mode:./),e(lt,"propName","animation-fill-mode");var ne=class extends t{};e(ne,"id","AnimationIterationCount"),e(ne,"matches",/^@iteration-count:./),e(ne,"propName","animation-interation-count"),e(ne,"unit","");var ct=class extends t{};e(ct,"id","AnimationName"),e(ct,"matches",/^@name:./),e(ct,"propName","animation-name");var dt=class extends t{};e(dt,"id","AnimationPlayState"),e(dt,"matches",/^@play-state:./),e(dt,"propName","animation-play-state");var mt=class extends t{};e(mt,"id","AnimationTimingFunction"),e(mt,"matches",/^@easing:./),e(mt,"propName","animation-timing-function");var le=class extends t{order=-1};e(le,"id","Animation"),e(le,"symbol","@"),e(le,"propName","animation"),e(le,"unit","");var io="border-";function ce(r,o,i=""){i&&(i="-"+i);let n=/^b(order)?-?(.)?/.exec(r)[2],s=io+"left"+i,m=io+"right"+i,p=io+"top"+i,h=io+"bottom"+i;switch(n){case"x":return{[s]:o,[m]:o};case"y":return{[p]:o,[h]:o};case"l":return{[s]:o};case"r":return{[m]:o};case"t":return{[p]:o};case"b":return{[h]:o};default:return{["border"+i]:o}}}var de=class extends t{get(r){return ce(this.prefix,r,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(de,"id","BorderColor"),e(de,"matches",/^border(-(left|right|top|bottom))?-color:./),e(de,"colorStarts","b([xytblr]|(order(-(left|right|top|bottom))?))?:"),e(de,"colorful",!0);var oo="border-top-left-radius",so="border-top-right-radius",ao="border-bottom-left-radius",no="border-bottom-right-radius",jo="border-radius",cs=[oo,so,ao,no],Wr=class extends t{get(r){if(this.prefix){let i="",n=this.prefix.split("-");if(n.length>1)for(let s=1;s<n.length-1;s++)i+=n[s][0];else i=this.prefix.slice(1,-1);switch(i){case"t":return{[oo]:r,[so]:r};case"tl":case"lt":return{[oo]:r};case"rt":case"tr":return{[so]:r};case"b":return{[ao]:r,[no]:r};case"bl":case"lb":return{[ao]:r};case"br":case"rb":return{[no]:r};case"l":return{[oo]:r,[ao]:r};case"r":return{[so]:r,[no]:r};default:return{[jo]:r}}}let o=this.prefix?.slice(0,-1);return{[cs.includes(o)?o:jo]:r}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};e(Wr,"id","BorderRadius"),e(Wr,"matches",/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/);var Pr=class extends t{get(r){return ce(this.prefix,r,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Pr,"id","BorderStyle"),e(Pr,"matches",/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/);var Lr=class extends t{get(r){return ce(this.prefix,r,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Lr,"id","BorderWidth"),e(Lr,"matches",/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/);var ft=class extends t{get(r){return ce(this.prefix,r)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};e(ft,"id","Border"),e(ft,"matches",/^b([xytblr]?|order(-(left|right|top|bottom))?):./),e(ft,"colorful",!0);var pt=class extends t{};e(pt,"id","BackgroundAttachment"),e(pt,"matches",/^(bg|background):(fixed|local|scroll)(?!\|)/),e(pt,"propName","background-attachment");var Gr=class extends t{};e(Gr,"id","BackgroundBlendMode"),e(Gr,"propName","background-blend-mode");var ut=class extends t{get(r){return{"-webkit-background-clip":r,"background-clip":r}}};e(ut,"id","BackgroundClip"),e(ut,"matches",/^(bg|background):text(?!\|)/),e(ut,"propName","background-clip");var U=class extends t{};e(U,"id","BackgroundColor"),e(U,"colorStarts","(bg|background):"),e(U,"propName","background-color"),e(U,"unit",""),e(U,"colorful",!0);var ht=class extends t{};e(ht,"id","BackgroundOrigin"),e(ht,"matches",/^(bg|background):(content|border|padding)(?!\|)/),e(ht,"propName","background-origin");var me=class extends t{};e(me,"id","BackgroundPosition"),e(me,"matches",/^(bg|background):(top|bottom|right|left|center)(?!\|)/),e(me,"propName","background-position"),e(me,"unit","px");var gt=class extends t{};e(gt,"id","BackgroundRepeat"),e(gt,"matches",/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/),e(gt,"propName","background-repeat");var xt=class extends t{};e(xt,"id","BackgroundSize"),e(xt,"matches",/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/),e(xt,"propName","background-size");var fe=class extends t{};e(fe,"id","BackgroundImage"),e(fe,"matches",/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(fe,"propName","background-image"),e(fe,"colorful",!0);var pe=class extends t{order=-1};e(pe,"id","Background"),e(pe,"matches",/^bg:./),e(pe,"propName","background"),e(pe,"colorful",!0);var vt=class extends t{};e(vt,"id","MixBlendMode"),e(vt,"matches",/^blend:./),e(vt,"propName","mix-blend-mode");var zr=class extends t{};e(zr,"id","Position"),e(zr,"propName","position");var _r=class extends t{get(r){let o=this.prefix.slice(0,-1);switch(o){case"top":case"left":case"right":case"bottom":return{[o]:r};case"center":return{left:r,right:r,"margin-left":{...r,unit:""},"margin-right":{...r,unit:""}};case"middle":return{top:r,bottom:r,"margin-top":{...r,unit:""},"margin-bottom":{...r,unit:""}}}}};e(_r,"id","Placement"),e(_r,"matches",/^(top|left|right|bottom|center|middle):./);function lo(r,o,{rootSize:i}){let n="",s=0;return function m(p,h){let c="",f=h?o(h):"",g=()=>{c&&(n+=!f||Number.isNaN(+c)?c:+c/(f==="rem"?i:1)+f,c="")};for(;s<r.length;s++){let x=r[s];if(x===p&&(p!=="'"||r[s+1]===")")){g(),n+=x;break}else x===","||x===" "?(g(),n+=x):!c&&x==="'"?(n+=x,s++,m(x),c=""):c&&x==="("?(n+=c+x,s++,m(")",c),c=""):c+=x}g()}(),n}var St=class extends t{get(r){return{"backdrop-filter":r,"-webkit-backdrop-filter":r}}parseValue(r,o){return lo(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(St,"id","BackdropFilter"),e(St,"matches",/^bd:./),e(St,"propName","backdrop-filter");var ue=class extends t{};e(ue,"id","Fill"),e(ue,"propName","fill"),e(ue,"colorStarts","fill:"),e(ue,"colorful",!0);var bt=class extends t{};e(bt,"id","Stroke"),e(bt,"propName","stroke"),e(bt,"colorful",!0);var yt=class extends t{};e(yt,"id","StrokeWidth"),e(yt,"matches",/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(yt,"propName","stroke-width");var Ct=class extends t{parseValue(r,o){return lo(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(Ct,"id","Filter"),e(Ct,"matches",/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/),e(Ct,"propName","filter");var Hr=class extends t{};e(Hr,"id","Cursor"),e(Hr,"propName","cursor");var Vr=class extends t{};e(Vr,"id","PointerEvents"),e(Vr,"propName","pointer-events");var $r=class extends t{};e($r,"id","Resize"),e($r,"propName","resize");var Ur=class extends t{};e(Ur,"id","TouchAction"),e(Ur,"propName","touch-action");var Qr=class extends t{get(r){return{"user-drag":r,"-webkit-user-drag":r}}};e(Qr,"id","UserDrag"),e(Qr,"propName","user-drag");var Yr=class extends t{get(r){return{"user-select":r,"-webkit-user-select":r}}};e(Yr,"id","UserSelect"),e(Yr,"propName","user-select");var he=class extends t{};e(he,"id","BoxShadow"),e(he,"matches",/^s(?:hadow)?:./),e(he,"propName","box-shadow"),e(he,"colorful",!0);var Rt=class extends t{};e(Rt,"id","TextShadow"),e(Rt,"propName","text-shadow"),e(Rt,"colorful",!0);var Do=.5,qr=class extends t{get(r){let{unit:o,value:i}=r;return{"font-size":r,"line-height":{...r,value:o==="rem"?i+Do+o:`calc(${i}${o} + ${Do}rem)`,unit:""}}}};e(qr,"id","TextSize"),e(qr,"matches",/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/);var Mt=class extends t{};e(Mt,"id","WordBreak"),e(Mt,"propName","word-break"),e(Mt,"unit","");var ge=class extends t{get(r){return{display:{...r,value:"grid"},"grid-template-columns":{...this,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(ge,"id","GridColumns"),e(ge,"matches",/^grid-cols:./),e(ge,"propName","grid-columns"),e(ge,"unit","");var Nt=class extends t{get(r){return{display:{...r,value:"grid"},"grid-auto-flow":{...r,value:"column"},"grid-template-rows":{...r,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(Nt,"id","GridRows"),e(Nt,"propName","grid-rows"),e(Nt,"unit","");var Xr=class extends t{get(r){switch(this.prefix[4]){case"x":return{"column-gap":r};case"y":return{"row-gap":r};default:return{gap:r}}}order=-1};e(Xr,"id","Gap"),e(Xr,"matches",/^gap(-x|-y)?:./);var kt=class extends t{};e(kt,"id","WordSpacing"),e(kt,"propName","word-spacing"),e(kt,"unit","em");var Tt=class extends t{get(r){return{["--"+this.prefix.slice(1,-1)]:r}}};e(Tt,"id","Variable"),e(Tt,"matches",/^\$[^ {}A-Z]+:[^ ]/),e(Tt,"unit","");var xe=class extends t{};e(xe,"id","AspectRadio"),e(xe,"matches",/^aspect:./),e(xe,"propName","aspect-ratio"),e(xe,"unit","");var wt=class extends t{get(r){return{"box-decoration-break":r,"-webkit-box-decoration-break":r}}};e(wt,"id","BoxDecorationBreak"),e(wt,"matches",/^box:(slice|clone)(?!\|)/),e(wt,"propName","box-decoration-break");var Zr=class extends t{};e(Zr,"id","BreakAfter"),e(Zr,"propName","break-after");var Jr=class extends t{};e(Jr,"id","BreakBefore"),e(Jr,"propName","break-before");var Kr=class extends t{};e(Kr,"id","BreakInside"),e(Kr,"propName","break-inside");var Ot=class extends t{};e(Ot,"id","FlexShrink"),e(Ot,"propName","flex-shrink"),e(Ot,"unit","");var At=class extends t{};e(At,"id","FlexDirection"),e(At,"matches",/^flex:((row|col|column)(-reverse)?)(?!\|)/),e(At,"propName","flex-direction");var It=class extends t{};e(It,"id","FlexGrow"),e(It,"propName","flex-grow"),e(It,"unit","");var Bt=class extends t{};e(Bt,"id","FlexWrap"),e(Bt,"matches",/^flex:(wrap(-reverse)?|nowrap)(?!\|)/),e(Bt,"propName","flex-wrap");var ei=class extends t{};e(ei,"id","FlexBasis"),e(ei,"propName","flex-basis");var Ft=class extends t{order=-1};e(Ft,"id","Flex"),e(Ft,"propName","flex"),e(Ft,"unit","");var ve=class extends t{};e(ve,"id","Order"),e(ve,"matches",/^o:./),e(ve,"propName","order"),e(ve,"unit","");var Se=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(Se,"id","GridColumn"),e(Se,"matches",/^grid-col(?:umn)?(?:-span)?:./),e(Se,"propName","grid-column"),e(Se,"unit","");var jt=class extends t{};e(jt,"id","ColumnSpan"),e(jt,"matches",/^col-span:./),e(jt,"propName","column-span");var be=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(be,"id","GridRow"),e(be,"matches",/^grid-row-span:./),e(be,"propName","grid-row"),e(be,"unit","");var Q=class extends t{};e(Q,"id","Color"),e(Q,"colorStarts","(?:color|fg|foreground):"),e(Q,"colorful",!0),e(Q,"propName","color"),e(Q,"unit","");var Dt=class extends t{};e(Dt,"id","AlignContent"),e(Dt,"matches",/^ac:./),e(Dt,"propName","align-content");var Et=class extends t{};e(Et,"id","AlignItems"),e(Et,"matches",/^ai:./),e(Et,"propName","align-items");var Wt=class extends t{};e(Wt,"id","AlignSelf"),e(Wt,"matches",/^as:./),e(Wt,"propName","align-self");var Pt=class extends t{};e(Pt,"id","GridAutoColumns"),e(Pt,"matches",/^grid-auto-cols:./),e(Pt,"propName","grid-auto-columns");var Lt=class extends t{};e(Lt,"id","GridAutoFlow"),e(Lt,"matches",/^grid-flow:./),e(Lt,"propName","grid-auto-flow");var ti=class extends t{};e(ti,"id","GridAutoRows"),e(ti,"propName","grid-auto-rows");var Gt=class extends t{};e(Gt,"id","JustifyContent"),e(Gt,"matches",/^jc:./),e(Gt,"propName","justify-content");var zt=class extends t{};e(zt,"id","JustifyItems"),e(zt,"matches",/^ji:./),e(zt,"propName","justify-items");var _t=class extends t{};e(_t,"id","JustifySelf"),e(_t,"matches",/^js:./),e(_t,"propName","justify-self");var ri=class extends t{order=-1};e(ri,"id","PlaceContent"),e(ri,"propName","place-content");var ii=class extends t{order=-1};e(ii,"id","PlaceItems"),e(ii,"propName","place-items");var oi=class extends t{order=-1};e(oi,"id","PlaceSelf"),e(oi,"propName","place-self");var si=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="padding:"?-1:0}};e(si,"id","Padding"),e(si,"matches",/^padding(?:-(?:left|right|top|bottom))?:./);var ai=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="margin:"?-1:0}};e(ai,"id","Margin"),e(ai,"matches",/^margin(-(left|right|top|bottom))?:./);var Ht=class extends t{};e(Ht,"id","TextOverflow"),e(Ht,"matches",/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/),e(Ht,"propName","text-overflow");var Vt=class extends t{};e(Vt,"id","ListStylePosition"),e(Vt,"matches",/^list-style:(inside|outside)(?!\|)/),e(Vt,"propName","list-style-position");var $t=class extends t{};e($t,"id","ListStyleType"),e($t,"matches",/^list-style:(disc|decimal)(?!\|)/),e($t,"propName","list-style-type");var ni=class extends t{order=-1};e(ni,"id","ListStyle"),e(ni,"propName","list-style");var ye=class extends t{};e(ye,"id","TextDecorationColor"),e(ye,"propName","text-decoration-color"),e(ye,"colorStarts","text-decoration:"),e(ye,"colorful",!0);var Ut=class extends t{};e(Ut,"id","TextDecorationStyle"),e(Ut,"matches",/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/),e(Ut,"propName","text-decoration-style");var Ce=class extends t{};e(Ce,"id","TextDecorationThickness"),e(Ce,"matches",/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/),e(Ce,"propName","text-decoration-thickness"),e(Ce,"unit","em");var li=class extends t{};e(li,"id","TextIndent"),e(li,"propName","text-indent");var ci=class extends t{};e(ci,"id","Content"),e(ci,"propName","content");var Re=class extends t{};e(Re,"id","OutlineColor"),e(Re,"propName","outline-color"),e(Re,"colorStarts","outline:"),e(Re,"colorful",!0);var di=class extends t{};e(di,"id","OutlineOffset"),e(di,"propName","outline-offset");var Qt=class extends t{};e(Qt,"id","OutlineStyle"),e(Qt,"matches",/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/),e(Qt,"propName","outline-style");var Yt=class extends t{};e(Yt,"id","OutlineWidth"),e(Yt,"matches",/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Yt,"propName","outline-width");var qt=class extends t{order=-1};e(qt,"id","Outline"),e(qt,"propName","outline"),e(qt,"colorful",!0);var Xt=class extends t{};e(Xt,"id","BorderCollapse"),e(Xt,"matches",/^b(order)?:(collapse|separate)(?!\|)/),e(Xt,"propName","border-collapse");var mi=class extends t{};e(mi,"id","BorderSpacing"),e(mi,"propName","border-spacing");var fi=class extends t{};e(fi,"id","TableLayout"),e(fi,"propName","table-layout");var Me=class extends t{};e(Me,"id","AccentColor"),e(Me,"propName","accent-color"),e(Me,"colorStarts","accent:"),e(Me,"colorful",!0);var pi=class extends t{};e(pi,"id","Appearance"),e(pi,"propName","appearance");var Ne=class extends t{};e(Ne,"id","CaretColor"),e(Ne,"propName","caret-color"),e(Ne,"colorStarts","caret:"),e(Ne,"colorful",!0);var ui=class extends t{};e(ui,"id","ScrollBehavior"),e(ui,"propName","scroll-behavior");var hi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":r,"scroll-margin-right":r};case"y":return{"scroll-margin-top":r,"scroll-margin-bottom":r};case"l":return{"scroll-margin-left":r};case"r":return{"scroll-margin-right":r};case"t":return{"scroll-margin-top":r};case"b":return{"scroll-margin-bottom":r}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};e(hi,"id","ScrollMargin"),e(hi,"matches",/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./);var gi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":r,"scroll-padding-right":r};case"y":return{"scroll-padding-top":r,"scroll-padding-bottom":r};case"l":return{"scroll-padding-left":r};case"r":return{"scroll-padding-right":r};case"t":return{"scroll-padding-top":r};case"b":return{"scroll-padding-bottom":r}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};e(gi,"id","ScrollPadding"),e(gi,"matches",/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./);var Zt=class extends t{};e(Zt,"id","ScrollSnapAlign"),e(Zt,"matches",/^scroll-snap:(start|end|center)/),e(Zt,"propName","scroll-snap-align");var Jt=class extends t{};e(Jt,"id","ScrollSnapStop"),e(Jt,"matches",/^scroll-snap:(normal|always)(?!\|)/),e(Jt,"propName","scroll-snap-stop");var Kt=class extends t{};e(Kt,"id","ScrollSnapType"),e(Kt,"matches",/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/),e(Kt,"propName","scroll-snap-type");var xi=class extends t{};e(xi,"id","WillChange"),e(xi,"propName","will-change");var vi=class extends t{};e(vi,"id","TextUnderlineOffset"),e(vi,"propName","text-underline-offset");var er=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}};e(er,"id","Inset"),e(er,"matches",/^(?:top|bottom|left|right):./),e(er,"propName","inset");var ke=class extends t{order=-1};e(ke,"id","Columns"),e(ke,"matches",/^(columns|cols):./),e(ke,"propName","columns"),e(ke,"unit","");var tr=class extends t{};e(tr,"id","WhiteSpace"),e(tr,"propName","white-space"),e(tr,"unit","");var rr=class extends t{};e(rr,"id","TextOrientation"),e(rr,"matches",/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/),e(rr,"propName","text-orientation");var ir=class extends t{};e(ir,"id","WritingMode"),e(ir,"matches",/^writing:./),e(ir,"propName","writing-mode");var Si=class extends t{};e(Si,"id","Contain"),e(Si,"propName","contain");var Te=class extends t{};e(Te,"id","AnimationDuration"),e(Te,"matches",/^@duration:./),e(Te,"propName","animation-duration"),e(Te,"unit","ms");var or=class extends t{};e(or,"id","TextRendering"),e(or,"matches",/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/),e(or,"propName","text-rendering");var bi=class extends t{};e(bi,"id","Direction"),e(bi,"propName","direction");var sr=class extends t{};e(sr,"id","TextDecorationLine"),e(sr,"matches",/^t(ext)?:(none|underline|overline|line-through)(?!\|)/),e(sr,"propName","text-decoration-line");var we=class extends t{};e(we,"id","GridColumnStart"),e(we,"matches",/^grid-col-start:./),e(we,"propName","grid-column-start"),e(we,"unit","");var ar=class extends t{};e(ar,"id","ListStyleImage"),e(ar,"matches",/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(ar,"propName","list-style-image");var nr=class extends t{};e(nr,"id","ShapeOutside"),e(nr,"matches",/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/),e(nr,"propName","shape-outside");var lr=class extends t{};e(lr,"id","ShapeMargin"),e(lr,"matches",/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(lr,"propName","shape-margin");var cr=class extends t{};e(cr,"id","ShapeImageThreshold"),e(cr,"propName","shape-image-threshold"),e(cr,"unit","");var dr=class extends t{};e(dr,"id","ClipPath"),e(dr,"matches",/^clip:./),e(dr,"propName","clip-path");var yi=class extends t{order=-1};e(yi,"id","Grid"),e(yi,"propName","grid");var Oe=class extends t{order=-1};e(Oe,"id","Font"),e(Oe,"matches",/^f:./),e(Oe,"propName","font"),e(Oe,"unit","");var Ci=class extends t{};e(Ci,"id","Quotes"),e(Ci,"propName","quotes");var Ri=class extends t{order=-1};e(Ri,"id","GridTemplate"),e(Ri,"propName","grid-template");var mr=class extends t{};e(mr,"id","GridRowStart"),e(mr,"propName","grid-row-start"),e(mr,"unit","");var Mi=class extends t{};e(Mi,"id","GridTemplateAreas"),e(Mi,"propName","grid-template-areas");var fr=class extends t{};e(fr,"id","GridTemplateColumns"),e(fr,"matches",/^grid-template-cols:./),e(fr,"propName","grid-template-columns");var Ni=class extends t{};e(Ni,"id","GridTemplateRows"),e(Ni,"propName","grid-template-rows");var pr=class extends t{order=-1};e(pr,"id","GridArea"),e(pr,"propName","grid-area"),e(pr,"unit","");var Ae=class extends t{};e(Ae,"id","GridColumnEnd"),e(Ae,"matches",/^grid-col-end:./),e(Ae,"propName","grid-column-end"),e(Ae,"unit","");var ur=class extends t{};e(ur,"id","GridRowEnd"),e(ur,"propName","grid-row-end"),e(ur,"unit","");var ki=class extends t{get(r){return{"mask-image":r,"-webkit-mask-image":r}}};e(ki,"id","MaskImage"),e(ki,"propName","mask-image");var Ie=class extends t{get(r){return{"-webkit-text-fill-color":r}}};e(Ie,"id","TextFillColor"),e(Ie,"matches",/^text-fill-color:./),e(Ie,"colorStarts","(text-fill|text|t):"),e(Ie,"colorful",!0);var Ti=class extends t{get(r){return{"-webkit-text-stroke":r}}};e(Ti,"id","TextStroke"),e(Ti,"matches",/^text-stroke:./);var wi=class extends t{get(r){return{"-webkit-text-stroke-width":r}}};e(wi,"id","TextStrokeWidth"),e(wi,"matches",/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/);var Be=class extends t{get(r){return{"-webkit-text-stroke-color":r}}};e(Be,"id","TextStrokeColor"),e(Be,"matches",/^text-stroke-color:./),e(Be,"colorStarts","text-stroke:"),e(Be,"colorful",!0);var Oi=class extends t{};e(Oi,"id","StrokeDasharray"),e(Oi,"propName","stroke-dasharray");var Ai=class extends t{};e(Ai,"id","StrokeDashoffset"),e(Ai,"propName","stroke-dash-offset");var hr=class extends t{};e(hr,"id","X"),e(hr,"propName","x"),e(hr,"unit","");var gr=class extends t{};e(gr,"id","Y"),e(gr,"propName","y"),e(gr,"unit","");var xr=class extends t{};e(xr,"id","Cx"),e(xr,"propName","cx"),e(xr,"unit","");var vr=class extends t{};e(vr,"id","Cy"),e(vr,"propName","cy"),e(vr,"unit","");var Sr=class extends t{};e(Sr,"id","Rx"),e(Sr,"propName","rx"),e(Sr,"unit","");var br=class extends t{};e(br,"id","Ry"),e(br,"propName","ry"),e(br,"unit","");var Ii=class extends t{};e(Ii,"id","BorderImageOutset"),e(Ii,"propName","border-image-outset");var yr=class extends t{};e(yr,"id","BorderImageRepeat"),e(yr,"matches",/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/),e(yr,"propName","border-image-repeat");var Cr=class extends t{};e(Cr,"id","BorderImageSlice"),e(Cr,"propName","border-image-slice"),e(Cr,"unit","");var Rr=class extends t{};e(Rr,"id","BorderImageSource"),e(Rr,"matches",/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/),e(Rr,"propName","border-image-source");var Mr=class extends t{};e(Mr,"id","BorderImageWidth"),e(Mr,"matches",/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/),e(Mr,"propName","border-image-width");var Nr=class extends t{};e(Nr,"id","BorderImage"),e(Nr,"propName","border-image"),e(Nr,"unit","");var ds=/\{(.*)\}/,kr=class extends t{getThemeProps(r,o){let i={},n=(f,g)=>{let x=g.indexOf(":");if(x!==-1){f in i||(i[f]={});let a=i[f],l=g.slice(0,x);l in a||(a[l]=g.slice(x+1))}},s=f=>{let g=(x,a)=>{let l=a.slice(CSS.escape(f.className).length).match(ds)[1].split(";");for(let S of l)n(x,S)};if(this.themeName){let x=f.natives.find(a=>a.themeName===this.themeName)??f.natives.find(a=>!a.themeName);x&&g(this.themeName,x.text)}else for(let x of f.natives)g(x.themeName,x.text)},m=[],p="",h=()=>{p&&(m.push(p),p="")},c=1;(function f(g){for(;c<r.value.length;c++){let x=r.value[c];if(!g){if(x===";"){h();continue}if(x==="}")break}if(p+=x,g===x){if(g==="'"){let a=0;for(let l=p.length-2;p[l]==="\\";l--)a++;if(a%2)continue}break}else x in Or&&g!=="'"&&(c++,f(Or[x]))}})(void 0),h();for(let f of m){let g=o.findAndNew(f);if(Array.isArray(g))for(let x of g)s(x);else g?s(g):n(this.themeName??"",f)}return i}};e(kr,"id","Group"),e(kr,"matches",/^(?:.+?[*_>~+])?\{.+?\}/),e(kr,"unit","");var Tr=class extends t{};e(Tr,"id","CounterIncrement"),e(Tr,"propName","counter-increment"),e(Tr,"unit","");var wr=class extends t{};e(wr,"id","CounterReset"),e(wr,"propName","counter-reset"),e(wr,"unit","");var ms=[kr,Tt,Pe,X,We,He,J,Ve,Oe,Q,Ar,ai,si,ei,Bt,It,Ot,At,Ft,ot,Le,Ge,ze,_e,Si,ci,Tr,wr,Z,K,$e,Ue,Qe,ye,Ut,Ce,sr,ee,vi,Ht,rr,Ye,or,li,qe,ke,tr,er,Xe,rt,it,st,at,Ir,Br,Fr,jr,Dr,Er,se,zr,_r,Hr,Vr,$r,Ur,Mt,kt,Qr,Yr,Rt,qr,Ie,wi,Be,Ti,he,fi,Je,Ze,te,re,et,tt,oe,ie,Ke,ae,nt,Te,lt,ne,ct,dt,mt,le,de,Wr,Pr,Lr,Xt,mi,Ii,yr,Cr,Rr,Mr,Nr,ft,pt,Gr,ut,U,ht,me,gt,xt,fe,pe,vt,St,Ct,ue,Oi,Ai,yt,bt,hr,gr,xr,vr,Sr,br,we,Ae,Se,ge,mr,ur,be,Nt,Pt,Lt,ti,Mi,fr,Ni,Ri,pr,yi,Xr,ve,Kr,Jr,Zr,wt,xe,jt,Dt,Et,Wt,Gt,zt,_t,ri,ii,oi,Vt,$t,ar,ni,Re,di,Qt,Yt,qt,Me,pi,Ne,ui,hi,gi,Zt,Jt,Kt,xi,ir,bi,nr,lr,cr,dr,Ci,ki],co=ms;var fs={colors:Ui,breakpoints:Ee,semantics:qi,values:Ki,selectors:Yi,themes:Xi,scheme:Zi,Rules:co,rootSize:Qi},Pi=fs;function Eo(r,o){return Array.isArray(r)&&Array.isArray(o)?r.concat(o):o}function mo(r){return Object.prototype.toString.call(r).slice(8,-1)}function Bi(r){return mo(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function bo(r){return mo(r)==="Symbol"}function Wo(r,o,i,n){let s={}.propertyIsEnumerable.call(n,o)?"enumerable":"nonenumerable";s==="enumerable"&&(r[o]=i),s==="nonenumerable"&&Object.defineProperty(r,o,{value:i,enumerable:!1,writable:!0,configurable:!0})}function Po(r,o,i){if(!Bi(o))return o;let n={};if(Bi(r)){let h=Object.getOwnPropertyNames(r),c=Object.getOwnPropertySymbols(r);n=[...h,...c].reduce((f,g)=>{let x=r[g];return(!bo(g)&&!Object.getOwnPropertyNames(o).includes(g)||bo(g)&&!Object.getOwnPropertySymbols(o).includes(g))&&Wo(f,g,x,r),f},{})}let s=Object.getOwnPropertyNames(o),m=Object.getOwnPropertySymbols(o);return[...s,...m].reduce((h,c)=>{let f=o[c],g=Bi(r)?r[c]:void 0;g!==void 0&&Bi(f)&&(f=Po(g,f,i));let x=i?i(g,f,c):f;return Wo(h,c,x,o),h},n)}function Fi(r,...o){return o.filter(i=>Bi(i)).reduce((i,n)=>Po(i,n,Eo),r)}var ps=[",",".","#","[","!","*",">","+","~",":","@"],us=/^::-[a-z]+-/m,fo,Gi=typeof window<"u";Gi&&(fo=document.createElement("style"),fo.title="master");var G="max-width",L="min-width",hs="attributes",gs=Gi?window.MutationObserver:Object,ji,Fe,Li=class extends gs{constructor(i){super(n=>{let s={},m=[],p=[],h=[],c=(a,l)=>{l?a.classList.forEach(g):a.classList.forEach(f);let S=a.children;for(let d=0;d<S.length;d++){let u=S[d];u.classList&&(p.push(u),c(u,l))}},f=a=>{a in s?s[a]++:s[a]=1},g=a=>{a in s?s[a]--:s[a]=-1},x=(a,l)=>{for(let S=0;S<a.length;S++){let d=a[S];d.classList&&!p.includes(d)&&!h.includes(d)&&(d.isConnected!==l?(p.push(d),c(d,l)):h.push(d))}};for(let a=0;a<n.length;a++){let l=n[a],{addedNodes:S,removedNodes:d,type:u,target:v,oldValue:M}=l;if(u===hs){if(v.className===M||m.find(k=>k.target===v))continue;m.push(l)}else x(S,!1),x(d,!0)}if(!(!m.length&&!Object.keys(s).length)){for(let{oldValue:a,target:l}of m){let S=p.includes(l),d=l.classList,u=a?a.split(" "):[];if(S){if(l.isConnected)continue;for(let v of u)d.contains(v)||g(v)}else if(l.isConnected){d.forEach(v=>{u.includes(v)||f(v)});for(let v of u)d.contains(v)||g(v)}else for(let v of u)g(v)}for(let a in s){let l=s[a],S=(this.countOfClass[a]||0)+l;S===0?(delete this.countOfClass[a],this.delete(a)):(a in this.countOfClass||this.findAndInsert(a),this.countOfClass[a]=S)}}});this.options=i;e(this,"style");e(this,"rules",[]);e(this,"ruleOfClass",{});e(this,"countOfClass",{});e(this,"host");e(this,"root");e(this,"ready",!1);e(this,"config");e(this,"semantics");e(this,"classes");e(this,"colorsThemesMap");e(this,"colorNames");e(this,"themeNames");e(this,"relationThemesMap");e(this,"relations");e(this,"selectors");e(this,"values");e(this,"globalValues");e(this,"schemeMQL");uo(this,ji,void 0);uo(this,Fe,void 0);e(this,"onThemeChange",i=>{this.theme=i.matches?"dark":"light"});this.options=Fi({observe:!0},i),this.options.config&&!this.options.override?this.config=Fi(Pi,this.options.config):this.config=Pi,this.cache(),Gi&&this.options.observe&&this.observe(document),Li.instances.push(this),this.ready=!0}static refresh(i){for(let n of this.instances)n.refresh(i)}get storageScheme(){let{storage:i}=this.config.scheme;return localStorage.getItem(i.key)}set scheme(i){if(i!==De(this,ji)){ho(this,ji,i);let{storage:n}=this.config.scheme;i==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=i),this.storageScheme!==i&&n.sync&&localStorage.setItem(n.key,i),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return De(this,ji)}set theme(i){i!==De(this,Fe)&&(De(this,Fe)&&this.host.classList.remove(De(this,Fe)),ho(this,Fe,i),this.host===document.documentElement&&(this.host.style.colorScheme=i),this.host.classList.add(i),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return De(this,Fe)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorsThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={};let{semantics:i,classes:n,selectors:s,themes:m,colors:p,values:h}=this.config;function c(a){return a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(i)for(let a in i)this.semantics.push([new RegExp("^"+c(a)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),a]);if(s)for(let[a,l]of Object.entries(s)){let S=new RegExp(c(a)+"(?![a-z-])");for(let d of Array.isArray(l)?l:[l]){let u=d.match(us)?.[0]??"",v=this.selectors[u];v||(v=this.selectors[u]=[]);let M=v.find(([k])=>k===S);M||(M=[S,[]],v.push(M)),M[1].push(d)}}if(h)for(let[a,l]of Object.entries(h))(typeof l=="object"?this.values:this.globalValues)[a]=l;let f=[...n?Object.keys(n):[],...m&&!Array.isArray(m)?Object.entries(m).flatMap(([a,{classes:l}])=>l?Object.keys(l):[]):[]],g=a=>{if(a in this.classes)return;let l=this.classes[a]=[],S=(d,u)=>{if(!u)return;let v=Array.isArray(u)?u:u.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let M of v){let k=T=>{T in this.relationThemesMap?d in this.relationThemesMap[T]?this.relationThemesMap[T][d].push(a):this.relationThemesMap[T][d]=[a]:this.relationThemesMap[T]={[d]:[a]},l.includes(T)||l.push(T)};if(f.includes(M)){g(M);for(let T of this.classes[M])k(T)}else k(M)}};if(S("",n?.[a]),m&&!Array.isArray(m))for(let[d,{classes:u}]of Object.entries(m))S(d,u?.[a])};for(let a of f)g(a);for(let a in this.relationThemesMap){let l=this.relations[a]=[];for(let S of Object.values(this.relationThemesMap[a]))for(let d of S)l.includes(d)||l.push(d)}let x=(a,l)=>{if(!!l)for(let S in l){let d=l[S];if(typeof d=="string"&&(d={"":d}),S in this.colorsThemesMap){let u=this.colorsThemesMap[S];for(let v in d){let M=d[v];v in u?u[v][a]=M:u[v]={[a]:M}}}else this.colorNames.push(S),this.colorsThemesMap[S]=Object.entries(d).reduce((u,[v,M])=>(u[v]={[a]:M},u),{})}};if(x("",p),m)if(Array.isArray(m))this.themeNames.push(...m);else for(let a in m){let l=m[a];x(a,l.colors),this.themeNames.push(a)}for(let[a,l]of Object.entries(this.colorsThemesMap))for(let[S,d]of Object.entries(l))for(let[u,v]of Object.entries(d))if(!v.startsWith("#")){let[M,k]=v.split("-"),T=this.colorsThemesMap[M]?.[k??""],C="";T&&(C=(u?T[u]:void 0)??T[""],C&&(d[u]=C)),C||(console.warn(`\`${v}\` doesn't exist in the extended config \`.colors\``),Object.keys(d).length>1?delete d[u]:Object.keys(l).length>1?delete l[S]:(delete this.colorsThemesMap[a],this.colorNames.splice(this.colorNames.indexOf(a),1)))}}observe(i,n={subtree:!0,childList:!0}){if(Gi&&i){this.root=i;let s=i===document;s&&(Li.root=this),this.host=s?document.documentElement:i.host,this.scheme=this.storageScheme||this.config.scheme.preference;let m=s?document.head:i,p=s?document.styleSheets:i.styleSheets;for(let h of p){let{title:c,href:f,ownerNode:g}=h;(c==="master"||f&&/master(?:\..+)?\.css/.test(f))&&(this.style=g)}if(this.style)for(let h=0;h<this.style.sheet.cssRules.length;h++){let c=g=>{if(g.selectorText){let a=g.selectorText.split(", ")[0].split(" ");for(let l=0;l<a.length;l++){let S=a[l];if(S[0]==="."){let d=S.slice(1),u="";for(let v=0;v<d.length;v++){let M=d[v],k=d[v+1];if(M==="\\"){if(v++,k!=="\\"){u+=k;continue}}else if(ps.includes(M))break;u+=M}if(!(u in this.ruleOfClass)&&!(u in this.classes)){let v=this.findAndNew(u);if(v)return v}}}}else if(g.cssRules)for(let x=0;x<g.cssRules.length;x++){let a=c(g.cssRules[x]);if(a)return a}},f=c(this.style.sheet.cssRules[h]);if(f){this.rules.push(f),this.ruleOfClass[f.className]=f;for(let g=0;g<f.natives.length;g++)f.natives[g].cssRule=this.style.sheet.cssRules[h+g];h+=f.natives.length-1}}else this.style=fo.cloneNode(),m.prepend(this.style);n.subtree&&this.host.querySelectorAll("[class]").forEach(h=>{h.classList.forEach(c=>{c in this.countOfClass?this.countOfClass[c]++:(this.countOfClass[c]=1,this.findAndInsert(c))})}),super.observe(i,{...n,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let i=this.style.sheet;if(i)for(let n=i.cssRules.length-1;n>=0;n--)i.deleteRule(n)}findAndNew(i){let n=s=>{if(s in this.ruleOfClass)return this.ruleOfClass[s];for(let m of this.config.Rules){let p=m.match(s,this.colorNames);if(p)return new m(s,p,this)}for(let m of this.semantics)if(s.match(m[0]))return new t(s,{origin:"semantics",value:m[1]},this)};return i in this.classes?this.classes[i].map(n).filter(s=>s):n(i)}refresh(i){if(this.config=i,this.cache(),!this.style)return;let n=fo.cloneNode();this.style.replaceWith(n),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let s in this.countOfClass)this.findAndInsert(s)}destroy(){let i=Li.instances;this.disconnect(),i.splice(i.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}insert(i){if(this.ruleOfClass[i.className])return;let{validateRule:n}=this.config;if(n&&!n(i,this))return;let s,m=this.rules.length-1,{media:p,order:h,prioritySelectorIndex:c,hasWhere:f,className:g}=i,x=(a,l,S,d)=>{let u=0,v;l&&(u=a.findIndex(l)),S&&(v=a.findIndex(S)),u===-1&&(u=a.length),(v===void 0||v===-1)&&(v=a.length);let M=a.slice(u,v);for(let k=0;k<M.length;k++){let T=M[k];if(!(T.prioritySelectorIndex===-1||d&&d(T))&&(T.prioritySelectorIndex<c||T.prioritySelectorIndex===c&&(f&&!T.hasWhere||T.order>=h)))return u+k}return u+M.length};if(p){let a=this.rules.findIndex(l=>l.media);if(a!==-1){let l=p.features[G],S=p.features[L];if(l&&S){let d=l.value-S.value;for(let u=m;u>=a;u--){s=u;let v=this.rules[u],M=v.media,k=M.features[G],T=M.features[L];if(!k||!T){s++;break}let C=k.value-T.value;if(C===d){if(f!==v.hasWhere)continue;if(c!==-1){let j=[this.rules[u]];for(let B=u-1;B>=a;B--){let H=this.rules[B];if(H.hasWhere!==f)break;let V=H.media,$=V.features[G],je=V.features[L];if(!$||!je||$.value-je.value!==C)break;j.unshift(this.rules[B])}s=x(this.rules,B=>B.media&&B.prioritySelectorIndex!==-1&&B.media.features[L]&&B.media.features[G])}break}else if(C>d)break}}else if(S)for(let d=a;d<=m;d++){s=d;let u=this.rules[d],v=u.media,M=v.features[G],k=v.features[L];if(M){if(k)break;continue}let T=k?.value;if(T===S.value){if(!f&&u.hasWhere){s++;continue}if(c!==-1)s=x(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[G],C=>!C.media.features[L]&&!C.media.features[G]);else for(let C=d;C<=m;C++){let j=this.rules[C],B=j.media,H=B.features[L];if(!B.features[G]){if(j.hasWhere!==f||H.value!==T||j.order>=h)break;s=C+1}}break}else{if(T>S.value)break;s++}}else if(l)for(let d=m;d>=a;d--){s=d;let u=this.rules[d],v=u.media,M=v.features[G];if(v.features[L])continue;let T=M?.value;if(!T||T>l.value){s++;break}else if(T===l.value){if(f&&!u.hasWhere)continue;if(c!==-1)s=x(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[G],C=>!C.media.features[L]&&!C.media.features[G]);else{let C=[this.rules[d]];for(let j=d-1;j>=a;j--){let B=this.rules[j],H=B.media,V=H.features[L],$=H.features[G];if(!V&&(!$||$.value!==T||B.hasWhere!==f))break;C.unshift(B)}for(let j=0;j<C.length;j++){let B=C[j];if(!B.media.features[L]){if(B.order>=h)break;s=d-C.length+2+j}}}break}}}if(s===void 0)if(a===-1)s=m+1;else if(c!==-1)s=a+x(this.rules.slice(a),void 0,l=>l.media.features[G]||l.media.features[L]);else if(f){let l=a;for(;l<this.rules.length;l++){let S=this.rules[l];if(S.prioritySelectorIndex!==-1||!S.hasWhere||S.order>=h){s=l;break}}s===void 0&&(s=l)}else for(let l=a;l<=m;l++){s=l;let S=this.rules[l],d=S.media;if(S.prioritySelectorIndex!==-1||d.features[G]||d.features[L])break;if(S.hasWhere)s++;else if(S.order>=h)break}}else if(c===-1)if(f)s=this.rules.findIndex(a=>!a.hasWhere||a.media||a.prioritySelectorIndex!==-1||a.order>=h),s===-1&&(s=m+1);else{let a=0;for(;a<this.rules.length;a++){let l=this.rules[a];if(l.media||!l.hasWhere&&(l.order>=h||l.prioritySelectorIndex!==-1)){s=a;break}}s===void 0&&(s=a)}else s=x(this.rules,void 0,a=>a.media);if(this.rules.splice(s,0,i),this.ruleOfClass[g]=i,this.style){let a=this.style.sheet,l=0,S=d=>{let u=this.rules[d];if(u){if(!u.natives.length)return S(d-1);let v=u.natives[u.natives.length-1].cssRule;for(let M=0;M<a.cssRules.length;M++)if(a.cssRules[M]===v){l=M+1;break}}};S(s-1);for(let d=0;d<i.natives.length;)try{let u=i.natives[d];a.insertRule(u.text,l),u.cssRule=a.cssRules[l++],d++}catch(u){console.error(u),i.natives.splice(d,1)}}}delete(i){let n=this.style.sheet,s=m=>{let p=this.ruleOfClass[m];if(!(!p||m in this.relations&&this.relations[m].some(h=>h in this.countOfClass))){if(p.natives.length){let h=p.natives[0];for(let c=0;c<n.cssRules.length;c++)if(n.cssRules[c]===h.cssRule){for(let g=0;g<p.natives.length;g++)n.deleteRule(c);this.rules.splice(this.rules.indexOf(p),1);break}}delete this.ruleOfClass[m]}};if(i in this.classes){for(let m of this.classes[i])m in this.countOfClass||s(m);delete this.ruleOfClass[i]}else s(i)}findAndInsert(i){let n=this.findAndNew(i);if(Array.isArray(n))for(let s of n)this.insert(s);else n&&this.insert(n)}get text(){return this.rules.map(i=>i.natives.map(n=>n.text).join("")).join("")}},z=Li;ji=new WeakMap,Fe=new WeakMap,e(z,"instances",[]),e(z,"root");Gi&&(window.MasterCSS=z);var zi=typeof global<"u"?global:window;if(!zi.CSS&&!zi.CSS?.escape){let r=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let i=String(o),n=i.length,s=-1,m="",p,h=i.charCodeAt(0);if(n==1&&h==45)return"\\"+i;for(;++s<n;){if(p=i.charCodeAt(s),p==0){m+="\uFFFD";continue}if(p>=1&&p<=31||p==127||s==0&&p>=48&&p<=57||s==1&&p>=48&&p<=57&&h==45){m+="\\"+p.toString(16)+" ";continue}if(p>=128||p==45||p==95||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122){m+=i.charAt(s);continue}m+="\\"+i.charAt(s)}return m};zi.CSS||(zi.CSS={}),zi.CSS.escape=r}function yo(r,o=new z({observe:!1})){if(!!r?.length){for(let i of r)i in o.countOfClass||(o.findAndInsert(i),o.countOfClass[i]=1);return o.rules.map(i=>i.natives.reduce((n,s)=>n+s.text,"")).join("")}}function _i(r,o=new z({observe:!1})){if(!r)return;let i=/\sclass="([^"]*)"/gm,n;for(;n=i.exec(r);){let s=n[1].replace(/\n/g,"").split(" ").filter(m=>m);for(let m of s)m in o.countOfClass||(o.findAndInsert(m),o.countOfClass[m]=1)}return o.rules.map(s=>s.natives.reduce((m,p)=>m+p.text,"")).join("")}function Co(r,o=new z({observe:!1})){if(!!r)return r.replace(/(<head>)/,`$1<style title="master">${_i(r,o)}</style>`)}var xs=typeof document<"u"&&document;0&&(module.exports={DefaultRules,MasterCSSRule,defaultBreakpoints,defaultColors,defaultConfig,defaultRootSize,defaultScheme,defaultSelectors,defaultSemantics,defaultThemes,defaultValues,extend,fillColorScale,render,renderFromHTML,renderIntoHTML,root});
1
+ var $i=Object.defineProperty;var zo=Object.getOwnPropertyDescriptor;var _o=Object.getOwnPropertyNames;var Ho=Object.prototype.hasOwnProperty;var Vo=(r,o,i)=>o in r?$i(r,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[o]=i;var $o=(r,o)=>{for(var i in o)$i(r,i,{get:o[i],enumerable:!0})},Uo=(r,o,i,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of _o(o))!Ho.call(r,s)&&s!==i&&$i(r,s,{get:()=>o[s],enumerable:!(n=zo(o,s))||n.enumerable});return r};var Qo=r=>Uo($i({},"__esModule",{value:!0}),r);var e=(r,o,i)=>(Vo(r,typeof o!="symbol"?o+"":o,i),i),Mo=(r,o,i)=>{if(!o.has(r))throw TypeError("Cannot "+i)};var De=(r,o,i)=>(Mo(r,o,"read from private field"),i?i.call(r):o.get(r)),uo=(r,o,i)=>{if(o.has(r))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(r):o.set(r,i)},ho=(r,o,i,n)=>(Mo(r,o,"write to private field"),n?n.call(r,i):o.set(r,i),i);var vs={};$o(vs,{DefaultRules:()=>co,MasterCSSRule:()=>t,default:()=>z,defaultBreakpoints:()=>Ee,defaultColors:()=>Ui,defaultConfig:()=>Pi,defaultRootSize:()=>Qi,defaultScheme:()=>Zi,defaultSelectors:()=>Yi,defaultSemantics:()=>qi,defaultThemes:()=>Xi,defaultValues:()=>Ki,extend:()=>Fi,fillColorScale:()=>D,render:()=>yo,renderFromHTML:()=>_i,renderIntoHTML:()=>Co,root:()=>xs});module.exports=Qo(vs);var Yo={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},Ee=Yo;function Ei(r){r.startsWith("#")&&(r=r.slice(1));let o=r.match(/.{1,2}/g);return[parseInt(o[0],16),parseInt(o[1],16),parseInt(o[2],16)]}function No(r,o,i){return((1<<24)+(r<<16)+(o<<8)+i).toString(16).slice(1)}function D(r){typeof r=="string"&&(r={"":r});let o=""in r,i=!1;for(let n in r)if(n&&+n>=100){i=!0;break}if(!i&&(!o||Object.keys(r).length>1)){let n=0,s="0"in r?Ei(r[0]):[0,0,0],m,p,h=[],c=()=>{let f=m-n,g=p.map((x,a)=>(x-s[a])/f);for(let x of h){let a=x-n,l=s.map((S,d)=>Math.round(S+g[d]*a));r[x]="#"+No.call(this,...l)}};for(let f=1;f<100;f++)f in r?(h.length?(m=f,p=Ei(r[f]),c(),h.length=0,s=p):s=Ei(r[f]),n=f):h.push(f);h.length&&(m=100,p="100"in r?Ei(r[100]):[255,255,255],c())}return o||(r[""]=r[i?"500":"50"]),r}var qo={slate:D({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:D({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:D({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:D({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:D({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:D({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:D({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:D({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:D({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:D({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:D({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:D({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:D({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:D({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:D({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:D({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:D({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:D({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:D({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:D({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},Ui=qo;var Qi=16;var Xo={"::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("},Yi=Xo;var Zo={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",overflow:"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","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"}},qi=Zo;var Jo=["dark","light"],Xi=Jo;var Ko={storage:{sync:!0,key:"scheme"}},Zi=Ko;var Wi={content:"content-box",border:"border-box",padding:"padding-box"},Ji={min:"min-content",max:"max-content"},q={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let r in Ee)q[r]=Ee[r]/16+"rem";var es={BackgroundClip:Wi,BackgroundOrigin:Wi,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...Wi,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{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"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:Ji,GridAutoRows:Ji,GridTemplateColumns:Ji,GridTemplateRows:Ji,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...Wi,margin:"margin-box"},TransformBox:{...Wi,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:q,MinWidth:q,MinHeight:q,MaxWidth:q,MaxHeight:q,Height:q,FlexBasis:q},Ki=es;function eo(r,o){return(r?r+":":"")+(o.unit?o.value+o.unit:o.value)+(o.important?"!important":"")}function ko(r){let o=h=>h==="+"||h==="-"||h==="*"||h==="/",i="",n,s="",m=!1;function p(){n=null,s=""}for(let h=0;h<r.length;h++){let c=r[h];if(c==="("||c===")")m=c===")",i+=s+c,p();else if(c===",")i+=s+c+" ",p();else{switch(n){case 1:break;case 2:if(o(c)){i+=s+" "+c+" ",p();continue}break;default:m&&(s+=" "),isNaN(+c)?o(c)||(n=1):n=2;break}s+=c}}return s&&(i+=s),i}var ts=/^([+-.]?\d+(\.?\d+)?)(.*)?/,rs="var(--";function to(r,o,i,n,s,m,p){let h="",c="",f="",g;if(n&&r in n)return{value:n[r].toString(),unit:c,unitToken:f};if(s&&r in s)return{value:s[r].toString(),unit:c,unitToken:f};if(typeof r=="number")h=r,c=o||"";else{if(i){let x=Object.keys(i),a=!1,l=!1;r=r.replace(new RegExp(`(^|,| |\\()(${x.join("|")})(?:-([0-9A-Za-z]+))?(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(S,d,u,v,M)=>{l=!0;let k=i[u]?.[v||""];if(k){let T;for(let C of p)if(T=k[C])break;if(T){a=!0;let C=T;if(M){let j=M.endsWith("%")?parseFloat(M)/100:+M;j=isNaN(j)?1:Math.min(Math.max(j,0),1),C+=Math.round(j*255).toString(16).toUpperCase().padStart(2,"0")}return d+C}}return S}),l&&(g=a)}if(o){let x=r.match(ts);if(x)if(r.includes("/")){let a=r.split("/");return{value:+a[0]/+a[1]*100+"%",unit:c,unitToken:f}}else return h=+x[1],c=f=x[3]||"",c||((o==="rem"||o==="em")&&(h=h/m),c=o||""),{value:h,unit:c,unitToken:f}}h=(r.indexOf("calc(")===-1?r:ko(r)).replace(/\$\(((\w|-)+)\)/g,rs+"$1)")}return{value:h,unit:c,unitToken:f,colorMatched:g}}var Or={"(":")","'":"'","{":"}"};var To=[":disabled",":active",":focus",":hover"],ro="matches",is="semantics",wo="symbol",Ao="width",go="max-"+Ao,xo="min-"+Ao,So="motion",Io="reduce",Oo=Io+"d-"+So,vo="px",os="rem",ss=["!","*",">","+","~",":","[","@","_"],as=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,ns=r=>r.split(as).map((o,i)=>i%3?o:o.replace(/_/g," ")).join(""),t=class{constructor(o,i,n){this.className=o;this.matching=i;this.css=n;let s=this.constructor,{id:m,unit:p,propName:h,colorful:c}=s,{breakpoints:f,mediaQueries:g,semantics:x,rootSize:a}=n.config,{themeNames:l,colorsThemesMap:S,selectors:d,globalValues:u}=n,v=n.values[m],M=n.relationThemesMap[o],k=o,T,C,j,B;if(i.origin===is)j=k.slice(i.value.length),T=x[i.value];else{let F;if(i.origin===ro)if(m==="Group"){let w=0;for(;w<k.length&&!(k[w]==="{"&&k[w-1]!=="\\");w++);C=k.slice(0,w),F=k.slice(w)}else{let w=k.indexOf(":");this.prefix=k.slice(0,w+1),this.prefix.includes("(")?(this.prefix=void 0,F=k):F=k.slice(w+1)}else i.origin===wo&&(this.symbol=k[0],F=k.slice(1));B=[];let y="",R=0;(function w(E,N,O=""){let b,A=!1;for(E&&(E===")"&&y.slice(-1)==="$"?b=y.length-1:E==="'"&&(A=!0),y+=F[R++]);R<F.length;R++){let I=F[R];if(I===E){if(y+=I,A){let W=0;for(let _=y.length-2;y[_]==="\\";_--)W++;if(W%2)continue}b!==void 0&&(y=y.slice(0,b)+y.slice(b).replace(/\$\((.*)\)/,"var(--$1)")),N||(A?B.push(y):B.push({value:y}),O="",y="");break}else if(!A&&I in Or)w(Or[I],N===void 0?0:N+1,O);else if(I==="|"&&E!=="}"&&(!A||O==="path"))E?y+=" ":(B.push({value:y}),y="");else{if(!E){if(I==="."){if(isNaN(+F[R+1]))break;F[R-1]==="-"&&(y+="0")}else if(I===","){B.push({value:y},","),y="";continue}else if(I==="#"&&(y||B.length&&F[R-1]!=="|")||ss.includes(I))break;O+=I}y+=I}}})(),y&&B.push({value:y}),j=F.slice(R)}j[0]==="!"&&(this.important=!0,j=j.slice(1));let H=F=>{let y=ns(F),R=[],w="",E=0;for(let N=0;N<y.length;N++){let O=y[N];if(O==="\\"){w+=O+y[++N];continue}!E&&O===","?(R.push(w),w=""):(w+=O,E&&O===")"?E--:O==="("&&E++)}return w&&R.push(w),R};this.prefixSelectors=C?H(C):[""];let V=j.split("@"),$=V[0];if($){this.vendorSuffixSelectors={};let F=(N,O,b,A)=>{for(let[I,W]of O)if(I.test(N)){for(let _ of W)F(N.replace(I,_),O,b,!0);return}A&&b.push(N)},y=[];""in d?F($,d[""],y,!0):y.push($);let R={};for(let[N,O]of Object.entries(d)){if(!N)continue;let b=[];for(let A of y)F(A,O,b,!1);b.length&&(R[N]=b)}let w=(N,O)=>{let b=O.reduce((A,I)=>(A.push(...H(I)),A),[]);N in this.vendorSuffixSelectors?this.vendorSuffixSelectors[N].push(...b):this.vendorSuffixSelectors[N]=b},E=Object.keys(R);if(E.length)for(let N of E)w(N,R[N]);else w("",y);for(let N of Object.values(this.vendorSuffixSelectors))for(let O of N){this.hasWhere!==!1&&(this.hasWhere=O.includes(":where("));for(let b=0;b<To.length;b++)if(O.includes(To[b])){(this.prioritySelectorIndex===-1||this.prioritySelectorIndex>b)&&(this.prioritySelectorIndex=b);break}}}else this.vendorSuffixSelectors={"":[""]};for(let F=1;F<V.length;F++){let y=V[F];if(y)if(l.includes(y))this.themeName=y;else if(y==="rtl"||y==="ltr")this.direction=y;else{let R,w,E=y.indexOf("_");if(E!==-1)R=y.slice(0,E),w=y.slice(E);else{let N=y.indexOf("(");N!==-1&&(R=y.slice(0,N),w=y.slice(N))}if(!R){R="media";let N=[];this.media={token:y,features:{}};let O=y.split("&");for(let b of O)if(b==="all"||b==="print"||b==="screen"||b==="speech")this.media.type=b;else if(b==="\u{1F5A8}")this.media.type="print";else if(b==="landscape"||b==="portrait")N.push("(orientation:"+b+")");else if(b===So||b===Oo)N.push("(prefers-"+Oo+":"+(b===So?"no-preference":Io)+")");else if(g&&b in g)N.push(g[b]);else{let A={token:b},I="",W="",_=0;b.startsWith("<=")?(W="<=",I=go):b.startsWith(">=")||f[b]?(W=">=",I=xo):b.startsWith(">")?(W=">",I=xo,_=.02):b.startsWith("<")&&(W="<",I=go,_=-.02);let Y=W?b.replace(W,""):b,P=f[Y];switch(I){case go:case xo:P?Object.assign(A,to(P,vo)):Object.assign(A,to(Y,vo)),A.unit===vo&&(A.value+=_),this.media.features[I]=A,N.push("("+I+":"+(A.value+A.unit)+")");break}}w="",this.media.type&&(w=this.media.type),N.length&&(w+=(w?" and ":"")+N.join(" and "))}w&&(this.at[R]=(R in this.at?this.at[R]+" and ":"")+w.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let je=(F,y)=>{let R,w,E=(O,b,A)=>{let I="";this.direction&&(I+="[dir="+this.direction+"] ");let W=this.prefixSelectors.map(P=>P+I),_=(P,Hi)=>{let Di=P?"."+P+" ":"",po="."+CSS.escape(Hi);return W.map(Vi=>Di+Vi).reduce((Vi,Lo)=>(Vi.push(A.reduce((Ro,Go)=>(Ro.push(Lo+po+Go),Ro),[]).join(",")),Vi),[]).join(",")},Y=_(b,o)+(M?Object.entries(M).filter(([P])=>this.themeName||!c||!b||!P||P===b).map(([P,Hi])=>Hi.reduce((Di,po)=>Di+","+_(this.themeName??(c&&b||P),po),"")).join(""):"")+"{"+O+"}";for(let P of Object.keys(this.at).sort((Hi,Di)=>Di==="supports"?-1:1))Y="@"+P+" "+this.at[P]+"{"+Y+"}";return Y},N=[];if(B){let O,b;for(let A of B)typeof A=="string"?N.push(A):(O=to(A.value,p,c&&S,v,u,a,this.themeName?[this.themeName,""]:[F]),O.colorMatched!==void 0&&b!==!0&&(b=O.colorMatched),N.push(O.value+O.unit));if(y&&(b===void 0?F:!b))return;if(N.length===1?O?(R=O.value,w=O.unit):R=N[0]:R=N.reduce((A,I,W)=>A+I+(I===","||B[W+1]===","||W===B.length-1?"":" "),""),typeof R!="object"){this.parseValue&&(R=this.parseValue(R,this.css.config)),c&&R==="current"?R="currentColor":v&&R in v?R=v[R].toString():R in u&&(R=u[R].toString());let A={unit:w,value:R,important:this.important};if(this.getThemeProps){let I=this.getThemeProps(A,n);for(let W in I)for(let _ of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:w,value:R,text:E(Object.entries(I[W]).map(([Y,P])=>eo(Y,{important:this.important,unit:"",value:P})).join(";"),W,_),themeName:W});return}else this.get&&(R=this.get(A))}}else R=T;for(let O of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:w,value:R,text:E(typeof R=="object"?Object.entries(R).map(([b,A])=>eo(b,{...typeof A=="object"?A:{unit:"",value:A},important:this.important})).join(";"):eo(h,{unit:w,value:R,important:this.important}),F,O),themeName:F})};if(this.getThemeProps)je(void 0,!1);else if(this.themeName)je(this.themeName,!1);else if(c)for(let F of l)je(F,!0);else je("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;themeName;unitToken;hasWhere;prioritySelectorIndex=-1;natives=[];static match(o,i){if(this.matches&&this.matches.test(o))return{origin:ro};if(this.colorStarts&&(o.match("^"+this.colorStarts+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))")||i.length&&o.match("^"+this.colorStarts+"("+i.join("|")+")")&&o.indexOf("|")===-1))return{origin:ro};if(this.symbol&&o.startsWith(this.symbol))return{origin:wo};if(this.propName&&o.startsWith(this.propName+":"))return{origin:ro}}};e(t,"id"),e(t,"propName"),e(t,"matches"),e(t,"colorStarts"),e(t,"symbol"),e(t,"unit",os),e(t,"colorful");var X=class extends t{};e(X,"id","FontWeight"),e(X,"matches",/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/),e(X,"propName","font-weight"),e(X,"unit","");var We=class extends t{};e(We,"id","FontFamily"),e(We,"matches",/^f(ont)?:(mono|sans|serif)(?!\|)/),e(We,"propName","font-family");var Pe=class extends t{};e(Pe,"id","FontSize"),e(Pe,"matches",/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Pe,"propName","font-size");var Ar=class extends t{get(r){let i=this.prefix[0]==="m"?"margin":"padding",n=i+"-left",s=i+"-right",m=i+"-top",p=i+"-bottom";switch(this.prefix[1]){case"x":return{[n]:r,[s]:r};case"y":return{[m]:r,[p]:r};case"l":return{[n]:r};case"r":return{[s]:r};case"t":return{[m]:r};case"b":return{[p]:r};default:return{[i]:r}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};e(Ar,"id","Spacing"),e(Ar,"matches",/^[pm][xytblr]?:./);var Le=class extends t{};e(Le,"id","Width"),e(Le,"matches",/^w:./),e(Le,"propName","width");var Ge=class extends t{};e(Ge,"id","Height"),e(Ge,"matches",/^h:./),e(Ge,"propName","height");var ze=class extends t{};e(ze,"id","MinWidth"),e(ze,"matches",/^min-w:./),e(ze,"propName","min-width");var _e=class extends t{};e(_e,"id","MinHeight"),e(_e,"matches",/^min-h:./),e(_e,"propName","min-height");var Z=class extends t{};e(Z,"id","LetterSpacing"),e(Z,"matches",/^ls:./),e(Z,"propName","letter-spacing"),e(Z,"unit","em");var ls="subpixel-antialiased",Bo="-webkit-font-smoothing",Fo="-moz-osx-font-smoothing",He=class extends t{get(r){let o={};switch(r.value){case ls:o[Bo]=o[Fo]={...r,value:"auto"};break;case"antialiased":o[Bo]={...r,value:"antialiased"},o[Fo]={...r,value:"grayscale"};break}return o}};e(He,"id","FontSmoothing"),e(He,"matches",/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/),e(He,"unit","");var J=class extends t{};e(J,"id","FontStyle"),e(J,"matches",/^f(ont)?:(normal|italic|oblique)(?!\|)/),e(J,"propName","font-style"),e(J,"unit","deg");var Ve=class extends t{};e(Ve,"id","FontVariantNumeric"),e(Ve,"matches",/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/),e(Ve,"propName","font-variant-numeric");var K=class extends t{};e(K,"id","LineHeight"),e(K,"matches",/^lh:./),e(K,"propName","line-height"),e(K,"unit","");var $e=class extends t{};e($e,"id","ObjectFit"),e($e,"matches",/^(object|obj):(contain|cover|fill|scale-down)/),e($e,"propName","object-fit");var Ue=class extends t{};e(Ue,"id","ObjectPosition"),e(Ue,"matches",/^(object|obj):(top|bottom|right|left|center)/),e(Ue,"propName","object-position");var Qe=class extends t{};e(Qe,"id","TextAlign"),e(Qe,"matches",/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/),e(Qe,"propName","text-align");var ee=class extends t{order=-1};e(ee,"id","TextDecoration"),e(ee,"matches",/^t(ext)?:(underline|line-through|overline)/),e(ee,"propName","text-decoration"),e(ee,"colorful",!0);var Ye=class extends t{};e(Ye,"id","TextTransform"),e(Ye,"matches",/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/),e(Ye,"propName","text-transform");var qe=class extends t{};e(qe,"id","VerticalAlign"),e(qe,"matches",/^(?:v|vertical):./),e(qe,"propName","vertical-align");var Xe=class extends t{get(r){return{overflow:{...r,value:"hidden"},display:{...r,value:"-webkit-box"},"overflow-wrap":{...r,value:"break-word"},"text-overflow":{...r,value:"ellipsis"},"-webkit-box-orient":{...r,value:"vertical"},"-webkit-line-clamp":r}}};e(Xe,"id","Lines"),e(Xe,"matches",/^lines:./),e(Xe,"unit","");var te=class extends t{};e(te,"id","TransformOrigin"),e(te,"matches",/^transform:((top|bottom|right|left|center)|\d)/),e(te,"propName","transform-origin"),e(te,"unit","px");var Ze=class extends t{};e(Ze,"id","TransformStyle"),e(Ze,"matches",/^transform:(flat|preserve-3d)(?!\|)/),e(Ze,"propName","transform-style");var Je=class extends t{};e(Je,"id","TransformBox"),e(Je,"matches",/^transform:(content|border|fill|stroke|view)(?!\|)/),e(Je,"propName","transform-box");var re=class extends t{parseValue(r,{rootSize:o}){return r.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(i,n,s,m)=>{let p,h;switch(n){case"translate":p="rem";break;case"skew":p="deg";break;case"rotate":s==="3d"&&(h=!0),p="deg";break;default:return i}let c=m.split(",");return i.replace(m,c.map((f,g)=>!h||c.length-1===g?Number.isNaN(+f)?f:f/(p==="rem"?o:1)+p:f).join(","))})}};e(re,"id","Transform"),e(re,"matches",/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/),e(re,"propName","transform"),e(re,"unit","");var Ke=class extends t{order=-1};e(Ke,"id","Transition"),e(Ke,"symbol","~"),e(Ke,"propName","transition");var ie=class extends t{};e(ie,"id","TransitionDelay"),e(ie,"matches",/^~delay:./),e(ie,"propName","transition-delay"),e(ie,"unit","ms");var oe=class extends t{};e(oe,"id","TransitionDuration"),e(oe,"matches",/^~duration:./),e(oe,"propName","transition-duration"),e(oe,"unit","ms");var et=class extends t{};e(et,"id","TransitionProperty"),e(et,"matches",/^~property:./),e(et,"propName","transition-property");var tt=class extends t{};e(tt,"id","TransitionTimingFunction"),e(tt,"matches",/^~easing:./),e(tt,"propName","transition-timing-function");var rt=class extends t{};e(rt,"id","MaxHeight"),e(rt,"matches",/^max-h:./),e(rt,"propName","max-height");var it=class extends t{};e(it,"id","MaxWidth"),e(it,"matches",/^max-w:./),e(it,"propName","max-width");var ot=class extends t{};e(ot,"id","Display"),e(ot,"matches",/^d:./),e(ot,"propName","display");var st=class extends t{};e(st,"id","BoxSizing"),e(st,"matches",/^box:(content|border)(?!\|)/),e(st,"propName","box-sizing");var at=class extends t{};e(at,"id","Opacity"),e(at,"propName","opacity"),e(at,"unit","");var Ir=class extends t{};e(Ir,"id","Visibility"),e(Ir,"propName","visibility");var Br=class extends t{};e(Br,"id","Clear"),e(Br,"propName","clear");var Fr=class extends t{};e(Fr,"id","Float"),e(Fr,"propName","float");var jr=class extends t{};e(jr,"id","Isolation"),e(jr,"propName","isolation");var Dr=class extends t{get(r){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":r};case"y":return{"overflow-y":r}}return{overflow:r}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};e(Dr,"id","Overflow"),e(Dr,"matches",/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/);var Er=class extends t{get(r){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":r};case"y":return{"overscroll-behavior-y":r};default:return{"overscroll-behavior":r}}}};e(Er,"id","OverscrollBehavior"),e(Er,"matches",/^overscroll-behavior(?:-[xy])?:/);var se=class extends t{};e(se,"id","ZIndex"),e(se,"matches",/^z:./),e(se,"propName","z-index"),e(se,"unit","");var ae=class extends t{};e(ae,"id","AnimationDelay"),e(ae,"matches",/^@delay:./),e(ae,"propName","animation-delay"),e(ae,"unit","ms");var nt=class extends t{};e(nt,"id","AnimationDirection"),e(nt,"matches",/^@direction:./),e(nt,"propName","animation-direction");var lt=class extends t{};e(lt,"id","AnimationFillMode"),e(lt,"matches",/^@fill-mode:./),e(lt,"propName","animation-fill-mode");var ne=class extends t{};e(ne,"id","AnimationIterationCount"),e(ne,"matches",/^@iteration-count:./),e(ne,"propName","animation-interation-count"),e(ne,"unit","");var ct=class extends t{};e(ct,"id","AnimationName"),e(ct,"matches",/^@name:./),e(ct,"propName","animation-name");var dt=class extends t{};e(dt,"id","AnimationPlayState"),e(dt,"matches",/^@play-state:./),e(dt,"propName","animation-play-state");var mt=class extends t{};e(mt,"id","AnimationTimingFunction"),e(mt,"matches",/^@easing:./),e(mt,"propName","animation-timing-function");var le=class extends t{order=-1};e(le,"id","Animation"),e(le,"symbol","@"),e(le,"propName","animation"),e(le,"unit","");var io="border-";function ce(r,o,i=""){i&&(i="-"+i);let n=/^b(order)?-?(.)?/.exec(r)[2],s=io+"left"+i,m=io+"right"+i,p=io+"top"+i,h=io+"bottom"+i;switch(n){case"x":return{[s]:o,[m]:o};case"y":return{[p]:o,[h]:o};case"l":return{[s]:o};case"r":return{[m]:o};case"t":return{[p]:o};case"b":return{[h]:o};default:return{["border"+i]:o}}}var de=class extends t{get(r){return ce(this.prefix,r,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(de,"id","BorderColor"),e(de,"matches",/^border(-(left|right|top|bottom))?-color:./),e(de,"colorStarts","b([xytblr]|(order(-(left|right|top|bottom))?))?:"),e(de,"colorful",!0);var oo="border-top-left-radius",so="border-top-right-radius",ao="border-bottom-left-radius",no="border-bottom-right-radius",jo="border-radius",cs=[oo,so,ao,no],Wr=class extends t{get(r){if(this.prefix){let i="",n=this.prefix.split("-");if(n.length>1)for(let s=1;s<n.length-1;s++)i+=n[s][0];else i=this.prefix.slice(1,-1);switch(i){case"t":return{[oo]:r,[so]:r};case"tl":case"lt":return{[oo]:r};case"rt":case"tr":return{[so]:r};case"b":return{[ao]:r,[no]:r};case"bl":case"lb":return{[ao]:r};case"br":case"rb":return{[no]:r};case"l":return{[oo]:r,[ao]:r};case"r":return{[so]:r,[no]:r};default:return{[jo]:r}}}let o=this.prefix?.slice(0,-1);return{[cs.includes(o)?o:jo]:r}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};e(Wr,"id","BorderRadius"),e(Wr,"matches",/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/);var Pr=class extends t{get(r){return ce(this.prefix,r,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Pr,"id","BorderStyle"),e(Pr,"matches",/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/);var Lr=class extends t{get(r){return ce(this.prefix,r,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Lr,"id","BorderWidth"),e(Lr,"matches",/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/);var ft=class extends t{get(r){return ce(this.prefix,r)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};e(ft,"id","Border"),e(ft,"matches",/^b([xytblr]?|order(-(left|right|top|bottom))?):./),e(ft,"colorful",!0);var pt=class extends t{};e(pt,"id","BackgroundAttachment"),e(pt,"matches",/^(bg|background):(fixed|local|scroll)(?!\|)/),e(pt,"propName","background-attachment");var Gr=class extends t{};e(Gr,"id","BackgroundBlendMode"),e(Gr,"propName","background-blend-mode");var ut=class extends t{get(r){return{"-webkit-background-clip":r,"background-clip":r}}};e(ut,"id","BackgroundClip"),e(ut,"matches",/^(bg|background):text(?!\|)/),e(ut,"propName","background-clip");var U=class extends t{};e(U,"id","BackgroundColor"),e(U,"colorStarts","(bg|background):"),e(U,"propName","background-color"),e(U,"unit",""),e(U,"colorful",!0);var ht=class extends t{};e(ht,"id","BackgroundOrigin"),e(ht,"matches",/^(bg|background):(content|border|padding)(?!\|)/),e(ht,"propName","background-origin");var me=class extends t{};e(me,"id","BackgroundPosition"),e(me,"matches",/^(bg|background):(top|bottom|right|left|center)(?!\|)/),e(me,"propName","background-position"),e(me,"unit","px");var gt=class extends t{};e(gt,"id","BackgroundRepeat"),e(gt,"matches",/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/),e(gt,"propName","background-repeat");var xt=class extends t{};e(xt,"id","BackgroundSize"),e(xt,"matches",/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/),e(xt,"propName","background-size");var fe=class extends t{};e(fe,"id","BackgroundImage"),e(fe,"matches",/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(fe,"propName","background-image"),e(fe,"colorful",!0);var pe=class extends t{order=-1};e(pe,"id","Background"),e(pe,"matches",/^bg:./),e(pe,"propName","background"),e(pe,"colorful",!0);var vt=class extends t{};e(vt,"id","MixBlendMode"),e(vt,"matches",/^blend:./),e(vt,"propName","mix-blend-mode");var zr=class extends t{};e(zr,"id","Position"),e(zr,"propName","position");var _r=class extends t{get(r){let o=this.prefix.slice(0,-1);switch(o){case"top":case"left":case"right":case"bottom":return{[o]:r};case"center":return{left:r,right:r,"margin-left":{...r,unit:""},"margin-right":{...r,unit:""}};case"middle":return{top:r,bottom:r,"margin-top":{...r,unit:""},"margin-bottom":{...r,unit:""}}}}};e(_r,"id","Placement"),e(_r,"matches",/^(top|left|right|bottom|center|middle):./);function lo(r,o,{rootSize:i}){let n="",s=0;return function m(p,h){let c="",f=h?o(h):"",g=()=>{c&&(n+=!f||Number.isNaN(+c)?c:+c/(f==="rem"?i:1)+f,c="")};for(;s<r.length;s++){let x=r[s];if(x===p&&(p!=="'"||r[s+1]===")")){g(),n+=x;break}else x===","||x===" "?(g(),n+=x):!c&&x==="'"?(n+=x,s++,m(x),c=""):c&&x==="("?(n+=c+x,s++,m(")",c),c=""):c+=x}g()}(),n}var St=class extends t{get(r){return{"backdrop-filter":r,"-webkit-backdrop-filter":r}}parseValue(r,o){return lo(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(St,"id","BackdropFilter"),e(St,"matches",/^bd:./),e(St,"propName","backdrop-filter");var ue=class extends t{};e(ue,"id","Fill"),e(ue,"propName","fill"),e(ue,"colorStarts","fill:"),e(ue,"colorful",!0);var bt=class extends t{};e(bt,"id","Stroke"),e(bt,"propName","stroke"),e(bt,"colorful",!0);var yt=class extends t{};e(yt,"id","StrokeWidth"),e(yt,"matches",/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(yt,"propName","stroke-width");var Ct=class extends t{parseValue(r,o){return lo(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(Ct,"id","Filter"),e(Ct,"matches",/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/),e(Ct,"propName","filter");var Hr=class extends t{};e(Hr,"id","Cursor"),e(Hr,"propName","cursor");var Vr=class extends t{};e(Vr,"id","PointerEvents"),e(Vr,"propName","pointer-events");var $r=class extends t{};e($r,"id","Resize"),e($r,"propName","resize");var Ur=class extends t{};e(Ur,"id","TouchAction"),e(Ur,"propName","touch-action");var Qr=class extends t{get(r){return{"user-drag":r,"-webkit-user-drag":r}}};e(Qr,"id","UserDrag"),e(Qr,"propName","user-drag");var Yr=class extends t{get(r){return{"user-select":r,"-webkit-user-select":r}}};e(Yr,"id","UserSelect"),e(Yr,"propName","user-select");var he=class extends t{};e(he,"id","BoxShadow"),e(he,"matches",/^s(?:hadow)?:./),e(he,"propName","box-shadow"),e(he,"colorful",!0);var Rt=class extends t{};e(Rt,"id","TextShadow"),e(Rt,"propName","text-shadow"),e(Rt,"colorful",!0);var Do=.5,qr=class extends t{get(r){let{unit:o,value:i}=r;return{"font-size":r,"line-height":{...r,value:o==="rem"?i+Do+o:`calc(${i}${o} + ${Do}rem)`,unit:""}}}};e(qr,"id","TextSize"),e(qr,"matches",/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/);var Mt=class extends t{};e(Mt,"id","WordBreak"),e(Mt,"propName","word-break"),e(Mt,"unit","");var ge=class extends t{get(r){return{display:{...r,value:"grid"},"grid-template-columns":{...this,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(ge,"id","GridColumns"),e(ge,"matches",/^grid-cols:./),e(ge,"propName","grid-columns"),e(ge,"unit","");var Nt=class extends t{get(r){return{display:{...r,value:"grid"},"grid-auto-flow":{...r,value:"column"},"grid-template-rows":{...r,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(Nt,"id","GridRows"),e(Nt,"propName","grid-rows"),e(Nt,"unit","");var Xr=class extends t{get(r){switch(this.prefix[4]){case"x":return{"column-gap":r};case"y":return{"row-gap":r};default:return{gap:r}}}order=-1};e(Xr,"id","Gap"),e(Xr,"matches",/^gap(-x|-y)?:./);var kt=class extends t{};e(kt,"id","WordSpacing"),e(kt,"propName","word-spacing"),e(kt,"unit","em");var Tt=class extends t{get(r){return{["--"+this.prefix.slice(1,-1)]:r}}};e(Tt,"id","Variable"),e(Tt,"matches",/^\$[^ {}A-Z]+:[^ ]/),e(Tt,"unit","");var xe=class extends t{};e(xe,"id","AspectRadio"),e(xe,"matches",/^aspect:./),e(xe,"propName","aspect-ratio"),e(xe,"unit","");var wt=class extends t{get(r){return{"box-decoration-break":r,"-webkit-box-decoration-break":r}}};e(wt,"id","BoxDecorationBreak"),e(wt,"matches",/^box:(slice|clone)(?!\|)/),e(wt,"propName","box-decoration-break");var Zr=class extends t{};e(Zr,"id","BreakAfter"),e(Zr,"propName","break-after");var Jr=class extends t{};e(Jr,"id","BreakBefore"),e(Jr,"propName","break-before");var Kr=class extends t{};e(Kr,"id","BreakInside"),e(Kr,"propName","break-inside");var Ot=class extends t{};e(Ot,"id","FlexShrink"),e(Ot,"propName","flex-shrink"),e(Ot,"unit","");var At=class extends t{};e(At,"id","FlexDirection"),e(At,"matches",/^flex:((row|col|column)(-reverse)?)(?!\|)/),e(At,"propName","flex-direction");var It=class extends t{};e(It,"id","FlexGrow"),e(It,"propName","flex-grow"),e(It,"unit","");var Bt=class extends t{};e(Bt,"id","FlexWrap"),e(Bt,"matches",/^flex:(wrap(-reverse)?|nowrap)(?!\|)/),e(Bt,"propName","flex-wrap");var ei=class extends t{};e(ei,"id","FlexBasis"),e(ei,"propName","flex-basis");var Ft=class extends t{order=-1};e(Ft,"id","Flex"),e(Ft,"propName","flex"),e(Ft,"unit","");var ve=class extends t{};e(ve,"id","Order"),e(ve,"matches",/^o:./),e(ve,"propName","order"),e(ve,"unit","");var Se=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(Se,"id","GridColumn"),e(Se,"matches",/^grid-col(?:umn)?(?:-span)?:./),e(Se,"propName","grid-column"),e(Se,"unit","");var jt=class extends t{};e(jt,"id","ColumnSpan"),e(jt,"matches",/^col-span:./),e(jt,"propName","column-span");var be=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(be,"id","GridRow"),e(be,"matches",/^grid-row-span:./),e(be,"propName","grid-row"),e(be,"unit","");var Q=class extends t{};e(Q,"id","Color"),e(Q,"colorStarts","(?:color|fg|foreground):"),e(Q,"colorful",!0),e(Q,"propName","color"),e(Q,"unit","");var Dt=class extends t{};e(Dt,"id","AlignContent"),e(Dt,"matches",/^ac:./),e(Dt,"propName","align-content");var Et=class extends t{};e(Et,"id","AlignItems"),e(Et,"matches",/^ai:./),e(Et,"propName","align-items");var Wt=class extends t{};e(Wt,"id","AlignSelf"),e(Wt,"matches",/^as:./),e(Wt,"propName","align-self");var Pt=class extends t{};e(Pt,"id","GridAutoColumns"),e(Pt,"matches",/^grid-auto-cols:./),e(Pt,"propName","grid-auto-columns");var Lt=class extends t{};e(Lt,"id","GridAutoFlow"),e(Lt,"matches",/^grid-flow:./),e(Lt,"propName","grid-auto-flow");var ti=class extends t{};e(ti,"id","GridAutoRows"),e(ti,"propName","grid-auto-rows");var Gt=class extends t{};e(Gt,"id","JustifyContent"),e(Gt,"matches",/^jc:./),e(Gt,"propName","justify-content");var zt=class extends t{};e(zt,"id","JustifyItems"),e(zt,"matches",/^ji:./),e(zt,"propName","justify-items");var _t=class extends t{};e(_t,"id","JustifySelf"),e(_t,"matches",/^js:./),e(_t,"propName","justify-self");var ri=class extends t{order=-1};e(ri,"id","PlaceContent"),e(ri,"propName","place-content");var ii=class extends t{order=-1};e(ii,"id","PlaceItems"),e(ii,"propName","place-items");var oi=class extends t{order=-1};e(oi,"id","PlaceSelf"),e(oi,"propName","place-self");var si=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="padding:"?-1:0}};e(si,"id","Padding"),e(si,"matches",/^padding(?:-(?:left|right|top|bottom))?:./);var ai=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="margin:"?-1:0}};e(ai,"id","Margin"),e(ai,"matches",/^margin(-(left|right|top|bottom))?:./);var Ht=class extends t{};e(Ht,"id","TextOverflow"),e(Ht,"matches",/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/),e(Ht,"propName","text-overflow");var Vt=class extends t{};e(Vt,"id","ListStylePosition"),e(Vt,"matches",/^list-style:(inside|outside)(?!\|)/),e(Vt,"propName","list-style-position");var $t=class extends t{};e($t,"id","ListStyleType"),e($t,"matches",/^list-style:(disc|decimal)(?!\|)/),e($t,"propName","list-style-type");var ni=class extends t{order=-1};e(ni,"id","ListStyle"),e(ni,"propName","list-style");var ye=class extends t{};e(ye,"id","TextDecorationColor"),e(ye,"propName","text-decoration-color"),e(ye,"colorStarts","text-decoration:"),e(ye,"colorful",!0);var Ut=class extends t{};e(Ut,"id","TextDecorationStyle"),e(Ut,"matches",/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/),e(Ut,"propName","text-decoration-style");var Ce=class extends t{};e(Ce,"id","TextDecorationThickness"),e(Ce,"matches",/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/),e(Ce,"propName","text-decoration-thickness"),e(Ce,"unit","em");var li=class extends t{};e(li,"id","TextIndent"),e(li,"propName","text-indent");var ci=class extends t{};e(ci,"id","Content"),e(ci,"propName","content");var Re=class extends t{};e(Re,"id","OutlineColor"),e(Re,"propName","outline-color"),e(Re,"colorStarts","outline:"),e(Re,"colorful",!0);var di=class extends t{};e(di,"id","OutlineOffset"),e(di,"propName","outline-offset");var Qt=class extends t{};e(Qt,"id","OutlineStyle"),e(Qt,"matches",/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/),e(Qt,"propName","outline-style");var Yt=class extends t{};e(Yt,"id","OutlineWidth"),e(Yt,"matches",/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Yt,"propName","outline-width");var qt=class extends t{order=-1};e(qt,"id","Outline"),e(qt,"propName","outline"),e(qt,"colorful",!0);var Xt=class extends t{};e(Xt,"id","BorderCollapse"),e(Xt,"matches",/^b(order)?:(collapse|separate)(?!\|)/),e(Xt,"propName","border-collapse");var mi=class extends t{};e(mi,"id","BorderSpacing"),e(mi,"propName","border-spacing");var fi=class extends t{};e(fi,"id","TableLayout"),e(fi,"propName","table-layout");var Me=class extends t{};e(Me,"id","AccentColor"),e(Me,"propName","accent-color"),e(Me,"colorStarts","accent:"),e(Me,"colorful",!0);var pi=class extends t{};e(pi,"id","Appearance"),e(pi,"propName","appearance");var Ne=class extends t{};e(Ne,"id","CaretColor"),e(Ne,"propName","caret-color"),e(Ne,"colorStarts","caret:"),e(Ne,"colorful",!0);var ui=class extends t{};e(ui,"id","ScrollBehavior"),e(ui,"propName","scroll-behavior");var hi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":r,"scroll-margin-right":r};case"y":return{"scroll-margin-top":r,"scroll-margin-bottom":r};case"l":return{"scroll-margin-left":r};case"r":return{"scroll-margin-right":r};case"t":return{"scroll-margin-top":r};case"b":return{"scroll-margin-bottom":r}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};e(hi,"id","ScrollMargin"),e(hi,"matches",/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./);var gi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":r,"scroll-padding-right":r};case"y":return{"scroll-padding-top":r,"scroll-padding-bottom":r};case"l":return{"scroll-padding-left":r};case"r":return{"scroll-padding-right":r};case"t":return{"scroll-padding-top":r};case"b":return{"scroll-padding-bottom":r}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};e(gi,"id","ScrollPadding"),e(gi,"matches",/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./);var Zt=class extends t{};e(Zt,"id","ScrollSnapAlign"),e(Zt,"matches",/^scroll-snap:(start|end|center)/),e(Zt,"propName","scroll-snap-align");var Jt=class extends t{};e(Jt,"id","ScrollSnapStop"),e(Jt,"matches",/^scroll-snap:(normal|always)(?!\|)/),e(Jt,"propName","scroll-snap-stop");var Kt=class extends t{};e(Kt,"id","ScrollSnapType"),e(Kt,"matches",/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/),e(Kt,"propName","scroll-snap-type");var xi=class extends t{};e(xi,"id","WillChange"),e(xi,"propName","will-change");var vi=class extends t{};e(vi,"id","TextUnderlineOffset"),e(vi,"propName","text-underline-offset");var er=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}};e(er,"id","Inset"),e(er,"matches",/^(?:top|bottom|left|right):./),e(er,"propName","inset");var ke=class extends t{order=-1};e(ke,"id","Columns"),e(ke,"matches",/^(columns|cols):./),e(ke,"propName","columns"),e(ke,"unit","");var tr=class extends t{};e(tr,"id","WhiteSpace"),e(tr,"propName","white-space"),e(tr,"unit","");var rr=class extends t{};e(rr,"id","TextOrientation"),e(rr,"matches",/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/),e(rr,"propName","text-orientation");var ir=class extends t{};e(ir,"id","WritingMode"),e(ir,"matches",/^writing:./),e(ir,"propName","writing-mode");var Si=class extends t{};e(Si,"id","Contain"),e(Si,"propName","contain");var Te=class extends t{};e(Te,"id","AnimationDuration"),e(Te,"matches",/^@duration:./),e(Te,"propName","animation-duration"),e(Te,"unit","ms");var or=class extends t{};e(or,"id","TextRendering"),e(or,"matches",/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/),e(or,"propName","text-rendering");var bi=class extends t{};e(bi,"id","Direction"),e(bi,"propName","direction");var sr=class extends t{};e(sr,"id","TextDecorationLine"),e(sr,"matches",/^t(ext)?:(none|underline|overline|line-through)(?!\|)/),e(sr,"propName","text-decoration-line");var we=class extends t{};e(we,"id","GridColumnStart"),e(we,"matches",/^grid-col-start:./),e(we,"propName","grid-column-start"),e(we,"unit","");var ar=class extends t{};e(ar,"id","ListStyleImage"),e(ar,"matches",/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(ar,"propName","list-style-image");var nr=class extends t{};e(nr,"id","ShapeOutside"),e(nr,"matches",/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/),e(nr,"propName","shape-outside");var lr=class extends t{};e(lr,"id","ShapeMargin"),e(lr,"matches",/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(lr,"propName","shape-margin");var cr=class extends t{};e(cr,"id","ShapeImageThreshold"),e(cr,"propName","shape-image-threshold"),e(cr,"unit","");var dr=class extends t{};e(dr,"id","ClipPath"),e(dr,"matches",/^clip:./),e(dr,"propName","clip-path");var yi=class extends t{order=-1};e(yi,"id","Grid"),e(yi,"propName","grid");var Oe=class extends t{order=-1};e(Oe,"id","Font"),e(Oe,"matches",/^f:./),e(Oe,"propName","font"),e(Oe,"unit","");var Ci=class extends t{};e(Ci,"id","Quotes"),e(Ci,"propName","quotes");var Ri=class extends t{order=-1};e(Ri,"id","GridTemplate"),e(Ri,"propName","grid-template");var mr=class extends t{};e(mr,"id","GridRowStart"),e(mr,"propName","grid-row-start"),e(mr,"unit","");var Mi=class extends t{};e(Mi,"id","GridTemplateAreas"),e(Mi,"propName","grid-template-areas");var fr=class extends t{};e(fr,"id","GridTemplateColumns"),e(fr,"matches",/^grid-template-cols:./),e(fr,"propName","grid-template-columns");var Ni=class extends t{};e(Ni,"id","GridTemplateRows"),e(Ni,"propName","grid-template-rows");var pr=class extends t{order=-1};e(pr,"id","GridArea"),e(pr,"propName","grid-area"),e(pr,"unit","");var Ae=class extends t{};e(Ae,"id","GridColumnEnd"),e(Ae,"matches",/^grid-col-end:./),e(Ae,"propName","grid-column-end"),e(Ae,"unit","");var ur=class extends t{};e(ur,"id","GridRowEnd"),e(ur,"propName","grid-row-end"),e(ur,"unit","");var ki=class extends t{get(r){return{"mask-image":r,"-webkit-mask-image":r}}};e(ki,"id","MaskImage"),e(ki,"propName","mask-image");var Ie=class extends t{get(r){return{"-webkit-text-fill-color":r}}};e(Ie,"id","TextFillColor"),e(Ie,"matches",/^text-fill-color:./),e(Ie,"colorStarts","(text-fill|text|t):"),e(Ie,"colorful",!0);var Ti=class extends t{get(r){return{"-webkit-text-stroke":r}}};e(Ti,"id","TextStroke"),e(Ti,"matches",/^text-stroke:./);var wi=class extends t{get(r){return{"-webkit-text-stroke-width":r}}};e(wi,"id","TextStrokeWidth"),e(wi,"matches",/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/);var Be=class extends t{get(r){return{"-webkit-text-stroke-color":r}}};e(Be,"id","TextStrokeColor"),e(Be,"matches",/^text-stroke-color:./),e(Be,"colorStarts","text-stroke:"),e(Be,"colorful",!0);var Oi=class extends t{};e(Oi,"id","StrokeDasharray"),e(Oi,"propName","stroke-dasharray");var Ai=class extends t{};e(Ai,"id","StrokeDashoffset"),e(Ai,"propName","stroke-dash-offset");var hr=class extends t{};e(hr,"id","X"),e(hr,"propName","x"),e(hr,"unit","");var gr=class extends t{};e(gr,"id","Y"),e(gr,"propName","y"),e(gr,"unit","");var xr=class extends t{};e(xr,"id","Cx"),e(xr,"propName","cx"),e(xr,"unit","");var vr=class extends t{};e(vr,"id","Cy"),e(vr,"propName","cy"),e(vr,"unit","");var Sr=class extends t{};e(Sr,"id","Rx"),e(Sr,"propName","rx"),e(Sr,"unit","");var br=class extends t{};e(br,"id","Ry"),e(br,"propName","ry"),e(br,"unit","");var Ii=class extends t{};e(Ii,"id","BorderImageOutset"),e(Ii,"propName","border-image-outset");var yr=class extends t{};e(yr,"id","BorderImageRepeat"),e(yr,"matches",/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/),e(yr,"propName","border-image-repeat");var Cr=class extends t{};e(Cr,"id","BorderImageSlice"),e(Cr,"propName","border-image-slice"),e(Cr,"unit","");var Rr=class extends t{};e(Rr,"id","BorderImageSource"),e(Rr,"matches",/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/),e(Rr,"propName","border-image-source");var Mr=class extends t{};e(Mr,"id","BorderImageWidth"),e(Mr,"matches",/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/),e(Mr,"propName","border-image-width");var Nr=class extends t{};e(Nr,"id","BorderImage"),e(Nr,"propName","border-image"),e(Nr,"unit","");var ds=/\{(.*)\}/,kr=class extends t{getThemeProps(r,o){let i={},n=(f,g)=>{let x=g.indexOf(":");if(x!==-1){f in i||(i[f]={});let a=i[f],l=g.slice(0,x);l in a||(a[l]=g.slice(x+1))}},s=f=>{let g=(x,a)=>{let l=a.slice(CSS.escape(f.className).length).match(ds)[1].split(";");for(let S of l)n(x,S)};if(this.themeName){let x=f.natives.find(a=>a.themeName===this.themeName)??f.natives.find(a=>!a.themeName);x&&g(this.themeName,x.text)}else for(let x of f.natives)g(x.themeName,x.text)},m=[],p="",h=()=>{p&&(m.push(p),p="")},c=1;(function f(g){for(;c<r.value.length;c++){let x=r.value[c];if(!g){if(x===";"){h();continue}if(x==="}")break}if(p+=x,g===x){if(g==="'"){let a=0;for(let l=p.length-2;p[l]==="\\";l--)a++;if(a%2)continue}break}else x in Or&&g!=="'"&&(c++,f(Or[x]))}})(void 0),h();for(let f of m){let g=o.findAndNew(f);if(Array.isArray(g))for(let x of g)s(x);else g?s(g):n(this.themeName??"",f)}return i}};e(kr,"id","Group"),e(kr,"matches",/^(?:.+?[*_>~+])?\{.+?\}/),e(kr,"unit","");var Tr=class extends t{};e(Tr,"id","CounterIncrement"),e(Tr,"propName","counter-increment"),e(Tr,"unit","");var wr=class extends t{};e(wr,"id","CounterReset"),e(wr,"propName","counter-reset"),e(wr,"unit","");var ms=[kr,Tt,Pe,X,We,He,J,Ve,Oe,Q,Ar,ai,si,ei,Bt,It,Ot,At,Ft,ot,Le,Ge,ze,_e,Si,ci,Tr,wr,Z,K,$e,Ue,Qe,ye,Ut,Ce,sr,ee,vi,Ht,rr,Ye,or,li,qe,ke,tr,er,Xe,rt,it,st,at,Ir,Br,Fr,jr,Dr,Er,se,zr,_r,Hr,Vr,$r,Ur,Mt,kt,Qr,Yr,Rt,qr,Ie,wi,Be,Ti,he,fi,Je,Ze,te,re,et,tt,oe,ie,Ke,ae,nt,Te,lt,ne,ct,dt,mt,le,de,Wr,Pr,Lr,Xt,mi,Ii,yr,Cr,Rr,Mr,Nr,ft,pt,Gr,ut,U,ht,me,gt,xt,fe,pe,vt,St,Ct,ue,Oi,Ai,yt,bt,hr,gr,xr,vr,Sr,br,we,Ae,Se,ge,mr,ur,be,Nt,Pt,Lt,ti,Mi,fr,Ni,Ri,pr,yi,Xr,ve,Kr,Jr,Zr,wt,xe,jt,Dt,Et,Wt,Gt,zt,_t,ri,ii,oi,Vt,$t,ar,ni,Re,di,Qt,Yt,qt,Me,pi,Ne,ui,hi,gi,Zt,Jt,Kt,xi,ir,bi,nr,lr,cr,dr,Ci,ki],co=ms;var fs={colors:Ui,breakpoints:Ee,semantics:qi,values:Ki,selectors:Yi,themes:Xi,scheme:Zi,Rules:co,rootSize:Qi},Pi=fs;function Eo(r,o){return Array.isArray(r)&&Array.isArray(o)?r.concat(o):o}function mo(r){return Object.prototype.toString.call(r).slice(8,-1)}function Bi(r){return mo(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function bo(r){return mo(r)==="Symbol"}function Wo(r,o,i,n){let s={}.propertyIsEnumerable.call(n,o)?"enumerable":"nonenumerable";s==="enumerable"&&(r[o]=i),s==="nonenumerable"&&Object.defineProperty(r,o,{value:i,enumerable:!1,writable:!0,configurable:!0})}function Po(r,o,i){if(!Bi(o))return o;let n={};if(Bi(r)){let h=Object.getOwnPropertyNames(r),c=Object.getOwnPropertySymbols(r);n=[...h,...c].reduce((f,g)=>{let x=r[g];return(!bo(g)&&!Object.getOwnPropertyNames(o).includes(g)||bo(g)&&!Object.getOwnPropertySymbols(o).includes(g))&&Wo(f,g,x,r),f},{})}let s=Object.getOwnPropertyNames(o),m=Object.getOwnPropertySymbols(o);return[...s,...m].reduce((h,c)=>{let f=o[c],g=Bi(r)?r[c]:void 0;g!==void 0&&Bi(f)&&(f=Po(g,f,i));let x=i?i(g,f,c):f;return Wo(h,c,x,o),h},n)}function Fi(r,...o){return o.filter(i=>Bi(i)).reduce((i,n)=>Po(i,n,Eo),r)}var ps=[",",".","#","[","!","*",">","+","~",":","@"],us=/^::-[a-z]+-/m,fo,Gi=typeof window<"u";Gi&&(fo=document.createElement("style"),fo.title="master");var G="max-width",L="min-width",hs="attributes",gs=Gi?window.MutationObserver:Object,ji,Fe,Li=class extends gs{constructor(i){super(n=>{let s={},m=[],p=[],h=[],c=(a,l)=>{l?a.classList.forEach(g):a.classList.forEach(f);let S=a.children;for(let d=0;d<S.length;d++){let u=S[d];u.classList&&(p.push(u),c(u,l))}},f=a=>{a in s?s[a]++:s[a]=1},g=a=>{a in s?s[a]--:s[a]=-1},x=(a,l)=>{for(let S=0;S<a.length;S++){let d=a[S];d.classList&&!p.includes(d)&&!h.includes(d)&&(d.isConnected!==l?(p.push(d),c(d,l)):h.push(d))}};for(let a=0;a<n.length;a++){let l=n[a],{addedNodes:S,removedNodes:d,type:u,target:v,oldValue:M}=l;if(u===hs){if(v.className===M||m.find(k=>k.target===v))continue;m.push(l)}else x(S,!1),x(d,!0)}if(!(!m.length&&!Object.keys(s).length)){for(let{oldValue:a,target:l}of m){let S=p.includes(l),d=l.classList,u=a?a.split(" "):[];if(S){if(l.isConnected)continue;for(let v of u)d.contains(v)||g(v)}else if(l.isConnected){d.forEach(v=>{u.includes(v)||f(v)});for(let v of u)d.contains(v)||g(v)}else for(let v of u)g(v)}for(let a in s){let l=s[a],S=(this.countOfClass[a]||0)+l;S===0?(delete this.countOfClass[a],this.delete(a)):(a in this.countOfClass||this.findAndInsert(a),this.countOfClass[a]=S)}}});this.options=i;e(this,"style");e(this,"rules",[]);e(this,"ruleOfClass",{});e(this,"countOfClass",{});e(this,"host");e(this,"root");e(this,"ready",!1);e(this,"config");e(this,"semantics");e(this,"classes");e(this,"colorsThemesMap");e(this,"colorNames");e(this,"themeNames");e(this,"relationThemesMap");e(this,"relations");e(this,"selectors");e(this,"values");e(this,"globalValues");e(this,"schemeMQL");uo(this,ji,void 0);uo(this,Fe,void 0);e(this,"onThemeChange",i=>{this.theme=i.matches?"dark":"light"});this.options=Fi({observe:!0},i),this.options.config&&!this.options.override?this.config=Fi(Pi,this.options.config):this.config=Pi,this.cache(),Gi&&this.options.observe&&this.observe(document),Li.instances.push(this),this.ready=!0}static refresh(i){for(let n of this.instances)n.refresh(i)}get storageScheme(){let{storage:i}=this.config.scheme;return localStorage.getItem(i.key)}set scheme(i){if(i!==De(this,ji)){ho(this,ji,i);let{storage:n}=this.config.scheme;i==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=i),this.storageScheme!==i&&n.sync&&localStorage.setItem(n.key,i),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return De(this,ji)}set theme(i){i!==De(this,Fe)&&(De(this,Fe)&&this.host.classList.remove(De(this,Fe)),ho(this,Fe,i),this.host===document.documentElement&&(this.host.style.colorScheme=i),this.host.classList.add(i),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return De(this,Fe)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorsThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={};let{semantics:i,classes:n,selectors:s,themes:m,colors:p,values:h}=this.config;function c(a){return a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}if(i)for(let a in i)this.semantics.push([new RegExp("^"+c(a)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),a]);if(s)for(let[a,l]of Object.entries(s)){let S=new RegExp(c(a)+"(?![a-z-])");for(let d of Array.isArray(l)?l:[l]){let u=d.match(us)?.[0]??"",v=this.selectors[u];v||(v=this.selectors[u]=[]);let M=v.find(([k])=>k===S);M||(M=[S,[]],v.push(M)),M[1].push(d)}}if(h)for(let[a,l]of Object.entries(h))(typeof l=="object"?this.values:this.globalValues)[a]=l;let f=[...n?Object.keys(n):[],...m&&!Array.isArray(m)?Object.entries(m).flatMap(([a,{classes:l}])=>l?Object.keys(l):[]):[]],g=a=>{if(a in this.classes)return;let l=this.classes[a]=[],S=(d,u)=>{if(!u)return;let v=Array.isArray(u)?u:u.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let M of v){let k=T=>{T in this.relationThemesMap?d in this.relationThemesMap[T]?this.relationThemesMap[T][d].push(a):this.relationThemesMap[T][d]=[a]:this.relationThemesMap[T]={[d]:[a]},l.includes(T)||l.push(T)};if(f.includes(M)){g(M);for(let T of this.classes[M])k(T)}else k(M)}};if(S("",n?.[a]),m&&!Array.isArray(m))for(let[d,{classes:u}]of Object.entries(m))S(d,u?.[a])};for(let a of f)g(a);for(let a in this.relationThemesMap){let l=this.relations[a]=[];for(let S of Object.values(this.relationThemesMap[a]))for(let d of S)l.includes(d)||l.push(d)}let x=(a,l)=>{if(!!l)for(let S in l){let d=l[S];if(typeof d=="string"&&(d={"":d}),S in this.colorsThemesMap){let u=this.colorsThemesMap[S];for(let v in d){let M=d[v];v in u?u[v][a]=M:u[v]={[a]:M}}}else this.colorNames.push(S),this.colorsThemesMap[S]=Object.entries(d).reduce((u,[v,M])=>(u[v]={[a]:M},u),{})}};if(x("",p),m)if(Array.isArray(m))this.themeNames.push(...m);else for(let a in m){let l=m[a];x(a,l.colors),this.themeNames.push(a)}for(let[a,l]of Object.entries(this.colorsThemesMap))for(let[S,d]of Object.entries(l))for(let[u,v]of Object.entries(d))if(!v.startsWith("#")){let[M,k]=v.split("-"),T=this.colorsThemesMap[M]?.[k??""],C="";T&&(C=(u?T[u]:void 0)??T[""],C&&(d[u]=C)),C||(console.warn(`\`${v}\` doesn't exist in the extended config \`.colors\``),Object.keys(d).length>1?delete d[u]:Object.keys(l).length>1?delete l[S]:(delete this.colorsThemesMap[a],this.colorNames.splice(this.colorNames.indexOf(a),1)))}}observe(i,n={subtree:!0,childList:!0}){if(Gi&&i){this.root=i;let s=i===document;s&&(Li.root=this),this.host=s?document.documentElement:i.host,this.scheme=this.storageScheme||this.config.scheme.preference;let m=s?document.head:i,p=s?document.styleSheets:i.styleSheets;for(let h of p){let{title:c,href:f,ownerNode:g}=h;(c==="master"||f&&/master(?:\..+)?\.css/.test(f))&&(this.style=g)}if(this.style)for(let h=0;h<this.style.sheet.cssRules.length;h++){let c=g=>{if(g.selectorText){let a=g.selectorText.split(", ")[0].split(" ");for(let l=0;l<a.length;l++){let S=a[l];if(S[0]==="."){let d=S.slice(1),u="";for(let v=0;v<d.length;v++){let M=d[v],k=d[v+1];if(M==="\\"){if(v++,k!=="\\"){u+=k;continue}}else if(ps.includes(M))break;u+=M}if(!(u in this.ruleOfClass)&&!(u in this.classes)){let v=this.findAndNew(u);if(v)return v}}}}else if(g.cssRules)for(let x=0;x<g.cssRules.length;x++){let a=c(g.cssRules[x]);if(a)return a}},f=c(this.style.sheet.cssRules[h]);if(f){this.rules.push(f),this.ruleOfClass[f.className]=f;for(let g=0;g<f.natives.length;g++)f.natives[g].cssRule=this.style.sheet.cssRules[h+g];h+=f.natives.length-1}}else this.style=fo.cloneNode(),m.prepend(this.style);n.subtree&&this.host.querySelectorAll("[class]").forEach(h=>{h.classList.forEach(c=>{c in this.countOfClass?this.countOfClass[c]++:(this.countOfClass[c]=1,this.findAndInsert(c))})}),super.observe(i,{...n,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let i=this.style.sheet;if(i)for(let n=i.cssRules.length-1;n>=0;n--)i.deleteRule(n)}findAndNew(i){let n=s=>{if(s in this.ruleOfClass)return this.ruleOfClass[s];for(let m of this.config.Rules){let p=m.match(s,this.colorNames);if(p)return new m(s,p,this)}for(let m of this.semantics)if(s.match(m[0]))return new t(s,{origin:"semantics",value:m[1]},this)};return i in this.classes?this.classes[i].map(n).filter(s=>s):n(i)}refresh(i){if(this.config=i,this.cache(),!this.style)return;let n=fo.cloneNode();this.style.replaceWith(n),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let s in this.countOfClass)this.findAndInsert(s)}destroy(){let i=Li.instances;this.disconnect(),i.splice(i.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}insert(i){if(this.ruleOfClass[i.className])return;let{validateRule:n}=this.config;if(n&&!n(i,this))return;let s,m=this.rules.length-1,{media:p,order:h,prioritySelectorIndex:c,hasWhere:f,className:g}=i,x=(a,l,S,d)=>{let u=0,v;l&&(u=a.findIndex(l)),S&&(v=a.findIndex(S)),u===-1&&(u=a.length),(v===void 0||v===-1)&&(v=a.length);let M=a.slice(u,v);for(let k=0;k<M.length;k++){let T=M[k];if(!(T.prioritySelectorIndex===-1||d&&d(T))&&(T.prioritySelectorIndex<c||T.prioritySelectorIndex===c&&(f&&!T.hasWhere||T.order>=h)))return u+k}return u+M.length};if(p){let a=this.rules.findIndex(l=>l.media);if(a!==-1){let l=p.features[G],S=p.features[L];if(l&&S){let d=l.value-S.value;for(let u=m;u>=a;u--){s=u;let v=this.rules[u],M=v.media,k=M.features[G],T=M.features[L];if(!k||!T){s++;break}let C=k.value-T.value;if(C===d){if(f!==v.hasWhere)continue;if(c!==-1){let j=[this.rules[u]];for(let B=u-1;B>=a;B--){let H=this.rules[B];if(H.hasWhere!==f)break;let V=H.media,$=V.features[G],je=V.features[L];if(!$||!je||$.value-je.value!==C)break;j.unshift(this.rules[B])}s=x(this.rules,B=>B.media&&B.prioritySelectorIndex!==-1&&B.media.features[L]&&B.media.features[G])}break}else if(C>d)break}}else if(S)for(let d=a;d<=m;d++){s=d;let u=this.rules[d],v=u.media,M=v.features[G],k=v.features[L];if(M){if(k)break;continue}let T=k?.value;if(T===S.value){if(!f&&u.hasWhere){s++;continue}if(c!==-1)s=x(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[G],C=>!C.media.features[L]&&!C.media.features[G]);else for(let C=d;C<=m;C++){let j=this.rules[C],B=j.media,H=B.features[L];if(!B.features[G]){if(j.hasWhere!==f||H.value!==T||j.order>=h)break;s=C+1}}break}else{if(T>S.value)break;s++}}else if(l)for(let d=m;d>=a;d--){s=d;let u=this.rules[d],v=u.media,M=v.features[G];if(v.features[L])continue;let T=M?.value;if(!T||T>l.value){s++;break}else if(T===l.value){if(f&&!u.hasWhere)continue;if(c!==-1)s=x(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[G],C=>!C.media.features[L]&&!C.media.features[G]);else{let C=[this.rules[d]];for(let j=d-1;j>=a;j--){let B=this.rules[j],H=B.media,V=H.features[L],$=H.features[G];if(!V&&(!$||$.value!==T||B.hasWhere!==f))break;C.unshift(B)}for(let j=0;j<C.length;j++){let B=C[j];if(!B.media.features[L]){if(B.order>=h)break;s=d-C.length+2+j}}}break}}}if(s===void 0)if(a===-1)s=m+1;else if(c!==-1)s=a+x(this.rules.slice(a),void 0,l=>l.media.features[G]||l.media.features[L]);else if(f){let l=a;for(;l<this.rules.length;l++){let S=this.rules[l];if(S.prioritySelectorIndex!==-1||!S.hasWhere||S.order>=h){s=l;break}}s===void 0&&(s=l)}else for(let l=a;l<=m;l++){s=l;let S=this.rules[l],d=S.media;if(S.prioritySelectorIndex!==-1||d.features[G]||d.features[L])break;if(S.hasWhere)s++;else if(S.order>=h)break}}else if(c===-1)if(f)s=this.rules.findIndex(a=>!a.hasWhere||a.media||a.prioritySelectorIndex!==-1||a.order>=h),s===-1&&(s=m+1);else{let a=0;for(;a<this.rules.length;a++){let l=this.rules[a];if(l.media||!l.hasWhere&&(l.order>=h||l.prioritySelectorIndex!==-1)){s=a;break}}s===void 0&&(s=a)}else s=x(this.rules,void 0,a=>a.media);if(this.rules.splice(s,0,i),this.ruleOfClass[g]=i,this.style){let a=this.style.sheet,l=0,S=d=>{let u=this.rules[d];if(u){if(!u.natives.length)return S(d-1);let v=u.natives[u.natives.length-1].cssRule;for(let M=0;M<a.cssRules.length;M++)if(a.cssRules[M]===v){l=M+1;break}}};S(s-1);for(let d=0;d<i.natives.length;)try{let u=i.natives[d];a.insertRule(u.text,l),u.cssRule=a.cssRules[l++],d++}catch(u){console.error(u),i.natives.splice(d,1)}}}delete(i){let n=this.style.sheet,s=m=>{let p=this.ruleOfClass[m];if(!(!p||m in this.relations&&this.relations[m].some(h=>h in this.countOfClass))){if(p.natives.length){let h=p.natives[0];for(let c=0;c<n.cssRules.length;c++)if(n.cssRules[c]===h.cssRule){for(let g=0;g<p.natives.length;g++)n.deleteRule(c);this.rules.splice(this.rules.indexOf(p),1);break}}delete this.ruleOfClass[m]}};if(i in this.classes){for(let m of this.classes[i])m in this.countOfClass||s(m);delete this.ruleOfClass[i]}else s(i)}findAndInsert(i){let n=this.findAndNew(i);if(Array.isArray(n))for(let s of n)this.insert(s);else n&&this.insert(n)}get text(){return this.rules.map(i=>i.natives.map(n=>n.text).join("")).join("")}},z=Li;ji=new WeakMap,Fe=new WeakMap,e(z,"instances",[]),e(z,"root");Gi&&(window.MasterCSS=z);var zi=typeof global<"u"?global:window;if(!zi.CSS&&!zi.CSS?.escape){let r=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let i=String(o),n=i.length,s=-1,m="",p,h=i.charCodeAt(0);if(n==1&&h==45)return"\\"+i;for(;++s<n;){if(p=i.charCodeAt(s),p==0){m+="\uFFFD";continue}if(p>=1&&p<=31||p==127||s==0&&p>=48&&p<=57||s==1&&p>=48&&p<=57&&h==45){m+="\\"+p.toString(16)+" ";continue}if(p>=128||p==45||p==95||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122){m+=i.charAt(s);continue}m+="\\"+i.charAt(s)}return m};zi.CSS||(zi.CSS={}),zi.CSS.escape=r}function yo(r,o=new z({observe:!1})){if(!!r?.length){for(let i of r)i in o.countOfClass||(o.findAndInsert(i),o.countOfClass[i]=1);return o.rules.map(i=>i.natives.reduce((n,s)=>n+s.text,"")).join("")}}function _i(r,o=new z({observe:!1})){if(!r)return;let i=/\sclass="([^"]*)"/gm,n;for(;n=i.exec(r);){let s=n[1].replace(/\n/g,"").split(" ").filter(m=>m);for(let m of s)m in o.countOfClass||(o.findAndInsert(m),o.countOfClass[m]=1)}return o.rules.map(s=>s.natives.reduce((m,p)=>m+p.text,"")).join("")}function Co(r,o=new z({observe:!1})){if(!!r)return r.replace(/(<head>)/,`$1<style title="master">${_i(r,o)}</style>`)}var xs=typeof document<"u"&&document;0&&(module.exports={DefaultRules,MasterCSSRule,defaultBreakpoints,defaultColors,defaultConfig,defaultRootSize,defaultScheme,defaultSelectors,defaultSemantics,defaultThemes,defaultValues,extend,fillColorScale,render,renderFromHTML,renderIntoHTML,root});
2
2
  //# sourceMappingURL=index.cjs.map